repo_id
stringlengths
6
101
file_path
stringlengths
2
269
content
stringlengths
367
5.14M
size
int64
367
5.14M
filename
stringlengths
1
248
ext
stringlengths
0
87
lang
stringclasses
88 values
program_lang
stringclasses
232 values
doc_type
stringclasses
5 values
quality_signal
stringlengths
2
1.9k
effective
stringclasses
2 values
hit_map
stringlengths
2
1.4k
007revad/Transcode_for_x25
transcode_for_x25.sh
#!/usr/bin/env bash #---------------------------------------------------------------------------------- # https://www.blackvoid.club/unlocking-plex-hw-transcoding-on-x25-synology-models/ # https://www.blackvoid.club/content/files/2025/09/x25_hw_transcode_modules.zip #---------------------------------------------------------------------------------- scriptver="v1.1.1" script=Transcode_for_x25 repo="007revad/Transcode_for_x25" scriptname=transcode_for_x25 # Shell Colors #Black='\e[0;30m' # ${Black} #Red='\e[0;31m' # ${Red} #Green='\e[0;32m' # ${Green} #Yellow='\e[0;33m' # ${Yellow} #Blue='\e[0;34m' # ${Blue} #Purple='\e[0;35m' # ${Purple} Cyan='\e[0;36m' # ${Cyan} #White='\e[0;37m' # ${White} Error='\e[41m' # ${Error} Off='\e[0m' # ${Off} Cyan="" Error="" Off="" ding(){ printf \\a } if [[ $1 == "--trace" ]] || [[ $1 == "-t" ]]; then trace="yes" fi # Check script is running as root if [[ $( whoami ) != "root" ]]; then ding echo -e "${Error}ERROR${Off} This script must be run as sudo or root!" exit 1 # Not running as sudo or root fi # Get NAS model model=$(cat /proc/sys/kernel/syno_hw_version) #modelname="$model" # Show script version #echo -e "$script $scriptver\ngithub.com/$repo\n" echo "$script $scriptver" # Get DSM full version productversion=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/VERSION productversion) buildphase=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/VERSION buildphase) buildnumber=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/VERSION buildnumber) smallfixnumber=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/VERSION smallfixnumber) # Get CPU arch and platform_name arch="$(uname -m)" platform_name=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/synoinfo.conf platform_name) # Show DSM full version and model if [[ $buildphase == GM ]]; then buildphase=""; fi if [[ $smallfixnumber -gt "0" ]]; then smallfix="-$smallfixnumber"; fi echo "$model DSM $productversion-$buildnumber$smallfix $buildphase" # Show CPU arch and platform_name echo "CPU $platform_name $arch" # Show options used if [[ ${#args[@]} -gt "0" ]]; then echo -e "Using options: ${args[*]}\n" else echo "" fi usage(){ cat <<EOF Usage: $(basename "$0") [options] Options: -h, --help Show this help message -v, --version Show the script version --autoupdate=AGE Auto update script (useful when script is scheduled) AGE is how many days old a release must be before auto-updating. AGE must be a number: 0 or greater EOF exit 0 } scriptversion(){ cat <<EOF $script $scriptver - by 007revad See https://github.com/$repo EOF exit 0 } # Save options used args=("$@") autoupdate="" # Check for flags with getopt if options="$(getopt -o abcdefghijklmnopqrstuvwxyz0123456789 -l \ help,version,autoupdate:,log,debug -- "$@")"; then eval set -- "$options" while true; do case "${1,,}" in -h|--help) # Show usage options usage ;; -v|--version) # Show script version scriptversion ;; -l|--log) # Log (currently unused) log=yes ;; -d|--debug) # Show and log debug info (currently unused) debug=yes ;; --autoupdate) # Auto update script autoupdate=yes if [[ $2 =~ ^[0-9]+$ ]]; then delay="$2" shift else delay="0" fi ;; --) shift break ;; *) # Show usage options ding echo -e "Invalid option '$1'\n" usage exit 2 # Invalid argument ;; esac shift done else echo usage fi #------------------------------------------------------------------------------ # Check latest release with GitHub API syslog_set(){ if [[ ${1,,} == "info" ]] || [[ ${1,,} == "warn" ]] || [[ ${1,,} == "err" ]]; then if [[ $autoupdate == "yes" ]]; then # Add entry to Synology system log /usr/syno/bin/synologset1 sys "$1" 0x11100000 "$2" fi fi } # Get latest release info # Curl timeout options: # https://unix.stackexchange.com/questions/94604/does-curl-have-a-timeout release=$(curl --silent -m 10 --connect-timeout 5 \ "https://api.github.com/repos/$repo/releases/latest") # Release version tag=$(echo "$release" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') shorttag="${tag:1}" # Release published date published=$(echo "$release" | grep '"published_at":' | sed -E 's/.*"([^"]+)".*/\1/') published="${published:0:10}" published=$(date -d "$published" '+%s') # Today's date now=$(date '+%s') # Days since release published age=$(((now - published)/(60*60*24))) # Get script location # https://stackoverflow.com/questions/59895/ source=${BASH_SOURCE[0]} while [ -L "$source" ]; do # Resolve $source until the file is no longer a symlink scriptpath=$( cd -P "$( dirname "$source" )" >/dev/null 2>&1 && pwd ) source=$(readlink "$source") # If $source was a relative symlink, we need to resolve it # relative to the path where the symlink file was located [[ $source != /* ]] && source=$scriptpath/$source done scriptpath=$( cd -P "$( dirname "$source" )" >/dev/null 2>&1 && pwd ) scriptfile=$( basename -- "$source" ) echo "Running from: ${scriptpath}/$scriptfile" #echo "Script location: $scriptpath" # debug #echo "Source: $source" # debug #echo "Script filename: $scriptfile" # debug #echo "tag: $tag" # debug #echo "scriptver: $scriptver" # debug cleanup_tmp(){ cleanup_err= # Delete downloaded .tar.gz file if [[ -f "/tmp/$script-$shorttag.tar.gz" ]]; then if ! rm "/tmp/$script-$shorttag.tar.gz"; then echo -e "${Error}ERROR${Off} Failed to delete"\ "downloaded /tmp/$script-$shorttag.tar.gz!" >&2 cleanup_err=1 fi fi # Delete extracted tmp files if [[ -d "/tmp/$script-$shorttag" ]]; then if ! rm -r "/tmp/$script-$shorttag"; then echo -e "${Error}ERROR${Off} Failed to delete"\ "downloaded /tmp/$script-$shorttag!" >&2 cleanup_err=1 fi fi # Add warning to DSM log if [[ $cleanup_err ]]; then syslog_set warn "$script update failed to delete tmp files" fi } if ! printf "%s\n%s\n" "$tag" "$scriptver" | sort --check=quiet --version-sort >/dev/null ; then echo -e "\n${Cyan}There is a newer version of this script available.${Off}" echo -e "Current version: ${scriptver}\nLatest version: $tag" scriptdl="$scriptpath/$script-$shorttag" if [[ -f ${scriptdl}.tar.gz ]] || [[ -f ${scriptdl}.zip ]]; then # They have the latest version tar.gz downloaded but are using older version echo "You have the latest version downloaded but are using an older version" sleep 10 elif [[ -d $scriptdl ]]; then # They have the latest version extracted but are using older version echo "You have the latest version extracted but are using an older version" sleep 10 else if [[ $autoupdate == "yes" ]]; then if [[ $age -gt "$delay" ]] || [[ $age -eq "$delay" ]]; then echo "Downloading $tag" reply=y else echo "Skipping as $tag is less than $delay days old." fi else echo -e "${Cyan}Do you want to download $tag now?${Off} [y/n]" read -r -t 30 reply fi if [[ ${reply,,} == "y" ]]; then # Delete previously downloaded .tar.gz file and extracted tmp files cleanup_tmp if cd /tmp; then url="https://github.com/$repo/archive/refs/tags/$tag.tar.gz" if ! curl -JLO -m 30 --connect-timeout 5 "$url"; then echo -e "${Error}ERROR${Off} Failed to download"\ "$script-$shorttag.tar.gz!" syslog_set warn "$script $tag failed to download" else if [[ -f /tmp/$script-$shorttag.tar.gz ]]; then # Extract tar file to /tmp/<script-name> if ! tar -xf "/tmp/$script-$shorttag.tar.gz" -C "/tmp"; then echo -e "${Error}ERROR${Off} Failed to"\ "extract $script-$shorttag.tar.gz!" syslog_set warn "$script failed to extract $script-$shorttag.tar.gz!" else # Set script sh files as executable if ! chmod a+x "/tmp/$script-$shorttag/"*.sh ; then permerr=1 echo -e "${Error}ERROR${Off} Failed to set executable permissions" syslog_set warn "$script failed to set permissions on $tag" fi # Copy new script sh file to script location if ! cp -p "/tmp/$script-$shorttag/${scriptname}.sh" "${scriptpath}/${scriptfile}"; then copyerr=1 echo -e "${Error}ERROR${Off} Failed to copy"\ "$script-$shorttag sh file(s) to:\n $scriptpath/${scriptfile}" syslog_set warn "$script failed to copy $tag to script location" fi # Copy new CHANGES.txt file to script location (if script on a volume) if [[ $scriptpath =~ /volume* ]]; then # Set permissions on CHANGES.txt if ! chmod 664 "/tmp/$script-$shorttag/CHANGES.txt"; then permerr=1 echo -e "${Error}ERROR${Off} Failed to set permissions on:" echo "$scriptpath/CHANGES.txt" fi # Copy new CHANGES.txt file to script location if ! cp -p "/tmp/$script-$shorttag/CHANGES.txt"\ "${scriptpath}/${scriptname}_CHANGES.txt"; then if [[ $autoupdate != "yes" ]]; then copyerr=1; fi echo -e "${Error}ERROR${Off} Failed to copy"\ "$script-$shorttag/CHANGES.txt to:\n $scriptpath" else changestxt=" and changes.txt" fi fi # Delete downloaded tmp files cleanup_tmp # Notify of success (if there were no errors) if [[ $copyerr != 1 ]] && [[ $permerr != 1 ]]; then echo -e "\n$tag ${scriptfile}$changestxt downloaded to: ${scriptpath}\n" syslog_set info "$script successfully updated to $tag" # Reload script printf -- '-%.0s' {1..79}; echo # print 79 - exec "${scriptpath}/$scriptfile" "${args[@]}" else syslog_set warn "$script update to $tag had errors" fi fi else echo -e "${Error}ERROR${Off}"\ "/tmp/$script-$shorttag.tar.gz not found!" #ls /tmp | grep "$script" # debug syslog_set warn "/tmp/$script-$shorttag.tar.gz not found" fi fi cd "$scriptpath" || echo -e "${Error}ERROR${Off} Failed to cd to script location!" else echo -e "${Error}ERROR${Off} Failed to cd to /tmp!" syslog_set warn "$script update failed to cd to /tmp" fi fi fi fi #------------------------------------------------------------------------------ # Functions load_module(){ if [[ -f $1 ]]; then if insmod "$1"; then echo "Loaded $1" else ding echo -e "${Error}ERROR${Off} Failed to remove $1" fi else ding echo -e "${Error}ERROR${Off} Missing file!" echo " $1" errors=$(errors +1) fi } remove_module(){ if [[ $1 ]]; then if rmmod "$1"; then echo "Removed $1" else ding echo -e "${Error}ERROR${Off} Failed to remove $1" errors=$(errors +1) fi fi } #------------------------------------------------------------------------------ # Check script is needed # unique="synology_geminilakenk_ds425+" unique=$(synogetkeyvalue /etc/synoinfo.conf unique) if [[ $unique =~ ^synology_geminilakenk_* ]]; then echo -e "unique: $unique" else ding echo -e "${Error}ERROR${Off} Wrong Synology model!" echo " $unique" exit 1 fi #------------------------------------------------------------------------------ # Download modules # Get version of ko module # modinfo /path/to/your/module.ko url="https://www.blackvoid.club/content/files/2025/09/x25_hw_transcode_modules.zip" zipfile="$scriptpath/x25_drivers/x25_hw_transcode_modules.zip" x25_drivers_dir="$scriptpath/x25_drivers" if [[ ! -d "$x25_drivers_dir" ]]; then mkdir "$x25_drivers_dir" fi if cd "$x25_drivers_dir"; then # Download and extract zip file if it's missing if [[ ! -f "$zipfile" ]]; then echo -e "\nDownloading transcode modules" if ! curl -JLO -m 30 --connect-timeout 5 "$url"; then ding echo -e "${Error}ERROR${Off} Failed to download x25_hw_transcode_modules.zip!" exit 1 else if [[ -f "$zipfile" ]]; then # Extract zip file echo -e "\nExtracting x25_hw_transcode_modules.zip" if ! 7z e "$zipfile" >/dev/null; then ding echo -e "${Error}ERROR${Off} Failed to extract x25_hw_transcode_modules.zip!" exit 1 fi else ding echo -e "${Error}ERROR${Off} Missing file: x25_hw_transcode_modules.zip" exit 1 fi fi fi else echo -e "${Error}ERROR${Off} Failed to cd to $x25_drivers_dir!" fi #------------------------------------------------------------------------------ errors="0" # Remove default modules echo -e "\nRemoving default modules:" remove_module i915 remove_module drm_kms_helper remove_module drm # Load the good modules echo -e "\nLoading good modules:" load_module "$x25_drivers_dir"/dmabuf.ko load_module "$x25_drivers_dir"/drm.ko load_module "$x25_drivers_dir"/drm_kms_helper.ko load_module "$x25_drivers_dir"/drm_display_helper.ko load_module "$x25_drivers_dir"/drm_buddy.ko load_module "$x25_drivers_dir"/ttm.ko load_module "$x25_drivers_dir"/intel-gtt.ko load_module "$x25_drivers_dir"/i915-compat.ko load_module "$x25_drivers_dir"/i915.ko if [[ $errors -gt "0" ]]; then echo -e "\nFinished with $errors errors" exit "$errors" else echo -e "\nFinished" fi
15,885
transcode_for_x25
sh
en
shell
code
{"qsc_code_num_words": 1777, "qsc_code_num_chars": 15885.0, "qsc_code_mean_word_length": 4.42824986, "qsc_code_frac_words_unique": 0.20371412, "qsc_code_frac_chars_top_2grams": 0.02160376, "qsc_code_frac_chars_top_3grams": 0.02541619, "qsc_code_frac_chars_top_4grams": 0.03812429, "qsc_code_frac_chars_dupe_5grams": 0.34515186, "qsc_code_frac_chars_dupe_6grams": 0.30143601, "qsc_code_frac_chars_dupe_7grams": 0.2722074, "qsc_code_frac_chars_dupe_8grams": 0.20523574, "qsc_code_frac_chars_dupe_9grams": 0.14423688, "qsc_code_frac_chars_dupe_10grams": 0.13229127, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.02233203, "qsc_code_frac_chars_whitespace": 0.33755115, "qsc_code_size_file_byte": 15885.0, "qsc_code_num_lines": 475.0, "qsc_code_num_chars_line_max": 112.0, "qsc_code_num_chars_line_mean": 33.44210526, "qsc_code_frac_chars_alphabet": 0.72545852, "qsc_code_frac_chars_comments": 0.20667296, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.35576923, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.2891834, "qsc_code_frac_chars_long_word_length": 0.07499405, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00079359, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0}
007revad/Transcode_for_x25
my-other-scripts.md
## All my scripts, tools and guides <img src="https://hitscounter.dev/api/hit?url=https%3A%2F%2F007revad.github.io%2F&label=Visitors&icon=github&color=%23198754&message=&style=flat&tz=UTC"> #### Contents - [Plex](#plex) - [Synology docker](#synology-docker) - [Synology recovery](#synology-recovery) - [Other Synology scripts](#other-synology-scripts) - [Synology hardware restrictions](#synology-hardware-restrictions) - [2025 plus models](#2025-plus-models) - [How To Guides](#how-to-guides) - [Synology dev](#synology-dev) *** ### Plex - **<a href="https://github.com/007revad/Synology_Plex_Backup">Synology_Plex_Backup</a>** - A script to backup Plex to a tgz file foror DSM 7 and DSM 6. - Works for Plex Synology package and Plex in docker. - **<a href="https://github.com/007revad/Asustor_Plex_Backup">Asustor_Plex_Backup</a>** - Backup your Asustor's Plex Media Server settings and database. - **<a href="https://github.com/007revad/Linux_Plex_Backup">Linux_Plex_Backup</a>** - Backup your Linux Plex Media Server's settings and database. - **<a href="https://github.com/007revad/Plex_Server_Sync">Plex_Server_Sync</a>** - Sync your main Plex server database & metadata to a backup Plex server. - Works for Synology, Asustor, Linux and supports Plex package or Plex in docker. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### Synology docker - **<a href="https://github.com/007revad/Synology_Docker_Export">Synology_Docker_export</a>** - Export all Synology Container Manager or Docker containers' settings as json files to your docker shared folder. - **<a href="https://github.com/007revad/Synology_ContainerManager_IPv6">Synology_ContainerManager_IPv6</a>** - Enable IPv6 for Container Manager's bridge network. - **<a href="https://github.com/007revad/ContainerManager_for_all_armv8">ContainerManager_for_all_armv8</a>** - Script to install Container Manager on a RS819, DS119j, DS418, DS418j, DS218, DS218play or DS118. - **<a href="https://github.com/007revad/Docker_Autocompose">Docker_Autocompose</a>** - Create .yml files from your docker existing containers. - **<a href="https://github.com/007revad/Synology_docker_cleanup">Synology_docker_cleanup</a>** - Remove orphan docker btrfs subvolumes and images in Synology DSM 7 and DSM 6. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### Synology recovery - **<a href="https://github.com/007revad/Synology_DSM_reinstall">Synology_DSM_reinstall</a>** - Easily re-install the same DSM version without losing any data or settings. - **<a href="https://github.com/007revad/Synology_Recover_Data">Synology_Recover_Data</a>** - A script to make it easy to recover your data from your Synology's drives using a computer. - **<a href="https://github.com/007revad/Synology_clear_drive_error">Synology clear drive error</a>** - Clear drive critical errors so DSM will let you use the drive. - **<a href="https://github.com/007revad/Synology_DSM_Telnet_Password">Synology_DSM_Telnet_Password</a>** - Synology DSM Recovery Telnet Password of the Day generator. - **<a href="https://github.com/007revad/Syno_DSM_Extractor_GUI">Syno_DSM_Extractor_GUI</a>** - Windows GUI for extracting Synology DSM 7 pat files and spk package files. - **<a href="https://github.com/007revad/Synoboot_backup">Synoboot_backup</a>** - Back up synoboot after each DSM update so you can recover from a corrupt USBDOM. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### Other Synology scripts - **<a href="https://github.com/007revad/Synology_app_mover">Synology_app_mover</a>** - Easily move Synology packages from one volume to another volume. - **<a href="https://github.com/007revad/Video_Station_for_DSM_722">Video_Station_for_DSM_722</a>** - Script to install Video Station in DSM 7.2.2 - **<a href="https://github.com/007revad/SS_Motion_Detection">SS_Motion_Detection</a>** - Installs previous Surveillance Station and Advanced Media Extensions versions so motion detection and HEVC are supported. - **<a href="https://github.com/007revad/Synology_Config_Backup">Synology_Config_Backup</a>** - Backup and export your Synology DSM configuration. - **<a href="https://github.com/007revad/Synology_CPU_temperature">Synology_CPU_temperature</a>** - Get and log Synology NAS CPU temperature via SSH. - **<a href="https://github.com/007revad/Synology_SMART_info">Synology_SMART_info</a>** - Show Synology smart test progress or smart health and attributes. - **<a href="https://github.com/007revad/Synology_Cleanup_Coredumps">Synology_Cleanup_Coredumps</a>** - Cleanup memory core dumps from crashed processes. - **<a href="https://github.com/007revad/Synology_toggle_reset_button">Synology_toggle_reset_button</a>** - Script to disable or enable the reset button and show current setting. - **<a href="https://github.com/007revad/Synology_Download_Station_Chrome_Extension">Synology_Download_Station_Chrome_Extension</a>** - Download Station Chrome Extension. - **<a href="https://github.com/007revad/Seagate_lowCurrentSpinup">Seagate_lowCurrentSpinup</a>** - This script avoids the need to buy and install a higher wattage power supply when using multiple large Seagate SATA HDDs. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### Synology hardware restrictions - **<a href="https://github.com/007revad/Synology_HDD_db">Synology_HDD_db</a>** - Add your SATA or SAS HDDs and SSDs plus SATA and NVMe M.2 drives to your Synology's compatible drive databases, including your Synology M.2 PCIe card and Expansion Unit databases. - **<a href="https://github.com/007revad/Synology_enable_M2_volume">Synology_enable_M2_volume</a>** - Enable creating volumes with non-Synology M.2 drives. - Enable Health Info for non-Synology NVMe drives (not in DSM 7.2.1 or later). - **<a href="https://github.com/007revad/Synology_M2_volume">Synology_M2_volume</a>** - Easily create an M.2 volume on Synology NAS. - **<a href="https://github.com/007revad/Synology_enable_M2_card">Synology_enable_M2_card</a>** - Enable Synology M.2 PCIe cards in Synology NAS that don't officially support them. - **<a href="https://github.com/007revad/Synology_enable_eunit">Synology_enable_eunit</a>** - Enable an unsupported Synology eSATA Expansion Unit models. - **<a href="https://github.com/007revad/Synology_enable_Deduplication">Synology_enable_Deduplication</a>** - Enable deduplication with non-Synology SSDs and unsupported NAS models. - **<a href="https://github.com/007revad/Synology_SHR_switch">Synology_SHR_switch</a>** - Easily switch between SHR and RAID Groups, or enable RAID F1. - **<a href="https://github.com/007revad/Synology_enable_sequential_IO">Synology_enable_sequential_IO</a>** - Enables sequential I/O for your SSD caches, like DSM 6 had. - **<a href="https://github.com/007revad/Synology_Information_Wiki">Synology_Information_Wiki</a>** - Information about Synology hardware. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### 2025 plus models - **<a href="https://github.com/007revad/Transcode_for_x25">Transcode_for_x25</a>** - Installs the modules needed for Plex or Jellyfin hardware transcoding in DS425+ and DS225+. - **<a href="https://github.com/007revad/Synology_HDD_db/blob/main/2025_plus_models.md">2025 series or later Plus models</a>** - Unverified 3rd party drive limitations and unofficial solutions. - **<a href="https://github.com/007revad/Synology_HDD_db/blob/main/2025_plus_models.md#setting-up-a-new-2025-or-later-plus-model-with-only-unverified-hdds">Setup with only 3rd party drives</a>** - Setting up a new 2025 or later plus model with only unverified HDDs. - **<a href="https://github.com/007revad/Synology_HDD_db/blob/main/2025_plus_models.md#deleting-and-recreating-your-storage-pool-on-unverified-hdds">Recreating storage pool on migrated drives</a>** - Deleting and recreating your storage pool on unverified HDDs. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### How To Guides - **<a href="https://github.com/007revad/Synology_SSH_key_setup">Synology_SSH_key_setup</a>** - How to setup SSH key authentication for your Synology. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### Synology dev - **<a href="https://github.com/007revad/Download_Synology_Archive">Download_Synology_Archive</a>** - Download all or part of the Synology archive. - **<a href="https://github.com/007revad/Syno_DSM_Extractor_GUI">Syno_DSM_Extractor_GUI</a>** - Windows GUI for extracting Synology DSM 7 pat files and spk package files. - **<a href="https://github.com/007revad/ScriptNotify">ScriptNotify</a>** - DSM 7 package to allow your scripts to send DSM notifications. - **<a href="https://github.com/007revad/DTC_GUI_for_Windows">DTC_GUI_for_Windows</a>** - GUI for DTC.exe for Windows. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents)
9,099
my-other-scripts
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.16632653, "qsc_doc_num_sentences": 107.0, "qsc_doc_num_words": 1341, "qsc_doc_num_chars": 9099.0, "qsc_doc_num_lines": 180.0, "qsc_doc_mean_word_length": 4.94630872, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.23191648, "qsc_doc_entropy_unigram": 4.76529845, "qsc_doc_frac_words_all_caps": 0.02908163, "qsc_doc_frac_lines_dupe_lines": 0.1025641, "qsc_doc_frac_chars_dupe_lines": 0.10911978, "qsc_doc_frac_chars_top_2grams": 0.05789236, "qsc_doc_frac_chars_top_3grams": 0.06482738, "qsc_doc_frac_chars_top_4grams": 0.10372381, "qsc_doc_frac_chars_dupe_5grams": 0.39981909, "qsc_doc_frac_chars_dupe_6grams": 0.36891301, "qsc_doc_frac_chars_dupe_7grams": 0.34041912, "qsc_doc_frac_chars_dupe_8grams": 0.25569124, "qsc_doc_frac_chars_dupe_9grams": 0.20624152, "qsc_doc_frac_chars_dupe_10grams": 0.15829941, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 0.0, "qsc_doc_num_chars_sentence_length_mean": 30.70731707, "qsc_doc_frac_chars_hyperlink_html_tag": 0.34762062, "qsc_doc_frac_chars_alphabet": 0.79007303, "qsc_doc_frac_chars_digital": 0.03094442, "qsc_doc_frac_chars_whitespace": 0.11210023, "qsc_doc_frac_chars_hex_words": 0.0}
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_all_caps": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0}
007SKRN/crypto-portfolio-tracker
src/cli/app.py
from src.utils import logger, PrivacyManager from src.cli.commands import handle_command from src.cli.formatters import format_help from src.models import Portfolio from colorama import Fore, Style from getpass import getpass class CliApp: def __init__(self): self.portfolio = Portfolio() self.privacy_manager = PrivacyManager() self.running = True def display_help(self): print(format_help()) def handle_privacy_command(self, args): if not args: if self.privacy_manager.is_privacy_enabled(): password = getpass("Enter password to disable privacy mode: ") if self.privacy_manager.toggle_privacy(password): print(f"\n{Fore.GREEN}✓ Privacy mode disabled{Style.RESET_ALL}") else: print(f"\n{Fore.RED}✗ Incorrect password{Style.RESET_ALL}") else: self.privacy_manager.toggle_privacy() print(f"\n{Fore.GREEN}✓ Privacy mode enabled{Style.RESET_ALL}") elif args[0] == "status": status = "enabled" if self.privacy_manager.is_privacy_enabled() else "disabled" print(f"\nPrivacy mode is currently {status}") def run(self): print("\n🚀 Welcome to Crypto Portfolio Tracker CLI!") self.display_help() while self.running: try: command = input("\n> ").strip().lower() parts = command.split() cmd = parts[0] if parts else "" args = parts[1:] if len(parts) > 1 else [] if cmd == "exit": self.running = False print("Goodbye! 👋") elif cmd == "help": self.display_help() elif cmd == "privacy": self.handle_privacy_command(args) else: handle_command(command, self.portfolio, self.privacy_manager) except KeyboardInterrupt: print("\nGoodbye! 👋") break except Exception as e: logger.error(f"Error: {str(e)}") print(f"{Fore.RED}Error: {str(e)}{Style.RESET_ALL}")
2,245
app
py
en
python
code
{"qsc_code_num_words": 250, "qsc_code_num_chars": 2245.0, "qsc_code_mean_word_length": 4.872, "qsc_code_frac_words_unique": 0.34, "qsc_code_frac_chars_top_2grams": 0.05418719, "qsc_code_frac_chars_top_3grams": 0.08866995, "qsc_code_frac_chars_top_4grams": 0.04926108, "qsc_code_frac_chars_dupe_5grams": 0.15599343, "qsc_code_frac_chars_dupe_6grams": 0.10509031, "qsc_code_frac_chars_dupe_7grams": 0.10509031, "qsc_code_frac_chars_dupe_8grams": 0.04597701, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00271186, "qsc_code_frac_chars_whitespace": 0.34298441, "qsc_code_size_file_byte": 2245.0, "qsc_code_num_lines": 58.0, "qsc_code_num_chars_line_max": 92.0, "qsc_code_num_chars_line_mean": 38.70689655, "qsc_code_frac_chars_alphabet": 0.81898305, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.09803922, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.17586821, "qsc_code_frac_chars_long_word_length": 0.04407836, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.07843137, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.07843137, "qsc_codepython_frac_lines_import": 0.11764706, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.21568627, "qsc_codepython_frac_lines_print": 0.17647059}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 1, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_draw/lv_draw_mask.h
/** * @file lv_mask.h * */ #ifndef LV_MASK_H #define LV_MASK_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include <stdbool.h> #include "../lv_misc/lv_area.h" #include "../lv_misc/lv_color.h" /********************* * DEFINES *********************/ #define LV_MASK_ID_INV (-1) #define _LV_MASK_MAX_NUM 16 /********************** * TYPEDEFS **********************/ enum { LV_DRAW_MASK_RES_TRANSP, LV_DRAW_MASK_RES_FULL_COVER, LV_DRAW_MASK_RES_CHANGED, LV_DRAW_MASK_RES_UNKNOWN }; typedef uint8_t lv_draw_mask_res_t; enum { LV_DRAW_MASK_TYPE_LINE, LV_DRAW_MASK_TYPE_ANGLE, LV_DRAW_MASK_TYPE_RADIUS, LV_DRAW_MASK_TYPE_FADE, LV_DRAW_MASK_TYPE_MAP, }; typedef uint8_t lv_draw_mask_type_t; enum { LV_DRAW_MASK_LINE_SIDE_LEFT = 0, LV_DRAW_MASK_LINE_SIDE_RIGHT, LV_DRAW_MASK_LINE_SIDE_TOP, LV_DRAW_MASK_LINE_SIDE_BOTTOM, }; /** * A common callback type for every mask type. * Used internally by the library. */ typedef lv_draw_mask_res_t (*lv_draw_mask_xcb_t)(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, void * p); typedef uint8_t lv_draw_mask_line_side_t; typedef struct { lv_draw_mask_xcb_t cb; lv_draw_mask_type_t type; } lv_draw_mask_common_dsc_t; typedef struct { /*The first element must be the common descriptor*/ lv_draw_mask_common_dsc_t dsc; struct { /*First point */ lv_point_t p1; /*Second point*/ lv_point_t p2; /*Which side to keep?*/ lv_draw_mask_line_side_t side : 2; } cfg; /*A point of the line*/ lv_point_t origo; /* X / (1024*Y) steepness (X is 0..1023 range). What is the change of X in 1024 Y?*/ int32_t xy_steep; /* Y / (1024*X) steepness (Y is 0..1023 range). What is the change of Y in 1024 X?*/ int32_t yx_steep; /*Helper which stores yx_steep for flat lines and xy_steep for steep (non flat) lines */ int32_t steep; /*Steepness in 1 px in 0..255 range. Used only by flat lines. */ int32_t spx; /*1: It's a flat line? (Near to horizontal)*/ uint8_t flat : 1; /* Invert the mask. The default is: Keep the left part. * It is used to select left/right/top/bottom*/ uint8_t inv: 1; } lv_draw_mask_line_param_t; typedef struct { /*The first element must be the common descriptor*/ lv_draw_mask_common_dsc_t dsc; struct { lv_point_t vertex_p; lv_coord_t start_angle; lv_coord_t end_angle; } cfg; lv_draw_mask_line_param_t start_line; lv_draw_mask_line_param_t end_line; uint16_t delta_deg; } lv_draw_mask_angle_param_t; typedef struct { /*The first element must be the common descriptor*/ lv_draw_mask_common_dsc_t dsc; struct { lv_area_t rect; lv_coord_t radius; /* Invert the mask. 0: Keep the pixels inside.*/ uint8_t outer: 1; } cfg; int32_t y_prev; lv_sqrt_res_t y_prev_x; } lv_draw_mask_radius_param_t; typedef struct { /*The first element must be the common descriptor*/ lv_draw_mask_common_dsc_t dsc; struct { lv_area_t coords; lv_coord_t y_top; lv_coord_t y_bottom; lv_opa_t opa_top; lv_opa_t opa_bottom; } cfg; } lv_draw_mask_fade_param_t; typedef struct _lv_draw_mask_map_param_t { /*The first element must be the common descriptor*/ lv_draw_mask_common_dsc_t dsc; struct { lv_area_t coords; const lv_opa_t * map; } cfg; } lv_draw_mask_map_param_t; typedef struct { void * param; void * custom_id; } _lv_draw_mask_saved_t; typedef _lv_draw_mask_saved_t _lv_draw_mask_saved_arr_t[_LV_MASK_MAX_NUM]; /********************** * GLOBAL PROTOTYPES **********************/ /** * Add a draw mask. Everything drawn after it (until removing the mask) will be affected by the mask. * @param param an initialized mask parameter. Only the pointer is saved. * @param custom_id a custom pointer to identify the mask. Used in `lv_draw_mask_remove_custom`. * @return the an integer, the ID of the mask. Can be used in `lv_draw_mask_remove_id`. */ int16_t lv_draw_mask_add(void * param, void * custom_id); //! @cond Doxygen_Suppress /** * Apply the added buffers on a line. Used internally by the library's drawing routines. * @param mask_buf store the result mask here. Has to be `len` byte long. Should be initialized with `0xFF`. * @param abs_x absolute X coordinate where the line to calculate start * @param abs_y absolute Y coordinate where the line to calculate start * @param len length of the line to calculate (in pixel count) * @return One of these values: * - `LV_DRAW_MASK_RES_FULL_TRANSP`: the whole line is transparent. `mask_buf` is not set to zero * - `LV_DRAW_MASK_RES_FULL_COVER`: the whole line is fully visible. `mask_buf` is unchanged * - `LV_DRAW_MASK_RES_CHANGED`: `mask_buf` has changed, it shows the desired opacity of each pixel in the given line */ LV_ATTRIBUTE_FAST_MEM lv_draw_mask_res_t lv_draw_mask_apply(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len); //! @endcond /** * Remove a mask with a given ID * @param id the ID of the mask. Returned by `lv_draw_mask_add` * @return the parameter of the removed mask. * If more masks have `custom_id` ID then the last mask's parameter will be returned */ void * lv_draw_mask_remove_id(int16_t id); /** * Remove all mask with a given custom ID * @param custom_id a pointer used in `lv_draw_mask_add` * @return return the parameter of the removed mask. * If more masks have `custom_id` ID then the last mask's parameter will be returned */ void * lv_draw_mask_remove_custom(void * custom_id); //! @cond Doxygen_Suppress /** * Count the currently added masks * @return number of active masks */ LV_ATTRIBUTE_FAST_MEM uint8_t lv_draw_mask_get_cnt(void); //! @endcond /** *Initialize a line mask from two points. * @param param pointer to a `lv_draw_mask_param_t` to initialize * @param p1x X coordinate of the first point of the line * @param p1y Y coordinate of the first point of the line * @param p2x X coordinate of the second point of the line * @param p2y y coordinate of the second point of the line * @param side and element of `lv_draw_mask_line_side_t` to describe which side to keep. * With `LV_DRAW_MASK_LINE_SIDE_LEFT/RIGHT` and horizontal line all pixels are kept * With `LV_DRAW_MASK_LINE_SIDE_TOP/BOTTOM` and vertical line all pixels are kept */ void lv_draw_mask_line_points_init(lv_draw_mask_line_param_t * param, lv_coord_t p1x, lv_coord_t p1y, lv_coord_t p2x, lv_coord_t p2y, lv_draw_mask_line_side_t side); /** *Initialize a line mask from a point and an angle. * @param param pointer to a `lv_draw_mask_param_t` to initialize * @param px X coordinate of a point of the line * @param py X coordinate of a point of the line * @param angle right 0 deg, bottom: 90 * @param side and element of `lv_draw_mask_line_side_t` to describe which side to keep. * With `LV_DRAW_MASK_LINE_SIDE_LEFT/RIGHT` and horizontal line all pixels are kept * With `LV_DRAW_MASK_LINE_SIDE_TOP/BOTTOM` and vertical line all pixels are kept */ void lv_draw_mask_line_angle_init(lv_draw_mask_line_param_t * param, lv_coord_t p1x, lv_coord_t py, int16_t angle, lv_draw_mask_line_side_t side); /** * Initialize an angle mask. * @param param pointer to a `lv_draw_mask_param_t` to initialize * @param vertex_x X coordinate of the angle vertex (absolute coordinates) * @param vertex_y Y coordinate of the angle vertex (absolute coordinates) * @param start_angle start angle in degrees. 0 deg on the right, 90 deg, on the bottom * @param end_angle end angle */ void lv_draw_mask_angle_init(lv_draw_mask_angle_param_t * param, lv_coord_t vertex_x, lv_coord_t vertex_y, lv_coord_t start_angle, lv_coord_t end_angle); /** * Initialize a fade mask. * @param param param pointer to a `lv_draw_mask_param_t` to initialize * @param rect coordinates of the rectangle to affect (absolute coordinates) * @param radius radius of the rectangle * @param inv: true: keep the pixels inside the rectangle; keep the pixels outside of the rectangle */ void lv_draw_mask_radius_init(lv_draw_mask_radius_param_t * param, const lv_area_t * rect, lv_coord_t radius, bool inv); /** * Initialize a fade mask. * @param param pointer to a `lv_draw_mask_param_t` to initialize * @param coords coordinates of the area to affect (absolute coordinates) * @param opa_top opacity on the top * @param y_top at which coordinate start to change to opacity to `opa_bottom` * @param opa_bottom opacity at the bottom * @param y_bottom at which coordinate reach `opa_bottom`. */ void lv_draw_mask_fade_init(lv_draw_mask_fade_param_t * param, const lv_area_t * coords, lv_opa_t opa_top, lv_coord_t y_top, lv_opa_t opa_bottom, lv_coord_t y_bottom); /** * Initialize a map mask. * @param param pointer to a `lv_draw_mask_param_t` to initialize * @param coords coordinates of the map (absolute coordinates) * @param map array of bytes with the mask values */ void lv_draw_mask_map_init(lv_draw_mask_map_param_t * param, const lv_area_t * coords, const lv_opa_t * map); /********************** * MACROS **********************/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_MASK_H*/
9,696
lv_draw_mask
h
en
c
code
{"qsc_code_num_words": 1597, "qsc_code_num_chars": 9696.0, "qsc_code_mean_word_length": 3.86599875, "qsc_code_frac_words_unique": 0.15090795, "qsc_code_frac_chars_top_2grams": 0.101069, "qsc_code_frac_chars_top_3grams": 0.12471655, "qsc_code_frac_chars_top_4grams": 0.04761905, "qsc_code_frac_chars_dupe_5grams": 0.6085196, "qsc_code_frac_chars_dupe_6grams": 0.51263362, "qsc_code_frac_chars_dupe_7grams": 0.40751539, "qsc_code_frac_chars_dupe_8grams": 0.39601555, "qsc_code_frac_chars_dupe_9grams": 0.33317136, "qsc_code_frac_chars_dupe_10grams": 0.28166505, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01104391, "qsc_code_frac_chars_whitespace": 0.21555281, "qsc_code_size_file_byte": 9696.0, "qsc_code_num_lines": 307.0, "qsc_code_num_chars_line_max": 121.0, "qsc_code_num_chars_line_mean": 31.58306189, "qsc_code_frac_chars_alphabet": 0.80068367, "qsc_code_frac_chars_comments": 0.56714109, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.28813559, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01000715, "qsc_code_frac_chars_long_word_length": 0.00500357, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.09322034, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.11864407, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lcd/Adafruit-GFX-Library/Fonts/FreeMonoBold12pt7b.h
const uint8_t FreeMonoBold12pt7bBitmaps[] PROGMEM = { 0xFF, 0xFF, 0xFF, 0xF6, 0x66, 0x60, 0x6F, 0x60, 0xE7, 0xE7, 0x62, 0x42, 0x42, 0x42, 0x42, 0x11, 0x87, 0x30, 0xC6, 0x18, 0xC3, 0x31, 0xFF, 0xFF, 0xF9, 0x98, 0x33, 0x06, 0x60, 0xCC, 0x7F, 0xEF, 0xFC, 0x66, 0x0C, 0xC3, 0x98, 0x63, 0x04, 0x40, 0x0C, 0x03, 0x00, 0xC0, 0xFE, 0x7F, 0x9C, 0x66, 0x09, 0x80, 0x78, 0x0F, 0xE0, 0x7F, 0x03, 0xE0, 0xF8, 0x7F, 0xFB, 0xFC, 0x0C, 0x03, 0x00, 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 0x79, 0x83, 0x06, 0x0C, 0x18, 0x31, 0xE3, 0x80, 0x3C, 0x37, 0xE7, 0x67, 0xE6, 0x1C }; const GFXglyph FreeMonoBold12pt7bGlyphs[] PROGMEM = { { 0, 0, 0, 14, 0, 1 }, // 0x20 ' ' { 0, 4, 15, 14, 5, -14 }, // 0x21 '!' { 8, 8, 7, 14, 3, -13 }, // 0x22 '"' { 15, 11, 18, 14, 2, -15 }, // 0x23 '#' { 40, 10, 20, 14, 2, -16 }, // 0x24 '$' { 65, 10, 15, 14, 2, -14 }, // 0x25 '%' { 84, 10, 13, 14, 2, -12 }, // 0x26 '&' { 101, 3, 7, 14, 5, -13 }, // 0x27 ''' { 104, 5, 19, 14, 6, -14 }, // 0x28 '(' { 116, 5, 19, 14, 3, -14 }, // 0x29 ')' { 128, 10, 10, 14, 2, -14 }, // 0x2A '*' { 141, 12, 13, 14, 1, -12 }, // 0x2B '+' { 161, 5, 7, 14, 4, -2 }, // 0x2C ',' { 166, 12, 2, 14, 1, -7 }, // 0x2D '-' { 169, 3, 3, 14, 5, -2 }, // 0x2E '.' { 171, 10, 20, 14, 2, -16 }, // 0x2F '/' { 196, 10, 15, 14, 2, -14 }, // 0x30 '0' { 215, 10, 15, 14, 2, -14 }, // 0x31 '1' { 234, 10, 15, 14, 2, -14 }, // 0x32 '2' { 253, 11, 15, 14, 1, -14 }, // 0x33 '3' { 274, 9, 14, 14, 2, -13 }, // 0x34 '4' { 290, 10, 15, 14, 2, -14 }, // 0x35 '5' { 309, 10, 15, 14, 2, -14 }, // 0x36 '6' { 328, 10, 15, 14, 2, -14 }, // 0x37 '7' { 347, 10, 15, 14, 2, -14 }, // 0x38 '8' { 366, 10, 15, 14, 3, -14 }, // 0x39 '9' { 385, 3, 11, 14, 5, -10 }, // 0x3A ':' { 390, 4, 15, 14, 4, -10 }, // 0x3B ';' { 398, 12, 11, 14, 1, -11 }, // 0x3C '<' { 415, 12, 7, 14, 1, -9 }, // 0x3D '=' { 426, 12, 11, 14, 1, -11 }, // 0x3E '>' { 443, 9, 14, 14, 3, -13 }, // 0x3F '?' { 459, 11, 19, 14, 2, -14 }, // 0x40 '@' { 486, 15, 14, 14, -1, -13 }, // 0x41 'A' { 513, 13, 14, 14, 0, -13 }, // 0x42 'B' { 536, 12, 14, 14, 1, -13 }, // 0x43 'C' { 557, 12, 14, 14, 1, -13 }, // 0x44 'D' { 578, 13, 14, 14, 0, -13 }, // 0x45 'E' { 601, 13, 14, 14, 0, -13 }, // 0x46 'F' { 624, 13, 14, 14, 1, -13 }, // 0x47 'G' { 647, 14, 14, 14, 0, -13 }, // 0x48 'H' { 672, 10, 14, 14, 2, -13 }, // 0x49 'I' { 690, 13, 14, 14, 1, -13 }, // 0x4A 'J' { 713, 14, 14, 14, 0, -13 }, // 0x4B 'K' { 738, 12, 14, 14, 1, -13 }, // 0x4C 'L' { 759, 14, 14, 14, 0, -13 }, // 0x4D 'M' { 784, 13, 14, 14, 0, -13 }, // 0x4E 'N' { 807, 12, 14, 14, 1, -13 }, // 0x4F 'O' { 828, 12, 14, 14, 0, -13 }, // 0x50 'P' { 849, 12, 17, 14, 1, -13 }, // 0x51 'Q' { 875, 14, 14, 14, 0, -13 }, // 0x52 'R' { 900, 10, 14, 14, 2, -13 }, // 0x53 'S' { 918, 12, 14, 14, 1, -13 }, // 0x54 'T' { 939, 12, 14, 14, 1, -13 }, // 0x55 'U' { 960, 16, 14, 14, -1, -13 }, // 0x56 'V' { 988, 14, 14, 14, 0, -13 }, // 0x57 'W' { 1013, 14, 14, 14, 0, -13 }, // 0x58 'X' { 1038, 12, 14, 14, 1, -13 }, // 0x59 'Y' { 1059, 10, 14, 14, 2, -13 }, // 0x5A 'Z' { 1077, 5, 19, 14, 6, -14 }, // 0x5B '[' { 1089, 10, 20, 14, 2, -16 }, // 0x5C '\' { 1114, 5, 19, 14, 3, -14 }, // 0x5D ']' { 1126, 10, 8, 14, 2, -15 }, // 0x5E '^' { 1136, 14, 2, 14, 0, 4 }, // 0x5F '_' { 1140, 4, 4, 14, 4, -15 }, // 0x60 '`' { 1142, 12, 11, 14, 1, -10 }, // 0x61 'a' { 1159, 13, 15, 14, 0, -14 }, // 0x62 'b' { 1184, 12, 11, 14, 1, -10 }, // 0x63 'c' { 1201, 13, 15, 14, 1, -14 }, // 0x64 'd' { 1226, 12, 11, 14, 1, -10 }, // 0x65 'e' { 1243, 11, 15, 14, 2, -14 }, // 0x66 'f' { 1264, 13, 16, 14, 1, -10 }, // 0x67 'g' { 1290, 14, 15, 14, 0, -14 }, // 0x68 'h' { 1317, 11, 14, 14, 1, -13 }, // 0x69 'i' { 1337, 8, 19, 15, 3, -13 }, // 0x6A 'j' { 1356, 13, 15, 14, 1, -14 }, // 0x6B 'k' { 1381, 11, 15, 14, 1, -14 }, // 0x6C 'l' { 1402, 15, 11, 14, 0, -10 }, // 0x6D 'm' { 1423, 14, 11, 14, 0, -10 }, // 0x6E 'n' { 1443, 12, 11, 14, 1, -10 }, // 0x6F 'o' { 1460, 14, 16, 14, 0, -10 }, // 0x70 'p' { 1488, 14, 16, 14, 0, -10 }, // 0x71 'q' { 1516, 12, 11, 14, 1, -10 }, // 0x72 'r' { 1533, 10, 11, 14, 2, -10 }, // 0x73 's' { 1547, 11, 14, 14, 1, -13 }, // 0x74 't' { 1567, 13, 11, 14, 0, -10 }, // 0x75 'u' { 1585, 14, 11, 14, 0, -10 }, // 0x76 'v' { 1605, 14, 11, 14, 0, -10 }, // 0x77 'w' { 1625, 14, 11, 14, 0, -10 }, // 0x78 'x' { 1645, 12, 16, 14, 1, -10 }, // 0x79 'y' { 1669, 11, 11, 14, 1, -10 }, // 0x7A 'z' { 1685, 7, 19, 14, 3, -14 }, // 0x7B '{' { 1702, 2, 19, 14, 6, -14 }, // 0x7C '|' { 1707, 7, 19, 14, 4, -14 }, // 0x7D '}' { 1724, 12, 4, 14, 1, -7 } }; // 0x7E '~' const GFXfont FreeMonoBold12pt7b PROGMEM = { (uint8_t *)FreeMonoBold12pt7bBitmaps, (GFXglyph *)FreeMonoBold12pt7bGlyphs, 0x20, 0x7E, 24 }; // Approx. 2402 bytes
16,081
FreeMonoBold12pt7b
h
en
c
code
{"qsc_code_num_words": 2481, "qsc_code_num_chars": 16081.0, "qsc_code_mean_word_length": 3.50906892, "qsc_code_frac_words_unique": 0.1305925, "qsc_code_frac_chars_top_2grams": 0.03399954, "qsc_code_frac_chars_top_3grams": 0.00804043, "qsc_code_frac_chars_top_4grams": 0.01045256, "qsc_code_frac_chars_dupe_5grams": 0.24167241, "qsc_code_frac_chars_dupe_6grams": 0.16402481, "qsc_code_frac_chars_dupe_7grams": 0.13645762, "qsc_code_frac_chars_dupe_8grams": 0.08821502, "qsc_code_frac_chars_dupe_9grams": 0.08270159, "qsc_code_frac_chars_dupe_10grams": 0.06156674, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.45763723, "qsc_code_frac_chars_whitespace": 0.27044338, "qsc_code_size_file_byte": 16081.0, "qsc_code_num_lines": 250.0, "qsc_code_num_chars_line_max": 74.0, "qsc_code_num_chars_line_mean": 64.324, "qsc_code_frac_chars_alphabet": 0.28443573, "qsc_code_frac_chars_comments": 0.07225919, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.46437429, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.0, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.0, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 1, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 1, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lcd/Adafruit-GFX-Library/Fonts/FreeMonoBoldOblique9pt7b.h
const uint8_t FreeMonoBoldOblique9pt7bBitmaps[] PROGMEM = { 0x39, 0xCC, 0x67, 0x31, 0x8C, 0x07, 0x38, 0x6C, 0xD9, 0x36, 0x48, 0x80, 0x09, 0x0D, 0x86, 0xCF, 0xF7, 0xF9, 0xB3, 0xFD, 0xFE, 0x6C, 0x36, 0x1B, 0x00, 0x00, 0x06, 0x07, 0x07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3C, 0x70, 0x30, 0x41, 0x83, 0x07, 0x06, 0x00, 0x33, 0x32, 0x26, 0x66, 0x44, 0xCC, 0xC8, 0x0C, 0x0E, 0x04, 0x0C, 0x0C, 0x0C, 0x0F, 0x0F, 0x18, 0x18, 0x10, 0x30, 0xF0, 0xE0, 0x38, 0x7C, 0xF7, 0xC1, 0xC0 }; const GFXglyph FreeMonoBoldOblique9pt7bGlyphs[] PROGMEM = { { 0, 0, 0, 11, 0, 1 }, // 0x20 ' ' { 0, 5, 11, 11, 4, -10 }, // 0x21 '!' { 7, 7, 5, 11, 4, -10 }, // 0x22 '"' { 12, 9, 12, 11, 2, -10 }, // 0x23 '#' { 26, 9, 14, 11, 2, -11 }, // 0x24 '$' { 42, 9, 11, 11, 2, -10 }, // 0x25 '%' { 55, 8, 10, 11, 2, -9 }, // 0x26 '&' { 65, 2, 5, 11, 6, -10 }, // 0x27 ''' { 67, 5, 14, 11, 5, -10 }, // 0x28 '(' { 76, 5, 14, 11, 2, -10 }, // 0x29 ')' { 85, 8, 7, 11, 3, -10 }, // 0x2A '*' { 92, 9, 9, 11, 2, -8 }, // 0x2B '+' { 103, 4, 5, 11, 2, -1 }, // 0x2C ',' { 106, 9, 2, 11, 2, -5 }, // 0x2D '-' { 109, 3, 2, 11, 4, -1 }, // 0x2E '.' { 110, 11, 15, 11, 1, -12 }, // 0x2F '/' { 131, 9, 12, 11, 2, -11 }, // 0x30 '0' { 145, 8, 12, 11, 2, -11 }, // 0x31 '1' { 157, 10, 12, 11, 1, -11 }, // 0x32 '2' { 172, 9, 12, 11, 2, -11 }, // 0x33 '3' { 186, 8, 10, 11, 2, -9 }, // 0x34 '4' { 196, 9, 11, 11, 3, -10 }, // 0x35 '5' { 209, 9, 12, 11, 3, -11 }, // 0x36 '6' { 223, 8, 11, 11, 3, -10 }, // 0x37 '7' { 234, 9, 12, 11, 2, -11 }, // 0x38 '8' { 248, 8, 12, 11, 3, -11 }, // 0x39 '9' { 260, 4, 8, 11, 4, -7 }, // 0x3A ':' { 264, 6, 11, 11, 2, -7 }, // 0x3B ';' { 273, 10, 8, 11, 2, -8 }, // 0x3C '<' { 283, 10, 6, 11, 1, -7 }, // 0x3D '=' { 291, 10, 8, 11, 1, -8 }, // 0x3E '>' { 301, 7, 11, 11, 4, -10 }, // 0x3F '?' { 311, 9, 15, 11, 2, -11 }, // 0x40 '@' { 328, 11, 11, 11, 0, -10 }, // 0x41 'A' { 344, 11, 11, 11, 0, -10 }, // 0x42 'B' { 360, 12, 11, 11, 1, -10 }, // 0x43 'C' { 377, 11, 11, 11, 0, -10 }, // 0x44 'D' { 393, 12, 11, 11, 0, -10 }, // 0x45 'E' { 410, 12, 11, 11, 0, -10 }, // 0x46 'F' { 427, 11, 11, 11, 1, -10 }, // 0x47 'G' { 443, 12, 11, 11, 0, -10 }, // 0x48 'H' { 460, 10, 11, 11, 1, -10 }, // 0x49 'I' { 474, 12, 11, 11, 0, -10 }, // 0x4A 'J' { 491, 11, 11, 11, 0, -10 }, // 0x4B 'K' { 507, 11, 11, 11, 0, -10 }, // 0x4C 'L' { 523, 13, 11, 11, 0, -10 }, // 0x4D 'M' { 541, 13, 11, 11, 0, -10 }, // 0x4E 'N' { 559, 10, 11, 11, 1, -10 }, // 0x4F 'O' { 573, 11, 11, 11, 0, -10 }, // 0x50 'P' { 589, 10, 14, 11, 1, -10 }, // 0x51 'Q' { 607, 12, 11, 11, 0, -10 }, // 0x52 'R' { 624, 10, 11, 11, 2, -10 }, // 0x53 'S' { 638, 11, 11, 11, 1, -10 }, // 0x54 'T' { 654, 11, 11, 11, 1, -10 }, // 0x55 'U' { 670, 11, 11, 11, 1, -10 }, // 0x56 'V' { 686, 11, 11, 11, 1, -10 }, // 0x57 'W' { 702, 12, 11, 11, 0, -10 }, // 0x58 'X' { 719, 11, 11, 11, 1, -10 }, // 0x59 'Y' { 735, 10, 11, 11, 1, -10 }, // 0x5A 'Z' { 749, 7, 14, 11, 4, -10 }, // 0x5B '[' { 762, 5, 15, 11, 4, -12 }, // 0x5C '\' { 772, 7, 14, 11, 2, -10 }, // 0x5D ']' { 785, 8, 6, 11, 3, -11 }, // 0x5E '^' { 791, 11, 2, 11, -1, 3 }, // 0x5F '_' { 794, 3, 3, 11, 5, -11 }, // 0x60 '`' { 796, 10, 8, 11, 1, -7 }, // 0x61 'a' { 806, 11, 11, 11, 0, -10 }, // 0x62 'b' { 822, 10, 8, 11, 1, -7 }, // 0x63 'c' { 832, 11, 11, 11, 1, -10 }, // 0x64 'd' { 848, 9, 8, 11, 1, -7 }, // 0x65 'e' { 857, 10, 11, 11, 2, -10 }, // 0x66 'f' { 871, 11, 12, 11, 1, -7 }, // 0x67 'g' { 888, 10, 11, 11, 1, -10 }, // 0x68 'h' { 902, 9, 11, 11, 1, -10 }, // 0x69 'i' { 915, 9, 15, 11, 1, -10 }, // 0x6A 'j' { 932, 10, 11, 11, 1, -10 }, // 0x6B 'k' { 946, 9, 11, 11, 1, -10 }, // 0x6C 'l' { 959, 12, 8, 11, 0, -7 }, // 0x6D 'm' { 971, 11, 8, 11, 1, -7 }, // 0x6E 'n' { 982, 10, 8, 11, 1, -7 }, // 0x6F 'o' { 992, 12, 12, 11, -1, -7 }, // 0x70 'p' { 1010, 11, 12, 11, 1, -7 }, // 0x71 'q' { 1027, 10, 8, 11, 1, -7 }, // 0x72 'r' { 1037, 8, 8, 11, 2, -7 }, // 0x73 's' { 1045, 9, 11, 11, 1, -10 }, // 0x74 't' { 1058, 10, 8, 11, 1, -7 }, // 0x75 'u' { 1068, 11, 8, 11, 1, -7 }, // 0x76 'v' { 1079, 11, 8, 11, 1, -7 }, // 0x77 'w' { 1090, 11, 8, 11, 1, -7 }, // 0x78 'x' { 1101, 12, 12, 11, 0, -7 }, // 0x79 'y' { 1119, 9, 8, 11, 2, -7 }, // 0x7A 'z' { 1128, 7, 14, 11, 3, -10 }, // 0x7B '{' { 1141, 4, 14, 11, 4, -10 }, // 0x7C '|' { 1148, 8, 14, 11, 2, -10 }, // 0x7D '}' { 1162, 9, 4, 11, 2, -6 } }; // 0x7E '~' const GFXfont FreeMonoBoldOblique9pt7b PROGMEM = { (uint8_t *)FreeMonoBoldOblique9pt7bBitmaps, (GFXglyph *)FreeMonoBoldOblique9pt7bGlyphs, 0x20, 0x7E, 18 }; // Approx. 1839 bytes
12,639
FreeMonoBoldOblique9pt7b
h
en
c
code
{"qsc_code_num_words": 1918, "qsc_code_num_chars": 12639.0, "qsc_code_mean_word_length": 3.33003128, "qsc_code_frac_words_unique": 0.16840459, "qsc_code_frac_chars_top_2grams": 0.03319242, "qsc_code_frac_chars_top_3grams": 0.01409112, "qsc_code_frac_chars_top_4grams": 0.01753562, "qsc_code_frac_chars_dupe_5grams": 0.13183028, "qsc_code_frac_chars_dupe_6grams": 0.03757633, "qsc_code_frac_chars_dupe_7grams": 0.0225458, "qsc_code_frac_chars_dupe_8grams": 0.01377799, "qsc_code_frac_chars_dupe_9grams": 0.01377799, "qsc_code_frac_chars_dupe_10grams": 0.01377799, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.45649718, "qsc_code_frac_chars_whitespace": 0.29978638, "qsc_code_size_file_byte": 12639.0, "qsc_code_num_lines": 203.0, "qsc_code_num_chars_line_max": 74.0, "qsc_code_num_chars_line_mean": 62.26108374, "qsc_code_frac_chars_alphabet": 0.26519774, "qsc_code_frac_chars_comments": 0.09193765, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.40742354, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.0, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.0, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 1, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 1, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lcd/Adafruit-GFX-Library/Fonts/FreeMono24pt7b.h
const uint8_t FreeMono24pt7bBitmaps[] PROGMEM = { 0x73, 0x9C, 0xE7, 0x39, 0xCE, 0x73, 0x9C, 0xE7, 0x10, 0x84, 0x21, 0x08, 0x00, 0x00, 0x00, 0x03, 0xBF, 0xFF, 0xB8, 0xFE, 0x7F, 0x7C, 0x3E, 0x7C, 0x3E, 0x7C, 0x3E, 0x7C, 0x3E, 0x7C, 0x3E, 0x7C, 0x3E, 0x7C, 0x3E, 0x3C, 0x3E, 0x38, 0x1C, 0x38, 0x1C, 0x38, 0x1C, 0x38, 0x1C, 0x38, 0x1C, 0x01, 0x86, 0x00, 0x30, 0xC0, 0x06, 0x18, 0x00, 0xC3, 0x00, 0x18, 0x60, 0x03, 0x0C, 0x00, 0x61, 0x80, 0x0C, 0x70, 0x01, 0x8C, 0x00, 0x61, 0x80, 0x0C, 0x30, 0x3F, 0xFF, 0xF7, 0xFF, 0xFE, 0x06, 0x18, 0x00, 0xC3, 0x00, 0x18, 0x60, 0x03, 0x0C, 0x00, 0x61, 0x80, 0x0C, 0x30, 0x7F, 0xFF, 0xEF, 0xFF, 0xFC, 0x06, 0x18, 0x00, 0xC7, 0x00, 0x38, 0xC0, 0x06, 0x18, 0x00, 0xC3, 0x00, 0x18, 0x60, 0x03, 0x0C, 0x00, 0x61, 0x80, 0x0C, 0x30, 0x01, 0x86, 0x00, 0x30, 0xC0, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x0F, 0xC0, 0x0F, 0xFD, 0x87, 0x03, 0xE3, 0x80, 0x39, 0xC0, 0x06, 0x60, 0x01, 0x98, 0x00, 0x06, 0x00, 0x01, 0xC0, 0x00, 0x38, 0x00, 0x07, 0xC0, 0x00, 0x7F, 0x80, 0x03, 0xF8, 0x00, 0x0F, 0x80, 0x00, 0x60, 0x00, 0x1C, 0x00, 0x03, 0x80, 0x00, 0xF0, 0x00, 0x3C, 0x00, 0x1F, 0x80, 0x0E, 0xFC, 0x0F, 0x37, 0xFF, 0x80, 0x7F, 0x80, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x07, 0x80, 0x01, 0xFE, 0x00, 0x38, 0x70, 0x03, 0x03, 0x00, 0x60, 0x18, 0x06, 0x01, 0x80, 0x60, 0x18, 0x06, 0x01, 0x80, 0x30, 0x30, 0x03, 0x87, 0x00, 0x1F, 0xE0, 0x30, 0x78, 0x1F, 0x00, 0x1F, 0x80, 0x0F, 0xC0, 0x07, 0xE0, 0x03, 0xF0, 0x00, 0xF8, 0x00, 0x0C, 0x01, 0xE0, 0x00, 0x7F, 0x80, 0x0E, 0x1C, 0x00, 0xC0, 0xC0, 0x18, 0x06, 0x01, 0x80, 0x60, 0x18, 0x06, 0x01, 0x80, 0x60, 0x0C, 0x0E, 0x00, 0xE1, 0xC0, 0x07, 0xF8, 0x00, 0x1E, 0x00, 0x03, 0xEC, 0x01, 0xFF, 0x00, 0xE1, 0x00, 0x70, 0x00, 0x18, 0x00, 0x06, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x01, 0x80, 0x00, 0x60, 0x00, 0x7C, 0x00, 0x3B, 0x83, 0xD8, 0x60, 0xFE, 0x0C, 0x33, 0x03, 0x98, 0xC0, 0x66, 0x30, 0x0D, 0x8C, 0x03, 0xC3, 0x00, 0x70, 0x60, 0x1C, 0x1C, 0x0F, 0x03, 0x87, 0x7C, 0x7F, 0x9F, 0x07, 0x80, 0x00, 0xFE, 0xF9, 0xF3, 0xE7, 0xCF, 0x9F, 0x3E, 0x3C, 0x70, 0xE1, 0xC3, 0x87, 0x00, 0x06, 0x1C, 0x30, 0xE1, 0x87, 0x0E, 0x18, 0x70, 0xE1, 0xC3, 0x0E, 0x1C, 0x38, 0x70, 0xE1, 0xC3, 0x87, 0x0E, 0x0C, 0x1C, 0x38, 0x70, 0x60, 0xE1, 0xC1, 0x83, 0x83, 0x06, 0x06, 0x04, 0xC1, 0xC1, 0x83, 0x83, 0x07, 0x0E, 0x0C, 0x1C, 0x38, 0x70, 0xE0, 0xE1, 0xC3, 0x87, 0x0E, 0x1C, 0x38, 0x70, 0xE1, 0x87, 0x0E, 0x1C, 0x30, 0x61, 0xC3, 0x0E, 0x18, 0x70, 0xC1, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x10, 0x30, 0x3F, 0x8C, 0x7C, 0xFF, 0xFC, 0x07, 0xF8, 0x00, 0x78, 0x00, 0x1F, 0x00, 0x0C, 0xC0, 0x06, 0x18, 0x03, 0x87, 0x00, 0xC0, 0xC0, 0x60, 0x18, 0x00, 0x60, 0x00, 0x06, 0x00, 0x00, 0x60, 0x00, 0x06, 0x00, 0x00, 0x60, 0x00, 0x06, 0x00, 0x00, 0x60, 0x00, 0x06, 0x00, 0x00, 0x60, 0x00, 0x06, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x60, 0x00, 0x06, 0x00, 0x00, 0x60, 0x00, 0x06, 0x00, 0x00, 0x60, 0x00, 0x06, 0x00, 0x00, 0x60, 0x00, 0x06, 0x00, 0x00, 0x60, 0x00, 0x06, 0x00, 0x1F, 0x8F, 0x87, 0xC7, 0xC3, 0xE1, 0xE1, 0xF0, 0xF0, 0x78, 0x38, 0x3C, 0x1C, 0x0E, 0x06, 0x00, 0x7F, 0xFF, 0xFD, 0xFF, 0xFF, 0xF0, 0x7D, 0xFF, 0xFF, 0xFF, 0xEF, 0x80, 0x00, 0x00, 0xC0, 0x00, 0x70, 0x00, 0x18, 0x00, 0x06, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x60, 0x00, 0x18, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x01, 0x80, 0x00, 0x60, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x06, 0x00, 0x01, 0x80, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x18, 0x00, 0x06, 0x00, 0x03, 0x80, 0x00, 0xC0, 0x00, 0x70, 0x00, 0x18, 0x00, 0x0E, 0x00, 0x03, 0x00, 0x01, 0xC0, 0x00, 0x60, 0x00, 0x38, 0x00, 0x0C, 0x00, 0x07, 0x00, 0x01, 0x80, 0x00, 0x60, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x00, 0x03, 0xF0, 0x03, 0xFF, 0x01, 0xE1, 0xE0, 0xE0, 0x18, 0x30, 0x03, 0x1C, 0x00, 0xE6, 0x00, 0x19, 0x80, 0x06, 0xE0, 0x01, 0xF0, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x00, 0xF0, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x00, 0xF0, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x00, 0xF8, 0x00, 0x76, 0x00, 0x19, 0x80, 0x06, 0x70, 0x03, 0x8C, 0x00, 0xC3, 0x80, 0x60, 0x78, 0x78, 0x0F, 0xFC, 0x00, 0xFC, 0x00, 0x03, 0x80, 0x07, 0x80, 0x0F, 0x80, 0x1D, 0x80, 0x39, 0x80, 0x71, 0x80, 0xE1, 0x80, 0xC1, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0xF0, 0x03, 0xFF, 0x01, 0xC0, 0xE0, 0xC0, 0x1C, 0x60, 0x03, 0xB8, 0x00, 0x6C, 0x00, 0x0F, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x18, 0x00, 0x06, 0x00, 0x03, 0x00, 0x01, 0x80, 0x00, 0xC0, 0x00, 0x60, 0x00, 0x30, 0x00, 0x18, 0x00, 0x0C, 0x00, 0x06, 0x00, 0x03, 0x00, 0x01, 0x80, 0x00, 0xC0, 0x00, 0x60, 0x00, 0x30, 0x00, 0xD0, 0x00, 0x38, 0x00, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0x03, 0xF8, 0x01, 0xFF, 0xC0, 0x70, 0x3C, 0x18, 0x01, 0xC6, 0x00, 0x18, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0x06, 0x00, 0x00, 0xC0, 0x00, 0x18, 0x00, 0x06, 0x00, 0x01, 0xC0, 0x00, 0x70, 0x01, 0xFC, 0x00, 0x3F, 0x00, 0x00, 0x78, 0x00, 0x03, 0x80, 0x00, 0x38, 0x00, 0x03, 0x00, 0x00, 0x30, 0x00, 0x06, 0x00, 0x00, 0xC0, 0x00, 0x18, 0x00, 0x03, 0x00, 0x00, 0xD8, 0x00, 0x3B, 0x80, 0x0E, 0x3E, 0x07, 0x81, 0xFF, 0xE0, 0x07, 0xE0, 0x00, 0x00, 0x3C, 0x00, 0x7C, 0x00, 0x6C, 0x00, 0xCC, 0x00, 0x8C, 0x01, 0x8C, 0x03, 0x0C, 0x03, 0x0C, 0x06, 0x0C, 0x04, 0x0C, 0x0C, 0x0C, 0x08, 0x0C, 0x10, 0x0C, 0x30, 0x0C, 0x20, 0x0C, 0x60, 0x0C, 0x40, 0x0C, 0x80, 0x0C, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x0C, 0x00, 0x0C, 0x00, 0x0C, 0x00, 0x0C, 0x00, 0x0C, 0x00, 0x0C, 0x00, 0xFF, 0x00, 0xFF, 0x3F, 0xFF, 0x07, 0xFF, 0xE0, 0xC0, 0x00, 0x18, 0x00, 0x03, 0x00, 0x00, 0x60, 0x00, 0x0C, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0x06, 0x00, 0x00, 0xC7, 0xE0, 0x1F, 0xFF, 0x03, 0x80, 0x70, 0x00, 0x03, 0x00, 0x00, 0x30, 0x00, 0x06, 0x00, 0x00, 0x60, 0x00, 0x0C, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0x06, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x06, 0xC0, 0x01, 0xDC, 0x00, 0x71, 0xF0, 0x3C, 0x0F, 0xFF, 0x00, 0x3F, 0x00, 0x00, 0x3F, 0x80, 0x3F, 0xF0, 0x3E, 0x00, 0x1E, 0x00, 0x0E, 0x00, 0x07, 0x00, 0x03, 0x80, 0x00, 0xC0, 0x00, 0x70, 0x00, 0x18, 0x00, 0x06, 0x00, 0x03, 0x80, 0x00, 0xC1, 0xF8, 0x31, 0xFF, 0x0C, 0xF0, 0xF3, 0x70, 0x0C, 0xD8, 0x01, 0xBC, 0x00, 0x6E, 0x00, 0x0F, 0x80, 0x03, 0xC0, 0x00, 0xD8, 0x00, 0x36, 0x00, 0x0D, 0x80, 0x03, 0x30, 0x01, 0x8E, 0x00, 0x61, 0xC0, 0x30, 0x38, 0x38, 0x07, 0xFC, 0x00, 0x7C, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x01, 0xC0, 0x00, 0x60, 0x00, 0x18, 0x00, 0x0E, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x18, 0x00, 0x06, 0x00, 0x01, 0x80, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x06, 0x00, 0x01, 0x80, 0x00, 0x60, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x01, 0x80, 0x00, 0x60, 0x00, 0x18, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x03, 0xF0, 0x03, 0xFF, 0x03, 0xC0, 0xF1, 0xC0, 0x0E, 0x60, 0x01, 0xB8, 0x00, 0x7C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x00, 0xF0, 0x00, 0x36, 0x00, 0x18, 0xC0, 0x0C, 0x1C, 0x0E, 0x03, 0xFF, 0x00, 0xFF, 0xC0, 0x70, 0x38, 0x30, 0x03, 0x18, 0x00, 0x66, 0x00, 0x1B, 0x00, 0x03, 0xC0, 0x00, 0xF0, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0x60, 0x01, 0x98, 0x00, 0xE3, 0x00, 0x70, 0x70, 0x38, 0x0F, 0xFC, 0x00, 0xFC, 0x00, 0x07, 0xE0, 0x03, 0xFE, 0x01, 0xC1, 0xC0, 0xC0, 0x38, 0x60, 0x07, 0x18, 0x00, 0xCC, 0x00, 0x1B, 0x00, 0x06, 0xC0, 0x01, 0xB0, 0x00, 0x3C, 0x00, 0x1F, 0x00, 0x07, 0x60, 0x03, 0xD8, 0x01, 0xB3, 0x00, 0xCC, 0xF0, 0xF3, 0x0F, 0xF8, 0xC1, 0xF8, 0x30, 0x00, 0x1C, 0x00, 0x06, 0x00, 0x01, 0x80, 0x00, 0xE0, 0x00, 0x30, 0x00, 0x1C, 0x00, 0x0E, 0x00, 0x07, 0x00, 0x07, 0x80, 0x07, 0xC0, 0xFF, 0xC0, 0x1F, 0xC0, 0x00, 0x7D, 0xFF, 0xFF, 0xFF, 0xEF, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0xFF, 0xFF, 0xFF, 0xF7, 0xC0, 0x0F, 0x87, 0xF1, 0xFC, 0x7F, 0x1F, 0xC3, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xF1, 0xF8, 0x7C, 0x3F, 0x0F, 0x83, 0xE0, 0xF0, 0x7C, 0x1E, 0x07, 0x81, 0xC0, 0xF0, 0x38, 0x04, 0x00, 0x00, 0x00, 0x18, 0x00, 0x01, 0xE0, 0x00, 0x1E, 0x00, 0x00, 0xE0, 0x00, 0x0F, 0x00, 0x00, 0xF0, 0x00, 0x0F, 0x00, 0x00, 0xF0, 0x00, 0x07, 0x00, 0x00, 0x78, 0x00, 0x07, 0x80, 0x00, 0x0F, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x38, 0x00, 0x00, 0x20, 0x7F, 0xFF, 0xFF, 0x7F, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xFF, 0xFF, 0x7F, 0xFF, 0xFF, 0xC0, 0x00, 0x07, 0x80, 0x00, 0x0F, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x38, 0x00, 0x00, 0xF0, 0x00, 0x01, 0xE0, 0x00, 0x03, 0xC0, 0x00, 0x07, 0x80, 0x00, 0x0E, 0x00, 0x00, 0x3C, 0x00, 0x01, 0xE0, 0x00, 0x3C, 0x00, 0x07, 0x80, 0x00, 0xF0, 0x00, 0x1E, 0x00, 0x01, 0xE0, 0x00, 0x3C, 0x00, 0x07, 0x80, 0x00, 0xF0, 0x00, 0x0E, 0x00, 0x00, 0x60, 0x00, 0x00, 0x07, 0xF0, 0x1F, 0xFE, 0x3E, 0x07, 0x98, 0x00, 0xEC, 0x00, 0x36, 0x00, 0x0F, 0x00, 0x06, 0x00, 0x03, 0x00, 0x01, 0x80, 0x01, 0xC0, 0x00, 0xC0, 0x01, 0xC0, 0x03, 0xC0, 0x07, 0xC0, 0x07, 0x00, 0x03, 0x00, 0x01, 0x80, 0x00, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x07, 0xE0, 0x03, 0xF0, 0x01, 0xF8, 0x00, 0x78, 0x00, 0x03, 0xF0, 0x03, 0xFF, 0x01, 0xE0, 0xE0, 0xE0, 0x1C, 0x30, 0x03, 0x1C, 0x00, 0x66, 0x00, 0x19, 0x80, 0x06, 0xC0, 0x01, 0xB0, 0x07, 0xEC, 0x07, 0xFB, 0x03, 0xC6, 0xC1, 0xC1, 0xB0, 0xE0, 0x6C, 0x30, 0x1B, 0x0C, 0x06, 0xC3, 0x01, 0xB0, 0xC0, 0x6C, 0x18, 0x1B, 0x07, 0x86, 0xC0, 0xFF, 0xF0, 0x0F, 0xFC, 0x00, 0x03, 0x00, 0x00, 0x60, 0x00, 0x18, 0x00, 0x07, 0x00, 0x00, 0xC0, 0x00, 0x38, 0x00, 0x07, 0x80, 0xC0, 0xFF, 0xF0, 0x0F, 0xE0, 0x07, 0xFF, 0x00, 0x00, 0x7F, 0xF0, 0x00, 0x00, 0x1B, 0x00, 0x00, 0x01, 0x98, 0x00, 0x00, 0x11, 0x80, 0x00, 0x03, 0x0C, 0x00, 0x00, 0x30, 0xC0, 0x00, 0x06, 0x0C, 0x00, 0x00, 0x60, 0x60, 0x00, 0x06, 0x06, 0x00, 0x00, 0xC0, 0x30, 0x00, 0x0C, 0x03, 0x00, 0x00, 0x80, 0x30, 0x00, 0x18, 0x01, 0x80, 0x01, 0x80, 0x18, 0x00, 0x3F, 0xFF, 0x80, 0x03, 0xFF, 0xFC, 0x00, 0x20, 0x00, 0xC0, 0x06, 0x00, 0x06, 0x00, 0x60, 0x00, 0x60, 0x0C, 0x00, 0x06, 0x00, 0xC0, 0x00, 0x30, 0x0C, 0x00, 0x03, 0x01, 0x80, 0x00, 0x18, 0x7F, 0xC0, 0x3F, 0xF7, 0xFC, 0x03, 0xFF, 0xFF, 0xFF, 0x03, 0xFF, 0xFF, 0x01, 0x80, 0x0E, 0x06, 0x00, 0x1C, 0x18, 0x00, 0x38, 0x60, 0x00, 0x61, 0x80, 0x01, 0x86, 0x00, 0x06, 0x18, 0x00, 0x38, 0x60, 0x01, 0xC1, 0x80, 0x1E, 0x07, 0xFF, 0xE0, 0x1F, 0xFF, 0xC0, 0x60, 0x03, 0xC1, 0x80, 0x03, 0x86, 0x00, 0x06, 0x18, 0x00, 0x1C, 0x60, 0x00, 0x31, 0x80, 0x00, 0xC6, 0x00, 0x03, 0x18, 0x00, 0x0C, 0x60, 0x00, 0x61, 0x80, 0x03, 0x86, 0x00, 0x1C, 0xFF, 0xFF, 0xE3, 0xFF, 0xFE, 0x00, 0x00, 0xFC, 0x00, 0x0F, 0xFE, 0x60, 0xF0, 0x3D, 0x87, 0x00, 0x3E, 0x38, 0x00, 0x38, 0xC0, 0x00, 0xE7, 0x00, 0x01, 0x98, 0x00, 0x06, 0x60, 0x00, 0x03, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x30, 0x00, 0x00, 0xC0, 0x00, 0x03, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x30, 0x00, 0x00, 0xC0, 0x00, 0x03, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x18, 0x00, 0x00, 0x60, 0x00, 0x01, 0xC0, 0x00, 0x03, 0x80, 0x00, 0xC7, 0x00, 0x06, 0x0E, 0x00, 0x70, 0x1E, 0x07, 0x80, 0x3F, 0xFC, 0x00, 0x1F, 0x80, 0xFF, 0xFE, 0x03, 0xFF, 0xFE, 0x03, 0x00, 0x3C, 0x0C, 0x00, 0x38, 0x30, 0x00, 0x70, 0xC0, 0x00, 0xC3, 0x00, 0x03, 0x8C, 0x00, 0x06, 0x30, 0x00, 0x1C, 0xC0, 0x00, 0x33, 0x00, 0x00, 0xCC, 0x00, 0x03, 0x30, 0x00, 0x0C, 0xC0, 0x00, 0x33, 0x00, 0x00, 0xCC, 0x00, 0x03, 0x30, 0x00, 0x0C, 0xC0, 0x00, 0x33, 0x00, 0x01, 0x8C, 0x00, 0x06, 0x30, 0x00, 0x30, 0xC0, 0x01, 0xC3, 0x00, 0x0E, 0x0C, 0x00, 0xF0, 0xFF, 0xFF, 0x83, 0xFF, 0xF8, 0x00, 0xFF, 0xFF, 0xFB, 0xFF, 0xFF, 0xE1, 0x80, 0x01, 0x86, 0x00, 0x06, 0x18, 0x00, 0x18, 0x60, 0x00, 0x61, 0x80, 0x01, 0x86, 0x00, 0x00, 0x18, 0x0C, 0x00, 0x60, 0x30, 0x01, 0x80, 0xC0, 0x07, 0xFF, 0x00, 0x1F, 0xFC, 0x00, 0x60, 0x30, 0x01, 0x80, 0xC0, 0x06, 0x03, 0x00, 0x18, 0x00, 0x00, 0x60, 0x00, 0x01, 0x80, 0x00, 0xC6, 0x00, 0x03, 0x18, 0x00, 0x0C, 0x60, 0x00, 0x31, 0x80, 0x00, 0xC6, 0x00, 0x03, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF1, 0x80, 0x00, 0xC6, 0x00, 0x03, 0x18, 0x00, 0x0C, 0x60, 0x00, 0x31, 0x80, 0x00, 0xC6, 0x00, 0x00, 0x18, 0x0C, 0x00, 0x60, 0x30, 0x01, 0x80, 0xC0, 0x07, 0xFF, 0x00, 0x1F, 0xFC, 0x00, 0x60, 0x30, 0x01, 0x80, 0xC0, 0x06, 0x03, 0x00, 0x18, 0x00, 0x00, 0x60, 0x00, 0x01, 0x80, 0x00, 0x06, 0x00, 0x00, 0x18, 0x00, 0x00, 0x60, 0x00, 0x01, 0x80, 0x00, 0x06, 0x00, 0x00, 0xFF, 0xF0, 0x03, 0xFF, 0xC0, 0x00, 0x00, 0xFF, 0x00, 0x07, 0xFF, 0x98, 0x1E, 0x03, 0xF0, 0x70, 0x01, 0xE1, 0x80, 0x01, 0xC6, 0x00, 0x01, 0x9C, 0x00, 0x03, 0x30, 0x00, 0x00, 0x60, 0x00, 0x01, 0xC0, 0x00, 0x03, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x18, 0x00, 0x00, 0x30, 0x00, 0x00, 0x60, 0x03, 0xFF, 0xC0, 0x07, 0xFF, 0x80, 0x00, 0x1B, 0x00, 0x00, 0x37, 0x00, 0x00, 0x66, 0x00, 0x00, 0xCC, 0x00, 0x01, 0x8C, 0x00, 0x03, 0x1C, 0x00, 0x06, 0x1E, 0x00, 0x0C, 0x0F, 0x00, 0xF8, 0x0F, 0xFF, 0xC0, 0x03, 0xFC, 0x00, 0x7F, 0x01, 0xFC, 0xFE, 0x03, 0xF8, 0x60, 0x00, 0xC0, 0xC0, 0x01, 0x81, 0x80, 0x03, 0x03, 0x00, 0x06, 0x06, 0x00, 0x0C, 0x0C, 0x00, 0x18, 0x18, 0x00, 0x30, 0x30, 0x00, 0x60, 0x60, 0x00, 0xC0, 0xFF, 0xFF, 0x81, 0xFF, 0xFF, 0x03, 0x00, 0x06, 0x06, 0x00, 0x0C, 0x0C, 0x00, 0x18, 0x18, 0x00, 0x30, 0x30, 0x00, 0x60, 0x60, 0x00, 0xC0, 0xC0, 0x01, 0x81, 0x80, 0x03, 0x03, 0x00, 0x06, 0x06, 0x00, 0x0C, 0x0C, 0x00, 0x18, 0xFF, 0x01, 0xFF, 0xFE, 0x03, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFE, 0x01, 0xFF, 0xFC, 0x00, 0x03, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x18, 0x00, 0x00, 0x30, 0x00, 0x00, 0x60, 0x00, 0x00, 0xC0, 0x00, 0x01, 0x80, 0x00, 0x03, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x18, 0x00, 0x00, 0x30, 0x60, 0x00, 0x60, 0xC0, 0x00, 0xC1, 0x80, 0x01, 0x83, 0x00, 0x03, 0x06, 0x00, 0x06, 0x0C, 0x00, 0x0C, 0x18, 0x00, 0x30, 0x38, 0x00, 0x60, 0x38, 0x01, 0x80, 0x3C, 0x0E, 0x00, 0x3F, 0xF8, 0x00, 0x0F, 0xC0, 0x00, 0xFF, 0x81, 0xFE, 0xFF, 0x81, 0xFE, 0x18, 0x00, 0x30, 0x18, 0x00, 0xE0, 0x18, 0x01, 0xC0, 0x18, 0x03, 0x80, 0x18, 0x07, 0x00, 0x18, 0x0E, 0x00, 0x18, 0x18, 0x00, 0x18, 0x70, 0x00, 0x18, 0xE0, 0x00, 0x19, 0xE0, 0x00, 0x1B, 0xF8, 0x00, 0x1F, 0x1C, 0x00, 0x1C, 0x06, 0x00, 0x18, 0x03, 0x00, 0x18, 0x03, 0x80, 0x18, 0x01, 0x80, 0x18, 0x00, 0xC0, 0x18, 0x00, 0xC0, 0x18, 0x00, 0x60, 0x18, 0x00, 0x60, 0x18, 0x00, 0x70, 0x18, 0x00, 0x30, 0xFF, 0x80, 0x3F, 0xFF, 0x80, 0x1F, 0xFF, 0xF0, 0x07, 0xFF, 0x80, 0x01, 0x80, 0x00, 0x0C, 0x00, 0x00, 0x60, 0x00, 0x03, 0x00, 0x00, 0x18, 0x00, 0x00, 0xC0, 0x00, 0x06, 0x00, 0x00, 0x30, 0x00, 0x01, 0x80, 0x00, 0x0C, 0x00, 0x00, 0x60, 0x00, 0x03, 0x00, 0x00, 0x18, 0x00, 0x00, 0xC0, 0x00, 0x06, 0x00, 0x18, 0x30, 0x00, 0xC1, 0x80, 0x06, 0x0C, 0x00, 0x30, 0x60, 0x01, 0x83, 0x00, 0x0C, 0x18, 0x00, 0x60, 0xC0, 0x03, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0xFC, 0x00, 0x0F, 0xFF, 0x00, 0x03, 0xF3, 0x60, 0x01, 0xB0, 0xD8, 0x00, 0x6C, 0x33, 0x00, 0x33, 0x0C, 0xC0, 0x0C, 0xC3, 0x38, 0x07, 0x30, 0xC6, 0x01, 0x8C, 0x31, 0xC0, 0xE3, 0x0C, 0x30, 0x30, 0xC3, 0x0C, 0x0C, 0x30, 0xC1, 0x86, 0x0C, 0x30, 0x61, 0x83, 0x0C, 0x0C, 0xC0, 0xC3, 0x03, 0x30, 0x30, 0xC0, 0x78, 0x0C, 0x30, 0x1E, 0x03, 0x0C, 0x03, 0x00, 0xC3, 0x00, 0x00, 0x30, 0xC0, 0x00, 0x0C, 0x30, 0x00, 0x03, 0x0C, 0x00, 0x00, 0xC3, 0x00, 0x00, 0x30, 0xC0, 0x00, 0x0C, 0xFF, 0x00, 0x3F, 0xFF, 0xC0, 0x0F, 0xF0, 0xFC, 0x00, 0xFF, 0xFC, 0x00, 0xFF, 0x1E, 0x00, 0x0C, 0x1F, 0x00, 0x0C, 0x1B, 0x00, 0x0C, 0x19, 0x80, 0x0C, 0x19, 0xC0, 0x0C, 0x18, 0xC0, 0x0C, 0x18, 0x60, 0x0C, 0x18, 0x60, 0x0C, 0x18, 0x30, 0x0C, 0x18, 0x38, 0x0C, 0x18, 0x18, 0x0C, 0x18, 0x0C, 0x0C, 0x18, 0x0E, 0x0C, 0x18, 0x06, 0x0C, 0x18, 0x03, 0x0C, 0x18, 0x03, 0x0C, 0x18, 0x01, 0x8C, 0x18, 0x01, 0xCC, 0x18, 0x00, 0xCC, 0x18, 0x00, 0x6C, 0x18, 0x00, 0x7C, 0x18, 0x00, 0x3C, 0x7F, 0x80, 0x1C, 0x7F, 0x80, 0x1C, 0x00, 0x7E, 0x00, 0x01, 0xFF, 0xC0, 0x07, 0x81, 0xE0, 0x0E, 0x00, 0x70, 0x1C, 0x00, 0x38, 0x38, 0x00, 0x1C, 0x30, 0x00, 0x0C, 0x70, 0x00, 0x0E, 0x60, 0x00, 0x06, 0x60, 0x00, 0x06, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0x60, 0x00, 0x06, 0x60, 0x00, 0x06, 0x70, 0x00, 0x0E, 0x30, 0x00, 0x0C, 0x38, 0x00, 0x1C, 0x1C, 0x00, 0x38, 0x0E, 0x00, 0x70, 0x07, 0x81, 0xE0, 0x03, 0xFF, 0xC0, 0x00, 0x7E, 0x00, 0xFF, 0xFF, 0x07, 0xFF, 0xFE, 0x06, 0x00, 0x78, 0x30, 0x00, 0xE1, 0x80, 0x03, 0x0C, 0x00, 0x0C, 0x60, 0x00, 0x63, 0x00, 0x03, 0x18, 0x00, 0x18, 0xC0, 0x01, 0xC6, 0x00, 0x0C, 0x30, 0x00, 0xC1, 0x80, 0x1E, 0x0F, 0xFF, 0xC0, 0x7F, 0xF8, 0x03, 0x00, 0x00, 0x18, 0x00, 0x00, 0xC0, 0x00, 0x06, 0x00, 0x00, 0x30, 0x00, 0x01, 0x80, 0x00, 0x0C, 0x00, 0x00, 0x60, 0x00, 0x03, 0x00, 0x00, 0xFF, 0xF0, 0x07, 0xFF, 0x80, 0x00, 0x00, 0x7E, 0x00, 0x01, 0xFF, 0x80, 0x07, 0x81, 0xE0, 0x0E, 0x00, 0x70, 0x1C, 0x00, 0x38, 0x38, 0x00, 0x1C, 0x30, 0x00, 0x0C, 0x70, 0x00, 0x0E, 0x60, 0x00, 0x06, 0x60, 0x00, 0x06, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0x60, 0x00, 0x06, 0x60, 0x00, 0x06, 0x70, 0x00, 0x0E, 0x30, 0x00, 0x0C, 0x18, 0x00, 0x1C, 0x0C, 0x00, 0x38, 0x06, 0x00, 0x70, 0x03, 0x81, 0xE0, 0x00, 0xFF, 0xC0, 0x00, 0x7E, 0x00, 0x00, 0xE0, 0x00, 0x03, 0xFF, 0x87, 0x07, 0xFF, 0xFE, 0x07, 0x00, 0xF8, 0xFF, 0xFE, 0x00, 0xFF, 0xFF, 0x80, 0x18, 0x03, 0xC0, 0x18, 0x00, 0xE0, 0x18, 0x00, 0x60, 0x18, 0x00, 0x30, 0x18, 0x00, 0x30, 0x18, 0x00, 0x30, 0x18, 0x00, 0x30, 0x18, 0x00, 0x70, 0x18, 0x00, 0x60, 0x18, 0x01, 0xC0, 0x18, 0x07, 0x80, 0x1F, 0xFF, 0x00, 0x1F, 0xFC, 0x00, 0x18, 0x0E, 0x00, 0x18, 0x07, 0x00, 0x18, 0x03, 0x80, 0x18, 0x01, 0xC0, 0x18, 0x00, 0xE0, 0x18, 0x00, 0x60, 0x18, 0x00, 0x30, 0x18, 0x00, 0x30, 0x18, 0x00, 0x18, 0xFF, 0x80, 0x1F, 0xFF, 0x80, 0x0F, 0x03, 0xF8, 0x00, 0xFF, 0xE6, 0x1E, 0x07, 0xE3, 0x80, 0x1E, 0x30, 0x00, 0xE6, 0x00, 0x06, 0x60, 0x00, 0x66, 0x00, 0x06, 0x60, 0x00, 0x07, 0x00, 0x00, 0x30, 0x00, 0x01, 0xC0, 0x00, 0x0F, 0xC0, 0x00, 0x3F, 0xC0, 0x00, 0x3F, 0x80, 0x00, 0x1C, 0x00, 0x00, 0xE0, 0x00, 0x07, 0x00, 0x00, 0x30, 0x00, 0x03, 0xC0, 0x00, 0x3C, 0x00, 0x03, 0xE0, 0x00, 0x7E, 0x00, 0x06, 0xF8, 0x01, 0xED, 0xE0, 0x7C, 0xCF, 0xFF, 0x00, 0x3F, 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x03, 0x00, 0xF0, 0x0C, 0x03, 0xC0, 0x30, 0x0F, 0x00, 0xC0, 0x3C, 0x03, 0x00, 0xC0, 0x0C, 0x00, 0x00, 0x30, 0x00, 0x00, 0xC0, 0x00, 0x03, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x30, 0x00, 0x00, 0xC0, 0x00, 0x03, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x30, 0x00, 0x00, 0xC0, 0x00, 0x03, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x30, 0x00, 0x00, 0xC0, 0x00, 0x03, 0x00, 0x00, 0x0C, 0x00, 0x0F, 0xFF, 0xC0, 0x3F, 0xFF, 0x00, 0xFF, 0x01, 0xFF, 0xFE, 0x03, 0xFC, 0xC0, 0x00, 0x61, 0x80, 0x00, 0xC3, 0x00, 0x01, 0x86, 0x00, 0x03, 0x0C, 0x00, 0x06, 0x18, 0x00, 0x0C, 0x30, 0x00, 0x18, 0x60, 0x00, 0x30, 0xC0, 0x00, 0x61, 0x80, 0x00, 0xC3, 0x00, 0x01, 0x86, 0x00, 0x03, 0x0C, 0x00, 0x06, 0x18, 0x00, 0x0C, 0x30, 0x00, 0x18, 0x60, 0x00, 0x30, 0xC0, 0x00, 0x61, 0x80, 0x00, 0xC3, 0x80, 0x03, 0x83, 0x00, 0x06, 0x07, 0x00, 0x1C, 0x07, 0x00, 0x70, 0x07, 0x83, 0xC0, 0x07, 0xFF, 0x00, 0x03, 0xF8, 0x00, 0x7F, 0xC0, 0x3F, 0xF7, 0xFC, 0x03, 0xFF, 0x18, 0x00, 0x01, 0x80, 0xC0, 0x00, 0x30, 0x0C, 0x00, 0x03, 0x00, 0x60, 0x00, 0x30, 0x06, 0x00, 0x06, 0x00, 0x60, 0x00, 0x60, 0x03, 0x00, 0x0C, 0x00, 0x30, 0x00, 0xC0, 0x03, 0x80, 0x0C, 0x00, 0x18, 0x01, 0x80, 0x01, 0x80, 0x18, 0x00, 0x0C, 0x03, 0x00, 0x00, 0xC0, 0x30, 0x00, 0x0E, 0x03, 0x00, 0x00, 0x60, 0x60, 0x00, 0x06, 0x06, 0x00, 0x00, 0x30, 0xC0, 0x00, 0x03, 0x0C, 0x00, 0x00, 0x30, 0x80, 0x00, 0x01, 0x98, 0x00, 0x00, 0x19, 0x80, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0xE0, 0x00, 0xFF, 0x80, 0x7F, 0xFF, 0xE0, 0x1F, 0xF3, 0x00, 0x00, 0x30, 0xC0, 0x00, 0x0C, 0x30, 0x00, 0x03, 0x0C, 0x03, 0x80, 0xC3, 0x01, 0xE0, 0x30, 0x60, 0x78, 0x0C, 0x18, 0x1F, 0x02, 0x06, 0x04, 0xC0, 0x81, 0x83, 0x30, 0x60, 0x60, 0xCC, 0x18, 0x18, 0x31, 0x86, 0x06, 0x18, 0x61, 0x81, 0x86, 0x18, 0x60, 0x71, 0x87, 0x18, 0x0C, 0x40, 0xC6, 0x03, 0x30, 0x31, 0x00, 0xCC, 0x0C, 0xC0, 0x33, 0x01, 0xB0, 0x0D, 0x80, 0x6C, 0x03, 0x60, 0x1B, 0x00, 0xD8, 0x06, 0xC0, 0x34, 0x00, 0xF0, 0x07, 0x00, 0x3C, 0x01, 0xC0, 0x0E, 0x00, 0x7F, 0x00, 0xFF, 0x7F, 0x00, 0xFF, 0x18, 0x00, 0x18, 0x0C, 0x00, 0x38, 0x0E, 0x00, 0x70, 0x07, 0x00, 0x60, 0x03, 0x00, 0xC0, 0x01, 0x81, 0x80, 0x01, 0xC3, 0x80, 0x00, 0xE7, 0x00, 0x00, 0x76, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x18, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x7E, 0x00, 0x00, 0x66, 0x00, 0x00, 0xC3, 0x00, 0x01, 0x81, 0x80, 0x03, 0x81, 0xC0, 0x07, 0x00, 0xE0, 0x06, 0x00, 0x60, 0x0C, 0x00, 0x30, 0x18, 0x00, 0x18, 0x38, 0x00, 0x1C, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0x18, 0x00, 0x18, 0x0C, 0x00, 0x30, 0x0E, 0x00, 0x70, 0x06, 0x00, 0x60, 0x03, 0x00, 0xC0, 0x03, 0x81, 0xC0, 0x01, 0x81, 0x80, 0x00, 0xC3, 0x00, 0x00, 0xE7, 0x00, 0x00, 0x66, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x07, 0xFF, 0xE0, 0x07, 0xFF, 0xE0, 0x7F, 0xFF, 0x9F, 0xFF, 0xE6, 0x00, 0x19, 0x80, 0x0C, 0x60, 0x07, 0x18, 0x03, 0x86, 0x00, 0xC1, 0x80, 0x70, 0x00, 0x38, 0x00, 0x0C, 0x00, 0x07, 0x00, 0x03, 0x80, 0x00, 0xC0, 0x00, 0x60, 0x00, 0x38, 0x00, 0x1C, 0x00, 0x06, 0x00, 0x03, 0x80, 0x31, 0xC0, 0x0C, 0x60, 0x03, 0x30, 0x00, 0xDC, 0x00, 0x3E, 0x00, 0x0F, 0x00, 0x03, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xFF, 0xFF, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC1, 0x83, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC1, 0x83, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC1, 0x83, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xFF, 0xFC, 0xC0, 0x00, 0x30, 0x00, 0x06, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x01, 0x80, 0x00, 0x60, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0x60, 0x00, 0x18, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x18, 0x00, 0x06, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x06, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x80, 0x00, 0x60, 0x00, 0x1C, 0x00, 0x03, 0x00, 0x00, 0xE0, 0x00, 0x18, 0x00, 0x07, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x06, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0x0C, 0xFF, 0xFC, 0x18, 0x30, 0x60, 0xC1, 0x83, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC1, 0x83, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC1, 0x83, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC1, 0x83, 0xFF, 0xFC, 0x00, 0x40, 0x00, 0x30, 0x00, 0x1E, 0x00, 0x0E, 0xC0, 0x07, 0x38, 0x01, 0x87, 0x00, 0xC0, 0xC0, 0x60, 0x18, 0x38, 0x03, 0x1C, 0x00, 0xE6, 0x00, 0x1F, 0x00, 0x03, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0xE0, 0x70, 0x3C, 0x0E, 0x07, 0x03, 0x01, 0xFC, 0x00, 0x7F, 0xFC, 0x01, 0xC0, 0x3C, 0x00, 0x00, 0x30, 0x00, 0x00, 0x60, 0x00, 0x01, 0x80, 0x00, 0x06, 0x00, 0x00, 0x18, 0x00, 0x00, 0x60, 0x0F, 0xF9, 0x81, 0xFF, 0xFE, 0x0F, 0x80, 0x38, 0x70, 0x00, 0x63, 0x80, 0x01, 0x8C, 0x00, 0x06, 0x30, 0x00, 0x18, 0xC0, 0x00, 0xE3, 0x00, 0x07, 0x86, 0x00, 0x76, 0x1E, 0x07, 0x9F, 0x3F, 0xF8, 0x7C, 0x3F, 0x80, 0x00, 0xF8, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x60, 0x00, 0x00, 0xC0, 0x00, 0x01, 0x80, 0x00, 0x03, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0C, 0x1F, 0x80, 0x18, 0xFF, 0xC0, 0x33, 0x81, 0xC0, 0x6E, 0x01, 0xC0, 0xF0, 0x00, 0xC1, 0xE0, 0x01, 0xC3, 0x80, 0x01, 0x87, 0x00, 0x03, 0x8C, 0x00, 0x03, 0x18, 0x00, 0x06, 0x30, 0x00, 0x0C, 0x60, 0x00, 0x18, 0xC0, 0x00, 0x31, 0x80, 0x00, 0x63, 0x80, 0x01, 0x87, 0x00, 0x03, 0x0F, 0x00, 0x0E, 0x1F, 0x00, 0x38, 0x37, 0x00, 0xE3, 0xE7, 0x03, 0x87, 0xC7, 0xFE, 0x00, 0x03, 0xF0, 0x00, 0x01, 0xFC, 0x00, 0x3F, 0xF9, 0x83, 0xC0, 0xFC, 0x38, 0x01, 0xE3, 0x00, 0x07, 0x38, 0x00, 0x19, 0x80, 0x00, 0xDC, 0x00, 0x06, 0xC0, 0x00, 0x06, 0x00, 0x00, 0x30, 0x00, 0x01, 0x80, 0x00, 0x0C, 0x00, 0x00, 0x60, 0x00, 0x03, 0x80, 0x00, 0x0C, 0x00, 0x00, 0x70, 0x00, 0x01, 0x80, 0x00, 0xC7, 0x00, 0x1E, 0x1E, 0x03, 0xC0, 0x7F, 0xFC, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x01, 0xF8, 0x18, 0x07, 0xFE, 0x18, 0x0F, 0x07, 0x98, 0x1C, 0x01, 0xD8, 0x38, 0x00, 0xF8, 0x70, 0x00, 0x78, 0x60, 0x00, 0x38, 0xE0, 0x00, 0x38, 0xC0, 0x00, 0x18, 0xC0, 0x00, 0x18, 0xC0, 0x00, 0x18, 0xC0, 0x00, 0x18, 0xC0, 0x00, 0x18, 0xC0, 0x00, 0x18, 0x60, 0x00, 0x38, 0x60, 0x00, 0x38, 0x70, 0x00, 0x78, 0x38, 0x00, 0xD8, 0x1C, 0x01, 0xD8, 0x0F, 0x07, 0x9F, 0x07, 0xFE, 0x1F, 0x01, 0xF8, 0x00, 0x01, 0xFC, 0x00, 0x3F, 0xF8, 0x07, 0x80, 0xF0, 0x70, 0x01, 0xC3, 0x00, 0x07, 0x30, 0x00, 0x19, 0x80, 0x00, 0x78, 0x00, 0x03, 0xC0, 0x00, 0x1F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x80, 0x00, 0x0C, 0x00, 0x00, 0x60, 0x00, 0x01, 0x80, 0x00, 0x0C, 0x00, 0x00, 0x30, 0x00, 0x01, 0xC0, 0x00, 0xC7, 0x00, 0x0E, 0x1E, 0x03, 0xE0, 0x3F, 0xFC, 0x00, 0x7F, 0x00, 0x00, 0x7F, 0xC0, 0x3F, 0xFC, 0x0E, 0x00, 0x03, 0x80, 0x00, 0x60, 0x00, 0x0C, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0xFF, 0xFF, 0x9F, 0xFF, 0xF0, 0x18, 0x00, 0x03, 0x00, 0x00, 0x60, 0x00, 0x0C, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0x06, 0x00, 0x00, 0xC0, 0x00, 0x18, 0x00, 0x03, 0x00, 0x00, 0x60, 0x00, 0x0C, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0x06, 0x00, 0x00, 0xC0, 0x03, 0xFF, 0xFC, 0x7F, 0xFF, 0x80, 0x01, 0xF8, 0x00, 0x0F, 0xFC, 0x7C, 0x38, 0x1C, 0xF8, 0xE0, 0x0D, 0x83, 0x00, 0x0F, 0x0E, 0x00, 0x1E, 0x18, 0x00, 0x1C, 0x70, 0x00, 0x38, 0xC0, 0x00, 0x31, 0x80, 0x00, 0x63, 0x00, 0x00, 0xC6, 0x00, 0x01, 0x8C, 0x00, 0x03, 0x18, 0x00, 0x06, 0x18, 0x00, 0x1C, 0x30, 0x00, 0x38, 0x30, 0x00, 0xF0, 0x70, 0x03, 0x60, 0x78, 0x1C, 0xC0, 0x3F, 0xF1, 0x80, 0x1F, 0x83, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x18, 0x00, 0x00, 0x30, 0x00, 0x00, 0xC0, 0x00, 0x03, 0x80, 0x00, 0x0E, 0x00, 0x3F, 0xF8, 0x00, 0x7F, 0xC0, 0x00, 0xF8, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x60, 0x00, 0x00, 0xC0, 0x00, 0x01, 0x80, 0x00, 0x03, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0C, 0x3F, 0x00, 0x18, 0xFF, 0x80, 0x37, 0x03, 0x80, 0x7C, 0x03, 0x80, 0xF0, 0x03, 0x81, 0xC0, 0x03, 0x03, 0x00, 0x06, 0x06, 0x00, 0x0C, 0x0C, 0x00, 0x18, 0x18, 0x00, 0x30, 0x30, 0x00, 0x60, 0x60, 0x00, 0xC0, 0xC0, 0x01, 0x81, 0x80, 0x03, 0x03, 0x00, 0x06, 0x06, 0x00, 0x0C, 0x0C, 0x00, 0x18, 0x18, 0x00, 0x30, 0x30, 0x00, 0x63, 0xFC, 0x07, 0xFF, 0xF8, 0x0F, 0xF0, 0x01, 0xC0, 0x00, 0x70, 0x00, 0x1C, 0x00, 0x07, 0x00, 0x01, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0xF0, 0x03, 0xFC, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x03, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0x00, 0x70, 0x01, 0xC0, 0x07, 0x00, 0x1C, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xFF, 0xFF, 0xFF, 0xC0, 0x03, 0x00, 0x0C, 0x00, 0x30, 0x00, 0xC0, 0x03, 0x00, 0x0C, 0x00, 0x30, 0x00, 0xC0, 0x03, 0x00, 0x0C, 0x00, 0x30, 0x00, 0xC0, 0x03, 0x00, 0x0C, 0x00, 0x30, 0x00, 0xC0, 0x03, 0x00, 0x0C, 0x00, 0x30, 0x00, 0xC0, 0x03, 0x00, 0x0C, 0x00, 0x70, 0x03, 0x80, 0x1C, 0xFF, 0xE3, 0xFF, 0x00, 0xF8, 0x00, 0x03, 0xE0, 0x00, 0x01, 0x80, 0x00, 0x06, 0x00, 0x00, 0x18, 0x00, 0x00, 0x60, 0x00, 0x01, 0x80, 0x00, 0x06, 0x00, 0x00, 0x18, 0x1F, 0xE0, 0x60, 0x7F, 0x81, 0x80, 0x60, 0x06, 0x07, 0x00, 0x18, 0x38, 0x00, 0x61, 0xC0, 0x01, 0x8E, 0x00, 0x06, 0x70, 0x00, 0x1B, 0x80, 0x00, 0x7F, 0x00, 0x01, 0xCE, 0x00, 0x06, 0x1C, 0x00, 0x18, 0x38, 0x00, 0x60, 0x70, 0x01, 0x80, 0xE0, 0x06, 0x01, 0xC0, 0x18, 0x03, 0x80, 0x60, 0x07, 0x0F, 0x80, 0x7F, 0xFE, 0x01, 0xFF, 0x3F, 0xC0, 0x0F, 0xF0, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xF0, 0x3C, 0x0F, 0x9F, 0x87, 0xE0, 0xFB, 0x1C, 0xC7, 0x01, 0xE0, 0xD8, 0x38, 0x1C, 0x07, 0x01, 0x81, 0x80, 0x60, 0x18, 0x18, 0x06, 0x01, 0x81, 0x80, 0x60, 0x18, 0x18, 0x06, 0x01, 0x81, 0x80, 0x60, 0x18, 0x18, 0x06, 0x01, 0x81, 0x80, 0x60, 0x18, 0x18, 0x06, 0x01, 0x81, 0x80, 0x60, 0x18, 0x18, 0x06, 0x01, 0x81, 0x80, 0x60, 0x18, 0x18, 0x06, 0x01, 0x81, 0x80, 0x60, 0x18, 0x18, 0x06, 0x01, 0x8F, 0xE0, 0x7C, 0x1F, 0xFE, 0x07, 0xC1, 0xF0, 0x00, 0x1F, 0x00, 0xF8, 0xFF, 0x81, 0xF3, 0x83, 0x80, 0x6C, 0x03, 0x80, 0xF0, 0x03, 0x81, 0xC0, 0x03, 0x03, 0x00, 0x06, 0x06, 0x00, 0x0C, 0x0C, 0x00, 0x18, 0x18, 0x00, 0x30, 0x30, 0x00, 0x60, 0x60, 0x00, 0xC0, 0xC0, 0x01, 0x81, 0x80, 0x03, 0x03, 0x00, 0x06, 0x06, 0x00, 0x0C, 0x0C, 0x00, 0x18, 0x18, 0x00, 0x30, 0x30, 0x00, 0x67, 0xFC, 0x03, 0xFF, 0xF8, 0x07, 0xE0, 0x00, 0xFC, 0x00, 0x1F, 0xFE, 0x00, 0xF0, 0x3C, 0x07, 0x00, 0x38, 0x38, 0x00, 0x71, 0xC0, 0x00, 0xE6, 0x00, 0x01, 0x98, 0x00, 0x06, 0xC0, 0x00, 0x0F, 0x00, 0x00, 0x3C, 0x00, 0x00, 0xF0, 0x00, 0x03, 0xC0, 0x00, 0x0F, 0x00, 0x00, 0x36, 0x00, 0x01, 0x98, 0x00, 0x06, 0x70, 0x00, 0x38, 0xE0, 0x01, 0xC1, 0xC0, 0x0E, 0x03, 0xC0, 0xF0, 0x07, 0xFF, 0x80, 0x03, 0xF0, 0x00, 0x00, 0x3F, 0x01, 0xF1, 0xFF, 0x83, 0xE7, 0x03, 0x80, 0xD8, 0x01, 0x81, 0xE0, 0x01, 0x83, 0xC0, 0x03, 0x87, 0x00, 0x03, 0x0E, 0x00, 0x07, 0x18, 0x00, 0x06, 0x30, 0x00, 0x0C, 0x60, 0x00, 0x18, 0xC0, 0x00, 0x31, 0x80, 0x00, 0x63, 0x00, 0x00, 0xC7, 0x00, 0x03, 0x0E, 0x00, 0x06, 0x1E, 0x00, 0x18, 0x36, 0x00, 0x70, 0x67, 0x03, 0xC0, 0xC7, 0xFE, 0x01, 0x83, 0xF0, 0x03, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x18, 0x00, 0x00, 0x30, 0x00, 0x00, 0x60, 0x00, 0x00, 0xC0, 0x00, 0x0F, 0xFC, 0x00, 0x1F, 0xF8, 0x00, 0x00, 0x01, 0xF8, 0x00, 0x07, 0xFF, 0x1F, 0x0F, 0x07, 0x9F, 0x1C, 0x01, 0xD8, 0x38, 0x00, 0x78, 0x70, 0x00, 0x78, 0x60, 0x00, 0x38, 0xE0, 0x00, 0x38, 0xC0, 0x00, 0x18, 0xC0, 0x00, 0x18, 0xC0, 0x00, 0x18, 0xC0, 0x00, 0x18, 0xC0, 0x00, 0x18, 0xC0, 0x00, 0x18, 0x60, 0x00, 0x38, 0x70, 0x00, 0x78, 0x30, 0x00, 0x78, 0x1C, 0x01, 0xD8, 0x0F, 0x07, 0x98, 0x07, 0xFF, 0x18, 0x01, 0xFC, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x03, 0xFF, 0x00, 0x03, 0xFF, 0x7E, 0x03, 0xC3, 0xF0, 0x7F, 0x81, 0x8F, 0x0E, 0x0C, 0xE0, 0x00, 0x7E, 0x00, 0x03, 0xC0, 0x00, 0x1C, 0x00, 0x00, 0xC0, 0x00, 0x06, 0x00, 0x00, 0x30, 0x00, 0x01, 0x80, 0x00, 0x0C, 0x00, 0x00, 0x60, 0x00, 0x03, 0x00, 0x00, 0x18, 0x00, 0x00, 0xC0, 0x00, 0x06, 0x00, 0x00, 0x30, 0x00, 0x3F, 0xFF, 0xC1, 0xFF, 0xFE, 0x00, 0x07, 0xF0, 0x07, 0xFF, 0x63, 0xC0, 0xF9, 0xC0, 0x0E, 0x60, 0x01, 0x98, 0x00, 0x66, 0x00, 0x19, 0xC0, 0x00, 0x38, 0x00, 0x07, 0xC0, 0x00, 0x7F, 0xC0, 0x00, 0x7C, 0x00, 0x03, 0x80, 0x00, 0x70, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x00, 0xF8, 0x00, 0x7F, 0x00, 0x3B, 0xF0, 0x3C, 0xDF, 0xFE, 0x00, 0xFE, 0x00, 0x0C, 0x00, 0x00, 0x60, 0x00, 0x03, 0x00, 0x00, 0x18, 0x00, 0x00, 0xC0, 0x00, 0x06, 0x00, 0x03, 0xFF, 0xFE, 0x1F, 0xFF, 0xF0, 0x0C, 0x00, 0x00, 0x60, 0x00, 0x03, 0x00, 0x00, 0x18, 0x00, 0x00, 0xC0, 0x00, 0x06, 0x00, 0x00, 0x30, 0x00, 0x01, 0x80, 0x00, 0x0C, 0x00, 0x00, 0x60, 0x00, 0x03, 0x00, 0x00, 0x18, 0x00, 0x00, 0xC0, 0x00, 0x06, 0x00, 0x00, 0x30, 0x00, 0x00, 0xC0, 0x07, 0x07, 0x01, 0xF0, 0x1F, 0xFF, 0x00, 0x3F, 0x80, 0xF8, 0x03, 0xF1, 0xF0, 0x07, 0xE0, 0x60, 0x00, 0xC0, 0xC0, 0x01, 0x81, 0x80, 0x03, 0x03, 0x00, 0x06, 0x06, 0x00, 0x0C, 0x0C, 0x00, 0x18, 0x18, 0x00, 0x30, 0x30, 0x00, 0x60, 0x60, 0x00, 0xC0, 0xC0, 0x01, 0x81, 0x80, 0x03, 0x03, 0x00, 0x06, 0x06, 0x00, 0x0C, 0x0C, 0x00, 0x38, 0x18, 0x00, 0xF0, 0x18, 0x03, 0x60, 0x38, 0x3C, 0xF8, 0x3F, 0xF1, 0xF0, 0x1F, 0x00, 0x00, 0x7F, 0xC0, 0xFF, 0xDF, 0xF0, 0x3F, 0xF0, 0xC0, 0x00, 0xC0, 0x30, 0x00, 0x30, 0x06, 0x00, 0x1C, 0x01, 0x80, 0x06, 0x00, 0x30, 0x01, 0x80, 0x0C, 0x00, 0xC0, 0x03, 0x80, 0x30, 0x00, 0x60, 0x18, 0x00, 0x18, 0x06, 0x00, 0x03, 0x03, 0x00, 0x00, 0xC0, 0xC0, 0x00, 0x18, 0x30, 0x00, 0x06, 0x18, 0x00, 0x00, 0xC6, 0x00, 0x00, 0x33, 0x00, 0x00, 0x0E, 0xC0, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x78, 0x00, 0x7F, 0x00, 0x3F, 0xDF, 0xC0, 0x0F, 0xF1, 0x80, 0x00, 0x20, 0x60, 0x00, 0x18, 0x18, 0x00, 0x06, 0x06, 0x03, 0x01, 0x80, 0x81, 0xE0, 0x60, 0x30, 0x78, 0x10, 0x0C, 0x1E, 0x0C, 0x03, 0x0C, 0xC3, 0x00, 0xC3, 0x30, 0xC0, 0x10, 0xCC, 0x30, 0x06, 0x61, 0x98, 0x01, 0x98, 0x66, 0x00, 0x66, 0x19, 0x80, 0x0B, 0x03, 0x60, 0x03, 0xC0, 0xD0, 0x00, 0xF0, 0x1C, 0x00, 0x38, 0x07, 0x00, 0x0E, 0x01, 0xC0, 0x3F, 0x81, 0xFE, 0x3F, 0x81, 0xFE, 0x0C, 0x00, 0x38, 0x06, 0x00, 0x70, 0x03, 0x00, 0xE0, 0x01, 0x81, 0xC0, 0x00, 0xC3, 0x80, 0x00, 0x67, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x18, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x67, 0x00, 0x00, 0xC3, 0x80, 0x01, 0x81, 0xC0, 0x03, 0x00, 0xE0, 0x06, 0x00, 0x70, 0x0C, 0x00, 0x38, 0x18, 0x00, 0x1C, 0x7F, 0x81, 0xFF, 0x7F, 0x81, 0xFF, 0x7F, 0x00, 0xFF, 0x7F, 0x00, 0xFF, 0x18, 0x00, 0x0C, 0x18, 0x00, 0x18, 0x0C, 0x00, 0x18, 0x0C, 0x00, 0x30, 0x06, 0x00, 0x30, 0x06, 0x00, 0x60, 0x03, 0x00, 0x60, 0x03, 0x00, 0xC0, 0x01, 0x80, 0xC0, 0x01, 0x81, 0x80, 0x00, 0xC1, 0x80, 0x00, 0xC3, 0x00, 0x00, 0x63, 0x00, 0x00, 0x66, 0x00, 0x00, 0x36, 0x00, 0x00, 0x34, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x30, 0x00, 0x00, 0x30, 0x00, 0x00, 0x60, 0x00, 0x00, 0x60, 0x00, 0x00, 0xC0, 0x00, 0x7F, 0xFC, 0x00, 0x7F, 0xFC, 0x00, 0xFF, 0xFF, 0x7F, 0xFF, 0xB0, 0x01, 0x98, 0x01, 0xCC, 0x01, 0xC0, 0x00, 0xC0, 0x00, 0xC0, 0x00, 0xC0, 0x00, 0xC0, 0x00, 0xC0, 0x00, 0xE0, 0x00, 0x60, 0x00, 0x60, 0x00, 0x60, 0x00, 0x60, 0x00, 0x60, 0x03, 0x70, 0x01, 0xB0, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x00, 0xE0, 0x7C, 0x0C, 0x03, 0x00, 0x60, 0x0C, 0x01, 0x80, 0x30, 0x06, 0x00, 0xC0, 0x18, 0x03, 0x00, 0x60, 0x0C, 0x03, 0x00, 0xE0, 0xF0, 0x1E, 0x00, 0x70, 0x06, 0x00, 0x60, 0x0C, 0x01, 0x80, 0x30, 0x06, 0x00, 0xC0, 0x18, 0x03, 0x00, 0x60, 0x0C, 0x01, 0x80, 0x18, 0x03, 0xE0, 0x1C, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xE0, 0x1F, 0x00, 0x60, 0x06, 0x00, 0xC0, 0x18, 0x03, 0x00, 0x60, 0x0C, 0x01, 0x80, 0x30, 0x06, 0x00, 0xC0, 0x18, 0x01, 0x80, 0x38, 0x01, 0xE0, 0x3C, 0x1C, 0x03, 0x00, 0xC0, 0x18, 0x03, 0x00, 0x60, 0x0C, 0x01, 0x80, 0x30, 0x06, 0x00, 0xC0, 0x18, 0x03, 0x00, 0xC0, 0xF8, 0x1C, 0x00, 0x0F, 0x00, 0x03, 0xFC, 0x03, 0x70, 0xE0, 0x76, 0x07, 0x8E, 0xC0, 0x1F, 0xC0, 0x00, 0xF0 }; const GFXglyph FreeMono24pt7bGlyphs[] PROGMEM = { { 0, 0, 0, 28, 0, 1 }, // 0x20 ' ' { 0, 5, 30, 28, 11, -28 }, // 0x21 '!' { 19, 16, 14, 28, 6, -28 }, // 0x22 '"' { 47, 19, 32, 28, 4, -29 }, // 0x23 '#' { 123, 18, 33, 28, 5, -29 }, // 0x24 '$' { 198, 20, 29, 28, 4, -27 }, // 0x25 '%' { 271, 18, 25, 28, 5, -23 }, // 0x26 '&' { 328, 7, 14, 28, 11, -28 }, // 0x27 ''' { 341, 7, 34, 28, 14, -27 }, // 0x28 '(' { 371, 7, 34, 28, 8, -27 }, // 0x29 ')' { 401, 18, 16, 28, 5, -27 }, // 0x2A '*' { 437, 20, 22, 28, 4, -23 }, // 0x2B '+' { 492, 9, 14, 28, 6, -6 }, // 0x2C ',' { 508, 22, 2, 28, 3, -13 }, // 0x2D '-' { 514, 7, 6, 28, 11, -4 }, // 0x2E '.' { 520, 18, 35, 28, 5, -30 }, // 0x2F '/' { 599, 18, 30, 28, 5, -28 }, // 0x30 '0' { 667, 16, 29, 28, 6, -28 }, // 0x31 '1' { 725, 18, 29, 28, 5, -28 }, // 0x32 '2' { 791, 19, 30, 28, 5, -28 }, // 0x33 '3' { 863, 16, 28, 28, 6, -27 }, // 0x34 '4' { 919, 19, 29, 28, 5, -27 }, // 0x35 '5' { 988, 18, 30, 28, 6, -28 }, // 0x36 '6' { 1056, 18, 28, 28, 5, -27 }, // 0x37 '7' { 1119, 18, 30, 28, 5, -28 }, // 0x38 '8' { 1187, 18, 30, 28, 6, -28 }, // 0x39 '9' { 1255, 7, 21, 28, 11, -19 }, // 0x3A ':' { 1274, 10, 27, 28, 7, -19 }, // 0x3B ';' { 1308, 22, 22, 28, 3, -23 }, // 0x3C '<' { 1369, 24, 9, 28, 2, -17 }, // 0x3D '=' { 1396, 21, 22, 28, 4, -23 }, // 0x3E '>' { 1454, 17, 28, 28, 6, -26 }, // 0x3F '?' { 1514, 18, 32, 28, 5, -28 }, // 0x40 '@' { 1586, 28, 26, 28, 0, -25 }, // 0x41 'A' { 1677, 22, 26, 28, 3, -25 }, // 0x42 'B' { 1749, 22, 28, 28, 3, -26 }, // 0x43 'C' { 1826, 22, 26, 28, 3, -25 }, // 0x44 'D' { 1898, 22, 26, 28, 3, -25 }, // 0x45 'E' { 1970, 22, 26, 28, 3, -25 }, // 0x46 'F' { 2042, 23, 28, 28, 3, -26 }, // 0x47 'G' { 2123, 23, 26, 28, 3, -25 }, // 0x48 'H' { 2198, 16, 26, 28, 6, -25 }, // 0x49 'I' { 2250, 23, 27, 28, 4, -25 }, // 0x4A 'J' { 2328, 24, 26, 28, 3, -25 }, // 0x4B 'K' { 2406, 21, 26, 28, 4, -25 }, // 0x4C 'L' { 2475, 26, 26, 28, 1, -25 }, // 0x4D 'M' { 2560, 24, 26, 28, 2, -25 }, // 0x4E 'N' { 2638, 24, 28, 28, 2, -26 }, // 0x4F 'O' { 2722, 21, 26, 28, 3, -25 }, // 0x50 'P' { 2791, 24, 32, 28, 2, -26 }, // 0x51 'Q' { 2887, 24, 26, 28, 3, -25 }, // 0x52 'R' { 2965, 20, 28, 28, 4, -26 }, // 0x53 'S' { 3035, 22, 26, 28, 3, -25 }, // 0x54 'T' { 3107, 23, 27, 28, 3, -25 }, // 0x55 'U' { 3185, 28, 26, 28, 0, -25 }, // 0x56 'V' { 3276, 26, 26, 28, 1, -25 }, // 0x57 'W' { 3361, 24, 26, 28, 2, -25 }, // 0x58 'X' { 3439, 24, 26, 28, 2, -25 }, // 0x59 'Y' { 3517, 18, 26, 28, 5, -25 }, // 0x5A 'Z' { 3576, 7, 34, 28, 13, -27 }, // 0x5B '[' { 3606, 18, 35, 28, 5, -30 }, // 0x5C '\' { 3685, 7, 34, 28, 8, -27 }, // 0x5D ']' { 3715, 18, 12, 28, 5, -28 }, // 0x5E '^' { 3742, 28, 2, 28, 0, 5 }, // 0x5F '_' { 3749, 8, 7, 28, 7, -29 }, // 0x60 '`' { 3756, 22, 22, 28, 3, -20 }, // 0x61 'a' { 3817, 23, 29, 28, 2, -27 }, // 0x62 'b' { 3901, 21, 22, 28, 4, -20 }, // 0x63 'c' { 3959, 24, 29, 28, 3, -27 }, // 0x64 'd' { 4046, 21, 22, 28, 3, -20 }, // 0x65 'e' { 4104, 19, 28, 28, 6, -27 }, // 0x66 'f' { 4171, 23, 30, 28, 3, -20 }, // 0x67 'g' { 4258, 23, 28, 28, 3, -27 }, // 0x68 'h' { 4339, 18, 29, 28, 5, -28 }, // 0x69 'i' { 4405, 14, 38, 28, 6, -28 }, // 0x6A 'j' { 4472, 22, 28, 28, 4, -27 }, // 0x6B 'k' { 4549, 18, 28, 28, 5, -27 }, // 0x6C 'l' { 4612, 28, 21, 28, 0, -20 }, // 0x6D 'm' { 4686, 23, 21, 28, 2, -20 }, // 0x6E 'n' { 4747, 22, 22, 28, 3, -20 }, // 0x6F 'o' { 4808, 23, 30, 28, 2, -20 }, // 0x70 'p' { 4895, 24, 30, 28, 3, -20 }, // 0x71 'q' { 4985, 21, 20, 28, 5, -19 }, // 0x72 'r' { 5038, 18, 22, 28, 5, -20 }, // 0x73 's' { 5088, 21, 27, 28, 3, -25 }, // 0x74 't' { 5159, 23, 21, 28, 3, -19 }, // 0x75 'u' { 5220, 26, 20, 28, 1, -19 }, // 0x76 'v' { 5285, 26, 20, 28, 1, -19 }, // 0x77 'w' { 5350, 24, 20, 28, 2, -19 }, // 0x78 'x' { 5410, 24, 29, 28, 2, -19 }, // 0x79 'y' { 5497, 17, 20, 28, 6, -19 }, // 0x7A 'z' { 5540, 11, 34, 28, 8, -27 }, // 0x7B '{' { 5587, 2, 34, 28, 13, -27 }, // 0x7C '|' { 5596, 11, 34, 28, 9, -27 }, // 0x7D '}' { 5643, 20, 6, 28, 4, -15 } }; // 0x7E '~' const GFXfont FreeMono24pt7b PROGMEM = { (uint8_t *)FreeMono24pt7bBitmaps, (GFXglyph *)FreeMono24pt7bGlyphs, 0x20, 0x7E, 47 }; // Approx. 6330 bytes
40,283
FreeMono24pt7b
h
en
c
code
{"qsc_code_num_words": 6409, "qsc_code_num_chars": 40283.0, "qsc_code_mean_word_length": 3.81588391, "qsc_code_frac_words_unique": 0.05164612, "qsc_code_frac_chars_top_2grams": 0.10794897, "qsc_code_frac_chars_top_3grams": 0.03336605, "qsc_code_frac_chars_top_4grams": 0.02944063, "qsc_code_frac_chars_dupe_5grams": 0.55740922, "qsc_code_frac_chars_dupe_6grams": 0.46630684, "qsc_code_frac_chars_dupe_7grams": 0.432123, "qsc_code_frac_chars_dupe_8grams": 0.40071966, "qsc_code_frac_chars_dupe_9grams": 0.36408243, "qsc_code_frac_chars_dupe_10grams": 0.35050703, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.51897606, "qsc_code_frac_chars_whitespace": 0.22031626, "qsc_code_size_file_byte": 40283.0, "qsc_code_num_lines": 577.0, "qsc_code_num_chars_line_max": 74.0, "qsc_code_num_chars_line_mean": 69.81455806, "qsc_code_frac_chars_alphabet": 0.25967906, "qsc_code_frac_chars_comments": 0.02884592, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.06263048, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.57871731, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.0, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.0, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 1, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 1, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lcd/Adafruit-GFX-Library/Fonts/FreeMonoOblique18pt7b.h
const uint8_t FreeMonoOblique18pt7bBitmaps[] PROGMEM = { 0x00, 0x1C, 0x38, 0x70, 0xC1, 0x83, 0x06, 0x18, 0x30, 0x60, 0xC1, 0x02, 0x04, 0x00, 0x00, 0x01, 0xC7, 0x8F, 0x1C, 0x00, 0x78, 0x7B, 0xC3, 0xFC, 0x3D, 0xE1, 0xEF, 0x0F, 0x70, 0x73, 0x83, 0x98, 0x18, 0xC0, 0xC6, 0x06, 0x00, 0x00, 0x8C, 0x01, 0x18, 0x06, 0x20, 0x08, 0x40, 0x11, 0x80, 0x62, 0x00, 0xC4, 0x01, 0x18, 0x02, 0x30, 0x7F, 0xFC, 0x10, 0x80, 0x23, 0x00, 0xC4, 0x01, 0x88, 0x3F, 0xFF, 0x04, 0x60, 0x18, 0x80, 0x21, 0x00, 0x46, 0x01, 0x88, 0x03, 0x10, 0x04, 0x60, 0x08, 0xC0, 0x31, 0x00, 0x00, 0x30, 0x00, 0x20, 0x00, 0x20, 0x00, 0xF9, 0x03, 0x0F, 0x06, 0x03, 0x04, 0x03, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x04, 0x00, 0x03, 0xC0, 0x00, 0x78, 0x00, 0x0C, 0x00, 0x04, 0x00, 0x04, 0x40, 0x04, 0x40, 0x08, 0x40, 0x18, 0xF0, 0x60, 0x9F, 0x80, 0x02, 0x00, 0x06, 0x00, 0x04, 0x00, 0x04, 0x00, 0x04, 0x00, 0x03, 0xC0, 0x0C, 0x60, 0x08, 0x20, 0x10, 0x20, 0x10, 0x20, 0x10, 0x40, 0x18, 0x80, 0x0F, 0x00, 0x00, 0x0F, 0x00, 0x78, 0x07, 0xC0, 0x3C, 0x00, 0xE0, 0x00, 0x01, 0xE0, 0x02, 0x18, 0x04, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x10, 0x0C, 0x20, 0x07, 0xC0, 0x01, 0xF0, 0x11, 0x81, 0x00, 0x10, 0x00, 0x80, 0x04, 0x00, 0x20, 0x01, 0x80, 0x04, 0x00, 0xF0, 0x09, 0x86, 0x84, 0x48, 0x32, 0x40, 0xA2, 0x07, 0x10, 0x30, 0x43, 0x81, 0xE7, 0x80, 0x7B, 0xFD, 0xEF, 0x73, 0x98, 0xC6, 0x00, 0x01, 0x02, 0x06, 0x0C, 0x0C, 0x18, 0x10, 0x30, 0x30, 0x60, 0x60, 0x60, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x40, 0x60, 0x60, 0x20, 0x04, 0x06, 0x06, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x06, 0x06, 0x06, 0x0C, 0x0C, 0x0C, 0x18, 0x10, 0x30, 0x60, 0x40, 0xC0, 0x01, 0x00, 0x04, 0x00, 0x10, 0x00, 0xC6, 0xE3, 0xF8, 0x7E, 0x00, 0x70, 0x03, 0x40, 0x19, 0x80, 0xC2, 0x06, 0x0C, 0x00, 0x00, 0xC0, 0x01, 0x00, 0x02, 0x00, 0x04, 0x00, 0x08, 0x00, 0x20, 0x00, 0x40, 0x00, 0x80, 0xFF, 0xFE, 0x02, 0x00, 0x08, 0x00, 0x10, 0x00, 0x20, 0x00, 0x40, 0x00, 0x80, 0x02, 0x00, 0x04, 0x00, 0x0F, 0x87, 0x87, 0x83, 0x83, 0xC1, 0xC1, 0xC0, 0xC0, 0xE0, 0x60, 0x00, 0xFF, 0xFF, 0x77, 0xFF, 0xF7, 0x00, 0x00, 0x00, 0x60, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00, 0xC0, 0x00, 0x30, 0x00, 0x04, 0x00, 0x01, 0x80, 0x00, 0x60, 0x00, 0x08, 0x00, 0x03, 0x00, 0x00, 0xC0, 0x00, 0x10, 0x00, 0x06, 0x00, 0x01, 0x80, 0x00, 0x20, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0x40, 0x00, 0x18, 0x00, 0x06, 0x00, 0x00, 0x80, 0x00, 0x20, 0x00, 0x0C, 0x00, 0x03, 0x00, 0x00, 0x40, 0x00, 0x08, 0x00, 0x00, 0x01, 0xF0, 0x18, 0x60, 0x80, 0x86, 0x01, 0x10, 0x04, 0x80, 0x12, 0x00, 0x50, 0x01, 0x40, 0x0D, 0x00, 0x24, 0x00, 0xA0, 0x02, 0x80, 0x1A, 0x00, 0x48, 0x01, 0x20, 0x0C, 0x80, 0x22, 0x01, 0x84, 0x0C, 0x18, 0x60, 0x3E, 0x00, 0x00, 0x60, 0x07, 0x00, 0x68, 0x06, 0x40, 0xE4, 0x04, 0x20, 0x01, 0x00, 0x08, 0x00, 0x40, 0x04, 0x00, 0x20, 0x01, 0x00, 0x08, 0x00, 0x80, 0x04, 0x00, 0x20, 0x01, 0x00, 0x08, 0x00, 0x80, 0x04, 0x0F, 0xFF, 0x80, 0x00, 0x3C, 0x00, 0x61, 0x80, 0x40, 0x40, 0x40, 0x10, 0x60, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x02, 0x00, 0x03, 0x00, 0x03, 0x00, 0x07, 0x00, 0x07, 0x00, 0x06, 0x00, 0x06, 0x00, 0x0E, 0x00, 0x0E, 0x00, 0x0C, 0x00, 0x0C, 0x00, 0x1C, 0x01, 0x1C, 0x00, 0x8F, 0xFF, 0xC0, 0x00, 0xFC, 0x03, 0x06, 0x06, 0x03, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0x0C, 0x00, 0xF0, 0x00, 0x18, 0x00, 0x04, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x04, 0x00, 0x04, 0x40, 0x18, 0x70, 0x30, 0x0F, 0xC0, 0x00, 0x1C, 0x00, 0xD0, 0x06, 0x80, 0x32, 0x00, 0x88, 0x04, 0x20, 0x30, 0x81, 0x84, 0x04, 0x10, 0x20, 0x41, 0x81, 0x0C, 0x08, 0x60, 0x21, 0x00, 0x8F, 0xFF, 0x80, 0x18, 0x00, 0x40, 0x01, 0x00, 0x04, 0x00, 0x10, 0x07, 0xE0, 0x03, 0xFF, 0x03, 0x00, 0x01, 0x80, 0x00, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x30, 0x00, 0x1B, 0xE0, 0x0E, 0x0C, 0x00, 0x02, 0x00, 0x00, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0x08, 0x00, 0x08, 0x00, 0x04, 0x60, 0x04, 0x18, 0x04, 0x06, 0x0C, 0x00, 0xF8, 0x00, 0x00, 0x3F, 0x00, 0xC0, 0x03, 0x00, 0x04, 0x00, 0x08, 0x00, 0x10, 0x00, 0x30, 0x00, 0x20, 0x00, 0x40, 0x00, 0x43, 0xE0, 0x4C, 0x30, 0xB0, 0x18, 0xE0, 0x08, 0xC0, 0x08, 0x80, 0x08, 0x80, 0x08, 0x80, 0x10, 0xC0, 0x10, 0x40, 0x20, 0x20, 0xC0, 0x1F, 0x00, 0xFF, 0xFC, 0x00, 0xE0, 0x04, 0x00, 0x60, 0x02, 0x00, 0x30, 0x01, 0x00, 0x18, 0x00, 0x80, 0x0C, 0x00, 0x40, 0x06, 0x00, 0x20, 0x03, 0x00, 0x10, 0x01, 0x80, 0x08, 0x00, 0xC0, 0x04, 0x00, 0x60, 0x02, 0x00, 0x00, 0x00, 0xF0, 0x06, 0x18, 0x10, 0x18, 0x40, 0x11, 0x00, 0x22, 0x00, 0x44, 0x00, 0x88, 0x02, 0x18, 0x08, 0x18, 0x60, 0x1F, 0x80, 0xC1, 0x82, 0x01, 0x88, 0x01, 0x20, 0x02, 0x40, 0x04, 0x80, 0x09, 0x00, 0x23, 0x00, 0x83, 0x06, 0x01, 0xF0, 0x00, 0x00, 0xF0, 0x06, 0x18, 0x10, 0x10, 0x40, 0x30, 0x80, 0x22, 0x00, 0x44, 0x00, 0x88, 0x03, 0x10, 0x0E, 0x30, 0x34, 0x30, 0xD0, 0x3E, 0x20, 0x00, 0x40, 0x01, 0x00, 0x02, 0x00, 0x08, 0x00, 0x20, 0x00, 0xC0, 0x02, 0x00, 0x18, 0x0F, 0xC0, 0x00, 0x1C, 0x7C, 0xF9, 0xF1, 0xC0, 0x00, 0x00, 0x00, 0x01, 0xC7, 0xCF, 0x9F, 0x1C, 0x00, 0x01, 0xC0, 0x7C, 0x0F, 0x81, 0xF0, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x07, 0x81, 0xE0, 0x3C, 0x0F, 0x01, 0xC0, 0x70, 0x0E, 0x03, 0x80, 0x60, 0x00, 0x00, 0x01, 0x80, 0x03, 0x80, 0x07, 0x00, 0x0E, 0x00, 0x1C, 0x00, 0x38, 0x00, 0x70, 0x00, 0xE0, 0x00, 0xE0, 0x00, 0x1C, 0x00, 0x07, 0x00, 0x00, 0xE0, 0x00, 0x38, 0x00, 0x07, 0x00, 0x00, 0xE0, 0x00, 0x38, 0x7F, 0xFF, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xFF, 0xFF, 0x80, 0x18, 0x00, 0x03, 0x80, 0x00, 0x38, 0x00, 0x07, 0x00, 0x00, 0x70, 0x00, 0x0E, 0x00, 0x00, 0xE0, 0x00, 0x0E, 0x00, 0x03, 0x80, 0x03, 0x80, 0x03, 0x80, 0x03, 0x80, 0x03, 0x80, 0x03, 0x80, 0x03, 0x80, 0x03, 0x80, 0x00, 0x1F, 0xCE, 0x06, 0x80, 0x38, 0x01, 0x80, 0x10, 0x01, 0x00, 0x20, 0x04, 0x01, 0x80, 0xF0, 0x18, 0x01, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x0F, 0x80, 0xF8, 0x07, 0x00, 0x01, 0xF0, 0x0C, 0x30, 0x30, 0x30, 0x40, 0x21, 0x00, 0x44, 0x00, 0x88, 0x01, 0x10, 0x1E, 0x40, 0xC4, 0x86, 0x11, 0x08, 0x22, 0x20, 0x48, 0x40, 0x90, 0x82, 0x21, 0x84, 0x40, 0xFC, 0x80, 0x01, 0x00, 0x02, 0x00, 0x04, 0x00, 0x04, 0x00, 0x0C, 0x18, 0x07, 0xC0, 0x00, 0x01, 0xFE, 0x00, 0x00, 0x68, 0x00, 0x06, 0x40, 0x00, 0x32, 0x00, 0x03, 0x10, 0x00, 0x10, 0x80, 0x01, 0x84, 0x00, 0x18, 0x10, 0x00, 0xC0, 0x80, 0x0C, 0x04, 0x00, 0x60, 0x20, 0x06, 0x01, 0x00, 0x3F, 0xFC, 0x02, 0x00, 0x20, 0x10, 0x01, 0x01, 0x00, 0x08, 0x08, 0x00, 0x40, 0x80, 0x02, 0x0C, 0x00, 0x09, 0xFC, 0x07, 0xF0, 0x0F, 0xFF, 0x00, 0x40, 0x60, 0x20, 0x0C, 0x08, 0x01, 0x02, 0x00, 0x40, 0x80, 0x10, 0x40, 0x08, 0x10, 0x06, 0x04, 0x03, 0x01, 0xFF, 0x80, 0x40, 0x38, 0x20, 0x02, 0x08, 0x00, 0x42, 0x00, 0x10, 0x80, 0x04, 0x40, 0x01, 0x10, 0x00, 0x84, 0x00, 0x41, 0x00, 0x23, 0xFF, 0xF0, 0x00, 0xFC, 0x40, 0xC1, 0xF0, 0xC0, 0x1C, 0x60, 0x06, 0x10, 0x00, 0x88, 0x00, 0x24, 0x00, 0x01, 0x00, 0x00, 0x40, 0x00, 0x30, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00, 0x80, 0x00, 0x20, 0x00, 0x08, 0x00, 0x03, 0x00, 0x00, 0x40, 0x06, 0x08, 0x03, 0x01, 0x83, 0x80, 0x3F, 0x00, 0x0F, 0xFE, 0x00, 0x80, 0xC0, 0x20, 0x18, 0x10, 0x02, 0x04, 0x00, 0x41, 0x00, 0x10, 0x40, 0x04, 0x20, 0x01, 0x08, 0x00, 0x42, 0x00, 0x10, 0x80, 0x08, 0x20, 0x02, 0x10, 0x00, 0x84, 0x00, 0x21, 0x00, 0x10, 0x40, 0x08, 0x20, 0x06, 0x08, 0x03, 0x02, 0x01, 0x83, 0xFF, 0x80, 0x0F, 0xFF, 0xE0, 0x10, 0x02, 0x02, 0x00, 0x60, 0x20, 0x06, 0x02, 0x00, 0x60, 0x20, 0x00, 0x04, 0x00, 0x00, 0x40, 0x80, 0x04, 0x10, 0x00, 0x7F, 0x00, 0x04, 0x10, 0x00, 0x81, 0x00, 0x08, 0x00, 0x00, 0x80, 0x00, 0x08, 0x00, 0x81, 0x00, 0x08, 0x10, 0x00, 0x81, 0x00, 0x18, 0x10, 0x01, 0x8F, 0xFF, 0xF0, 0x0F, 0xFF, 0xF0, 0x10, 0x03, 0x02, 0x00, 0x30, 0x20, 0x03, 0x02, 0x00, 0x20, 0x20, 0x00, 0x04, 0x00, 0x00, 0x40, 0x80, 0x04, 0x10, 0x00, 0x7F, 0x00, 0x04, 0x10, 0x00, 0x81, 0x00, 0x08, 0x00, 0x00, 0x80, 0x00, 0x08, 0x00, 0x01, 0x00, 0x00, 0x10, 0x00, 0x01, 0x00, 0x00, 0x10, 0x00, 0x0F, 0xF8, 0x00, 0x00, 0xFE, 0x40, 0xC0, 0xF0, 0x40, 0x1C, 0x20, 0x03, 0x10, 0x00, 0x88, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x40, 0x00, 0x10, 0x00, 0x08, 0x00, 0x02, 0x01, 0xFE, 0x80, 0x02, 0x20, 0x00, 0x88, 0x00, 0x22, 0x00, 0x08, 0x40, 0x04, 0x18, 0x01, 0x03, 0x81, 0xC0, 0x3F, 0x80, 0x07, 0xE1, 0xF8, 0x08, 0x02, 0x00, 0x80, 0x10, 0x04, 0x00, 0x80, 0x20, 0x04, 0x01, 0x00, 0x20, 0x18, 0x02, 0x00, 0x80, 0x10, 0x04, 0x00, 0x80, 0x3F, 0xFC, 0x01, 0x00, 0x60, 0x10, 0x02, 0x00, 0x80, 0x10, 0x04, 0x00, 0x80, 0x20, 0x04, 0x02, 0x00, 0x40, 0x10, 0x02, 0x00, 0x80, 0x10, 0x04, 0x00, 0x81, 0xF8, 0x3F, 0x00, 0x0F, 0xFF, 0x80, 0x10, 0x00, 0x08, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x80, 0x00, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0x08, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x80, 0x1F, 0xFF, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x20, 0x00, 0x02, 0x00, 0x00, 0x20, 0x00, 0x02, 0x00, 0x00, 0x20, 0x00, 0x04, 0x00, 0x00, 0x40, 0x00, 0x04, 0x00, 0x00, 0x40, 0x00, 0x0C, 0x04, 0x00, 0x80, 0x40, 0x08, 0x08, 0x00, 0x80, 0x80, 0x08, 0x08, 0x01, 0x00, 0x80, 0x10, 0x0C, 0x02, 0x00, 0x60, 0xC0, 0x01, 0xF0, 0x00, 0x0F, 0xE1, 0xF8, 0x08, 0x03, 0x00, 0x80, 0x60, 0x04, 0x06, 0x00, 0x20, 0x60, 0x01, 0x06, 0x00, 0x10, 0xC0, 0x00, 0x8C, 0x00, 0x04, 0xC0, 0x00, 0x2F, 0x80, 0x01, 0x8E, 0x00, 0x18, 0x30, 0x00, 0x80, 0xC0, 0x04, 0x06, 0x00, 0x20, 0x10, 0x02, 0x00, 0xC0, 0x10, 0x06, 0x00, 0x80, 0x30, 0x04, 0x00, 0x81, 0xFC, 0x07, 0x80, 0x07, 0xFC, 0x00, 0x10, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00, 0x80, 0x00, 0x20, 0x00, 0x08, 0x00, 0x04, 0x00, 0x01, 0x00, 0x00, 0x40, 0x00, 0x10, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00, 0x80, 0x10, 0x20, 0x04, 0x08, 0x01, 0x04, 0x00, 0x81, 0x00, 0x20, 0x40, 0x0B, 0xFF, 0xFE, 0x0F, 0x00, 0x1E, 0x03, 0x00, 0x38, 0x05, 0x00, 0x68, 0x04, 0x80, 0x68, 0x04, 0x80, 0xC8, 0x04, 0x80, 0x90, 0x04, 0x81, 0x90, 0x08, 0x43, 0x10, 0x08, 0x42, 0x10, 0x08, 0x46, 0x10, 0x08, 0x4C, 0x20, 0x10, 0x2C, 0x20, 0x10, 0x38, 0x20, 0x10, 0x30, 0x20, 0x10, 0x00, 0x40, 0x10, 0x00, 0x40, 0x20, 0x00, 0x40, 0x20, 0x00, 0x40, 0x20, 0x00, 0x40, 0xFC, 0x07, 0xE0, 0x1F, 0x01, 0xFC, 0x0C, 0x00, 0x80, 0x78, 0x02, 0x01, 0xE0, 0x18, 0x04, 0x80, 0x60, 0x13, 0x01, 0x00, 0x4C, 0x04, 0x03, 0x18, 0x10, 0x0C, 0x60, 0xC0, 0x20, 0x83, 0x00, 0x83, 0x08, 0x06, 0x0C, 0x20, 0x18, 0x18, 0x80, 0x40, 0x66, 0x01, 0x00, 0x98, 0x04, 0x03, 0x40, 0x30, 0x0D, 0x00, 0xC0, 0x14, 0x02, 0x00, 0x70, 0x3F, 0x80, 0xC0, 0x00, 0xF8, 0x01, 0x83, 0x01, 0x00, 0xC1, 0x00, 0x21, 0x00, 0x19, 0x00, 0x04, 0x80, 0x02, 0x80, 0x01, 0x40, 0x00, 0xC0, 0x00, 0x60, 0x00, 0x30, 0x00, 0x28, 0x00, 0x14, 0x00, 0x12, 0x00, 0x09, 0x80, 0x08, 0x40, 0x08, 0x30, 0x08, 0x0C, 0x18, 0x01, 0xF0, 0x00, 0x0F, 0xFE, 0x00, 0x40, 0x60, 0x20, 0x0C, 0x08, 0x01, 0x02, 0x00, 0x40, 0x80, 0x10, 0x40, 0x04, 0x10, 0x02, 0x04, 0x01, 0x01, 0x01, 0x80, 0x7F, 0x80, 0x20, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00, 0x80, 0x00, 0x40, 0x00, 0x10, 0x00, 0x04, 0x00, 0x01, 0x00, 0x03, 0xFE, 0x00, 0x00, 0xF8, 0x01, 0x83, 0x01, 0x00, 0xC1, 0x00, 0x21, 0x00, 0x19, 0x00, 0x05, 0x00, 0x02, 0x80, 0x01, 0x40, 0x00, 0xC0, 0x00, 0x60, 0x00, 0x30, 0x00, 0x28, 0x00, 0x14, 0x00, 0x12, 0x00, 0x09, 0x80, 0x08, 0x40, 0x08, 0x30, 0x08, 0x0C, 0x18, 0x03, 0xF0, 0x00, 0xC0, 0x01, 0xC0, 0x01, 0xFE, 0x18, 0xC0, 0xF0, 0x0F, 0xFE, 0x00, 0x40, 0x60, 0x20, 0x0C, 0x08, 0x01, 0x02, 0x00, 0x40, 0x80, 0x10, 0x40, 0x04, 0x10, 0x02, 0x04, 0x01, 0x01, 0x01, 0x80, 0x7F, 0x80, 0x20, 0x60, 0x08, 0x0C, 0x02, 0x03, 0x80, 0x80, 0x60, 0x40, 0x18, 0x10, 0x03, 0x04, 0x00, 0xC1, 0x00, 0x1B, 0xF8, 0x07, 0x00, 0x7E, 0x40, 0x60, 0xF0, 0x20, 0x1C, 0x10, 0x02, 0x08, 0x00, 0x82, 0x00, 0x00, 0x80, 0x00, 0x30, 0x00, 0x06, 0x00, 0x00, 0xF8, 0x00, 0x03, 0xC0, 0x00, 0x18, 0x00, 0x01, 0x00, 0x00, 0x44, 0x00, 0x11, 0x00, 0x04, 0x40, 0x02, 0x38, 0x01, 0x0B, 0x81, 0x82, 0x3F, 0x80, 0x3F, 0xFF, 0xA0, 0x20, 0x50, 0x10, 0x28, 0x08, 0x24, 0x08, 0x10, 0x04, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0x10, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x02, 0x00, 0x01, 0x00, 0x1F, 0xFC, 0x00, 0x7E, 0x0F, 0xC4, 0x00, 0x42, 0x00, 0x10, 0x80, 0x08, 0x20, 0x02, 0x08, 0x00, 0x82, 0x00, 0x21, 0x00, 0x08, 0x40, 0x04, 0x10, 0x01, 0x04, 0x00, 0x41, 0x00, 0x10, 0x80, 0x0C, 0x20, 0x02, 0x08, 0x00, 0x82, 0x00, 0x60, 0x80, 0x10, 0x10, 0x08, 0x06, 0x0C, 0x00, 0x7C, 0x00, 0xFE, 0x03, 0xF9, 0x80, 0x02, 0x0C, 0x00, 0x30, 0x20, 0x01, 0x01, 0x00, 0x10, 0x08, 0x01, 0x80, 0x60, 0x08, 0x03, 0x00, 0xC0, 0x18, 0x04, 0x00, 0x40, 0x60, 0x02, 0x06, 0x00, 0x10, 0x20, 0x00, 0xC3, 0x00, 0x06, 0x10, 0x00, 0x31, 0x80, 0x00, 0x88, 0x00, 0x04, 0x80, 0x00, 0x2C, 0x00, 0x01, 0xC0, 0x00, 0x0E, 0x00, 0x00, 0x7F, 0x07, 0xF2, 0x00, 0x04, 0x20, 0x00, 0xC2, 0x00, 0x08, 0x20, 0xC0, 0x82, 0x0C, 0x18, 0x21, 0xA1, 0x02, 0x1A, 0x10, 0x23, 0x23, 0x04, 0x32, 0x30, 0x46, 0x22, 0x04, 0x62, 0x60, 0x4C, 0x26, 0x04, 0xC2, 0x40, 0x58, 0x24, 0x05, 0x82, 0xC0, 0x70, 0x28, 0x07, 0x02, 0x80, 0xE0, 0x38, 0x0E, 0x03, 0x00, 0x0F, 0xC1, 0xF8, 0x30, 0x03, 0x00, 0xC0, 0x30, 0x06, 0x03, 0x00, 0x18, 0x10, 0x00, 0xC1, 0x00, 0x03, 0x18, 0x00, 0x09, 0x80, 0x00, 0x78, 0x00, 0x01, 0x80, 0x00, 0x1C, 0x00, 0x01, 0xA0, 0x00, 0x19, 0x80, 0x01, 0x84, 0x00, 0x18, 0x30, 0x01, 0x80, 0xC0, 0x08, 0x06, 0x00, 0x80, 0x18, 0x08, 0x00, 0xC1, 0xF8, 0x3F, 0x80, 0x7E, 0x0F, 0xC4, 0x00, 0xC1, 0x80, 0x60, 0x20, 0x30, 0x0C, 0x08, 0x03, 0x04, 0x00, 0x43, 0x00, 0x19, 0x80, 0x02, 0xC0, 0x00, 0xE0, 0x00, 0x10, 0x00, 0x04, 0x00, 0x01, 0x00, 0x00, 0x80, 0x00, 0x20, 0x00, 0x08, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x40, 0x03, 0xFF, 0x80, 0x0F, 0xFF, 0x86, 0x00, 0x82, 0x00, 0x81, 0x00, 0xC1, 0x80, 0xC0, 0xC0, 0xC0, 0x00, 0xC0, 0x00, 0xC0, 0x00, 0x40, 0x00, 0x40, 0x00, 0x60, 0x00, 0x60, 0x00, 0x60, 0x00, 0x60, 0x10, 0x60, 0x18, 0x20, 0x08, 0x20, 0x04, 0x20, 0x02, 0x30, 0x03, 0x1F, 0xFF, 0x80, 0x07, 0xE0, 0x80, 0x10, 0x02, 0x00, 0xC0, 0x18, 0x02, 0x00, 0x40, 0x18, 0x03, 0x00, 0x40, 0x08, 0x01, 0x00, 0x60, 0x0C, 0x01, 0x00, 0x20, 0x04, 0x01, 0x80, 0x30, 0x04, 0x00, 0x80, 0x10, 0x06, 0x00, 0xFC, 0x00, 0x80, 0x80, 0x80, 0x40, 0x40, 0x40, 0x20, 0x20, 0x20, 0x20, 0x10, 0x10, 0x10, 0x10, 0x08, 0x08, 0x08, 0x08, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x02, 0x02, 0x00, 0x07, 0xE0, 0x0C, 0x01, 0x00, 0x20, 0x04, 0x01, 0x80, 0x30, 0x04, 0x00, 0x80, 0x30, 0x06, 0x00, 0x80, 0x10, 0x02, 0x00, 0xC0, 0x18, 0x02, 0x00, 0x40, 0x18, 0x03, 0x00, 0x40, 0x08, 0x03, 0x00, 0x60, 0xF8, 0x00, 0x01, 0x00, 0x1C, 0x01, 0xB0, 0x19, 0x81, 0x86, 0x18, 0x11, 0x80, 0xD8, 0x03, 0x80, 0x18, 0xFF, 0xFF, 0xF8, 0xC7, 0x1C, 0x71, 0x80, 0x03, 0xF8, 0x0C, 0x0C, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x07, 0xFC, 0x18, 0x0C, 0x20, 0x04, 0x40, 0x04, 0x80, 0x04, 0x80, 0x08, 0x80, 0x38, 0xC0, 0xE8, 0x3F, 0x0F, 0x0F, 0x00, 0x00, 0x20, 0x00, 0x04, 0x00, 0x01, 0x80, 0x00, 0x30, 0x00, 0x04, 0x00, 0x00, 0x87, 0xC0, 0x13, 0x0C, 0x06, 0x80, 0x40, 0xE0, 0x0C, 0x18, 0x00, 0x82, 0x00, 0x10, 0xC0, 0x02, 0x10, 0x00, 0x42, 0x00, 0x08, 0x40, 0x02, 0x08, 0x00, 0x43, 0x80, 0x10, 0x70, 0x04, 0x09, 0x83, 0x0F, 0x1F, 0x80, 0x01, 0xFC, 0x83, 0x03, 0xC6, 0x00, 0xE4, 0x00, 0x22, 0x00, 0x12, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x18, 0x00, 0x64, 0x00, 0x61, 0x81, 0xC0, 0x7F, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x30, 0x00, 0x0C, 0x00, 0x02, 0x00, 0x00, 0x80, 0x00, 0x60, 0x3F, 0x18, 0x10, 0x64, 0x18, 0x0D, 0x08, 0x01, 0xC2, 0x00, 0x71, 0x00, 0x0C, 0x80, 0x02, 0x20, 0x00, 0x88, 0x00, 0x62, 0x00, 0x18, 0x80, 0x0E, 0x20, 0x03, 0x04, 0x03, 0x40, 0xC1, 0xB0, 0x1F, 0x8F, 0x00, 0x01, 0xF0, 0x0E, 0x0C, 0x18, 0x06, 0x30, 0x02, 0x60, 0x01, 0x40, 0x01, 0xC0, 0x01, 0xFF, 0xFF, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x40, 0x00, 0x60, 0x06, 0x30, 0x1C, 0x0F, 0xE0, 0x00, 0x1F, 0xE0, 0x0C, 0x00, 0x03, 0x00, 0x00, 0x40, 0x00, 0x08, 0x00, 0x02, 0x00, 0x07, 0xFF, 0xC0, 0x08, 0x00, 0x01, 0x00, 0x00, 0x20, 0x00, 0x08, 0x00, 0x01, 0x00, 0x00, 0x20, 0x00, 0x04, 0x00, 0x00, 0x80, 0x00, 0x20, 0x00, 0x04, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x04, 0x00, 0x0F, 0xFF, 0x00, 0x03, 0xE3, 0xE1, 0x83, 0x60, 0x40, 0x38, 0x10, 0x03, 0x04, 0x00, 0x60, 0x80, 0x0C, 0x20, 0x01, 0x84, 0x00, 0x20, 0x80, 0x04, 0x10, 0x01, 0x82, 0x00, 0x30, 0x60, 0x0C, 0x04, 0x02, 0x80, 0x61, 0x90, 0x07, 0xC6, 0x00, 0x00, 0xC0, 0x00, 0x10, 0x00, 0x02, 0x00, 0x00, 0x80, 0x00, 0x30, 0x00, 0x0C, 0x00, 0xFE, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x40, 0x00, 0x10, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00, 0x80, 0x00, 0x23, 0xE0, 0x0B, 0x0C, 0x05, 0x00, 0x81, 0x80, 0x20, 0x40, 0x08, 0x10, 0x02, 0x08, 0x00, 0x82, 0x00, 0x60, 0x80, 0x18, 0x20, 0x06, 0x10, 0x01, 0x84, 0x00, 0x61, 0x00, 0x30, 0x40, 0x0C, 0xFC, 0x1F, 0xC0, 0x00, 0x30, 0x00, 0x60, 0x00, 0xC0, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xF0, 0x00, 0x20, 0x00, 0x40, 0x01, 0x00, 0x02, 0x00, 0x04, 0x00, 0x08, 0x00, 0x10, 0x00, 0x40, 0x00, 0x80, 0x01, 0x00, 0x02, 0x00, 0x08, 0x00, 0x10, 0x1F, 0xFF, 0x80, 0x00, 0x06, 0x00, 0x0C, 0x00, 0x18, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xFE, 0x00, 0x04, 0x00, 0x08, 0x00, 0x10, 0x00, 0x20, 0x00, 0x80, 0x01, 0x00, 0x02, 0x00, 0x04, 0x00, 0x08, 0x00, 0x20, 0x00, 0x40, 0x00, 0x80, 0x01, 0x00, 0x06, 0x00, 0x08, 0x00, 0x10, 0x00, 0x20, 0x00, 0x80, 0x03, 0x00, 0x0C, 0x0F, 0xE0, 0x00, 0x07, 0x80, 0x00, 0x60, 0x00, 0x10, 0x00, 0x04, 0x00, 0x01, 0x00, 0x00, 0xC0, 0x00, 0x30, 0xFC, 0x08, 0x18, 0x02, 0x0C, 0x00, 0x8C, 0x00, 0x66, 0x00, 0x1B, 0x00, 0x05, 0x80, 0x01, 0xB0, 0x00, 0x46, 0x00, 0x31, 0xC0, 0x0C, 0x30, 0x02, 0x06, 0x00, 0x80, 0xC0, 0x60, 0x30, 0xF8, 0x1F, 0x80, 0x01, 0xF8, 0x00, 0x20, 0x00, 0x40, 0x00, 0x80, 0x01, 0x00, 0x04, 0x00, 0x08, 0x00, 0x10, 0x00, 0x20, 0x00, 0x80, 0x01, 0x00, 0x02, 0x00, 0x04, 0x00, 0x08, 0x00, 0x20, 0x00, 0x40, 0x00, 0x80, 0x01, 0x00, 0x04, 0x00, 0x08, 0x0F, 0xFF, 0xC0, 0x1C, 0xF1, 0xE0, 0xF1, 0xE3, 0x0E, 0x1C, 0x10, 0xC1, 0x81, 0x08, 0x10, 0x30, 0x81, 0x03, 0x18, 0x10, 0x21, 0x83, 0x02, 0x10, 0x30, 0x21, 0x02, 0x06, 0x10, 0x20, 0x63, 0x02, 0x04, 0x30, 0x60, 0x42, 0x06, 0x04, 0xF8, 0x70, 0xF0, 0x0E, 0x3E, 0x01, 0x60, 0x81, 0xC0, 0x20, 0xC0, 0x10, 0x40, 0x08, 0x20, 0x04, 0x30, 0x02, 0x10, 0x02, 0x08, 0x01, 0x04, 0x00, 0x82, 0x00, 0x42, 0x00, 0x21, 0x00, 0x20, 0x80, 0x13, 0xF0, 0x3E, 0x01, 0xF0, 0x06, 0x0C, 0x18, 0x06, 0x20, 0x03, 0x60, 0x01, 0x40, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x02, 0x80, 0x06, 0xC0, 0x04, 0x40, 0x18, 0x30, 0x60, 0x1F, 0x80, 0x0F, 0x1F, 0x80, 0x16, 0x0C, 0x01, 0xC0, 0x20, 0x30, 0x03, 0x03, 0x00, 0x10, 0x20, 0x01, 0x02, 0x00, 0x10, 0x40, 0x01, 0x04, 0x00, 0x10, 0x40, 0x02, 0x06, 0x00, 0x60, 0x60, 0x04, 0x0B, 0x00, 0x80, 0x98, 0x30, 0x08, 0xFC, 0x00, 0x80, 0x00, 0x08, 0x00, 0x01, 0x00, 0x00, 0x10, 0x00, 0x01, 0x00, 0x00, 0x10, 0x00, 0x0F, 0xF0, 0x00, 0x03, 0xF1, 0xE1, 0x83, 0x20, 0x40, 0x34, 0x10, 0x03, 0x84, 0x00, 0x30, 0x80, 0x04, 0x20, 0x00, 0x84, 0x00, 0x10, 0x80, 0x06, 0x10, 0x00, 0xC2, 0x00, 0x30, 0x60, 0x0E, 0x04, 0x03, 0x40, 0x60, 0xC8, 0x07, 0xE2, 0x00, 0x00, 0x40, 0x00, 0x08, 0x00, 0x01, 0x00, 0x00, 0x20, 0x00, 0x08, 0x00, 0x01, 0x00, 0x03, 0xFC, 0x00, 0x0F, 0x87, 0xC0, 0x23, 0x08, 0x04, 0xC0, 0x00, 0xE0, 0x00, 0x18, 0x00, 0x02, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x02, 0x00, 0x00, 0x40, 0x00, 0x10, 0x00, 0x02, 0x00, 0x00, 0x40, 0x00, 0x08, 0x00, 0x3F, 0xFE, 0x00, 0x01, 0xFA, 0x0C, 0x1C, 0x20, 0x08, 0x80, 0x11, 0x00, 0x03, 0x00, 0x03, 0xF8, 0x00, 0x7C, 0x00, 0x0C, 0x00, 0x09, 0x00, 0x16, 0x00, 0x2C, 0x00, 0x9E, 0x06, 0x27, 0xF0, 0x00, 0x08, 0x00, 0x40, 0x02, 0x00, 0x10, 0x00, 0x80, 0x7F, 0xFC, 0x40, 0x02, 0x00, 0x10, 0x00, 0x80, 0x08, 0x00, 0x40, 0x02, 0x00, 0x10, 0x01, 0x00, 0x08, 0x00, 0x40, 0x02, 0x00, 0xD8, 0x1C, 0x3F, 0x00, 0xF0, 0x1E, 0x20, 0x04, 0x80, 0x09, 0x00, 0x12, 0x00, 0x24, 0x00, 0xC8, 0x01, 0x20, 0x02, 0x40, 0x04, 0x80, 0x09, 0x00, 0x12, 0x00, 0x64, 0x03, 0x8C, 0x1D, 0x0F, 0xC3, 0x80, 0xFE, 0x0F, 0xE6, 0x00, 0x20, 0x40, 0x08, 0x08, 0x03, 0x01, 0x80, 0x40, 0x30, 0x18, 0x06, 0x02, 0x00, 0x40, 0x80, 0x08, 0x30, 0x01, 0x84, 0x00, 0x31, 0x80, 0x02, 0x20, 0x00, 0x48, 0x00, 0x09, 0x00, 0x01, 0xC0, 0x00, 0xF8, 0x0F, 0xA0, 0x01, 0x90, 0x00, 0x88, 0x40, 0xC4, 0x30, 0x42, 0x18, 0x61, 0x1A, 0x20, 0x8D, 0x10, 0x4C, 0x98, 0x26, 0x48, 0x16, 0x2C, 0x0B, 0x14, 0x07, 0x0A, 0x03, 0x07, 0x01, 0x81, 0x00, 0x0F, 0x83, 0xE0, 0xC0, 0x18, 0x0C, 0x0C, 0x01, 0x83, 0x00, 0x18, 0xC0, 0x01, 0xB0, 0x00, 0x1C, 0x00, 0x03, 0x00, 0x00, 0xF0, 0x00, 0x63, 0x00, 0x18, 0x30, 0x06, 0x06, 0x01, 0x80, 0x60, 0x60, 0x06, 0x3F, 0x07, 0xE0, 0x0F, 0xC0, 0xF8, 0x30, 0x01, 0x00, 0x80, 0x18, 0x04, 0x00, 0x80, 0x30, 0x0C, 0x01, 0x80, 0xC0, 0x04, 0x04, 0x00, 0x30, 0x60, 0x01, 0x86, 0x00, 0x04, 0x20, 0x00, 0x23, 0x00, 0x01, 0xB0, 0x00, 0x0D, 0x00, 0x00, 0x38, 0x00, 0x01, 0x80, 0x00, 0x08, 0x00, 0x00, 0xC0, 0x00, 0x04, 0x00, 0x00, 0x60, 0x00, 0x06, 0x00, 0x00, 0x20, 0x00, 0x7F, 0xE0, 0x00, 0x1F, 0xFF, 0x10, 0x06, 0x10, 0x0C, 0x10, 0x18, 0x00, 0x30, 0x00, 0x60, 0x00, 0xC0, 0x01, 0x80, 0x03, 0x00, 0x06, 0x00, 0x0C, 0x00, 0x18, 0x04, 0x30, 0x0C, 0x60, 0x0C, 0xFF, 0xF8, 0x00, 0xE0, 0x20, 0x08, 0x01, 0x00, 0x20, 0x04, 0x01, 0x00, 0x20, 0x04, 0x00, 0x80, 0x20, 0x08, 0x0E, 0x00, 0x60, 0x04, 0x00, 0x80, 0x10, 0x02, 0x00, 0x40, 0x08, 0x02, 0x00, 0x40, 0x08, 0x01, 0x00, 0x18, 0x00, 0x00, 0x10, 0xC3, 0x08, 0x20, 0x86, 0x18, 0x41, 0x04, 0x30, 0xC2, 0x08, 0x21, 0x86, 0x10, 0x43, 0x0C, 0x20, 0x06, 0x00, 0x40, 0x10, 0x04, 0x01, 0x00, 0x40, 0x10, 0x04, 0x02, 0x00, 0x80, 0x20, 0x0C, 0x01, 0xC0, 0xC0, 0x40, 0x10, 0x04, 0x03, 0x00, 0x80, 0x20, 0x08, 0x02, 0x01, 0x00, 0xC0, 0xE0, 0x00, 0x1E, 0x02, 0x66, 0x0D, 0x86, 0x16, 0x06, 0x48, 0x07, 0x00 }; const GFXglyph FreeMonoOblique18pt7bGlyphs[] PROGMEM = { { 0, 0, 0, 21, 0, 1 }, // 0x20 ' ' { 0, 7, 22, 21, 9, -21 }, // 0x21 '!' { 20, 13, 10, 21, 7, -20 }, // 0x22 '"' { 37, 15, 24, 21, 5, -21 }, // 0x23 '#' { 82, 16, 26, 21, 4, -22 }, // 0x24 '$' { 134, 16, 21, 21, 5, -20 }, // 0x25 '%' { 176, 13, 18, 21, 5, -17 }, // 0x26 '&' { 206, 5, 10, 21, 12, -20 }, // 0x27 ''' { 213, 8, 25, 21, 12, -20 }, // 0x28 '(' { 238, 8, 25, 21, 5, -20 }, // 0x29 ')' { 263, 14, 11, 21, 7, -19 }, // 0x2A '*' { 283, 15, 17, 21, 5, -17 }, // 0x2B '+' { 315, 9, 10, 21, 4, -4 }, // 0x2C ',' { 327, 16, 1, 21, 5, -9 }, // 0x2D '-' { 329, 5, 5, 21, 8, -4 }, // 0x2E '.' { 333, 19, 26, 21, 3, -22 }, // 0x2F '/' { 395, 14, 21, 21, 5, -20 }, // 0x30 '0' { 432, 13, 21, 21, 4, -20 }, // 0x31 '1' { 467, 17, 21, 21, 3, -20 }, // 0x32 '2' { 512, 16, 21, 21, 3, -20 }, // 0x33 '3' { 554, 14, 21, 21, 5, -20 }, // 0x34 '4' { 591, 17, 21, 21, 4, -20 }, // 0x35 '5' { 636, 16, 21, 21, 6, -20 }, // 0x36 '6' { 678, 13, 21, 21, 8, -20 }, // 0x37 '7' { 713, 15, 21, 21, 5, -20 }, // 0x38 '8' { 753, 15, 21, 21, 5, -20 }, // 0x39 '9' { 793, 7, 15, 21, 8, -14 }, // 0x3A ':' { 807, 11, 20, 21, 4, -14 }, // 0x3B ';' { 835, 17, 16, 21, 5, -17 }, // 0x3C '<' { 869, 19, 6, 21, 3, -12 }, // 0x3D '=' { 884, 18, 16, 21, 3, -17 }, // 0x3E '>' { 920, 12, 20, 21, 8, -19 }, // 0x3F '?' { 950, 15, 23, 21, 5, -20 }, // 0x40 '@' { 994, 21, 20, 21, 0, -19 }, // 0x41 'A' { 1047, 18, 20, 21, 2, -19 }, // 0x42 'B' { 1092, 18, 20, 21, 4, -19 }, // 0x43 'C' { 1137, 18, 20, 21, 2, -19 }, // 0x44 'D' { 1182, 20, 20, 21, 2, -19 }, // 0x45 'E' { 1232, 20, 20, 21, 2, -19 }, // 0x46 'F' { 1282, 18, 20, 21, 4, -19 }, // 0x47 'G' { 1327, 21, 20, 21, 2, -19 }, // 0x48 'H' { 1380, 17, 20, 21, 4, -19 }, // 0x49 'I' { 1423, 20, 20, 21, 4, -19 }, // 0x4A 'J' { 1473, 21, 20, 21, 2, -19 }, // 0x4B 'K' { 1526, 18, 20, 21, 2, -19 }, // 0x4C 'L' { 1571, 24, 20, 21, 1, -19 }, // 0x4D 'M' { 1631, 22, 20, 21, 2, -19 }, // 0x4E 'N' { 1686, 17, 20, 21, 4, -19 }, // 0x4F 'O' { 1729, 18, 20, 21, 2, -19 }, // 0x50 'P' { 1774, 17, 24, 21, 4, -19 }, // 0x51 'Q' { 1825, 18, 20, 21, 2, -19 }, // 0x52 'R' { 1870, 18, 20, 21, 3, -19 }, // 0x53 'S' { 1915, 17, 20, 21, 5, -19 }, // 0x54 'T' { 1958, 18, 20, 21, 5, -19 }, // 0x55 'U' { 2003, 21, 20, 21, 4, -19 }, // 0x56 'V' { 2056, 20, 20, 21, 4, -19 }, // 0x57 'W' { 2106, 21, 20, 21, 2, -19 }, // 0x58 'X' { 2159, 18, 20, 21, 5, -19 }, // 0x59 'Y' { 2204, 17, 20, 21, 4, -19 }, // 0x5A 'Z' { 2247, 11, 25, 21, 9, -20 }, // 0x5B '[' { 2282, 8, 27, 21, 9, -22 }, // 0x5C '\' { 2309, 11, 25, 21, 5, -20 }, // 0x5D ']' { 2344, 13, 9, 21, 7, -20 }, // 0x5E '^' { 2359, 21, 1, 21, -1, 4 }, // 0x5F '_' { 2362, 5, 5, 21, 9, -21 }, // 0x60 '`' { 2366, 16, 15, 21, 3, -14 }, // 0x61 'a' { 2396, 19, 21, 21, 1, -20 }, // 0x62 'b' { 2446, 17, 15, 21, 4, -14 }, // 0x63 'c' { 2478, 18, 21, 21, 4, -20 }, // 0x64 'd' { 2526, 16, 15, 21, 4, -14 }, // 0x65 'e' { 2556, 19, 21, 21, 4, -20 }, // 0x66 'f' { 2606, 19, 22, 21, 4, -14 }, // 0x67 'g' { 2659, 18, 21, 21, 2, -20 }, // 0x68 'h' { 2707, 15, 22, 21, 3, -21 }, // 0x69 'i' { 2749, 15, 29, 21, 3, -21 }, // 0x6A 'j' { 2804, 18, 21, 21, 2, -20 }, // 0x6B 'k' { 2852, 15, 21, 21, 3, -20 }, // 0x6C 'l' { 2892, 20, 15, 21, 1, -14 }, // 0x6D 'm' { 2930, 17, 15, 21, 2, -14 }, // 0x6E 'n' { 2962, 16, 15, 21, 4, -14 }, // 0x6F 'o' { 2992, 20, 22, 21, 0, -14 }, // 0x70 'p' { 3047, 19, 22, 21, 4, -14 }, // 0x71 'q' { 3100, 19, 15, 21, 3, -14 }, // 0x72 'r' { 3136, 15, 15, 21, 4, -14 }, // 0x73 's' { 3165, 13, 20, 21, 5, -19 }, // 0x74 't' { 3198, 15, 15, 21, 4, -14 }, // 0x75 'u' { 3227, 19, 15, 21, 4, -14 }, // 0x76 'v' { 3263, 17, 15, 21, 5, -14 }, // 0x77 'w' { 3295, 19, 15, 21, 2, -14 }, // 0x78 'x' { 3331, 21, 22, 21, 1, -14 }, // 0x79 'y' { 3389, 16, 15, 21, 4, -14 }, // 0x7A 'z' { 3419, 11, 25, 21, 8, -20 }, // 0x7B '{' { 3454, 6, 24, 21, 9, -19 }, // 0x7C '|' { 3472, 10, 25, 21, 6, -20 }, // 0x7D '}' { 3504, 15, 5, 21, 5, -11 } }; // 0x7E '~' const GFXfont FreeMonoOblique18pt7b PROGMEM = { (uint8_t *)FreeMonoOblique18pt7bBitmaps, (GFXglyph *)FreeMonoOblique18pt7bGlyphs, 0x20, 0x7E, 35 }; // Approx. 4186 bytes
27,096
FreeMonoOblique18pt7b
h
hu
c
code
{"qsc_code_num_words": 4265, "qsc_code_num_chars": 27096.0, "qsc_code_mean_word_length": 3.72731536, "qsc_code_frac_words_unique": 0.07901524, "qsc_code_frac_chars_top_2grams": 0.0558596, "qsc_code_frac_chars_top_3grams": 0.03623325, "qsc_code_frac_chars_top_4grams": 0.01811663, "qsc_code_frac_chars_dupe_5grams": 0.3545323, "qsc_code_frac_chars_dupe_6grams": 0.29087249, "qsc_code_frac_chars_dupe_7grams": 0.2350129, "qsc_code_frac_chars_dupe_8grams": 0.19903126, "qsc_code_frac_chars_dupe_9grams": 0.14795244, "qsc_code_frac_chars_dupe_10grams": 0.13637793, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.54636337, "qsc_code_frac_chars_whitespace": 0.23582817, "qsc_code_size_file_byte": 27096.0, "qsc_code_num_lines": 398.0, "qsc_code_num_chars_line_max": 74.0, "qsc_code_num_chars_line_mean": 68.08040201, "qsc_code_frac_chars_alphabet": 0.22138511, "qsc_code_frac_chars_comments": 0.04288456, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.00666667, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.54229968, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.0, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.0, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 1, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 1, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lcd/Adafruit-GFX-Library/Fonts/FreeSerifBoldItalic18pt7b.h
const uint8_t FreeSerifBoldItalic18pt7bBitmaps[] PROGMEM = { 0x01, 0xC0, 0x7C, 0x0F, 0x81, 0xF0, 0x3E, 0x07, 0x80, 0xF0, 0x3C, 0x07, 0x80, 0xE0, 0x1C, 0x03, 0x00, 0x60, 0x0C, 0x03, 0x00, 0x60, 0x08, 0x00, 0x00, 0x00, 0x00, 0x07, 0x81, 0xF8, 0x3F, 0x07, 0xE0, 0x78, 0x00, 0x38, 0x1D, 0xE0, 0xF7, 0x83, 0xDC, 0x0E, 0x70, 0x39, 0xC0, 0xE6, 0x03, 0x18, 0x0C, 0x40, 0x23, 0x01, 0x80, 0x00, 0x38, 0x60, 0x07, 0x0E, 0x00, 0x70, 0xC0, 0x06, 0x1C, 0x00, 0xE1, 0xC0, 0x0E, 0x38, 0x01, 0xC3, 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 0x07, 0xF8, 0x03, 0x00, 0x7C, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x1F, 0xF0, 0x00, 0x1E, 0x38, 0x00, 0x0E, 0x0E, 0x00, 0x0F, 0x07, 0x00, 0x07, 0x83, 0x80, 0x03, 0xC3, 0x80, 0x01, 0xE3, 0x80, 0x00, 0xF7, 0x00, 0x00, 0x7E, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x7F, 0x0F, 0xF0, 0xE7, 0x81, 0xE0, 0xE3, 0xE0, 0xE0, 0xE1, 0xF0, 0x60, 0xE0, 0x7C, 0x60, 0xF0, 0x3E, 0x20, 0x78, 0x1F, 0xB0, 0x3C, 0x07, 0xF0, 0x1F, 0x03, 0xF0, 0x0F, 0x80, 0xFC, 0x03, 0xF0, 0x7F, 0x8D, 0xFF, 0xEF, 0xFC, 0x7F, 0xE3, 0xFC, 0x0F, 0xC0, 0x78, 0x00, 0x3B, 0xDE, 0xE7, 0x39, 0x8C, 0x46, 0x00, 0x00, 0x60, 0x18, 0x06, 0x01, 0x80, 0x60, 0x1C, 0x07, 0x01, 0xE0, 0x38, 0x0F, 0x01, 0xC0, 0x38, 0x0F, 0x01, 0xE0, 0x38, 0x07, 0x00, 0xE0, 0x1C, 0x03, 0x80, 0x70, 0x0E, 0x00, 0xC0, 0x18, 0x03, 0x00, 0x60, 0x06, 0x00, 0xC0, 0x08, 0x00, 0x80, 0x10, 0x00, 0x06, 0x00, 0x40, 0x04, 0x00, 0x80, 0x18, 0x01, 0x00, 0x30, 0x06, 0x00, 0xC0, 0x1C, 0x03, 0x80, 0x70, 0x0E, 0x01, 0xC0, 0x38, 0x07, 0x01, 0xE0, 0x3C, 0x07, 0x00, 0xE0, 0x3C, 0x07, 0x00, 0xE0, 0x38, 0x06, 0x01, 0xC0, 0x70, 0x18, 0x06, 0x01, 0x80, 0x00, 0x07, 0x00, 0x38, 0x01, 0xC1, 0x8E, 0x3E, 0x23, 0xF9, 0x3F, 0xEB, 0xE0, 0xE0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0x0F, 0x80, 0x03, 0xF8, 0x00, 0x3F, 0x80, 0x03, 0xFC, 0x00, 0x3F, 0xC0, 0x01, 0xFC, 0x00, 0x1F, 0xC0, 0x01, 0xF0, 0x00, 0xFC, 0x00, 0xFE, 0x01, 0xFE, 0x01, 0xFE, 0x01, 0xFC, 0x03, 0xFC, 0x00, 0xFC, 0x00, 0x3C, 0x00, 0x08, 0x00, 0x00, 0x07, 0xC0, 0xFF, 0x0E, 0x3C, 0x70, 0xF3, 0xC7, 0x8C, 0x3C, 0x01, 0xE0, 0x1F, 0x00, 0xF0, 0x07, 0x80, 0x78, 0x07, 0x80, 0x30, 0x03, 0x00, 0x10, 0x01, 0x80, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x7E, 0x03, 0xF0, 0x1F, 0x80, 0x78, 0x00, 0x00, 0x3F, 0x80, 0x00, 0xFF, 0xF8, 0x01, 0xF0, 0x1E, 0x01, 0xE0, 0x03, 0x81, 0xC0, 0x00, 0xE1, 0xC0, 0x18, 0x38, 0xE0, 0x3F, 0xCC, 0xE0, 0x3C, 0xE7, 0x70, 0x3C, 0x71, 0xF0, 0x1C, 0x30, 0xF8, 0x1E, 0x38, 0x7C, 0x0E, 0x1C, 0x3E, 0x0F, 0x0E, 0x1F, 0x07, 0x0E, 0x0F, 0x83, 0x87, 0x0D, 0xC1, 0xC7, 0x86, 0x70, 0xE5, 0xC6, 0x38, 0x7C, 0xFE, 0x1C, 0x1C, 0x3E, 0x07, 0x00, 0x00, 0x01, 0xC0, 0x00, 0x00, 0x78, 0x00, 0x40, 0x1F, 0x00, 0xE0, 0x03, 0xFF, 0xE0, 0x00, 0x3F, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x03, 0x00, 0x00, 0x0E, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x7C, 0x00, 0x00, 0xF8, 0x00, 0x03, 0xF0, 0x00, 0x0F, 0xE0, 0x00, 0x17, 0xC0, 0x00, 0x67, 0x80,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80, 0x1C, 0x1F, 0x80, 0x18, 0x1F, 0x00, 0x18, 0x1F, 0x00, 0x18, 0x1F, 0x00, 0x30, 0x3F, 0x00, 0x30, 0x3E, 0x00, 0x30, 0x3E, 0x00, 0x30, 0x7E, 0x00, 0x60, 0x7C, 0x00, 0x60, 0x7C, 0x00, 0x60, 0x7C, 0x00, 0xC0, 0x7C, 0x00, 0xC0, 0xF8, 0x00, 0xC0, 0xF8, 0x00, 0xC0, 0xF8, 0x01, 0x80, 0xF8, 0x01, 0x80, 0xF8, 0x03, 0x80, 0xF8, 0x03, 0x00, 0x7C, 0x06, 0x00, 0x7E, 0x1E, 0x00, 0x3F, 0xF8, 0x00, 0x0F, 0xE0, 0x00, 0xFF, 0xE0, 0x7F, 0x3F, 0x80, 0x1C, 0x1F, 0x80, 0x18, 0x1F, 0x80, 0x18, 0x1F, 0x80, 0x30, 0x1F, 0x80, 0x30, 0x0F, 0x80, 0x60, 0x0F, 0x80, 0x40, 0x0F, 0x80, 0xC0, 0x0F, 0x81, 0x80, 0x0F, 0x81, 0x00, 0x0F, 0xC3, 0x00, 0x0F, 0xC6, 0x00, 0x07, 0xC6, 0x00, 0x07, 0xCC, 0x00, 0x07, 0xC8, 0x00, 0x07, 0xD8, 0x00, 0x07, 0xF0, 0x00, 0x07, 0xF0, 0x00, 0x07, 0xE0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0x80, 0x00, 0x03, 0x00, 0x00, 0x03, 0x00, 0x00, 0xFF, 0xCF, 0xF8, 0x7E, 0x7F, 0x07, 0xE0, 0x38, 0x7C, 0x07, 0x80, 0x60, 0xF8, 0x0F, 0x00, 0x81, 0xF0, 0x1E, 0x03, 0x03, 0xE0, 0x3E, 0x04, 0x07, 0xE0, 0xFC, 0x18, 0x07, 0xC1, 0xF8, 0x20, 0x0F, 0x87, 0xF0, 0xC0, 0x1F, 0x0B, 0xE1, 0x00, 0x3E, 0x37, 0xC6, 0x00, 0x7C, 0x47, 0x88, 0x00, 0xF9, 0x8F, 0x30, 0x01, 0xF2, 0x1F, 0x40, 0x03, 0xEC, 0x3E, 0x80, 0x03, 0xF0, 0x7F, 0x00, 0x07, 0xE0, 0xFC, 0x00, 0x0F, 0x81, 0xF8, 0x00, 0x1F, 0x03, 0xE0, 0x00, 0x3C, 0x07, 0xC0, 0x00, 0x78, 0x07, 0x00, 0x00, 0xF0, 0x0E, 0x00, 0x00, 0xC0, 0x18, 0x00, 0x01, 0x80, 0x30, 0x00, 0x02, 0x00, 0x40, 0x00, 0x0F, 0xFE, 0x3F, 0x81, 0xFC, 0x07, 0x80, 0x7C, 0x03, 0x00, 0x3F, 0x03, 0x00, 0x0F, 0x83, 0x80, 0x07, 0xC1, 0x80, 0x03, 0xE1, 0x80, 0x00, 0xF9, 0x80, 0x00, 0x7D, 0x80, 0x00, 0x3F, 0x80, 0x00, 0x0F, 0x80, 0x00, 0x07, 0xC0, 0x00, 0x03, 0xE0, 0x00, 0x01, 0xF8, 0x00, 0x01, 0xFC, 0x00, 0x00, 0xBE, 0x00, 0x00, 0xCF, 0x00, 0x00, 0xC7, 0xC0, 0x00, 0xC3, 0xE0, 0x00, 0xC1, 0xF0, 0x00, 0xC0, 0x7C, 0x00, 0xE0, 0x3E, 0x00, 0xE0, 0x1F, 0x00, 0xF8, 0x1F, 0xE0, 0xFF, 0x1F, 0xF8, 0x00, 0xFF, 0xC3, 0xF9, 0xF8, 0x07, 0x87, 0xC0, 0x38, 0x3E, 0x01, 0x81, 0xF0, 0x18, 0x07, 0xC0, 0x80, 0x3E, 0x0C, 0x01, 0xF0, 0xC0, 0x07, 0xC4, 0x00, 0x3E, 0x60, 0x01, 0xF6, 0x00, 0x07, 0xA0, 0x00, 0x3F, 0x00, 0x01, 0xF0, 0x00, 0x0F, 0x80, 0x00, 0xFC, 0x00, 0x07, 0xC0, 0x00, 0x3E, 0x00, 0x01, 0xF0, 0x00, 0x1F, 0x00, 0x00, 0xF8, 0x00, 0x07, 0xC0, 0x00,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38, 0x00, 0x01, 0x83, 0x07, 0xE3, 0xC1, 0xF1, 0xE0, 0x78, 0xF0, 0x3E, 0x18, 0x1F, 0x08, 0x07, 0x84, 0x03, 0xC6, 0x01, 0xE2, 0x00, 0xFB, 0x00, 0x3D, 0x00, 0x1F, 0x80, 0x0F, 0x80, 0x07, 0xC0, 0x03, 0xC0, 0x01, 0xE0, 0x00, 0xE0, 0x00, 0x60, 0x00, 0x60, 0x0E, 0x60, 0x0F, 0xE0, 0x07, 0xE0, 0x01, 0xC0, 0x00, 0x1F, 0xFC, 0x3F, 0xF8, 0x7F, 0xE1, 0x81, 0x82, 0x06, 0x00, 0x08, 0x00, 0x20, 0x00, 0xC0, 0x03, 0x00, 0x0C, 0x00, 0x10, 0x00, 0x40, 0x01, 0x80, 0x07, 0xC0, 0x1F, 0x86, 0x3F, 0x8E, 0xCF, 0x9C, 0x07, 0x30, 0x03, 0xC0, 0x00, 0x1E, 0x00, 0xF8, 0x03, 0xC0, 0x0F, 0x00, 0x1E, 0x00, 0x38, 0x00, 0xF0, 0x01, 0xE0, 0x03, 0xC0, 0x07, 0x00, 0x1E, 0x00, 0x3C, 0x00, 0x78, 0x01, 0xE0, 0x03, 0xC0, 0x1F, 0x00, 0x7E, 0x00, 0x30, 0x00, 0x60, 0x00, 0xE0, 0x01, 0xC0, 0x07, 0x80, 0x0F, 0x00, 0x1E, 0x00, 0x38, 0x00, 0xF0, 0x01, 0xE0, 0x03, 0xC0, 0x07, 0x00, 0x0E, 0x00, 0x0C, 0x00, 0x0F, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xE0, 0x00, 0xF0, 0x00, 0x70, 0x00, 0x70, 0x00, 0xE0, 0x01, 0xC0, 0x03, 0x80, 0x07, 0x00, 0x1E, 0x00, 0x3C, 0x00, 0x78, 0x00, 0xE0, 0x03, 0xC0, 0x07, 0x80, 0x0F, 0x00, 0x1C, 0x00, 0x18, 0x00, 0x10, 0x00, 0xF0, 0x03, 0xF0, 0x0F, 0x00, 0x1E, 0x00, 0x38, 0x00, 0xF0, 0x01, 0xE0, 0x03, 0xC0, 0x07, 0x00, 0x1E, 0x00, 0x3C, 0x00, 0x70, 0x01, 0xE0, 0x0F, 0x80, 0x7C, 0x00, 0x3E, 0x00, 0x7F, 0xC6, 0xFF, 0xFF, 0x61, 0xFE, 0x00, 0x7C }; const GFXglyph FreeSerifBoldItalic18pt7bGlyphs[] PROGMEM = { { 0, 0, 0, 9, 0, 1 }, // 0x20 ' ' { 0, 11, 25, 14, 2, -23 }, // 0x21 '!' { 35, 14, 10, 19, 4, -23 }, // 0x22 '"' { 53, 20, 25, 17, -1, -24 }, // 0x23 '#' { 116, 17, 29, 18, 0, -25 }, // 0x24 '$' { 178, 27, 25, 29, 1, -23 }, // 0x25 '%' { 263, 25, 25, 27, 0, -23 }, // 0x26 '&' { 342, 5, 10, 10, 4, -23 }, // 0x27 ''' { 349, 11, 30, 12, 1, -23 }, // 0x28 '(' { 391, 11, 30, 12, -2, -23 }, // 0x29 ')' { 433, 13, 15, 18, 2, -23 }, // 0x2A '*' { 458, 17, 17, 20, 1, -16 }, // 0x2B '+' { 495, 7, 11, 9, -2, -4 }, // 0x2C ',' { 505, 9, 4, 12, 0, -9 }, // 0x2D '-' { 510, 6, 5, 9, 0, -3 }, // 0x2E '.' { 514, 14, 25, 12, 0, -23 }, // 0x2F '/' { 558, 15, 25, 18, 1, -23 }, // 0x30 '0' { 605, 15, 25, 17, 0, -23 }, // 0x31 '1' { 652, 16, 25, 18, 0, -23 }, // 0x32 '2' { 702, 15, 25, 17, 1, -23 }, // 0x33 '3' { 749, 18, 24, 17, 0, -23 }, // 0x34 '4' { 803, 17, 25, 18, 0, -23 }, // 0x35 '5' { 857, 17, 25, 18, 1, -23 }, // 0x36 '6' { 911, 16, 24, 17, 3, -23 }, // 0x37 '7' { 959, 17, 25, 18, 0, -23 }, // 0x38 '8' { 1013, 17, 25, 18, 0, -23 }, // 0x39 '9' { 1067, 10, 17, 9, 0, -15 }, // 0x3A ':' { 1089, 11, 22, 9, -1, -15 }, // 0x3B ';' { 1120, 18, 19, 20, 1, -18 }, // 0x3C '<' { 1163, 18, 10, 20, 2, -13 }, // 0x3D '=' { 1186, 18, 19, 20, 2, -18 }, // 0x3E '>' { 1229, 13, 25, 17, 3, -23 }, // 0x3F '?' { 1270, 25, 25, 29, 2, -23 }, // 0x40 '@' { 1349, 23, 25, 24, 0, -23 }, // 0x41 'A' { 1421, 24, 25, 22, 0, -23 }, // 0x42 'B' { 1496, 23, 25, 22, 1, -23 }, // 0x43 'C' { 1568, 26, 25, 25, 0, -23 }, // 0x44 'D' { 1650, 23, 25, 22, 0, -23 }, // 0x45 'E' { 1722, 23, 25, 21, 0, -23 }, // 0x46 'F' { 1794, 24, 25, 25, 2, -23 }, // 0x47 'G' { 1869, 29, 25, 26, 0, -23 }, // 0x48 'H' { 1960, 15, 25, 13, 0, -23 }, // 0x49 'I' { 2007, 20, 27, 17, 0, -23 }, // 0x4A 'J' { 2075, 25, 25, 23, 0, -23 }, // 0x4B 'K' { 2154, 22, 25, 21, 0, -23 }, // 0x4C 'L' { 2223, 33, 25, 31, 0, -23 }, // 0x4D 'M' { 2327, 27, 25, 25, 0, -23 }, // 0x4E 'N' { 2412, 23, 25, 24, 1, -23 }, // 0x4F 'O' { 2484, 23, 25, 21, 0, -23 }, // 0x50 'P' { 2556, 23, 31, 24, 1, -23 }, // 0x51 'Q' { 2646, 24, 25, 23, 0, -23 }, // 0x52 'R' { 2721, 18, 25, 18, 0, -23 }, // 0x53 'S' { 2778, 21, 25, 21, 3, -23 }, // 0x54 'T' { 2844, 24, 25, 25, 4, -23 }, // 0x55 'U' { 2919, 24, 25, 25, 4, -23 }, // 0x56 'V' { 2994, 31, 25, 32, 4, -23 }, // 0x57 'W' { 3091, 25, 25, 24, 0, -23 }, // 0x58 'X' { 3170, 21, 25, 22, 4, -23 }, // 0x59 'Y' { 3236, 21, 25, 20, 0, -23 }, // 0x5A 'Z' { 3302, 14, 30, 12, -1, -23 }, // 0x5B '[' { 3355, 10, 25, 14, 4, -23 }, // 0x5C '\' { 3387, 14, 30, 12, -2, -23 }, // 0x5D ']' { 3440, 16, 13, 20, 2, -23 }, // 0x5E '^' { 3466, 18, 3, 17, 0, 3 }, // 0x5F '_' { 3473, 7, 6, 12, 3, -23 }, // 0x60 '`' { 3479, 18, 17, 18, 0, -15 }, // 0x61 'a' { 3518, 16, 26, 17, 1, -24 }, // 0x62 'b' { 3570, 13, 17, 15, 1, -15 }, // 0x63 'c' { 3598, 19, 25, 18, 1, -23 }, // 0x64 'd' { 3658, 13, 17, 15, 1, -15 }, // 0x65 'e' { 3686, 21, 32, 17, -3, -24 }, // 0x66 'f' { 3770, 19, 23, 17, -1, -15 }, // 0x67 'g' { 3825, 17, 25, 19, 1, -23 }, // 0x68 'h' { 3879, 9, 25, 10, 1, -23 }, // 0x69 'i' { 3908, 16, 31, 12, -3, -23 }, // 0x6A 'j' { 3970, 17, 25, 18, 1, -23 }, // 0x6B 'k' { 4024, 11, 25, 10, 1, -23 }, // 0x6C 'l' { 4059, 26, 17, 27, 0, -15 }, // 0x6D 'm' { 4115, 18, 17, 18, 0, -15 }, // 0x6E 'n' { 4154, 15, 17, 17, 1, -15 }, // 0x6F 'o' { 4186, 19, 23, 17, -2, -15 }, // 0x70 'p' { 4241, 16, 23, 17, 1, -15 }, // 0x71 'q' { 4287, 15, 16, 14, 0, -15 }, // 0x72 'r' { 4317, 13, 17, 12, 0, -15 }, // 0x73 's' { 4345, 10, 22, 10, 1, -20 }, // 0x74 't' { 4373, 17, 17, 19, 1, -15 }, // 0x75 'u' { 4410, 13, 16, 15, 2, -15 }, // 0x76 'v' { 4436, 19, 16, 23, 3, -15 }, // 0x77 'w' { 4474, 18, 17, 17, -1, -15 }, // 0x78 'x' { 4513, 17, 23, 15, -2, -15 }, // 0x79 'y' { 4562, 15, 19, 14, 0, -15 }, // 0x7A 'z' { 4598, 15, 32, 12, 0, -24 }, // 0x7B '{' { 4658, 3, 25, 9, 4, -23 }, // 0x7C '|' { 4668, 15, 32, 12, -5, -24 }, // 0x7D '}' { 4728, 16, 5, 20, 2, -11 } }; // 0x7E '~' const GFXfont FreeSerifBoldItalic18pt7b PROGMEM = { (uint8_t *)FreeSerifBoldItalic18pt7bBitmaps, (GFXglyph *)FreeSerifBoldItalic18pt7bGlyphs, 0x20, 0x7E, 42 }; // Approx. 5410 bytes
34,664
FreeSerifBoldItalic18pt7b
h
es
c
code
{"qsc_code_num_words": 5489, "qsc_code_num_chars": 34664.0, "qsc_code_mean_word_length": 3.79304063, "qsc_code_frac_words_unique": 0.0646748, "qsc_code_frac_chars_top_2grams": 0.04149856, "qsc_code_frac_chars_top_3grams": 0.02017291, "qsc_code_frac_chars_top_4grams": 0.0184438, "qsc_code_frac_chars_dupe_5grams": 0.28669549, "qsc_code_frac_chars_dupe_6grams": 0.20653218, "qsc_code_frac_chars_dupe_7grams": 0.1690682, "qsc_code_frac_chars_dupe_8grams": 0.13698367, "qsc_code_frac_chars_dupe_9grams": 0.11316042, "qsc_code_frac_chars_dupe_10grams": 0.09183477, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.47831751, "qsc_code_frac_chars_whitespace": 0.22498846, "qsc_code_size_file_byte": 34664.0, "qsc_code_num_lines": 500.0, "qsc_code_num_chars_line_max": 74.0, "qsc_code_num_chars_line_mean": 69.328, "qsc_code_frac_chars_alphabet": 0.29666853, "qsc_code_frac_chars_comments": 0.03352181, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.01492537, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.56593636, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.0, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.0, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 1, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 1, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lcd/Adafruit-GFX-Library/Fonts/FreeSerifBoldItalic12pt7b.h
const uint8_t FreeSerifBoldItalic12pt7bBitmaps[] PROGMEM = { 0x07, 0x07, 0x07, 0x0F, 0x0E, 0x0E, 0x0C, 0x0C, 0x08, 0x18, 0x10, 0x00, 0x00, 0x60, 0xF0, 0xF0, 0x60, 0x61, 0xF1, 0xF8, 0xF8, 0x6C, 0x34, 0x12, 0x08, 0x01, 0x8C, 0x06, 0x60, 0x31, 0x80, 0xCC, 0x06, 0x30, 0xFF, 0xF0, 0xC6, 0x03, 0x18, 0x0C, 0xC0, 0x63, 0x0F, 0xFF, 0x0C, 0x60, 0x33, 0x01, 0x8C, 0x06, 0x30, 0x19, 0x80, 0x00, 0x80, 0x08, 0x07, 0xC1, 0x96, 0x31, 0x33, 0x13, 0x3A, 0x23, 0xE0, 0x1E, 0x01, 0xF0, 0x07, 0x80, 0x7C, 0x05, 0xC4, 0xCC, 0x48, 0xCC, 0x8C, 0xF8, 0x83, 0x30, 0x1E, 0x01, 0x00, 0x00, 0x02, 0x07, 0x83, 0x03, 0x9F, 0x81, 0xC4, 0x20, 0x71, 0x10, 0x3C, 0x44, 0x0E, 0x22, 0x03, 0x88, 0x80, 0xE4, 0x40, 0x1E, 0x31, 0xE0, 0x08, 0xE4, 0x06, 0x71, 0x01, 0x3C, 0x40, 0x8E, 0x10, 0x23, 0x88, 0x10, 0xE2, 0x04, 0x39, 0x02, 0x07, 0x80, 0x00, 0xF0, 0x01, 0x98, 0x03, 0x98, 0x03, 0x98, 0x03, 0xB0, 0x03, 0xE0, 0x03, 0x80, 0x0F, 0x9F, 0x19, 0xCE, 0x31, 0xCC, 0x61, 0xC8, 0xE1, 0xC8, 0xE0, 0xF0, 0xE0, 0xE0, 0xF0, 0x70, 0x78, 0x79, 0x3F, 0xBE, 0x7F, 0xED, 0x20, 0x02, 0x08, 0x20, 0xC3, 0x0E, 0x18, 0x30, 0xE1, 0x83, 0x06, 0x0C, 0x18, 0x30, 0x20, 0x40, 0x80, 0x81, 0x01, 0x00, 0x10, 0x10, 0x20, 0x20, 0x40, 0xC1, 0x83, 0x06, 0x0C, 0x18, 0x70, 0xE1, 0x83, 0x0C, 0x18, 0x61, 0x86, 0x00, 0x00, 0x0C, 0x33, 0x6C, 0x9B, 0xAE, 0x1C, 0x3F, 0xEC, 0x9B, 0x36, 0x0C, 0x02, 0x00, 0x06, 0x00, 0x60, 0x06, 0x00, 0x60, 0x06, 0x0F, 0xFF, 0xFF, 0xF0, 0x60, 0x06, 0x00, 0x60, 0x06, 0x00, 0x60, 0x31, 0xCE, 0x31, 0x08, 0x98, 0xFF, 0xFF, 0xC0, 0x6F, 0xF6, 0x01, 0x80, 0x60, 0x30, 0x0C, 0x07, 0x01, 0x80, 0xE0, 0x30, 0x1C, 0x06, 0x01, 0x80, 0xC0, 0x30, 0x18, 0x06, 0x03, 0x00, 0x03, 0x81, 0xC8, 0x71, 0x1C, 0x33, 0x86, 0xE1, 0xDC, 0x3B, 0x87, 0xE0, 0xFC, 0x3B, 0x87, 0x70, 0xEC, 0x39, 0x87, 0x31, 0xC2, 0x30, 0x3C, 0x00, 0x01, 0xC3, 0xF0, 0x38, 0x0E, 0x03, 0x81, 0xE0, 0x70, 0x1C, 0x0F, 0x03, 0x80, 0xE0, 0x38, 0x1E, 0x07, 0x01, 0xC0, 0xF0, 0xFF, 0x80, 0x07, 0x81, 0xF8, 0x47, 0x90, 0x70, 0x0E, 0x01, 0xC0, 0x30, 0x0E, 0x01, 0x80, 0x60, 0x18, 0x06, 0x01, 0x80, 0x40, 0x8F, 0xF3, 0xFC, 0xFF, 0x80, 0x07, 0xC3, 0x3C, 0x03, 0x80, 0x70, 0x0C, 0x03, 0x81, 0xC0, 0xFC, 0x07, 0xC0, 0x78, 0x07, 0x00, 0xE0, 0x1C, 0x03, 0x30, 0xE7, 0x10, 0x7C, 0x00, 0x00, 0x10, 0x01, 0x80, 0x3C, 0x03, 0xE0, 0x2E, 0x02, 0x70, 0x23, 0x82, 0x38, 0x21, 0xC2, 0x0E, 0x1F, 0xF9, 0xFF, 0xC0, 0x38, 0x01, 0xC0, 0x1C, 0x00, 0xE0, 0x07, 0xF0, 0x7E, 0x0F, 0xE0, 0x80, 0x08, 0x01, 0xE0, 0x1F, 0x83, 0xF8, 0x03, 0xC0, 0x1C, 0x00, 0xC0, 0x0C, 0x00, 0xC0, 0x08, 0x61, 0x8F, 0x30, 0x7C, 0x00, 0x00, 0x60, 0x78, 0x1C, 0x0F, 0x01, 0xC0, 0x70, 0x1F, 0xC3, 0x8C, 0xE1, 0xDC, 0x3B, 0x87, 0x61, 0xEC, 0x3D, 0x87, 0x31, 0xE2, 0x38, 0x3C, 0x00, 0x3F, 0xEF, 0xF9, 0xFF, 0x60, 0xC8, 0x18, 0x06, 0x00, 0x80, 0x30, 0x0C, 0x01, 0x80, 0x60, 0x1C, 0x03, 0x00, 0xC0, 0x18, 0x06, 0x00, 0x03, 0x81, 0x88, 0x61, 0x8C, 0x31, 0x86, 0x38, 0xC7, 0xB0, 0x78, 0x0F, 0x86, 0x71, 0x87, 0x60, 0x6C, 0x0D, 0x81, 0xB0, 0x63, 0x18, 0x3E, 0x00, 0x07, 0x81, 0xC8, 0x71, 0x8E, 0x33, 0xC6, 0x70, 0xCE, 0x39, 0xC7, 0x38, 0xE3, 0x38, 0x3F, 0x01, 0xC0, 0x38, 0x0E, 0x03, 0x81, 0xC0, 0xE0, 0x00, 0x0C, 0x3C, 0x78, 0x60, 0x00, 0x00, 0x00, 0x61, 0xE3, 0xC3, 0x00, 0x0E, 0x0F, 0x0F, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x38, 0x38, 0x38, 0x18, 0x10, 0x20, 0x40, 0x00, 0x10, 0x07, 0x01, 0xF0, 0x7C, 0x3F, 0x0F, 0x80, 0xE0, 0x0F, 0x80, 0x3E, 0x00, 0xF8, 0x03, 0xE0, 0x07, 0x00, 0x10, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x80, 0x07, 0x00, 0x3F, 0x00, 0x3E, 0x00, 0x7C, 0x00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x87, 0x80, 0x00, 0x08, 0x03, 0xE0, 0x03, 0x80, 0x0E, 0x00, 0x70, 0x01, 0xC0, 0x77, 0x03, 0x3C, 0x18, 0xE0, 0xE3, 0x87, 0x0E, 0x1C, 0x70, 0x71, 0xC3, 0x87, 0x0E, 0x3C, 0x38, 0xE8, 0xE5, 0xA1, 0xE7, 0x00, 0x07, 0x0C, 0xCE, 0x66, 0x37, 0x33, 0xBB, 0xB1, 0xE0, 0xE0, 0x70, 0xB8, 0x87, 0x80, 0x00, 0x38, 0x01, 0xB0, 0x0C, 0xC0, 0x30, 0x01, 0xC0, 0x07, 0x00, 0x7E, 0x00, 0xE0, 0x03, 0x80, 0x0E, 0x00, 0x30, 0x01, 0xC0, 0x07, 0x00, 0x1C, 0x00, 0x70, 0x03, 0x80, 0x0E, 0x00, 0x38, 0x00, 0xC0, 0x33, 0x00, 0xD8, 0x01, 0xC0, 0x00, 0x03, 0x80, 0x73, 0xC7, 0x1C, 0x38, 0xE1, 0xCF, 0x06, 0x70, 0x1E, 0x01, 0x00, 0x1C, 0x00, 0xF8, 0x07, 0xF0, 0xC7, 0x8C, 0x0C, 0x60, 0x63, 0x86, 0x07, 0xE0, 0x01, 0x00, 0xF8, 0x01, 0x80, 0x1C, 0x00, 0xE0, 0x07, 0x00, 0x31, 0xC3, 0xBE, 0x1E, 0x70, 0xE3, 0x8F, 0x38, 0x71, 0xC3, 0x8E, 0x1C, 0xE1, 0xC7, 0x0E, 0x3A, 0x71, 0xD3, 0x0F, 0x00, 0x1C, 0x71, 0xC0, 0x00, 0x6F, 0x8E, 0x31, 0xC7, 0x18, 0x63, 0x8E, 0xBC, 0xE0, 0x00, 0xE0, 0x1C, 0x03, 0x80, 0x00, 0x00, 0x0F, 0x80, 0x70, 0x0E, 0x01, 0xC0, 0x70, 0x0E, 0x01, 0xC0, 0x38, 0x0E, 0x01, 0xC0, 0x38, 0x06, 0x01, 0xC3, 0x38, 0x6E, 0x07, 0x80, 0x01, 0x00, 0xF8, 0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 0x0C, 0x10, 0xE3, 0xF3, 0x86, 0x1C, 0x38, 0x71, 0xC3, 0x87, 0x0E, 0x9E, 0x38, 0x00, 0xF8, 0xE3, 0x8E, 0x38, 0xC3, 0x9C, 0x71, 0xC7, 0x18, 0x71, 0x87, 0x38, 0xE3, 0x8E, 0xFA, 0xF3, 0xAE, 0x3C, 0xF0, 0xDC, 0x33, 0x0C, 0xC2, 0x31, 0x8C, 0xC3, 0x60, 0xF0, 0x38, 0x0C, 0x02, 0x00, 0xE0, 0x86, 0xE3, 0x0C, 0xC6, 0x19, 0x9C, 0x23, 0x78, 0xC7, 0xF9, 0x0E, 0x74, 0x1C, 0xF0, 0x31, 0xC0, 0x43, 0x00, 0x84, 0x00, 0x0E, 0x31, 0xF3, 0x83, 0xA0, 0x0E, 0x00, 0x70, 0x03, 0x80, 0x1C, 0x00, 0xE0, 0x0B, 0x02, 0x5D, 0x3C, 0xF1, 0xC3, 0x00, 0x04, 0x67, 0x8C, 0x79, 0x87, 0x10, 0xE2, 0x1C, 0x81, 0x90, 0x3A, 0x07, 0x80, 0xF0, 0x1C, 0x03, 0x00, 0x40, 0x08, 0x32, 0x07, 0x80, 0x3F, 0xCF, 0xE6, 0x30, 0x08, 0x04, 0x02, 0x01, 0x00, 0xC0, 0x30, 0x1E, 0x0F, 0x98, 0x76, 0x07, 0x00, 0x01, 0xE0, 0x70, 0x1C, 0x03, 0x80, 0x60, 0x1C, 0x03, 0x80, 0x60, 0x0C, 0x03, 0x80, 0xF0, 0x3C, 0x07, 0x00, 0x40, 0x0C, 0x01, 0x80, 0x70, 0x0E, 0x01, 0xC0, 0x30, 0x03, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0xE0, 0x18, 0x06, 0x01, 0x80, 0xE0, 0x38, 0x0C, 0x03, 0x00, 0xC0, 0x10, 0x1F, 0x07, 0x03, 0x80, 0xE0, 0x30, 0x0C, 0x07, 0x01, 0x80, 0xE0, 0xE0, 0x00, 0x38, 0x0F, 0xCD, 0x1F, 0x80, 0xE0 }; const GFXglyph FreeSerifBoldItalic12pt7bGlyphs[] PROGMEM = { { 0, 0, 0, 6, 0, 1 }, // 0x20 ' ' { 0, 8, 17, 9, 2, -15 }, // 0x21 '!' { 17, 9, 7, 13, 4, -15 }, // 0x22 '"' { 25, 14, 16, 12, -1, -15 }, // 0x23 '#' { 53, 12, 20, 12, 0, -17 }, // 0x24 '$' { 83, 18, 18, 20, 1, -16 }, // 0x25 '%' { 124, 16, 17, 19, 0, -15 }, // 0x26 '&' { 158, 3, 7, 7, 3, -15 }, // 0x27 ''' { 161, 7, 21, 8, 1, -15 }, // 0x28 '(' { 180, 7, 21, 8, -1, -15 }, // 0x29 ')' { 199, 10, 10, 12, 1, -15 }, // 0x2A '*' { 212, 12, 12, 14, 1, -11 }, // 0x2B '+' { 230, 5, 8, 6, -2, -3 }, // 0x2C ',' { 235, 6, 3, 8, 0, -6 }, // 0x2D '-' { 238, 4, 4, 6, 0, -2 }, // 0x2E '.' { 240, 10, 16, 8, 0, -15 }, // 0x2F '/' { 260, 11, 17, 12, 0, -15 }, // 0x30 '0' { 284, 10, 17, 12, 0, -15 }, // 0x31 '1' { 306, 11, 17, 12, 0, -15 }, // 0x32 '2' { 330, 11, 17, 12, 0, -15 }, // 0x33 '3' { 354, 13, 16, 12, 0, -15 }, // 0x34 '4' { 380, 12, 17, 12, 0, -15 }, // 0x35 '5' { 406, 11, 17, 12, 1, -15 }, // 0x36 '6' { 430, 11, 16, 12, 2, -15 }, // 0x37 '7' { 452, 11, 17, 12, 0, -15 }, // 0x38 '8' { 476, 11, 17, 12, 0, -15 }, // 0x39 '9' { 500, 7, 12, 6, 0, -10 }, // 0x3A ':' { 511, 8, 15, 6, -1, -10 }, // 0x3B ';' { 526, 12, 13, 14, 1, -12 }, // 0x3C '<' { 546, 12, 6, 14, 2, -8 }, // 0x3D '=' { 555, 13, 13, 14, 1, -12 }, // 0x3E '>' { 577, 9, 17, 12, 2, -15 }, // 0x3F '?' { 597, 17, 16, 20, 1, -15 }, // 0x40 '@' { 631, 16, 17, 17, 0, -15 }, // 0x41 'A' { 665, 16, 17, 15, 0, -15 }, // 0x42 'B' { 699, 15, 17, 15, 1, -15 }, // 0x43 'C' { 731, 18, 17, 17, 0, -15 }, // 0x44 'D' { 770, 17, 17, 15, 0, -15 }, // 0x45 'E' { 807, 16, 17, 15, 0, -15 }, // 0x46 'F' { 841, 17, 17, 17, 1, -15 }, // 0x47 'G' { 878, 20, 17, 18, 0, -15 }, // 0x48 'H' { 921, 10, 17, 9, 0, -15 }, // 0x49 'I' { 943, 14, 18, 12, 0, -15 }, // 0x4A 'J' { 975, 17, 17, 16, 0, -15 }, // 0x4B 'K' { 1012, 15, 17, 15, 0, -15 }, // 0x4C 'L' { 1044, 23, 17, 21, 0, -15 }, // 0x4D 'M' { 1093, 19, 17, 17, 0, -15 }, // 0x4E 'N' { 1134, 16, 17, 16, 1, -15 }, // 0x4F 'O' { 1168, 16, 17, 14, 0, -15 }, // 0x50 'P' { 1202, 16, 21, 16, 1, -15 }, // 0x51 'Q' { 1244, 16, 17, 16, 0, -15 }, // 0x52 'R' { 1278, 12, 17, 12, 0, -15 }, // 0x53 'S' { 1304, 15, 17, 14, 2, -15 }, // 0x54 'T' { 1336, 16, 17, 17, 3, -15 }, // 0x55 'U' { 1370, 16, 16, 17, 3, -15 }, // 0x56 'V' { 1402, 21, 16, 22, 3, -15 }, // 0x57 'W' { 1444, 17, 17, 17, 0, -15 }, // 0x58 'X' { 1481, 14, 17, 15, 3, -15 }, // 0x59 'Y' { 1511, 15, 17, 13, 0, -15 }, // 0x5A 'Z' { 1543, 10, 20, 8, -1, -15 }, // 0x5B '[' { 1568, 6, 16, 10, 3, -15 }, // 0x5C '\' { 1580, 9, 20, 8, -1, -15 }, // 0x5D ']' { 1603, 10, 9, 14, 2, -15 }, // 0x5E '^' { 1615, 12, 1, 12, 0, 4 }, // 0x5F '_' { 1617, 5, 4, 8, 2, -15 }, // 0x60 '`' { 1620, 12, 12, 12, 0, -10 }, // 0x61 'a' { 1638, 11, 18, 12, 1, -16 }, // 0x62 'b' { 1663, 9, 12, 10, 1, -10 }, // 0x63 'c' { 1677, 14, 18, 12, 0, -16 }, // 0x64 'd' { 1709, 9, 12, 10, 1, -10 }, // 0x65 'e' { 1723, 14, 22, 12, -2, -16 }, // 0x66 'f' { 1762, 13, 16, 12, -1, -10 }, // 0x67 'g' { 1788, 13, 18, 13, 0, -16 }, // 0x68 'h' { 1818, 6, 17, 7, 1, -15 }, // 0x69 'i' { 1831, 11, 21, 8, -2, -15 }, // 0x6A 'j' { 1860, 13, 18, 12, 0, -16 }, // 0x6B 'k' { 1890, 7, 18, 7, 1, -16 }, // 0x6C 'l' { 1906, 18, 12, 18, 0, -10 }, // 0x6D 'm' { 1933, 12, 12, 13, 0, -10 }, // 0x6E 'n' { 1951, 10, 12, 11, 1, -10 }, // 0x6F 'o' { 1966, 14, 16, 12, -2, -10 }, // 0x70 'p' { 1994, 12, 16, 12, 0, -10 }, // 0x71 'q' { 2018, 10, 11, 10, 0, -10 }, // 0x72 'r' { 2032, 9, 12, 9, 0, -10 }, // 0x73 's' { 2046, 7, 15, 7, 1, -13 }, // 0x74 't' { 2060, 12, 12, 13, 1, -10 }, // 0x75 'u' { 2078, 10, 11, 11, 1, -10 }, // 0x76 'v' { 2092, 15, 11, 16, 1, -10 }, // 0x77 'w' { 2113, 13, 12, 11, -1, -10 }, // 0x78 'x' { 2133, 11, 16, 10, -1, -10 }, // 0x79 'y' { 2155, 10, 13, 10, 0, -10 }, // 0x7A 'z' { 2172, 11, 21, 8, 0, -16 }, // 0x7B '{' { 2201, 2, 16, 6, 3, -15 }, // 0x7C '|' { 2205, 10, 21, 8, -3, -16 }, // 0x7D '}' { 2232, 11, 4, 14, 1, -7 } }; // 0x7E '~' const GFXfont FreeSerifBoldItalic12pt7b PROGMEM = { (uint8_t *)FreeSerifBoldItalic12pt7bBitmaps, (GFXglyph *)FreeSerifBoldItalic12pt7bGlyphs, 0x20, 0x7E, 29 }; // Approx. 2910 bytes
19,248
FreeSerifBoldItalic12pt7b
h
en
c
code
{"qsc_code_num_words": 2989, "qsc_code_num_chars": 19248.0, "qsc_code_mean_word_length": 3.60020074, "qsc_code_frac_words_unique": 0.11943794, "qsc_code_frac_chars_top_2grams": 0.00752718, "qsc_code_frac_chars_top_3grams": 0.00464641, "qsc_code_frac_chars_top_4grams": 0.00520398, "qsc_code_frac_chars_dupe_5grams": 0.13372363, "qsc_code_frac_chars_dupe_6grams": 0.06876684, "qsc_code_frac_chars_dupe_7grams": 0.04757922, "qsc_code_frac_chars_dupe_8grams": 0.04386209, "qsc_code_frac_chars_dupe_9grams": 0.03865812, "qsc_code_frac_chars_dupe_10grams": 0.03865812, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.48399273, "qsc_code_frac_chars_whitespace": 0.25675395, "qsc_code_size_file_byte": 19248.0, "qsc_code_num_lines": 292.0, "qsc_code_num_chars_line_max": 74.0, "qsc_code_num_chars_line_mean": 65.91780822, "qsc_code_frac_chars_alphabet": 0.26820914, "qsc_code_frac_chars_comments": 0.06036991, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.49541081, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.0, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.0, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 1, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 1, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lcd/Adafruit-GFX-Library/Fonts/FreeSerifBold24pt7b.h
const uint8_t FreeSerifBold24pt7bBitmaps[] PROGMEM = { 0x3C, 0x7E, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7E, 0x7E, 0x7C, 0x7C, 0x3C, 0x3C, 0x38, 0x38, 0x38, 0x38, 0x18, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x7E, 0xFF, 0xFF, 0xFF, 0xFF, 0x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FF, 0xC0, 0x0C, 0xFF, 0x00, 0x63, 0xFA, 0x03, 0x0F, 0xD0, 0x18, 0x3E, 0x80, 0xC1, 0xF6, 0x06, 0x0F, 0xB8, 0x30, 0x79, 0xC1, 0x87, 0xCF, 0x0C, 0x3C, 0x7E, 0x67, 0xC0, 0xFF, 0xF8, 0x00, 0xFE, 0x00, 0x00, 0xC0, 0x00, 0x06, 0x00, 0x00, 0x30, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x3E, 0x00, 0x0C, 0x00, 0x0F, 0xF0, 0x03, 0x80, 0x07, 0xE7, 0x03, 0xE0, 0x01, 0xF8, 0x7F, 0xFC, 0x00, 0x3E, 0x07, 0xF7, 0x00, 0x0F, 0xC0, 0x80, 0xE0, 0x03, 0xF0, 0x10, 0x38, 0x00, 0x7E, 0x02, 0x07, 0x00, 0x0F, 0x80, 0x41, 0xC0, 0x03, 0xF0, 0x10, 0x30, 0x00, 0x7E, 0x02, 0x0E, 0x00, 0x0F, 0x80, 0xC1, 0x80, 0x01, 0xF0, 0x10, 0x70, 0x00, 0x3E, 0x06, 0x1C, 0x00, 0x07, 0xC1, 0x83, 0x80, 0x00, 0x7C, 0x60, 0xE0, 0x1F, 0x07, 0xF8, 0x18, 0x0F, 0xF8, 0x7C, 0x07, 0x07, 0xF1, 0x00, 0x00, 0xC1, 0xF8, 0x10, 0x00, 0x38, 0x3F, 0x02, 0x00, 0x06, 0x0F, 0xC0, 0x40, 0x01, 0xC3, 0xF0, 0x08, 0x00, 0x30, 0x7E, 0x01, 0x00, 0x0E, 0x1F, 0x80, 0x40, 0x03, 0x83, 0xF0, 0x08, 0x00, 0x60, 0x7E, 0x01, 0x00, 0x1C, 0x0F, 0x80, 0x40, 0x03, 0x01, 0xF0, 0x18, 0x00, 0xE0, 0x3E, 0x02, 0x00, 0x18, 0x03, 0xC0, 0xC0, 0x07, 0x00, 0x7C, 0x70, 0x00, 0xC0, 0x07, 0xFC, 0x00, 0x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F, 0xC0, 0x10, 0x03, 0xFC, 0x00, 0x00, 0x3F, 0xC0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x3F, 0xC0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x3F, 0xC0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x3F, 0xC0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x3F, 0xC0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x3F, 0xC0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x3F, 0xC0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x3F, 0xC0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x3F, 0xC0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x3F, 0xC0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x7F, 0xE0, 0x00, 0x3F, 0xFF, 0xC0, 0xFF, 0xFE, 0x07, 0xFC, 0xFF, 0xC0, 0x07, 0xC1, 0xFE, 0x00, 0x0E, 0x07, 0xF8, 0x00, 0x18, 0x1F, 0xE0, 0x00, 0x60, 0x7F, 0x80, 0x01, 0x81, 0xFE, 0x00, 0x06, 0x07, 0xF8, 0x00, 0x18, 0x1F, 0xE0, 0x00, 0x60, 0x7F, 0x80, 0x01, 0x81, 0xFE, 0x00, 0x06, 0x07, 0xF8, 0x00, 0x18, 0x1F, 0xE0, 0x00, 0x60, 0x7F, 0x80, 0x01, 0x81, 0xFE, 0x00, 0x06, 0x07, 0xF8, 0x00, 0x18, 0x1F, 0xE0, 0x00, 0x60, 0x7F, 0x80, 0x01, 0x81, 0xFE, 0x00, 0x06, 0x07, 0xF8, 0x00, 0x18, 0x1F, 0xE0, 0x00, 0x60, 0x7F, 0x80, 0x01, 0x81, 0xFE, 0x00, 0x06, 0x07, 0xF8, 0x00, 0x18, 0x1F, 0xE0, 0x00, 0x60, 0x7F, 0x80, 0x03, 0x00, 0xFF, 0x00, 0x0C, 0x03, 0xFC, 0x00, 0x30, 0x07, 0xF0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xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF8, 0x01, 0xF8, 0x01, 0xF0, 0x07, 0xC0, 0x0F, 0x80, 0x3E, 0x00, 0xF8, 0x03, 0xE0, 0x0F, 0x80, 0x3E, 0x00, 0xF8, 0x03, 0xE0, 0x0F, 0x80, 0x3E, 0x00, 0xF8, 0x03, 0xE0, 0x0F, 0x80, 0x3E, 0x00, 0x7C, 0x00, 0xF0, 0x00, 0xF0, 0x03, 0xE0, 0x3C, 0x01, 0xF0, 0x0F, 0x80, 0x3E, 0x00, 0xF8, 0x03, 0xE0, 0x0F, 0x80, 0x3E, 0x00, 0xF8, 0x03, 0xE0, 0x0F, 0x80, 0x3E, 0x00, 0xF8, 0x03, 0xE0, 0x0F, 0x80, 0x3E, 0x01, 0xF0, 0x07, 0xC0, 0x7E, 0x03, 0xE0, 0x00, 0x0F, 0x80, 0x00, 0xFF, 0xC0, 0x47, 0xFF, 0xC3, 0x9F, 0xFF, 0xFF, 0x70, 0x7F, 0xF8, 0x80, 0x7F, 0xC0, 0x00, 0x3E, 0x00 }; const GFXglyph FreeSerifBold24pt7bGlyphs[] PROGMEM = { { 0, 0, 0, 12, 0, 1 }, // 0x20 ' ' { 0, 8, 34, 16, 4, -32 }, // 0x21 '!' { 34, 17, 13, 26, 4, -32 }, // 0x22 '"' { 62, 23, 33, 23, 0, -32 }, // 0x23 '#' { 157, 21, 39, 24, 1, -34 }, // 0x24 '$' { 260, 35, 34, 47, 6, -32 }, // 0x25 '%' { 409, 34, 34, 39, 3, -32 }, // 0x26 '&' { 554, 5, 13, 13, 4, -32 }, // 0x27 ''' { 563, 12, 41, 16, 2, -32 }, // 0x28 '(' { 625, 12, 41, 16, 1, -32 }, // 0x29 ')' { 687, 18, 21, 24, 3, -32 }, // 0x2A '*' { 735, 26, 25, 32, 3, -24 }, // 0x2B '+' { 817, 8, 15, 12, 2, -6 }, // 0x2C ',' { 832, 11, 5, 16, 2, -12 }, // 0x2D '-' { 839, 8, 8, 12, 2, -6 }, // 0x2E '.' { 847, 15, 33, 13, -1, -32 }, // 0x2F '/' { 909, 22, 34, 23, 1, -32 }, // 0x30 '0' { 1003, 18, 33, 23, 3, -32 }, // 0x31 '1' { 1078, 21, 33, 24, 1, -32 }, // 0x32 '2' { 1165, 21, 34, 24, 1, -32 }, // 0x33 '3' { 1255, 21, 33, 24, 1, -32 }, // 0x34 '4' { 1342, 20, 32, 23, 2, -31 }, // 0x35 '5' { 1422, 21, 34, 24, 1, -32 }, // 0x36 '6' { 1512, 21, 32, 23, 1, -31 }, // 0x37 '7' { 1596, 21, 34, 23, 1, -32 }, // 0x38 '8' { 1686, 22, 34, 23, 1, -32 }, // 0x39 '9' { 1780, 8, 24, 16, 4, -22 }, // 0x3A ':' { 1804, 9, 31, 16, 3, -22 }, // 0x3B ';' { 1839, 26, 26, 32, 3, -24 }, // 0x3C '<' { 1924, 26, 17, 32, 3, -20 }, // 0x3D '=' { 1980, 26, 26, 32, 3, -24 }, // 0x3E '>' { 2065, 18, 34, 24, 3, -32 }, // 0x3F '?' { 2142, 33, 34, 44, 5, -32 }, // 0x40 '@' { 2283, 32, 33, 34, 1, -32 }, // 0x41 'A' { 2415, 28, 32, 31, 1, -31 }, // 0x42 'B' { 2527, 30, 34, 33, 2, -32 }, // 0x43 'C' { 2655, 32, 32, 34, 1, -31 }, // 0x44 'D' { 2783, 28, 32, 32, 2, -31 }, // 0x45 'E' { 2895, 25, 32, 29, 2, -31 }, // 0x46 'F' { 2995, 33, 34, 36, 2, -32 }, // 0x47 'G' { 3136, 33, 32, 37, 2, -31 }, // 0x48 'H' { 3268, 15, 32, 18, 2, -31 }, // 0x49 'I' { 3328, 22, 37, 24, 0, -31 }, // 0x4A 'J' { 3430, 34, 32, 36, 2, -31 }, // 0x4B 'K' { 3566, 28, 32, 31, 2, -31 }, // 0x4C 'L' { 3678, 43, 32, 45, 0, -31 }, // 0x4D 'M' { 3850, 31, 32, 34, 1, -31 }, // 0x4E 'N' { 3974, 33, 34, 37, 2, -32 }, // 0x4F 'O' { 4115, 26, 32, 30, 2, -31 }, // 0x50 'P' { 4219, 33, 41, 37, 2, -32 }, // 0x51 'Q' { 4389, 31, 32, 34, 2, -31 }, // 0x52 'R' { 4513, 21, 34, 27, 3, -32 }, // 0x53 'S' { 4603, 28, 32, 30, 1, -31 }, // 0x54 'T' { 4715, 30, 33, 34, 2, -31 }, // 0x55 'U' { 4839, 33, 32, 33, 0, -31 }, // 0x56 'V' { 4971, 45, 33, 46, 1, -31 }, // 0x57 'W' { 5157, 32, 32, 34, 1, -31 }, // 0x58 'X' { 5285, 32, 32, 33, 1, -31 }, // 0x59 'Y' { 5413, 28, 32, 30, 1, -31 }, // 0x5A 'Z' { 5525, 11, 39, 16, 3, -31 }, // 0x5B '[' { 5579, 15, 33, 13, -1, -32 }, // 0x5C '\' { 5641, 11, 39, 16, 2, -31 }, // 0x5D ']' { 5695, 21, 17, 27, 3, -31 }, // 0x5E '^' { 5740, 24, 3, 23, 0, 5 }, // 0x5F '_' { 5749, 11, 9, 16, 0, -33 }, // 0x60 '`' { 5762, 22, 24, 23, 1, -22 }, // 0x61 'a' { 5828, 25, 33, 26, 0, -31 }, // 0x62 'b' { 5932, 19, 24, 20, 1, -22 }, // 0x63 'c' { 5989, 24, 33, 26, 1, -31 }, // 0x64 'd' { 6088, 18, 24, 21, 1, -22 }, // 0x65 'e' { 6142, 17, 33, 18, 1, -32 }, // 0x66 'f' { 6213, 19, 32, 24, 2, -22 }, // 0x67 'g' { 6289, 24, 32, 26, 0, -31 }, // 0x68 'h' { 6385, 11, 33, 14, 1, -32 }, // 0x69 'i' { 6431, 14, 42, 18, 0, -32 }, // 0x6A 'j' { 6505, 25, 32, 26, 0, -31 }, // 0x6B 'k' { 6605, 11, 32, 13, 0, -31 }, // 0x6C 'l' { 6649, 37, 23, 39, 0, -22 }, // 0x6D 'm' { 6756, 24, 23, 26, 0, -22 }, // 0x6E 'n' { 6825, 21, 24, 24, 1, -22 }, // 0x6F 'o' { 6888, 24, 32, 26, 0, -22 }, // 0x70 'p' { 6984, 24, 32, 26, 1, -22 }, // 0x71 'q' { 7080, 19, 23, 20, 0, -22 }, // 0x72 'r' { 7135, 15, 24, 19, 2, -22 }, // 0x73 's' { 7180, 14, 31, 16, 1, -29 }, // 0x74 't' { 7235, 25, 23, 27, 0, -21 }, // 0x75 'u' { 7307, 22, 23, 23, 0, -21 }, // 0x76 'v' { 7371, 33, 23, 33, 0, -21 }, // 0x77 'w' { 7466, 22, 22, 24, 1, -21 }, // 0x78 'x' { 7527, 21, 31, 23, 0, -21 }, // 0x79 'y' { 7609, 19, 22, 21, 1, -21 }, // 0x7A 'z' { 7662, 14, 42, 19, 1, -33 }, // 0x7B '{' { 7736, 4, 33, 10, 3, -32 }, // 0x7C '|' { 7753, 14, 42, 19, 4, -33 }, // 0x7D '}' { 7827, 22, 7, 24, 1, -14 } }; // 0x7E '~' const GFXfont FreeSerifBold24pt7b PROGMEM = { (uint8_t *)FreeSerifBold24pt7bBitmaps, (GFXglyph *)FreeSerifBold24pt7bGlyphs, 0x20, 0x7E, 56 }; // Approx. 8519 bytes
53,806
FreeSerifBold24pt7b
h
es
c
code
{"qsc_code_num_words": 8598, "qsc_code_num_chars": 53806.0, "qsc_code_mean_word_length": 3.86613166, "qsc_code_frac_words_unique": 0.04059084, "qsc_code_frac_chars_top_2grams": 0.08062333, "qsc_code_frac_chars_top_3grams": 0.038627, "qsc_code_frac_chars_top_4grams": 0.03946933, "qsc_code_frac_chars_dupe_5grams": 0.47152613, "qsc_code_frac_chars_dupe_6grams": 0.39457297, "qsc_code_frac_chars_dupe_7grams": 0.35414097, "qsc_code_frac_chars_dupe_8grams": 0.32887097, "qsc_code_frac_chars_dupe_9grams": 0.31900364, "qsc_code_frac_chars_dupe_10grams": 0.30576697, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.45342582, "qsc_code_frac_chars_whitespace": 0.21228116, "qsc_code_size_file_byte": 53806.0, "qsc_code_num_lines": 759.0, "qsc_code_num_chars_line_max": 74.0, "qsc_code_num_chars_line_mean": 70.89064559, "qsc_code_frac_chars_alphabet": 0.33085598, "qsc_code_frac_chars_comments": 0.0215961, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0332829, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.59638325, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.0, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.0, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 1, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 1, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lcd/Adafruit-GFX-Library/Fonts/FreeSansOblique24pt7b.h
const uint8_t FreeSansOblique24pt7bBitmaps[] PROGMEM = { 0x01, 0xE0, 0x3C, 0x0F, 0x81, 0xE0, 0x3C, 0x07, 0x80, 0xF0, 0x3C, 0x07, 0x80, 0xF0, 0x1E, 0x03, 0xC0, 0xF0, 0x1E, 0x03, 0xC0, 0x78, 0x0F, 0x03, 0xC0, 0x78, 0x0F, 0x01, 0xE0, 0x38, 0x07, 0x00, 0xE0, 0x18, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x1E, 0x07, 0x80, 0xF0, 0x1E, 0x00, 0x78, 0x7B, 0xC3, 0xDE, 0x1F, 0xE1, 0xEF, 0x0F, 0x78, 0x7B, 0xC3, 0xDC, 0x1C, 0xE0, 0xE7, 0x07, 0x30, 0x31, 0x81, 0x80, 0x00, 0x07, 0x81, 0xC0, 0x00, 0x78, 0x3C, 0x00, 0x07, 0x03, 0xC0, 0x00, 0xF0, 0x38, 0x00, 0x0E, 0x07, 0x80, 0x01, 0xE0, 0x70, 0x00, 0x1E, 0x0F, 0x00, 0x01, 0xC0, 0xF0, 0x00, 0x3C, 0x0E, 0x00, 0xFF, 0xFF, 0xFE, 0x0F, 0xFF, 0xFF, 0xE0, 0xFF, 0xFF, 0xFE, 0x00, 0x70, 0x3C, 0x00, 0x0F, 0x03, 0x80, 0x00, 0xF0, 0x78, 0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0xFE, 0x00, 0x00, 0x38, 0x00, 0x00, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x01, 0xC0, 0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x1F, 0x00, 0x00, 0x70, 0x07, 0xFC, 0x00, 0x0E, 0x00, 0xFF, 0xE0, 0x01, 0xC0, 0x1E, 0x1E, 0x00, 0x3C, 0x03, 0x80, 0xF0, 0x03, 0x80, 0x70, 0x07, 0x00, 0x70, 0x07, 0x00, 0x70, 0x0E, 0x00, 0xE0, 0x07, 0x01, 0xC0, 0x0E, 0x00, 0x70, 0x3C, 0x00, 0xE0, 0x0E, 0x03, 0x80, 0x0E, 0x00, 0xE0, 0x70, 0x00, 0xF0, 0x1C, 0x0E, 0x00, 0x07, 0x87, 0xC1, 0xE0, 0x00, 0x7F, 0xF8, 0x1C, 0x00, 0x03, 0xFE, 0x03, 0x80, 0x00, 0x0F, 0x80, 0x70, 0x00, 0x00, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x01, 0xE0, 0x1F, 0x00, 0x00, 0x1C, 0x07, 0xFC, 0x00, 0x03, 0x80, 0xFF, 0xE0, 0x00, 0x70, 0x1E, 0x1E, 0x00, 0x0F, 0x03, 0x80, 0xF0, 0x00, 0xE0, 0x70, 0x07, 0x00, 0x1C, 0x07, 0x00, 0x70, 0x03, 0x80, 0xE0, 0x07, 0x00, 0x70, 0x0E, 0x00, 0x70, 0x0F, 0x00, 0xE0, 0x0E, 0x00, 0xE0, 0x0E, 0x00, 0xE0, 0x1C, 0x00, 0xF0, 0x1C, 0x03, 0x80, 0x07, 0x87, 0xC0, 0x70, 0x00, 0x7F, 0xF8, 0x07, 0x00, 0x03, 0xFE, 0x00, 0xE0, 0x00, 0x0F, 0x80, 0x00, 0x01, 0xF8, 0x00, 0x03, 0xFF, 0x00, 0x01, 0xFF, 0xE0, 0x00, 0xF8, 0x7C, 0x00, 0x78, 0x0F, 0x00, 0x1E, 0x03, 0xC0, 0x0F, 0x00, 0xF0, 0x03, 0xC0, 0x3C, 0x00, 0xF0, 0x1E, 0x00, 0x3C, 0x07, 0x80, 0x0F, 0x87, 0xC0, 0x01, 0xE3, 0xE0, 0x00, 0x7F, 0xF0, 0x00, 0x0F, 0xF8, 0x00, 0x03, 0xF8, 0x00, 0x03, 0xFC, 0x00, 0x03, 0xFF, 0x00, 0x01, 0xFB, 0xE0, 0x70, 0xF8, 0x7C, 0x1C, 0x7C, 0x1F, 0x0E, 0x3C, 0x03, 0xE3, 0x9E, 0x00, 0x79, 0xE7, 0x80, 0x1F, 0xF3, 0xC0, 0x03, 0xF8, 0xF0, 0x00, 0xFE, 0x3C, 0x00, 0x1F, 0x0F, 0x00, 0x07, 0xC3, 0xE0, 0x03, 0xF8, 0xF8, 0x03, 0xFE, 0x3F, 0x83, 0xF7, 0xC7, 0xFF, 0xF8, 0xF0, 0xFF, 0xFC, 0x3E, 0x1F, 0xFC, 0x07, 0x81, 0xFC, 0x00, 0x00, 0x7B, 0xDF, 0xEF, 0x7B, 0xDC, 0xE7, 0x31, 0x80, 0x00, 0x0E, 0x00, 0x38, 0x00, 0xE0, 0x03, 0x80, 0x07, 0x00, 0x1C, 0x00, 0x70, 0x01, 0xE0, 0x03, 0x80, 0x0F, 0x00, 0x1C, 0x00, 0x78, 0x00, 0xE0, 0x03, 0xC0, 0x07, 0x00, 0x0E, 0x00, 0x38, 0x00, 0x70, 0x00, 0xE0, 0x03, 0x80, 0x07, 0x00, 0x0E, 0x00, 0x1C, 0x00, 0x78, 0x00, 0xE0, 0x01, 0xC0, 0x03, 0x80, 0x07, 0x00, 0x0E, 0x00, 0x1C, 0x00, 0x38, 0x00, 0x70, 0x00, 0xE0, 0x01, 0xC0, 0x03, 0x80, 0x07, 0x00, 0x06, 0x00, 0x0E, 0x00, 0x1C, 0x00, 0x38, 0x00, 0x30, 0x00, 0x70, 0x00, 0xE0, 0x00, 0xC0, 0x00, 0x00, 0x30, 0x00, 0x70, 0x00, 0xE0, 0x00, 0xC0, 0x01, 0xC0, 0x03, 0x80, 0x07, 0x00, 0x0E, 0x00, 0x0E, 0x00, 0x1C, 0x00, 0x38, 0x00, 0x70, 0x00, 0xE0, 0x01, 0xC0, 0x03, 0x80, 0x07, 0x00, 0x0E, 0x00, 0x1C, 0x00, 0x38, 0x00, 0x70, 0x01, 0xE0, 0x03, 0x80, 0x07, 0x00, 0x0E, 0x00, 0x3C, 0x00, 0x70, 0x00, 0xE0, 0x01, 0xC0, 0x07, 0x00, 0x0E, 0x00, 0x3C, 0x00, 0x70, 0x01, 0xE0, 0x03, 0x80, 0x0F, 0x00, 0x1C, 0x00, 0x78, 0x00, 0xE0, 0x03, 0x80, 0x0E, 0x00, 0x1C, 0x00, 0x70, 0x01, 0xC0, 0x07, 0x00, 0x00, 0x01, 0xC0, 0x07, 0x00, 0x38, 0x18, 0xE3, 0x7B, 0xBF, 0xFF, 0xF3, 0xFF, 0x01, 0xE0, 0x1F, 0xC0, 0xF7, 0x07, 0x9E, 0x1C, 0x38, 0x20, 0xC0, 0x00, 0x0E, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x78, 0x00, 0x00, 0xE0, 0x00, 0x01, 0xC0, 0x00, 0x03, 0x80, 0x00, 0x07, 0x00, 0x00, 0x1C, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xE0, 0x07, 0x00, 0x00, 0x0E, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x78, 0x00, 0x00, 0xE0, 0x00, 0x01, 0xC0, 0x00, 0x03, 0x80, 0x00, 0x07, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x38, 0x00, 0x00, 0x3E, 0x7C, 0xF9, 0xE7, 0xC1, 0x83, 0x0C, 0x18, 0x63, 0xC6, 0x00, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0x7D, 0xF7, 0xBE, 0xF8, 0x00, 0x00, 0x18, 0x00, 0x01, 0xC0, 0x00, 0x1C, 0x00, 0x00, 0xE0, 0x00, 0x0E, 0x00, 0x00, 0x70, 0x00, 0x07, 0x00, 0x00, 0x30, 0x00, 0x03, 0x80, 0x00, 0x18, 0x00, 0x01, 0xC0, 0x00, 0x0C, 0x00, 0x00, 0xE0, 0x00, 0x06, 0x00, 0x00, 0x70, 0x00, 0x03, 0x00, 0x00, 0x38, 0x00, 0x01, 0x80, 0x00, 0x1C, 0x00, 0x00, 0xC0, 0x00, 0x0E, 0x00, 0x00, 0x60, 0x00, 0x07, 0x00, 0x00, 0x70, 0x00, 0x03, 0x80, 0x00, 0x38, 0x00, 0x01, 0x80, 0x00, 0x1C, 0x00, 0x00, 0xC0, 0x00, 0x0E, 0x00, 0x00, 0x60, 0x00, 0x07, 0x00, 0x00, 0x30, 0x00, 0x03, 0x80, 0x00, 0x18, 0x00, 0x00, 0x00, 0x0F, 0xC0, 0x00, 0xFF, 0xE0, 0x03, 0xFF, 0xE0, 0x0F, 0xFF, 0xE0, 0x3F, 0x0F, 0xC0, 0xF8, 0x07, 0x81, 0xE0, 0x0F, 0x87, 0x80, 0x0F, 0x1F, 0x00, 0x1E, 0x3C, 0x00, 0x3C, 0x78, 0x00, 0x79, 0xE0, 0x00, 0xF3, 0xC0, 0x01, 0xE7, 0x80, 0x07, 0xDE, 0x00, 0x0F, 0xBC, 0x00, 0x1E, 0x78, 0x00, 0x3C, 0xF0, 0x00, 0x79, 0xE0, 0x00, 0xF7, 0x80, 0x03, 0xEF, 0x00, 0x07, 0xDE, 0x00, 0x0F, 0x3C, 0x00, 0x1E, 0x78, 0x00, 0x7C, 0xF0, 0x00, 0xF1, 0xE0, 0x03, 0xE3, 0xC0, 0x07, 0x87, 0xC0, 0x1F, 0x0F, 0x80, 0x7C, 0x0F, 0xC3, 0xF0, 0x1F, 0xFF, 0xC0, 0x1F, 0xFF, 0x00, 0x1F, 0xFC, 0x00, 0x0F, 0xC0, 0x00, 0x00, 0x18, 0x01, 0x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x78, 0xF0, 0x00, 0x78, 0xF0, 0x00, 0xF0, 0xF8, 0x01, 0xF0, 0x7C, 0x03, 0xE0, 0x7E, 0x0F, 0xC0, 0x3F, 0xFF, 0xC0, 0x3F, 0xFF, 0x80, 0x0F, 0xFE, 0x00, 0x03, 0xF8, 0x00, 0x1F, 0xFF, 0xFF, 0x87, 0xFF, 0xFF, 0xE1, 0xFF, 0xFF, 0xF8, 0xFF, 0xFF, 0xFE, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x07, 0x80, 0x00, 0x03, 0xC0, 0x00, 0x01, 0xE0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x07, 0x80, 0x00, 0x03, 0xC0, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x03, 0xC0, 0x00, 0x01, 0xE0, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x07, 0x80, 0x00, 0x03, 0xC0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00, 0x00, 0x07, 0xF0, 0x00, 0x1F, 0xFE, 0x00, 0x1F, 0xFF, 0x80, 0x1F, 0xFF, 0xE0, 0x1F, 0x81, 0xF8, 0x1F, 0x00, 0x7C, 0x0F, 0x00, 0x1E, 0x0F, 0x00, 0x0F, 0x07, 0x80, 0x07, 0x83, 0xC0, 0x03, 0xC1, 0xE0, 0x03, 0xC0, 0xF8, 0x03, 0xC0, 0x7E, 0x07, 0xC0, 0x1F, 0xFF, 0xC0, 0x07, 0xFF, 0xC0, 0x03, 0xFF, 0xE0, 0x07, 0xFF, 0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07, 0x83, 0xE0, 0xF8, 0x00, 0x03, 0xE0, 0x7C, 0x0F, 0x03, 0xE0, 0x7C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xE0, 0x7C, 0x0F, 0x81, 0xE0, 0x7C, 0x01, 0x80, 0x30, 0x0C, 0x01, 0x80, 0x60, 0x3C, 0x06, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x70, 0x00, 0x00, 0xF8, 0x00, 0x00, 0xFE, 0x00, 0x01, 0xFF, 0x00, 0x03, 0xFE, 0x00, 0x03, 0xFE, 0x00, 0x07, 0xFC, 0x00, 0x07, 0xFC, 0x00, 0x0F, 0xF8, 0x00, 0x07, 0xF0, 0x00, 0x03, 0xF0, 0x00, 0x00, 0xFE, 0x00, 0x00, 0x1F, 0xE0, 0x00, 0x01, 0xFE, 0x00, 0x00, 0x1F, 0xE0, 0x00, 0x01, 0xFF, 0x00, 0x00, 0x1F, 0xF0, 0x00, 0x01, 0xFF, 0x00, 0x00, 0x1F, 0xF0, 0x00, 0x00, 0xFC, 0x00, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x80, 0x1F, 0xFF, 0xFF, 0xC7, 0xFF, 0xFF, 0xE3, 0xFF, 0xFF, 0xF8, 0xFF, 0xFF, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xFF, 0xFF, 0x1F, 0xFF, 0xFF, 0xC7, 0xFF, 0xFF, 0xE1, 0xFF, 0xFF, 0xF8, 0x04, 0x00, 0x00, 0x01, 0xC0, 0x00, 0x00, 0xFC, 0x00, 0x00, 0x3F, 0xE0, 0x00, 0x03, 0xFE, 0x00, 0x00, 0x3F, 0xE0, 0x00, 0x03, 0xFE, 0x00, 0x00, 0x1F, 0xE0, 0x00, 0x01, 0xFE, 0x00, 0x00, 0x1F, 0xE0, 0x00, 0x01, 0xFC, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x3F, 0x80, 0x00, 0x7F, 0xC0, 0x00, 0xFF, 0x80, 0x00, 0xFF, 0x80, 0x01, 0xFF, 0x00, 0x01, 0xFF, 0x00, 0x03, 0xFE, 0x00, 0x01, 0xFC, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x38, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0xFE, 0x00, 0x3F, 0xF8, 0x0F, 0xFF, 0xC1, 0xFF, 0xFE, 0x1F, 0x03, 0xE3, 0xE0, 0x1F, 0x7C, 0x00, 0xF7, 0x80, 0x0F, 0x78, 0x00, 0xFF, 0x00, 0x0F, 0xF0, 0x01, 0xF0, 0x00, 0x1E, 0x00, 0x03, 0xE0, 0x00, 0x7C, 0x00, 0x0F, 0x80, 0x01, 0xF0, 0x00, 0x3E, 0x00, 0x0F, 0xC0, 0x01, 0xF8, 0x00, 0x1F, 0x00, 0x03, 0xE0, 0x00, 0x7C, 0x00, 0x07, 0x80, 0x00, 0x78, 0x00, 0x0F, 0x80, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x00, 0x01, 0xE0, 0x00, 0x1E, 0x00, 0x01, 0xE0, 0x00, 0x3E, 0x00, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x80, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x80, 0x00, 0x00, 0x1F, 0xFF, 0xFF, 0x00, 0x00, 0x03, 0xFF, 0xFF, 0xFE, 0x00, 0x00, 0x7F, 0xE0, 0x0F, 0xF8, 0x00, 0x0F, 0xF0, 0x00, 0x1F, 0xE0, 0x00, 0xFE, 0x00, 0x00, 0x3F, 0x80, 0x0F, 0xC0, 0x00, 0x00, 0xFC, 0x00, 0xFC, 0x00, 0x00, 0x01, 0xF0, 0x0F, 0xC0, 0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00, 0x00, 0x3C, 0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x00, 0x07, 0xFF, 0xFF, 0xF0, 0x0F, 0xFF, 0xFF, 0xE0, 0x3F, 0xFF, 0xFF, 0x80, 0x7F, 0xFF, 0xFF, 0x00, 0xF0, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x07, 0xC0, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x07, 0x80, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x1F, 0xFF, 0xFF, 0xE0, 0x7F, 0xFF, 0xFF, 0xC0, 0xFF, 0xFF, 0xFF, 0x81, 0xFF, 0xFF, 0xFE, 0x00, 0x01, 0xFF, 0xFF, 0xFC, 0x07, 0xFF, 0xFF, 0xF0, 0x1F, 0xFF, 0xFF, 0xC0, 0xFF, 0xFF, 0xFE, 0x03, 0xE0, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x07, 0xC0, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x03, 0xFF, 0xFF, 0xC0, 0x0F, 0xFF, 0xFF, 0x00, 0x7F, 0xFF, 0xFC, 0x01, 0xFF, 0xFF, 0xF0, 0x07, 0x80, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x07, 0xC0, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x07, 0x80, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xC0, 0x00, 0x01, 0xFF, 0xF8, 0x00, 0x07, 0xFF, 0xFF, 0x00, 0x07, 0xFF, 0xFF, 0xC0, 0x07, 0xF0, 0x0F, 0xF0, 0x0F, 0xC0, 0x00, 0xF8, 0x0F, 0xC0, 0x00, 0x3E, 0x07, 0x80, 0x00, 0x1F, 0x07, 0x80, 0x00, 0x07, 0x87, 0xC0, 0x00, 0x03, 0xC3, 0xC0, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00, 0x3C, 0x00, 0x1F, 0xFF, 0xBC, 0x00, 0x0F, 0xFF, 0xDE, 0x00, 0x0F, 0xFF, 0xEF, 0x00, 0x07, 0xFF, 0xF7, 0x80, 0x00, 0x00, 0x73, 0xC0, 0x00, 0x00, 0x39, 0xE0, 0x00, 0x00, 0x3C, 0xF0, 0x00, 0x00, 0x1E, 0x78, 0x00, 0x00, 0x1F, 0x3E, 0x00, 0x00, 0x0F, 0x8F, 0x00, 0x00, 0x0F, 0x87, 0xC0, 0x00, 0x0F, 0xC3, 0xF0, 0x00, 0x0F, 0xE0, 0xFC, 0x00, 0x1F, 0xF0, 0x7F, 0x80, 0x7F, 0x78, 0x1F, 0xFF, 0xFE, 0x38, 0x03, 0xFF, 0xFE, 0x1C, 0x00, 0xFF, 0xFC, 0x0E, 0x00, 0x0F, 0xF0, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x07, 0x80, 0xF0, 0x00, 0x03, 0xC0, 0x78,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x03, 0xC0, 0x00, 0x01, 0xE0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x07, 0x80, 0x00, 0x07, 0xC0, 0x00, 0x03, 0xC0, 0x00, 0x01, 0xE0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x78, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x07, 0x80, 0x00, 0x03, 0xC0, 0xF0, 0x01, 0xE0, 0x78, 0x00, 0xF0, 0x78, 0x00, 0xF8, 0x3C, 0x00, 0x78, 0x1E, 0x00, 0x3C, 0x0F, 0x00, 0x3E, 0x07, 0xC0, 0x3E, 0x03, 0xF0, 0x7E, 0x00, 0xFF, 0xFF, 0x00, 0x3F, 0xFF, 0x00, 0x0F, 0xFE, 0x00, 0x01, 0xFC, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x0F, 0xC0, 0x78, 0x00, 0x07, 0xC0, 0x1E, 0x00, 0x03, 0xE0, 0x0F, 0x80, 0x03, 0xF0, 0x03, 0xE0, 0x01, 0xF8, 0x00, 0xF0, 0x00, 0xFC, 0x00, 0x3C, 0x00, 0x7C, 0x00, 0x1F, 0x00, 0x3E, 0x00, 0x07, 0xC0, 0x3F, 0x00, 0x01, 0xE0, 0x1F, 0x80, 0x00, 0x78, 0x0F, 0x80, 0x00, 0x1E, 0x07, 0xC0, 0x00, 0x0F, 0x83, 0xE0, 0x00, 0x03, 0xE3, 0xF0, 0x00, 0x00, 0xF1, 0xFC, 0x00, 0x00, 0x3C, 0xFF, 0x00, 0x00, 0x0F, 0x7F, 0xE0, 0x00, 0x07, 0xFE, 0xF8, 0x00, 0x01, 0xFE, 0x1E, 0x00, 0x00, 0x7F, 0x07, 0xC0, 0x00, 0x1F, 0x80, 0xF0, 0x00, 0x0F, 0xC0, 0x3E, 0x00, 0x03, 0xE0, 0x07, 0x80, 0x00, 0xF0, 0x01, 0xF0, 0x00, 0x3C, 0x00, 0x7C, 0x00, 0x0F, 0x00, 0x0F, 0x80, 0x07, 0xC0, 0x03, 0xE0, 0x01, 0xF0, 0x00, 0x7C, 0x00, 0x78, 0x00, 0x1F, 0x00, 0x1E, 0x00, 0x03, 0xE0, 0x07, 0x80, 0x00, 0xF8, 0x03, 0xE0, 0x00, 0x1F, 0x00, 0xF0, 0x00, 0x07, 0xC0, 0x3C, 0x00, 0x00, 0xF8, 0x00, 0x01, 0xE0, 0x00, 0x07, 0x80, 0x00, 0x1E, 0x00, 0x00, 0xF8, 0x00, 0x03, 0xE0, 0x00, 0x0F, 0x00, 0x00, 0x3C, 0x00, 0x01, 0xF0, 0x00, 0x07, 0xC0, 0x00, 0x1E, 0x00, 0x00, 0x78, 0x00, 0x01, 0xE0, 0x00, 0x0F, 0x80, 0x00, 0x3E, 0x00, 0x00, 0xF0, 0x00, 0x03, 0xC0, 0x00, 0x0F, 0x00, 0x00, 0x7C, 0x00, 0x01, 0xE0, 0x00, 0x07, 0x80, 0x00, 0x1E, 0x00, 0x00, 0xF8, 0x00, 0x03, 0xE0, 0x00, 0x0F, 0x00, 0x00, 0x3C, 0x00, 0x00, 0xF0, 0x00, 0x07, 0xC0, 0x00, 0x1F, 0x00, 0x00, 0x78, 0x00, 0x01, 0xE0, 0x00, 0x07, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFB, 0xFF, 0xFF, 0xE0, 0x01, 0xF8, 0x00, 0x00, 0x7E, 0x03, 0xF8, 0x00, 0x01, 0xFC, 0x0F, 0xF0, 0x00, 0x03, 0xF8, 0x1F, 0xE0, 0x00, 0x0F, 0xF0, 0x3F, 0xC0, 0x00, 0x1F, 0xC0, 0x7F, 0x80, 0x00, 0x7F, 0x80, 0xFF, 0x00, 0x00, 0xEF, 0x03, 0xFE, 0x00, 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 0x00, 0x07, 0x8F, 0x00, 0x00, 0x3C, 0x7C, 0x00, 0x03, 0xC1, 0xF0, 0x00, 0x7C, 0x0F, 0xE0, 0x1F, 0xC0, 0x3F, 0xFF, 0xFC, 0x00, 0xFF, 0xFF, 0xC0, 0x03, 0xFF, 0xF8, 0x00, 0x03, 0xFE, 0x00, 0x00, 0x7F, 0xFF, 0xFF, 0xF7, 0xFF, 0xFF, 0xFF, 0x7F, 0xFF, 0xFF, 0xF7, 0xFF, 0xFF, 0xFE, 0x00, 0x0F, 0x00, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x07, 0xC0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x07, 0x80, 0x00, 0x00, 0x78, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x07, 0x80, 0x00, 0x1E, 0x0F, 0x00, 0x00, 0x3C, 0x1E, 0x00, 0x00, 0xF8, 0x7C, 0x00, 0x01, 0xF0, 0xF8, 0x00, 0x03, 0xC1, 0xE0, 0x00, 0x07, 0x83, 0xC0, 0x00, 0x0F, 0x0F, 0x80, 0x00, 0x3E, 0x1F, 0x00, 0x00, 0x7C, 0x3C, 0x00, 0x00, 0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x07, 0xF8, 0x00, 0x7F, 0x80, 0x00, 0xFE, 0x00, 0x07, 0xF0, 0x00, 0x1F, 0xC0, 0x00, 0xFC, 0x00, 0x03, 0xF0, 0x00, 0x1F, 0x80, 0x00, 0x7E, 0x00, 0x03, 0xE0, 0x00, 0x0F, 0x80, 0x00, 0x7C, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x03, 0xF0, 0x07, 0xC0, 0x00, 0x3E, 0x00, 0x7C, 0x00, 0x07, 0xC0, 0x03, 0xE0, 0x00, 0xF8, 0x00, 0x3E, 0x00, 0x1F, 0x00, 0x01, 0xF0, 0x03, 0xE0, 0x00, 0x1F, 0x00, 0x7C, 0x00, 0x00, 0xF8, 0x0F, 0x80, 0x00, 0x0F, 0x81, 0xF0, 0x00, 0x00, 0x7C, 0x1F, 0x00, 0x00, 0x07, 0xC3, 0xE0, 0x00, 0x00, 0x7C, 0x7C, 0x00, 0x00, 0x03, 0xEF, 0x80, 0x00, 0x00, 0x3F, 0xF0, 0x00, 0x00, 0x01, 0xFE, 0x00, 0x00, 0x00, 0x1F, 0xC0, 0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x00, 0x1F, 0xC0, 0x00, 0x00, 0x03, 0xFC, 0x00, 0x00, 0x00, 0x7F, 0xC0, 0x00, 0x00, 0x0F, 0xBE, 0x00, 0x00, 0x01, 0xF3, 0xE0, 0x00, 0x00, 0x3E, 0x1F, 0x00, 0x00, 0x03, 0xE1, 0xF0, 0x00, 0x00, 0x7C, 0x0F, 0x80, 0x00, 0x0F, 0x80, 0xF8, 0x00, 0x01, 0xF0, 0x07, 0xC0, 0x00, 0x3E, 0x00, 0x7C, 0x00, 0x07, 0xC0, 0x03, 0xE0, 0x00, 0xF8, 0x00, 0x3E, 0x00, 0x1F, 0x00, 0x03, 0xF0, 0x03, 0xF0, 0x00, 0x1F, 0x00, 0x7E, 0x00, 0x01, 0xF8, 0x0F, 0xC0, 0x00, 0x0F, 0x80, 0xF8, 0x00, 0x00, 0x7D, 0xF0, 0x00, 0x03, 0xE7, 0xC0, 0x00, 0x1F, 0x1F, 0x80, 0x00, 0xF8, 0x3E, 0x00, 0x03, 0xE0, 0xF8, 0x00, 0x1F, 0x01, 0xF0, 0x00, 0xF8, 0x07, 0xC0, 0x07, 0xC0, 0x0F, 0x00, 0x3E, 0x00, 0x3E, 0x01, 0xF0, 0x00, 0xF8, 0x07, 0xC0, 0x01, 0xF0, 0x3E, 0x00, 0x07, 0xC1, 0xF0, 0x00, 0x0F, 0x0F, 0x80, 0x00, 0x3E, 0x7C, 0x00, 0x00, 0x79, 0xE0, 0x00, 0x01, 0xFF, 0x80, 0x00, 0x07, 0xFC, 0x00, 0x00, 0x0F, 0xE0, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x07, 0x80, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xFF, 0xFF, 0xC0, 0x1F, 0xFF, 0xFF, 0xE0, 0x07, 0xFF, 0xFF, 0xF8, 0x03, 0xFF, 0xFF, 0xFE, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x00, 0x07, 0xC0, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x00, 0x07, 0xC0, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x00, 0x07, 0xC0, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x00, 0x07, 0xFF, 0xFF, 0xFE, 0x01, 0xFF, 0xFF, 0xFF, 0x80, 0x7F, 0xFF, 0xFF, 0xE0, 0x1F, 0xFF, 0xFF, 0xF8, 0x00, 0x00, 0x7F, 0xC0, 0x1F, 0xF0, 0x07, 0xFC, 0x01, 0xFE, 0x00, 0xF0, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x01, 0xF0, 0x00, 0x78, 0x00, 0x1E, 0x00, 0x07, 0x80, 0x01, 0xE0, 0x00, 0xF8, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x00, 0xF0, 0x00, 0x78, 0x00, 0x1E, 0x00, 0x07, 0x80, 0x01, 0xE0, 0x00, 0xF8, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x00, 0xF0, 0x00, 0x7C, 0x00, 0x1E, 0x00, 0x07, 0x80, 0x01, 0xE0, 0x00, 0x78, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x00, 0xF0, 0x00, 0x7C, 0x00, 0x1E, 0x00, 0x07, 0x80, 0x01, 0xE0, 0x00, 0x7F, 0xC0, 0x3F, 0xE0, 0x0F, 0xF8, 0x03, 0xFE, 0x00, 0xE3, 0x8E, 0x38, 0xE1, 0x86, 0x18, 0x61, 0x87, 0x1C, 0x71, 0xC7, 0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x00, 0x00, 0x00, 0xF0, 0x1E, 0x03, 0xC0, 0xF0, 0x1E, 0x03, 0xC0, 0x78, 0x0F, 0x03, 0xC0, 0x78, 0x0F, 0x01, 0xE0, 0x3C, 0x0F, 0x01, 0xE0, 0x3C, 0x07, 0x80, 0xF0, 0x3C, 0x07, 0x80, 0xF0, 0x1E, 0x03, 0xC0, 0xF0, 0x1E, 0x00, 0x00, 0x07, 0x80, 0x01, 0xE0, 0x00, 0x78, 0x00, 0x1E, 0x00, 0x07, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xC0, 0x01, 0xE0, 0x00, 0x78, 0x00, 0x1E, 0x00, 0x07, 0x80, 0x03, 0xC0, 0x00, 0xF0, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x01, 0xE0, 0x00, 0x78, 0x00, 0x1E, 0x00, 0x07, 0x80, 0x03, 0xE0, 0x00, 0xF0, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x01, 0xE0, 0x00, 0x78, 0x00, 0x1E, 0x00, 0x07, 0x80, 0x01, 0xE0, 0x00, 0xF0, 0x00, 0x3C, 0x00, 0x0F, 0x00, 0x03, 0xC0, 0x01, 0xF0, 0x00, 0x78, 0x00, 0x3E, 0x00, 0x7F, 0x80, 0x3F, 0xC0, 0x0F, 0xE0, 0x03, 0xE0, 0x00, 0x01, 0xE0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x78, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x07, 0x80, 0x00, 0x03, 0xC0, 0x0F, 0x81, 0xE0, 0x0F, 0x80, 0xF0, 0x0F, 0x80, 0xF0, 0x1F, 0x00, 0x78, 0x1F, 0x00, 0x3C, 0x1F, 0x00, 0x1E, 0x1F, 0x00, 0x1F, 0x1F, 0x00, 0x0F,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F, 0x01, 0xE0, 0x07, 0x80, 0x7C, 0x03, 0xE0, 0x0F, 0x01, 0xF0, 0x03, 0xE0, 0xF8, 0x00, 0x78, 0x00, 0x03, 0xC0, 0x01, 0xE0, 0x78, 0x00, 0x78, 0x0F, 0x00, 0x0F, 0x01, 0xE0, 0x03, 0xC0, 0x3C, 0x00, 0x78, 0x07, 0xC0, 0x1E, 0x00, 0x78, 0x07, 0xC0, 0x0F, 0x00, 0xF0, 0x01, 0xE0, 0x3C, 0x00, 0x3C, 0x07, 0x80, 0x07, 0x81, 0xE0, 0x00, 0xF0, 0x3C, 0x00, 0x1E, 0x0F, 0x00, 0x03, 0xC1, 0xC0, 0x00, 0x3C, 0x78, 0x00, 0x07, 0x9E, 0x00, 0x00, 0xF3, 0xC0, 0x00, 0x1E, 0xF0, 0x00, 0x03, 0xDE, 0x00, 0x00, 0x7F, 0x80, 0x00, 0x0F, 0xE0, 0x00, 0x01, 0xFC, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x07, 0x80, 0x00, 0x01, 0xF0, 0x00, 0x03, 0xFC, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x1F, 0xC0, 0x00, 0x03, 0xE0, 0x00, 0x00, 0x00, 0x01, 0xFF, 0xFF, 0x81, 0xFF, 0xFF, 0xC0, 0xFF, 0xFF, 0xE0, 0x7F, 0xFF, 0xE0, 0x00, 0x01, 0xF0, 0x00, 0x01, 0xF0, 0x00, 0x01, 0xF0, 0x00, 0x01, 0xF0, 0x00, 0x01, 0xF0, 0x00, 0x01, 0xE0, 0x00, 0x01, 0xE0, 0x00, 0x01, 0xE0, 0x00, 0x01, 0xE0, 0x00, 0x03, 0xE0, 0x00, 0x03, 0xE0, 0x00, 0x03, 0xE0, 0x00, 0x03, 0xE0, 0x00, 0x03, 0xE0, 0x00, 0x03, 0xE0, 0x00, 0x03, 0xE0, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xFF, 0xFF, 0xC1, 0xFF, 0xFF, 0xE0, 0xFF, 0xFF, 0xF0, 0x7F, 0xFF, 0xF8, 0x00, 0x00, 0x1F, 0x00, 0x7E, 0x00, 0xFE, 0x00, 0xF0, 0x01, 0xE0, 0x01, 0xE0, 0x01, 0xE0, 0x03, 0xC0, 0x03, 0xC0, 0x03, 0xC0, 0x03, 0xC0, 0x07, 0xC0, 0x07, 0x80, 0x07, 0x80, 0x07, 0x80, 0x07, 0x80, 0x0F, 0x00, 0x0F, 0x00, 0x1E, 0x00, 0x3C, 0x00, 0xF8, 0x00, 0xE0, 0x00, 0xF0, 0x00, 0x78, 0x00, 0x38, 0x00, 0x38, 0x00, 0x38, 0x00, 0x38, 0x00, 0x38, 0x00, 0x3C, 0x00, 0x7C, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xE0, 0x00, 0xE0, 0x00, 0xF0, 0x00, 0xFC, 0x00, 0xFC, 0x00, 0x7C, 0x00, 0x00, 0x70, 0x07, 0x00, 0x60, 0x06, 0x00, 0xE0, 0x0E, 0x00, 0xE0, 0x0C, 0x01, 0xC0, 0x1C, 0x01, 0xC0, 0x1C, 0x01, 0x80, 0x38, 0x03, 0x80, 0x38, 0x03, 0x00, 0x30, 0x07, 0x00, 0x70, 0x07, 0x00, 0x60, 0x0E, 0x00, 0xE0, 0x0E, 0x00, 0xE0, 0x0C, 0x01, 0xC0, 0x1C, 0x01, 0xC0, 0x1C, 0x01, 0x80, 0x38, 0x03, 0x80, 0x38, 0x03, 0x00, 0x70, 0x07, 0x00, 0x70, 0x07, 0x00, 0x60, 0x0E, 0x00, 0xE0, 0x06, 0x00, 0x00, 0x3E, 0x00, 0x3E, 0x00, 0x3F, 0x00, 0x0F, 0x00, 0x07, 0x00, 0x07, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x1E, 0x00, 0x1E, 0x00, 0x1E, 0x00, 0x1E, 0x00, 0x3E, 0x00, 0x3C, 0x00, 0x1C, 0x00, 0x1C, 0x00, 0x1C, 0x00, 0x1C, 0x00, 0x1C, 0x00, 0x1E, 0x00, 0x0F, 0x00, 0x07, 0x00, 0x1F, 0x00, 0x3C, 0x00, 0x78, 0x00, 0xF0, 0x00, 0xF0, 0x01, 0xE0, 0x01, 0xE0, 0x01, 0xE0, 0x01, 0xE0, 0x03, 0xE0, 0x03, 0xC0, 0x03, 0xC0, 0x03, 0xC0, 0x03, 0xC0, 0x07, 0x80, 0x07, 0x80, 0x07, 0x80, 0x0F, 0x00, 0x7F, 0x00, 0x7E, 0x00, 0xF8, 0x00, 0x0F, 0x00, 0x01, 0xFE, 0x00, 0xCF, 0xFC, 0x0E, 0xE3, 0xF0, 0xE6, 0x07, 0xFF, 0x60, 0x0F, 0xF0, 0x00, 0x1E, 0x00 }; const GFXglyph FreeSansOblique24pt7bGlyphs[] PROGMEM = { { 0, 0, 0, 13, 0, 1 }, // 0x20 ' ' { 0, 11, 34, 13, 6, -33 }, // 0x21 '!' { 47, 13, 12, 17, 8, -32 }, // 0x22 '"' { 67, 28, 34, 26, 3, -32 }, // 0x23 '#' { 186, 26, 42, 26, 3, -35 }, // 0x24 '$' { 323, 36, 34, 42, 6, -32 }, // 0x25 '%' { 476, 26, 34, 31, 4, -32 }, // 0x26 '&' { 587, 5, 12, 9, 8, -32 }, // 0x27 ''' { 595, 15, 44, 16, 5, -33 }, // 0x28 '(' { 678, 15, 44, 16, 1, -33 }, // 0x29 ')' { 761, 14, 13, 18, 8, -33 }, // 0x2A '*' { 784, 23, 22, 27, 5, -20 }, // 0x2B '+' { 848, 7, 12, 13, 3, -4 }, // 0x2C ',' { 859, 12, 4, 16, 5, -14 }, // 0x2D '-' { 865, 6, 5, 13, 4, -4 }, // 0x2E '.' { 869, 21, 35, 13, -1, -33 }, // 0x2F '/' { 961, 23, 34, 26, 5, -32 }, // 0x30 '0' { 1059, 13, 33, 26, 10, -32 }, // 0x31 '1' { 1113, 27, 33, 26, 2, -32 }, // 0x32 '2' { 1225, 25, 34, 26, 3, -32 }, // 0x33 '3' { 1332, 24, 33, 26, 3, -32 }, // 0x34 '4' { 1431, 27, 34, 26, 3, -32 }, // 0x35 '5' { 1546, 24, 34, 26, 4, -32 }, // 0x36 '6' { 1648, 26, 33, 26, 6, -32 }, // 0x37 '7' { 1756, 25, 34, 26, 3, -32 }, // 0x38 '8' { 1863, 24, 34, 26, 4, -32 }, // 0x39 '9' { 1965, 10, 25, 13, 5, -24 }, // 0x3A ':' { 1997, 11, 32, 13, 4, -24 }, // 0x3B ';' { 2041, 26, 23, 27, 4, -22 }, // 0x3C '<' { 2116, 26, 12, 27, 3, -16 }, // 0x3D '=' { 2155, 26, 23, 27, 2, -21 }, // 0x3E '>' { 2230, 20, 35, 26, 9, -34 }, // 0x3F '?' { 2318, 45, 42, 48, 4, -34 }, // 0x40 '@' { 2555, 30, 34, 31, 1, -33 }, // 0x41 'A' { 2683, 29, 34, 31, 4, -33 }, // 0x42 'B' { 2807, 30, 36, 33, 5, -34 }, // 0x43 'C' { 2942, 31, 34, 33, 4, -33 }, // 0x44 'D' { 3074, 31, 34, 31, 4, -33 }, // 0x45 'E' { 3206, 30, 34, 28, 4, -33 }, // 0x46 'F' { 3334, 33, 36, 37, 5, -34 }, // 0x47 'G' { 3483, 33, 34, 34, 4, -33 }, // 0x48 'H' { 3624, 11, 34, 13, 5, -33 }, // 0x49 'I' { 3671, 25, 35, 24, 2, -33 }, // 0x4A 'J' { 3781, 34, 34, 31, 4, -33 }, // 0x4B 'K' { 3926, 22, 34, 26, 4, -33 }, // 0x4C 'L' { 4020, 39, 34, 40, 4, -33 }, // 0x4D 'M' { 4186, 34, 34, 34, 4, -33 }, // 0x4E 'N' { 4331, 33, 36, 36, 5, -34 }, // 0x4F 'O' { 4480, 29, 34, 30, 4, -33 }, // 0x50 'P' { 4604, 33, 38, 36, 5, -34 }, // 0x51 'Q' { 4761, 30, 34, 33, 4, -33 }, // 0x52 'R' { 4889, 29, 36, 31, 4, -34 }, // 0x53 'S' { 5020, 28, 34, 29, 7, -33 }, // 0x54 'T' { 5139, 31, 35, 34, 6, -33 }, // 0x55 'U' { 5275, 29, 34, 30, 8, -33 }, // 0x56 'V' { 5399, 43, 34, 44, 8, -33 }, // 0x57 'W' { 5582, 36, 34, 31, 1, -33 }, // 0x58 'X' { 5735, 30, 34, 32, 8, -33 }, // 0x59 'Y' { 5863, 34, 34, 29, 1, -33 }, // 0x5A 'Z' { 6008, 18, 44, 13, 1, -33 }, // 0x5B '[' { 6107, 6, 35, 13, 7, -33 }, // 0x5C '\' { 6134, 18, 44, 13, -1, -33 }, // 0x5D ']' { 6233, 17, 18, 22, 6, -32 }, // 0x5E '^' { 6272, 29, 2, 26, -3, 7 }, // 0x5F '_' { 6280, 8, 7, 16, 8, -34 }, // 0x60 '`' { 6287, 23, 27, 26, 3, -25 }, // 0x61 'a' { 6365, 25, 35, 26, 3, -33 }, // 0x62 'b' { 6475, 22, 27, 24, 4, -25 }, // 0x63 'c' { 6550, 27, 35, 26, 4, -33 }, // 0x64 'd' { 6669, 23, 27, 26, 4, -25 }, // 0x65 'e' { 6747, 15, 34, 12, 3, -33 }, // 0x66 'f' { 6811, 27, 36, 26, 2, -25 }, // 0x67 'g' { 6933, 23, 34, 25, 3, -33 }, // 0x68 'h' { 7031, 11, 34, 10, 3, -33 }, // 0x69 'i' { 7078, 18, 44, 11, -2, -33 }, // 0x6A 'j' { 7177, 25, 34, 24, 3, -33 }, // 0x6B 'k' { 7284, 11, 34, 10, 3, -33 }, // 0x6C 'l' { 7331, 36, 26, 38, 3, -25 }, // 0x6D 'm' { 7448, 23, 26, 25, 3, -25 }, // 0x6E 'n' { 7523, 23, 27, 26, 4, -25 }, // 0x6F 'o' { 7601, 27, 36, 26, 1, -25 }, // 0x70 'p' { 7723, 26, 36, 26, 3, -25 }, // 0x71 'q' { 7840, 17, 26, 15, 3, -25 }, // 0x72 'r' { 7896, 21, 27, 24, 3, -25 }, // 0x73 's' { 7967, 13, 32, 12, 4, -30 }, // 0x74 't' { 8019, 24, 26, 25, 4, -24 }, // 0x75 'u' { 8097, 22, 25, 23, 6, -24 }, // 0x76 'v' { 8166, 33, 25, 34, 6, -24 }, // 0x77 'w' { 8270, 26, 25, 23, 1, -24 }, // 0x78 'x' { 8352, 27, 35, 23, 0, -24 }, // 0x79 'y' { 8471, 25, 25, 23, 1, -24 }, // 0x7A 'z' { 8550, 16, 44, 16, 5, -33 }, // 0x7B '{' { 8638, 12, 44, 12, 3, -33 }, // 0x7C '|' { 8704, 16, 44, 16, -1, -33 }, // 0x7D '}' { 8792, 21, 7, 27, 6, -19 } }; // 0x7E '~' const GFXfont FreeSansOblique24pt7b PROGMEM = { (uint8_t *)FreeSansOblique24pt7bBitmaps, (GFXglyph *)FreeSansOblique24pt7bGlyphs, 0x20, 0x7E, 56 }; // Approx. 9483 bytes
59,762
FreeSansOblique24pt7b
h
es
c
code
{"qsc_code_num_words": 9562, "qsc_code_num_chars": 59762.0, "qsc_code_mean_word_length": 3.88088266, "qsc_code_frac_words_unique": 0.03419787, "qsc_code_frac_chars_top_2grams": 0.16276375, "qsc_code_frac_chars_top_3grams": 0.06047051, "qsc_code_frac_chars_top_4grams": 0.03664879, "qsc_code_frac_chars_dupe_5grams": 0.58902153, "qsc_code_frac_chars_dupe_6grams": 0.45067234, "qsc_code_frac_chars_dupe_7grams": 0.35376863, "qsc_code_frac_chars_dupe_8grams": 0.28952545, "qsc_code_frac_chars_dupe_9grams": 0.25718828, "qsc_code_frac_chars_dupe_10grams": 0.2261446, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.48531312, "qsc_code_frac_chars_whitespace": 0.20988253, "qsc_code_size_file_byte": 59762.0, "qsc_code_num_lines": 840.0, "qsc_code_num_chars_line_max": 74.0, "qsc_code_num_chars_line_mean": 71.1452381, "qsc_code_frac_chars_alphabet": 0.30057816, "qsc_code_frac_chars_comments": 0.01944379, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.00269542, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.60156997, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.0, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.0, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 1, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 1, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_textarea.c
/** * @file lv_ta.c * */ /********************* * INCLUDES *********************/ #include "lv_textarea.h" #if LV_USE_TEXTAREA != 0 #include <string.h> #include "../lv_misc/lv_debug.h" #include "../lv_core/lv_group.h" #include "../lv_core/lv_refr.h" #include "../lv_draw/lv_draw.h" #include "../lv_themes/lv_theme.h" #include "../lv_misc/lv_anim.h" #include "../lv_misc/lv_txt.h" #include "../lv_misc/lv_math.h" /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_textarea" /*Test configuration*/ #ifndef LV_TEXTAREA_DEF_CURSOR_BLINK_TIME #define LV_TEXTAREA_DEF_CURSOR_BLINK_TIME 400 /*ms*/ #endif #ifndef LV_TEXTAREA_DEF_PWD_SHOW_TIME #define LV_TEXTAREA_DEF_PWD_SHOW_TIME 1500 /*ms*/ #endif #define LV_TEXTAREA_DEF_WIDTH (2 * LV_DPI) #define LV_TEXTAREA_DEF_HEIGHT (1 * LV_DPI) #define LV_TEXTAREA_PWD_BULLET_UNICODE 0x2022 /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_design_res_t lv_textarea_design(lv_obj_t * ta, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_design_res_t lv_textarea_scrollable_design(lv_obj_t * scrl, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_res_t lv_textarea_signal(lv_obj_t * ta, lv_signal_t sign, void * param); static lv_res_t lv_textarea_scrollable_signal(lv_obj_t * scrl, lv_signal_t sign, void * param); static lv_style_list_t * lv_textarea_get_style(lv_obj_t * ta, uint8_t part); #if LV_USE_ANIMATION static void cursor_blink_anim(lv_obj_t * ta, lv_anim_value_t show); static void pwd_char_hider_anim(lv_obj_t * ta, lv_anim_value_t x); static void pwd_char_hider_anim_ready(lv_anim_t * a); #endif static void pwd_char_hider(lv_obj_t * ta); static bool char_is_accepted(lv_obj_t * ta, uint32_t c); static void refr_cursor_area(lv_obj_t * ta); static void update_cursor_position_on_click(lv_obj_t * ta, lv_signal_t sign, lv_indev_t * click_source); static lv_res_t insert_handler(lv_obj_t * ta, const char * txt); /********************** * STATIC VARIABLES **********************/ static lv_design_cb_t ancestor_design; static lv_design_cb_t scrl_design; static lv_signal_cb_t ancestor_signal; static lv_signal_cb_t scrl_signal; static const char * ta_insert_replace; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a text area objects * @param par pointer to an object, it will be the parent of the new text area * @param copy pointer to a text area object, if not NULL then the new object will be copied from it * @return pointer to the created text area */ lv_obj_t * lv_textarea_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("text area create started"); /*Create the ancestor object*/ lv_obj_t * ta = lv_page_create(par, copy); LV_ASSERT_MEM(ta); if(ta == NULL) return NULL; if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(ta); if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(ta); if(scrl_signal == NULL) scrl_signal = lv_obj_get_signal_cb(lv_page_get_scrollable(ta)); if(scrl_design == NULL) scrl_design = lv_obj_get_design_cb(lv_page_get_scrollable(ta)); /*Allocate the object type specific extended data*/ lv_textarea_ext_t * ext = lv_obj_allocate_ext_attr(ta, sizeof(lv_textarea_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(ta); return NULL; } ext->pwd_mode = 0; ext->pwd_tmp = NULL; ext->pwd_show_time = LV_TEXTAREA_DEF_PWD_SHOW_TIME; ext->accapted_chars = NULL; ext->max_length = 0; ext->cursor.state = 1; ext->cursor.hidden = 0; ext->cursor.blink_time = LV_TEXTAREA_DEF_CURSOR_BLINK_TIME; ext->cursor.pos = 0; ext->cursor.click_pos = 1; ext->cursor.valid_x = 0; ext->one_line = 0; #if LV_LABEL_TEXT_SEL ext->text_sel_en = 0; #endif ext->label = NULL; ext->placeholder_txt = NULL; lv_style_list_init(&ext->cursor.style); lv_style_list_init(&ext->style_placeholder); #if LV_USE_ANIMATION == 0 ext->pwd_show_time = 0; ext->cursor.blink_time = 0; #endif lv_obj_set_signal_cb(ta, lv_textarea_signal); lv_obj_set_signal_cb(lv_page_get_scrollable(ta), lv_textarea_scrollable_signal); lv_obj_set_design_cb(ta, lv_textarea_design); /*Init the new text area object*/ if(copy == NULL) { lv_page_set_scrollable_fit2(ta, LV_FIT_PARENT, LV_FIT_TIGHT); ext->label = lv_label_create(ta, NULL); lv_obj_set_design_cb(ext->page.scrl, lv_textarea_scrollable_design); lv_label_set_long_mode(ext->label, LV_LABEL_LONG_BREAK); lv_label_set_text(ext->label, "Text area"); lv_obj_set_click(ext->label, false); lv_obj_set_size(ta, LV_TEXTAREA_DEF_WIDTH, LV_TEXTAREA_DEF_HEIGHT); lv_textarea_set_scrollbar_mode(ta, LV_SCROLLBAR_MODE_DRAG); lv_obj_reset_style_list(ta, LV_PAGE_PART_SCROLLABLE); lv_theme_apply(ta, LV_THEME_TEXTAREA); } /*Copy an existing object*/ else { lv_obj_set_design_cb(ext->page.scrl, lv_textarea_scrollable_design); lv_textarea_ext_t * copy_ext = lv_obj_get_ext_attr(copy); ext->label = lv_label_create(ta, copy_ext->label); ext->pwd_mode = copy_ext->pwd_mode; ext->accapted_chars = copy_ext->accapted_chars; ext->max_length = copy_ext->max_length; ext->cursor.pos = copy_ext->cursor.pos; ext->cursor.valid_x = copy_ext->cursor.valid_x; ext->cursor.hidden = copy_ext->cursor.hidden; lv_style_list_copy(&ext->cursor.style, &copy_ext->cursor.style); lv_style_list_copy(&ext->style_placeholder, &copy_ext->style_placeholder); if(ext->pwd_mode != 0) pwd_char_hider(ta); if(copy_ext->placeholder_txt) { lv_textarea_set_placeholder_text(ta, copy_ext->placeholder_txt); } if(copy_ext->pwd_tmp) { uint32_t len = _lv_mem_get_size(copy_ext->pwd_tmp); ext->pwd_tmp = lv_mem_alloc(len); LV_ASSERT_MEM(ext->pwd_tmp); if(ext->pwd_tmp == NULL) return NULL; _lv_memcpy(ext->pwd_tmp, copy_ext->pwd_tmp, len); } if(copy_ext->one_line) lv_textarea_set_one_line(ta, true); /*Refresh the style with new signal function*/ lv_obj_refresh_style(ta, LV_STYLE_PROP_ALL); } #if LV_USE_ANIMATION if(ext->cursor.blink_time) { /*Create a cursor blinker animation*/ lv_anim_path_t path; lv_anim_path_init(&path); lv_anim_path_set_cb(&path, lv_anim_path_step); lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, ta); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)cursor_blink_anim); lv_anim_set_time(&a, ext->cursor.blink_time); lv_anim_set_playback_time(&a, ext->cursor.blink_time); lv_anim_set_values(&a, 0, 1); lv_anim_set_path(&a, &path); lv_anim_set_repeat_count(&a, LV_ANIM_REPEAT_INFINITE); lv_anim_start(&a); } #endif LV_LOG_INFO("text area created"); return ta; } /*====================== * Add/remove functions *=====================*/ /** * Insert a character to the current cursor position. * To add a wide char, e.g. 'Á' use `_lv_txt_encoded_conv_wc('Á')` * @param ta pointer to a text area object * @param c a character (e.g. 'a') */ void lv_textarea_add_char(lv_obj_t * ta, uint32_t c) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); const char * letter_buf; uint32_t u32_buf[2]; u32_buf[0] = c; u32_buf[1] = 0; letter_buf = (char *)&u32_buf; #if LV_BIG_ENDIAN_SYSTEM if(c != 0) while(*letter_buf == 0) ++letter_buf; #endif lv_res_t res = insert_handler(ta, letter_buf); if(res != LV_RES_OK) return; if(ext->one_line && (c == '\n' || c == '\r')) { LV_LOG_INFO("Text area: line break ignored in one-line mode"); return; } uint32_t c_uni = _lv_txt_encoded_next((const char *)&c, NULL); if(char_is_accepted(ta, c_uni) == false) { LV_LOG_INFO("Character is no accepted by the text area (too long text or not in the " "accepted list)"); return; } /*If a new line was added it shouldn't show edge flash effect*/ bool edge_flash_en = lv_textarea_get_edge_flash(ta); lv_textarea_set_edge_flash(ta, false); if(ext->pwd_mode != 0) pwd_char_hider(ta); /*Make sure all the current text contains only '*'*/ /*If the textarea is empty, invalidate it to hide the placeholder*/ if(ext->placeholder_txt) { const char * txt = lv_label_get_text(ext->label); if(txt[0] == '\0') lv_obj_invalidate(ta); } lv_label_ins_text(ext->label, ext->cursor.pos, letter_buf); /*Insert the character*/ lv_textarea_clear_selection(ta); /*Clear selection*/ if(ext->pwd_mode != 0) { ext->pwd_tmp = lv_mem_realloc(ext->pwd_tmp, strlen(ext->pwd_tmp) + 2); /*+2: the new char + \0 */ LV_ASSERT_MEM(ext->pwd_tmp); if(ext->pwd_tmp == NULL) return; _lv_txt_ins(ext->pwd_tmp, ext->cursor.pos, (const char *)letter_buf); #if LV_USE_ANIMATION /*Auto hide characters*/ lv_anim_path_t path; lv_anim_path_init(&path); lv_anim_path_set_cb(&path, lv_anim_path_step); lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, ta); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)pwd_char_hider_anim); lv_anim_set_time(&a, ext->pwd_show_time); lv_anim_set_values(&a, 0, 1); lv_anim_set_path(&a, &path); lv_anim_set_ready_cb(&a, pwd_char_hider_anim_ready); lv_anim_start(&a); #else pwd_char_hider(ta); #endif } /*Move the cursor after the new character*/ lv_textarea_set_cursor_pos(ta, lv_textarea_get_cursor_pos(ta) + 1); /*Revert the original edge flash state*/ lv_textarea_set_edge_flash(ta, edge_flash_en); lv_event_send(ta, LV_EVENT_VALUE_CHANGED, NULL); } /** * Insert a text to the current cursor position * @param ta pointer to a text area object * @param txt a '\0' terminated string to insert */ void lv_textarea_add_text(lv_obj_t * ta, const char * txt) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); LV_ASSERT_NULL(txt); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if(ext->pwd_mode != 0) pwd_char_hider(ta); /*Make sure all the current text contains only '*'*/ /*Add the character one-by-one if not all characters are accepted or there is character limit.*/ if(lv_textarea_get_accepted_chars(ta) || lv_textarea_get_max_length(ta)) { uint32_t i = 0; while(txt[i] != '\0') { uint32_t c = _lv_txt_encoded_next(txt, &i); lv_textarea_add_char(ta, _lv_txt_unicode_to_encoded(c)); } return; } lv_res_t res = insert_handler(ta, txt); if(res != LV_RES_OK) return; /*If a new line was added it shouldn't show edge flash effect*/ bool edge_flash_en = lv_textarea_get_edge_flash(ta); lv_textarea_set_edge_flash(ta, false); /*If the textarea is empty, invalidate it to hide the placeholder*/ if(ext->placeholder_txt) { const char * txt_act = lv_label_get_text(ext->label); if(txt_act[0] == '\0') lv_obj_invalidate(ta); } /*Insert the text*/ lv_label_ins_text(ext->label, ext->cursor.pos, txt); lv_textarea_clear_selection(ta); if(ext->pwd_mode != 0) { ext->pwd_tmp = lv_mem_realloc(ext->pwd_tmp, strlen(ext->pwd_tmp) + strlen(txt) + 1); LV_ASSERT_MEM(ext->pwd_tmp); if(ext->pwd_tmp == NULL) return; _lv_txt_ins(ext->pwd_tmp, ext->cursor.pos, txt); #if LV_USE_ANIMATION /*Auto hide characters*/ lv_anim_path_t path; lv_anim_path_init(&path); lv_anim_path_set_cb(&path, lv_anim_path_step); lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, ta); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)pwd_char_hider_anim); lv_anim_set_time(&a, ext->pwd_show_time); lv_anim_set_values(&a, 0, 1); lv_anim_set_path(&a, &path); lv_anim_set_ready_cb(&a, pwd_char_hider_anim_ready); lv_anim_start(&a); #else pwd_char_hider(ta); #endif } /*Move the cursor after the new text*/ lv_textarea_set_cursor_pos(ta, lv_textarea_get_cursor_pos(ta) + _lv_txt_get_encoded_length(txt)); /*Revert the original edge flash state*/ lv_textarea_set_edge_flash(ta, edge_flash_en); lv_event_send(ta, LV_EVENT_VALUE_CHANGED, NULL); } /** * Delete a the left character from the current cursor position * @param ta pointer to a text area object */ void lv_textarea_del_char(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); uint32_t cur_pos = ext->cursor.pos; if(cur_pos == 0) return; char del_buf[2] = {LV_KEY_DEL, '\0'}; lv_res_t res = insert_handler(ta, del_buf); if(res != LV_RES_OK) return; char * label_txt = lv_label_get_text(ext->label); /*Delete a character*/ _lv_txt_cut(label_txt, ext->cursor.pos - 1, 1); /*Refresh the label*/ lv_label_set_text(ext->label, label_txt); lv_textarea_clear_selection(ta); /*If the textarea became empty, invalidate it to hide the placeholder*/ if(ext->placeholder_txt) { const char * txt = lv_label_get_text(ext->label); if(txt[0] == '\0') lv_obj_invalidate(ta); } /*Don't let 'width == 0' because cursor will not be visible*/ if(lv_obj_get_width(ext->label) == 0) { lv_style_int_t border_width = lv_obj_get_style_border_width(ta, LV_TEXTAREA_PART_CURSOR); lv_obj_set_width(ext->label, border_width == 0 ? 1 : border_width); } if(ext->pwd_mode != 0) { uint32_t byte_pos = _lv_txt_encoded_get_byte_id(ext->pwd_tmp, ext->cursor.pos - 1); _lv_txt_cut(ext->pwd_tmp, ext->cursor.pos - 1, _lv_txt_encoded_size(&ext->pwd_tmp[byte_pos])); ext->pwd_tmp = lv_mem_realloc(ext->pwd_tmp, strlen(ext->pwd_tmp) + 1); LV_ASSERT_MEM(ext->pwd_tmp); if(ext->pwd_tmp == NULL) return; } /*Move the cursor to the place of the deleted character*/ lv_textarea_set_cursor_pos(ta, ext->cursor.pos - 1); lv_event_send(ta, LV_EVENT_VALUE_CHANGED, NULL); } /** * Delete the right character from the current cursor position * @param ta pointer to a text area object */ void lv_textarea_del_char_forward(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); uint32_t cp = lv_textarea_get_cursor_pos(ta); lv_textarea_set_cursor_pos(ta, cp + 1); if(cp != lv_textarea_get_cursor_pos(ta)) lv_textarea_del_char(ta); } /*===================== * Setter functions *====================*/ /** * Set the text of a text area * @param ta pointer to a text area * @param txt pointer to the text */ void lv_textarea_set_text(lv_obj_t * ta, const char * txt) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); LV_ASSERT_NULL(txt); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); /*Clear the existing selection*/ lv_textarea_clear_selection(ta); /*Add the character one-by-one if not all characters are accepted or there is character limit.*/ if(lv_textarea_get_accepted_chars(ta) || lv_textarea_get_max_length(ta)) { lv_label_set_text(ext->label, ""); lv_textarea_set_cursor_pos(ta, LV_TEXTAREA_CURSOR_LAST); if(ext->pwd_mode != 0) { ext->pwd_tmp[0] = '\0'; /*Clear the password too*/ } uint32_t i = 0; while(txt[i] != '\0') { uint32_t c = _lv_txt_encoded_next(txt, &i); lv_textarea_add_char(ta, _lv_txt_unicode_to_encoded(c)); } } else { lv_label_set_text(ext->label, txt); lv_textarea_set_cursor_pos(ta, LV_TEXTAREA_CURSOR_LAST); } /*If the textarea is empty, invalidate it to hide the placeholder*/ if(ext->placeholder_txt) { const char * txt_act = lv_label_get_text(ext->label); if(txt_act[0] == '\0') lv_obj_invalidate(ta); } /*Don't let 'width == 0' because the cursor will not be visible*/ if(lv_obj_get_width(ext->label) == 0) { lv_style_int_t border_width = lv_obj_get_style_border_width(ta, LV_TEXTAREA_PART_CURSOR); lv_obj_set_width(ext->label, border_width == 0 ? 1 : border_width); } if(ext->pwd_mode != 0) { ext->pwd_tmp = lv_mem_realloc(ext->pwd_tmp, strlen(txt) + 1); LV_ASSERT_MEM(ext->pwd_tmp); if(ext->pwd_tmp == NULL) return; strcpy(ext->pwd_tmp, txt); #if LV_USE_ANIMATION /*Auto hide characters*/ lv_anim_path_t path; lv_anim_path_init(&path); lv_anim_path_set_cb(&path, lv_anim_path_step); lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, ta); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)pwd_char_hider_anim); lv_anim_set_time(&a, ext->pwd_show_time); lv_anim_set_values(&a, 0, 1); lv_anim_set_path(&a, &path); lv_anim_set_ready_cb(&a, pwd_char_hider_anim_ready); lv_anim_start(&a); #else pwd_char_hider(ta); #endif } lv_event_send(ta, LV_EVENT_VALUE_CHANGED, NULL); } /** * Set the placeholder_txt text of a text area * @param ta pointer to a text area * @param txt pointer to the text */ void lv_textarea_set_placeholder_text(lv_obj_t * ta, const char * txt) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); LV_ASSERT_NULL(txt); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); size_t txt_len = strlen(txt); if(txt_len == 0) { if(ext->placeholder_txt) { lv_mem_free(ext->placeholder_txt); ext->placeholder_txt = NULL; } } else { /*Allocate memory for the placeholder_txt text*/ if(ext->placeholder_txt == NULL) { ext->placeholder_txt = lv_mem_alloc(txt_len + 1); } else { ext->placeholder_txt = lv_mem_realloc(ext->placeholder_txt, txt_len + 1); } LV_ASSERT_MEM(ext->placeholder_txt); if(ext->placeholder_txt == NULL) { LV_LOG_ERROR("lv_textarea_set_placeholder_text: couldn't allocate memory for placeholder"); return; } strcpy(ext->placeholder_txt, txt); } lv_obj_invalidate(ta); } /** * Set the cursor position * @param obj pointer to a text area object * @param pos the new cursor position in character index * < 0 : index from the end of the text * LV_TEXTAREA_CURSOR_LAST: go after the last character */ void lv_textarea_set_cursor_pos(lv_obj_t * ta, int32_t pos) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if((uint32_t)ext->cursor.pos == (uint32_t)pos) return; uint32_t len = _lv_txt_get_encoded_length(lv_label_get_text(ext->label)); if(pos < 0) pos = len + pos; if(pos > (int32_t)len || pos == LV_TEXTAREA_CURSOR_LAST) pos = len; ext->cursor.pos = pos; /*Position the label to make the cursor visible*/ lv_obj_t * label_par = lv_obj_get_parent(ext->label); lv_point_t cur_pos; const lv_font_t * font = lv_obj_get_style_text_font(ta, LV_TEXTAREA_PART_BG); lv_style_int_t top = lv_obj_get_style_pad_top(ta, LV_TEXTAREA_PART_BG); lv_style_int_t bottom = lv_obj_get_style_pad_bottom(ta, LV_TEXTAREA_PART_BG); lv_area_t label_cords; lv_area_t ta_cords; lv_label_get_letter_pos(ext->label, pos, &cur_pos); lv_obj_get_coords(ta, &ta_cords); lv_obj_get_coords(ext->label, &label_cords); /*Check the top*/ lv_coord_t font_h = lv_font_get_line_height(font); if(lv_obj_get_y(label_par) + cur_pos.y < 0) { lv_obj_set_y(label_par, -cur_pos.y + top); } /*Check the bottom*/ if(label_cords.y1 + cur_pos.y + font_h + bottom > ta_cords.y2) { lv_obj_set_y(label_par, -(cur_pos.y - lv_obj_get_height(ta) + font_h + top + bottom)); } /*Check the left (use the font_h as general unit)*/ if(lv_obj_get_x(label_par) + cur_pos.x < font_h) { lv_obj_set_x(label_par, -cur_pos.x + font_h); } lv_style_int_t right = lv_obj_get_style_pad_right(ta, LV_TEXTAREA_PART_BG); lv_style_int_t left = lv_obj_get_style_pad_left(ta, LV_TEXTAREA_PART_BG); /*Check the right (use the font_h as general unit)*/ if(label_cords.x1 + cur_pos.x + font_h + right > ta_cords.x2) { lv_obj_set_x(label_par, -(cur_pos.x - lv_obj_get_width(ta) + font_h + left + right)); } ext->cursor.valid_x = cur_pos.x; #if LV_USE_ANIMATION if(ext->cursor.blink_time) { /*Reset cursor blink animation*/ lv_anim_path_t path; lv_anim_path_init(&path); lv_anim_path_set_cb(&path, lv_anim_path_step); lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, ta); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)cursor_blink_anim); lv_anim_set_time(&a, ext->cursor.blink_time); lv_anim_set_playback_time(&a, ext->cursor.blink_time); lv_anim_set_values(&a, 1, 0); lv_anim_set_path(&a, &path); lv_anim_set_repeat_count(&a, LV_ANIM_REPEAT_INFINITE); lv_anim_start(&a); } #endif refr_cursor_area(ta); } /** * Hide/Unhide the cursor. * @param ta pointer to a text area object * @param hide: true: hide the cursor */ void lv_textarea_set_cursor_hidden(lv_obj_t * ta, bool hide) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); ext->cursor.hidden = hide ? 1 : 0; refr_cursor_area(ta); } /** * Enable/Disable the positioning of the the cursor by clicking the text on the text area. * @param ta pointer to a text area object * @param en true: enable click positions; false: disable */ void lv_textarea_set_cursor_click_pos(lv_obj_t * ta, bool en) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); ext->cursor.click_pos = en ? 1 : 0; } /** * Enable/Disable password mode * @param ta pointer to a text area object * @param en true: enable, false: disable */ void lv_textarea_set_pwd_mode(lv_obj_t * ta, bool en) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if(ext->pwd_mode == en) return; /*Pwd mode is now enabled*/ if(ext->pwd_mode == 0 && en != false) { char * txt = lv_label_get_text(ext->label); size_t len = strlen(txt); ext->pwd_tmp = lv_mem_alloc(len + 1); LV_ASSERT_MEM(ext->pwd_tmp); if(ext->pwd_tmp == NULL) return; strcpy(ext->pwd_tmp, txt); pwd_char_hider(ta); lv_textarea_clear_selection(ta); } /*Pwd mode is now disabled*/ else if(ext->pwd_mode == 1 && en == false) { lv_textarea_clear_selection(ta); lv_label_set_text(ext->label, ext->pwd_tmp); lv_mem_free(ext->pwd_tmp); ext->pwd_tmp = NULL; } ext->pwd_mode = en == false ? 0 : 1; refr_cursor_area(ta); } /** * Configure the text area to one line or back to normal * @param ta pointer to a Text area object * @param en true: one line, false: normal */ void lv_textarea_set_one_line(lv_obj_t * ta, bool en) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if(ext->one_line == en) return; lv_label_align_t old_align = lv_label_get_align(ext->label); if(en) { lv_style_int_t top = lv_obj_get_style_pad_top(ta, LV_TEXTAREA_PART_BG); lv_style_int_t bottom = lv_obj_get_style_pad_bottom(ta, LV_TEXTAREA_PART_BG); lv_style_int_t left = lv_obj_get_style_pad_left(ta, LV_TEXTAREA_PART_BG); const lv_font_t * font = lv_obj_get_style_text_font(ta, LV_TEXTAREA_PART_BG); lv_coord_t font_h = lv_font_get_line_height(font); ext->one_line = 1; lv_page_set_scrollable_fit2(ta, LV_FIT_MAX, LV_FIT_PARENT); lv_obj_set_height(ta, font_h + top + bottom); lv_label_set_long_mode(ext->label, LV_LABEL_LONG_EXPAND); lv_obj_set_pos(lv_page_get_scrollable(ta), left, top); } else { lv_style_int_t top = lv_obj_get_style_pad_top(ta, LV_TEXTAREA_PART_BG); lv_style_int_t left = lv_obj_get_style_pad_left(ta, LV_TEXTAREA_PART_BG); ext->one_line = 0; lv_page_set_scrollable_fit2(ta, LV_FIT_PARENT, LV_FIT_TIGHT); lv_label_set_long_mode(ext->label, LV_LABEL_LONG_BREAK); lv_obj_set_height(ta, LV_TEXTAREA_DEF_HEIGHT); lv_obj_set_pos(lv_page_get_scrollable(ta), left, top); } /* `refr_cursor_area` is called at the end of lv_ta_set_text_align */ lv_textarea_set_text_align(ta, old_align); } /** * Set the alignment of the text area. * In one line mode the text can be scrolled only with `LV_LABEL_ALIGN_LEFT`. * This function should be called if the size of text area changes. * @param ta pointer to a text are object * @param align the desired alignment from `lv_label_align_t`. (LV_LABEL_ALIGN_LEFT/CENTER/RIGHT) */ void lv_textarea_set_text_align(lv_obj_t * ta, lv_label_align_t align) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); lv_obj_t * label = lv_textarea_get_label(ta); if(!ext->one_line) { lv_label_set_align(label, align); } else { /*Normal left align. Just let the text expand*/ if(align == LV_LABEL_ALIGN_LEFT) { lv_label_set_long_mode(label, LV_LABEL_LONG_EXPAND); lv_page_set_scrollable_fit2(ta, LV_FIT_MAX, LV_FIT_PARENT); lv_label_set_align(label, align); } /*Else use fix label width equal to the Text area width*/ else { lv_label_set_long_mode(label, LV_LABEL_LONG_CROP); lv_obj_set_width(label, lv_page_get_width_fit(ta)); lv_label_set_align(label, align); lv_page_set_scrollable_fit2(ta, LV_FIT_PARENT, LV_FIT_PARENT); } } refr_cursor_area(ta); } /** * Set a list of characters. Only these characters will be accepted by the text area * @param ta pointer to Text Area * @param list list of characters. Only the pointer is saved. E.g. "+-.,0123456789" */ void lv_textarea_set_accepted_chars(lv_obj_t * ta, const char * list) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); ext->accapted_chars = list; } /** * Set max length of a Text Area. * @param ta pointer to Text Area * @param num the maximal number of characters can be added (`lv_textarea_set_text` ignores it) */ void lv_textarea_set_max_length(lv_obj_t * ta, uint32_t num) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); ext->max_length = num; } /** * In `LV_EVENT_INSERT` the text which planned to be inserted can be replaced by an other text. * It can be used to add automatic formatting to the text area. * @param ta pointer to a text area. * @param txt pointer to a new string to insert. If `""` no text will be added. * The variable must be live after the `event_cb` exists. (Should be `global` or * `static`) */ void lv_textarea_set_insert_replace(lv_obj_t * ta, const char * txt) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); (void)ta; /*Unused*/ ta_insert_replace = txt; } /** * Enable/disable selection mode. * @param ta pointer to a text area object * @param en true or false to enable/disable selection mode */ void lv_textarea_set_text_sel(lv_obj_t * ta, bool en) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); #if LV_LABEL_TEXT_SEL lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); ext->text_sel_en = en; if(!en) lv_textarea_clear_selection(ta); #else (void)ta; /*Unused*/ (void)en; /*Unused*/ #endif } /** * Set how long show the password before changing it to '*' * @param ta pointer to Text area * @param time show time in milliseconds. 0: hide immediately. */ void lv_textarea_set_pwd_show_time(lv_obj_t * ta, uint16_t time) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); #if LV_USE_ANIMATION == 0 time = 0; #endif lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); ext->pwd_show_time = time; } /** * Set cursor blink animation time * @param ta pointer to Text area * @param time blink period. 0: disable blinking */ void lv_textarea_set_cursor_blink_time(lv_obj_t * ta, uint16_t time) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); #if LV_USE_ANIMATION == 0 time = 0; #endif lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); ext->cursor.blink_time = time; #if LV_USE_ANIMATION if(ext->cursor.blink_time) { /*Reset cursor blink animation*/ lv_anim_path_t path; lv_anim_path_init(&path); lv_anim_path_set_cb(&path, lv_anim_path_step); lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, ta); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)cursor_blink_anim); lv_anim_set_time(&a, ext->cursor.blink_time); lv_anim_set_playback_time(&a, ext->cursor.blink_time); lv_anim_set_values(&a, 1, 0); lv_anim_set_path(&a, &path); lv_anim_start(&a); } else { lv_anim_del(ta, (lv_anim_exec_xcb_t)cursor_blink_anim); ext->cursor.state = 1; } #else ext->cursor.state = 1; #endif } /*===================== * Getter functions *====================*/ /** * Get the text of a text area. In password mode it gives the real text (not '*'s). * @param ta pointer to a text area object * @return pointer to the text */ const char * lv_textarea_get_text(const lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); const char * txt; if(ext->pwd_mode == 0) { txt = lv_label_get_text(ext->label); } else { txt = ext->pwd_tmp; } return txt; } /** * Get the placeholder_txt text of a text area * @param ta pointer to a text area object * @return pointer to the text */ const char * lv_textarea_get_placeholder_text(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if(ext->placeholder_txt) return ext->placeholder_txt; else return ""; } /** * Get the label of a text area * @param ta pointer to a text area object * @return pointer to the label object */ lv_obj_t * lv_textarea_get_label(const lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->label; } /** * Get the current cursor position in character index * @param ta pointer to a text area object * @return the cursor position */ uint32_t lv_textarea_get_cursor_pos(const lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->cursor.pos; } /** * Get whether the cursor is hidden or not * @param ta pointer to a text area object * @return true: the cursor is hidden */ bool lv_textarea_get_cursor_hidden(const lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->cursor.hidden ? true : false; } /** * Get whether the cursor click positioning is enabled or not. * @param ta pointer to a text area object * @return true: enable click positions; false: disable */ bool lv_textarea_get_cursor_click_pos(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->cursor.click_pos ? true : false; } /** * Get the password mode attribute * @param ta pointer to a text area object * @return true: password mode is enabled, false: disabled */ bool lv_textarea_get_pwd_mode(const lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->pwd_mode == 0 ? false : true; } /** * Get the one line configuration attribute * @param ta pointer to a text area object * @return true: one line configuration is enabled, false: disabled */ bool lv_textarea_get_one_line(const lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->one_line == 0 ? false : true; } /** * Get a list of accepted characters. * @param ta pointer to Text Area * @return list of accented characters. */ const char * lv_textarea_get_accepted_chars(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->accapted_chars; } /** * Set max length of a Text Area. * @param ta pointer to Text Area * @return the maximal number of characters to be add */ uint32_t lv_textarea_get_max_length(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->max_length; } /** * Find whether text is selected or not. * @param ta Text area object * @return whether text is selected or not */ bool lv_textarea_text_is_selected(const lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); #if LV_LABEL_TEXT_SEL lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if((lv_label_get_text_sel_start(ext->label) == LV_DRAW_LABEL_NO_TXT_SEL || lv_label_get_text_sel_end(ext->label) == LV_DRAW_LABEL_NO_TXT_SEL)) { return true; } else { return false; } #else (void)ta; /*Unused*/ return false; #endif } /** * Find whether selection mode is enabled. * @param ta pointer to a text area object * @return true: selection mode is enabled, false: disabled */ bool lv_textarea_get_text_sel_en(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); #if LV_LABEL_TEXT_SEL lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->text_sel_en; #else (void)ta; /*Unused*/ return false; #endif } /** * Set how long show the password before changing it to '*' * @param ta pointer to Text area * @return show time in milliseconds. 0: hide immediately. */ uint16_t lv_textarea_get_pwd_show_time(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->pwd_show_time; } /** * Set cursor blink animation time * @param ta pointer to Text area * @return time blink period. 0: disable blinking */ uint16_t lv_textarea_get_cursor_blink_time(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); return ext->cursor.blink_time; } /*===================== * Other functions *====================*/ /** * Clear the selection on the text area. * @param ta Text area object */ void lv_textarea_clear_selection(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); #if LV_LABEL_TEXT_SEL lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if(lv_label_get_text_sel_start(ext->label) != LV_DRAW_LABEL_NO_TXT_SEL || lv_label_get_text_sel_end(ext->label) != LV_DRAW_LABEL_NO_TXT_SEL) { lv_label_set_text_sel_start(ext->label, LV_DRAW_LABEL_NO_TXT_SEL); lv_label_set_text_sel_end(ext->label, LV_DRAW_LABEL_NO_TXT_SEL); } #else (void)ta; /*Unused*/ #endif } /** * Move the cursor one character right * @param ta pointer to a text area object */ void lv_textarea_cursor_right(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); uint32_t cp = lv_textarea_get_cursor_pos(ta); cp++; lv_textarea_set_cursor_pos(ta, cp); } /** * Move the cursor one character left * @param ta pointer to a text area object */ void lv_textarea_cursor_left(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); uint32_t cp = lv_textarea_get_cursor_pos(ta); if(cp > 0) { cp--; lv_textarea_set_cursor_pos(ta, cp); } } /** * Move the cursor one line down * @param ta pointer to a text area object */ void lv_textarea_cursor_down(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); lv_point_t pos; /*Get the position of the current letter*/ lv_label_get_letter_pos(ext->label, lv_textarea_get_cursor_pos(ta), &pos); /*Increment the y with one line and keep the valid x*/ lv_style_int_t line_space = lv_obj_get_style_text_line_space(ta, LV_TEXTAREA_PART_BG); const lv_font_t * font = lv_obj_get_style_text_font(ta, LV_TEXTAREA_PART_BG); lv_coord_t font_h = lv_font_get_line_height(font); pos.y += font_h + line_space + 1; pos.x = ext->cursor.valid_x; /*Do not go below the last line*/ if(pos.y < lv_obj_get_height(ext->label)) { /*Get the letter index on the new cursor position and set it*/ uint32_t new_cur_pos = lv_label_get_letter_on(ext->label, &pos); lv_coord_t cur_valid_x_tmp = ext->cursor.valid_x; /*Cursor position set overwrites the valid position */ lv_textarea_set_cursor_pos(ta, new_cur_pos); ext->cursor.valid_x = cur_valid_x_tmp; } } /** * Move the cursor one line up * @param ta pointer to a text area object */ void lv_textarea_cursor_up(lv_obj_t * ta) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); lv_point_t pos; /*Get the position of the current letter*/ lv_label_get_letter_pos(ext->label, lv_textarea_get_cursor_pos(ta), &pos); /*Decrement the y with one line and keep the valid x*/ lv_style_int_t line_space = lv_obj_get_style_text_line_space(ta, LV_TEXTAREA_PART_BG); const lv_font_t * font = lv_obj_get_style_text_font(ta, LV_TEXTAREA_PART_BG); lv_coord_t font_h = lv_font_get_line_height(font); pos.y -= font_h + line_space - 1; pos.x = ext->cursor.valid_x; /*Get the letter index on the new cursor position and set it*/ uint32_t new_cur_pos = lv_label_get_letter_on(ext->label, &pos); lv_coord_t cur_valid_x_tmp = ext->cursor.valid_x; /*Cursor position set overwrites the valid position */ lv_textarea_set_cursor_pos(ta, new_cur_pos); ext->cursor.valid_x = cur_valid_x_tmp; } /********************** * STATIC FUNCTIONS **********************/ /** * Handle the drawing related tasks of the text areas * @param ta pointer to an object * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW_MAIN: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_textarea_design(lv_obj_t * ta, const lv_area_t * clip_area, lv_design_mode_t mode) { if(mode == LV_DESIGN_COVER_CHK) { /*Return false if the object is not covers the mask_p area*/ return ancestor_design(ta, clip_area, mode); } else if(mode == LV_DESIGN_DRAW_MAIN) { /*Draw the object*/ ancestor_design(ta, clip_area, mode); } else if(mode == LV_DESIGN_DRAW_POST) { ancestor_design(ta, clip_area, mode); } return LV_DESIGN_RES_OK; } /** * An extended scrollable design of the page. Calls the normal design function and draws a cursor. * @param scrl pointer to the scrollable part of the Text area * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW_MAIN: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @return return true/false, depends on 'mode' */ static lv_design_res_t lv_textarea_scrollable_design(lv_obj_t * scrl, const lv_area_t * clip_area, lv_design_mode_t mode) { if(mode == LV_DESIGN_COVER_CHK) { /*Return false if the object is not covers the mask_p area*/ return scrl_design(scrl, clip_area, mode); } else if(mode == LV_DESIGN_DRAW_MAIN) { /*Draw the object*/ scrl_design(scrl, clip_area, mode); } else if(mode == LV_DESIGN_DRAW_POST) { scrl_design(scrl, clip_area, mode); lv_obj_t * ta = lv_obj_get_parent(scrl); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); const char * txt = lv_label_get_text(ext->label); /*Draw the place holder*/ if(txt[0] == '\0' && ext->placeholder_txt && ext->placeholder_txt[0] != 0) { lv_draw_label_dsc_t ph_dsc; lv_draw_label_dsc_init(&ph_dsc); lv_obj_init_draw_label_dsc(ta, LV_TEXTAREA_PART_PLACEHOLDER, &ph_dsc); switch(lv_label_get_align(ext->label)) { case LV_LABEL_ALIGN_CENTER: ph_dsc.flag |= LV_TXT_FLAG_CENTER; break; case LV_LABEL_ALIGN_RIGHT: ph_dsc.flag |= LV_TXT_FLAG_RIGHT; break; default: break; } if(ext->one_line) ph_dsc.flag |= LV_TXT_FLAG_EXPAND; lv_draw_label(&scrl->coords, clip_area, &ph_dsc, ext->placeholder_txt, NULL); } /*Draw the cursor*/ if(ext->cursor.hidden || ext->cursor.state == 0) { return LV_DESIGN_RES_OK; /*The cursor is not visible now*/ } lv_draw_rect_dsc_t cur_dsc; lv_draw_rect_dsc_init(&cur_dsc); lv_obj_init_draw_rect_dsc(ta, LV_TEXTAREA_PART_CURSOR, &cur_dsc); /*Draw he cursor according to the type*/ lv_area_t cur_area; lv_area_copy(&cur_area, &ext->cursor.area); cur_area.x1 += ext->label->coords.x1; cur_area.y1 += ext->label->coords.y1; cur_area.x2 += ext->label->coords.x1; cur_area.y2 += ext->label->coords.y1; lv_draw_rect(&cur_area, clip_area, &cur_dsc); char letter_buf[8] = {0}; _lv_memcpy(letter_buf, &txt[ext->cursor.txt_byte_pos], _lv_txt_encoded_size(&txt[ext->cursor.txt_byte_pos])); if(cur_dsc.bg_opa == LV_OPA_COVER) { lv_style_int_t left = lv_obj_get_style_pad_left(ta, LV_TEXTAREA_PART_CURSOR); lv_style_int_t top = lv_obj_get_style_pad_top(ta, LV_TEXTAREA_PART_CURSOR); cur_area.x1 += left; cur_area.y1 += top; lv_draw_label_dsc_t cur_label_dsc; lv_draw_label_dsc_init(&cur_label_dsc); lv_obj_init_draw_label_dsc(ta, LV_TEXTAREA_PART_CURSOR, &cur_label_dsc); lv_draw_label(&cur_area, clip_area, &cur_label_dsc, letter_buf, NULL); } } return LV_DESIGN_RES_OK; } /** * Signal function of the text area * @param ta pointer to a text area object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_textarea_signal(lv_obj_t * ta, lv_signal_t sign, void * param) { lv_res_t res; if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_textarea_get_style(ta, info->part); if(info->result != NULL) return LV_RES_OK; else return ancestor_signal(ta, sign, param); } else if(sign == LV_SIGNAL_GET_STATE_DSC) { return ancestor_signal(ta, sign, param); } /* Include the ancient signal function */ res = ancestor_signal(ta, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if(sign == LV_SIGNAL_CLEANUP) { if(ext->pwd_tmp != NULL) lv_mem_free(ext->pwd_tmp); if(ext->placeholder_txt != NULL) lv_mem_free(ext->placeholder_txt); ext->pwd_tmp = NULL; ext->placeholder_txt = NULL; lv_obj_clean_style_list(ta, LV_TEXTAREA_PART_CURSOR); lv_obj_clean_style_list(ta, LV_TEXTAREA_PART_PLACEHOLDER); /* (The created label will be deleted automatically) */ } else if(sign == LV_SIGNAL_STYLE_CHG) { if(ext->label) { if(ext->one_line) { lv_style_int_t top = lv_obj_get_style_pad_top(ta, LV_TEXTAREA_PART_BG); lv_style_int_t bottom = lv_obj_get_style_pad_bottom(ta, LV_TEXTAREA_PART_BG); const lv_font_t * font = lv_obj_get_style_text_font(ta, LV_TEXTAREA_PART_BG); /*In one line mode refresh the Text Area height because 'vpad' can modify it*/ lv_coord_t font_h = lv_font_get_line_height(font); lv_obj_set_height(ext->label, font_h); lv_obj_set_height(ta, font_h + top + bottom); } else { /*In not one line mode refresh the Label width because 'hpad' can modify it*/ lv_obj_set_width(ext->label, lv_page_get_width_fit(ta)); lv_obj_set_pos(ext->label, 0, 0); /*Be sure the Label is in the correct position*/ } lv_label_set_text(ext->label, NULL); refr_cursor_area(ta); } } else if(sign == LV_SIGNAL_COORD_CHG) { /*Set the label width according to the text area width*/ if(ext->label) { if(lv_obj_get_width(ta) != lv_area_get_width(param) || lv_obj_get_height(ta) != lv_area_get_height(param)) { lv_obj_set_width(ext->label, lv_page_get_width_fit(ta)); lv_obj_set_pos(ext->label, 0, 0); lv_label_set_text(ext->label, NULL); /*Refresh the label*/ refr_cursor_area(ta); } } } else if(sign == LV_SIGNAL_CONTROL) { #if LV_USE_GROUP uint32_t c = *((uint32_t *)param); /*uint32_t because can be UTF-8*/ if(c == LV_KEY_RIGHT) lv_textarea_cursor_right(ta); else if(c == LV_KEY_LEFT) lv_textarea_cursor_left(ta); else if(c == LV_KEY_UP) lv_textarea_cursor_up(ta); else if(c == LV_KEY_DOWN) lv_textarea_cursor_down(ta); else if(c == LV_KEY_BACKSPACE) lv_textarea_del_char(ta); else if(c == LV_KEY_DEL) lv_textarea_del_char_forward(ta); else if(c == LV_KEY_HOME) lv_textarea_set_cursor_pos(ta, 0); else if(c == LV_KEY_END) lv_textarea_set_cursor_pos(ta, LV_TEXTAREA_CURSOR_LAST); else { lv_textarea_add_char(ta, c); } #endif } else if(sign == LV_SIGNAL_GET_EDITABLE) { #if LV_USE_GROUP bool * editable = (bool *)param; *editable = true; #endif } else if(sign == LV_SIGNAL_PRESSED || sign == LV_SIGNAL_PRESSING || sign == LV_SIGNAL_PRESS_LOST || sign == LV_SIGNAL_RELEASED) { update_cursor_position_on_click(ta, sign, (lv_indev_t *)param); } return res; } /** * Signal function of the scrollable part of the text area * @param scrl pointer to scrollable part of a text area object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_textarea_scrollable_signal(lv_obj_t * scrl, lv_signal_t sign, void * param) { lv_res_t res; /* Include the ancient signal function */ res = scrl_signal(scrl, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, ""); lv_obj_t * ta = lv_obj_get_parent(scrl); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if(sign == LV_SIGNAL_REFR_EXT_DRAW_PAD) { /*Set ext. size because the cursor might be out of this object*/ lv_style_int_t line_space = lv_obj_get_style_text_line_space(ta, LV_TEXTAREA_PART_BG); const lv_font_t * font = lv_obj_get_style_text_font(ta, LV_TEXTAREA_PART_BG); lv_coord_t font_h = lv_font_get_line_height(font); scrl->ext_draw_pad = LV_MATH_MAX(scrl->ext_draw_pad, line_space + font_h); } else if(sign == LV_SIGNAL_COORD_CHG) { /*Set the label width according to the text area width*/ if(ext->label) { if(lv_obj_get_width(scrl) != lv_area_get_width(param) || lv_obj_get_height(scrl) != lv_area_get_height(param)) { lv_obj_set_width(ext->label, lv_page_get_width_fit(ta)); lv_obj_set_pos(ext->label, 0, 0); lv_label_set_text(ext->label, NULL); /*Refresh the label*/ refr_cursor_area(ta); } } } else if(sign == LV_SIGNAL_PRESSING || sign == LV_SIGNAL_PRESSED || sign == LV_SIGNAL_PRESS_LOST || sign == LV_SIGNAL_RELEASED) { update_cursor_position_on_click(ta, sign, (lv_indev_t *)param); } return res; } /** * Get the style descriptor of a part of the object * @param page pointer the object * @param part the part from `lv_textarea_part_t`. (LV_TEXTAREA_PART_...) * @return pointer to the style descriptor of the specified part */ static lv_style_list_t * lv_textarea_get_style(lv_obj_t * ta, uint8_t part) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); lv_style_list_t * style_dsc_p; switch(part) { case LV_TEXTAREA_PART_BG: style_dsc_p = &ta->style_list; break; case LV_TEXTAREA_PART_SCROLLBAR: style_dsc_p = &ext->page.scrlbar.style; break; case LV_TEXTAREA_PART_CURSOR: style_dsc_p = &ext->cursor.style; break; #if LV_USE_ANIMATION case LV_TEXTAREA_PART_EDGE_FLASH: style_dsc_p = &ext->page.edge_flash.style; break; #endif case LV_TEXTAREA_PART_PLACEHOLDER: style_dsc_p = &ext->style_placeholder; break; default: style_dsc_p = NULL; } return style_dsc_p; } #if LV_USE_ANIMATION /** * Called to blink the cursor * @param ta pointer to a text area * @param hide 1: hide the cursor, 0: show it */ static void cursor_blink_anim(lv_obj_t * ta, lv_anim_value_t show) { lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if(show != ext->cursor.state) { ext->cursor.state = show == 0 ? 0 : 1; if(ext->cursor.hidden == 0) { lv_area_t area_tmp; lv_area_copy(&area_tmp, &ext->cursor.area); area_tmp.x1 += ext->label->coords.x1; area_tmp.y1 += ext->label->coords.y1; area_tmp.x2 += ext->label->coords.x1; area_tmp.y2 += ext->label->coords.y1; lv_obj_invalidate_area(ta, &area_tmp); } } } /** * Dummy function to animate char hiding in pwd mode. * Does nothing, but a function is required in car hiding anim. * (pwd_char_hider callback do the real job) * @param ta unused * @param x unused */ static void pwd_char_hider_anim(lv_obj_t * ta, lv_anim_value_t x) { (void)ta; (void)x; } /** * Call when an animation is ready to convert all characters to '*' * @param a pointer to the animation */ static void pwd_char_hider_anim_ready(lv_anim_t * a) { lv_obj_t * ta = a->var; pwd_char_hider(ta); } #endif /** * Hide all characters (convert them to '*') * @param ta: pointer to text area object */ static void pwd_char_hider(lv_obj_t * ta) { lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if(ext->pwd_mode != 0) { char * txt = lv_label_get_text(ext->label); int32_t enc_len = _lv_txt_get_encoded_length(txt); if(enc_len == 0) return; /*If the textarea's font has "bullet" character use it else fallback to "*"*/ const lv_font_t * font = lv_obj_get_style_text_font(ta, LV_TEXTAREA_PART_BG); lv_font_glyph_dsc_t g; bool has_bullet; has_bullet = lv_font_get_glyph_dsc(font, &g, LV_TEXTAREA_PWD_BULLET_UNICODE, 0); const char * bullet; if(has_bullet) bullet = LV_SYMBOL_BULLET; else bullet = "*"; size_t bullet_len = strlen(bullet); char * txt_tmp = _lv_mem_buf_get(enc_len * bullet_len + 1); int32_t i; for(i = 0; i < enc_len; i++) { _lv_memcpy(&txt_tmp[i * bullet_len], bullet, bullet_len); } txt_tmp[i * bullet_len] = '\0'; lv_label_set_text(ext->label, txt_tmp); _lv_mem_buf_release(txt_tmp); } } /** * Test an unicode character if it is accepted or not. Checks max length and accepted char list. * @param ta pointer to a test area object * @param c an unicode character * @return true: accepted; false: rejected */ static bool char_is_accepted(lv_obj_t * ta, uint32_t c) { lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); /*If no restriction accept it*/ if(ext->accapted_chars == NULL && ext->max_length == 0) return true; /*Too many characters?*/ if(ext->max_length > 0 && _lv_txt_get_encoded_length(lv_textarea_get_text(ta)) >= ext->max_length) { return false; } /*Accepted character?*/ if(ext->accapted_chars) { uint32_t i = 0; while(ext->accapted_chars[i] != '\0') { uint32_t a = _lv_txt_encoded_next(ext->accapted_chars, &i); if(a == c) return true; /*Accepted*/ } return false; /*The character wasn't in the list*/ } else { return true; /*If the accepted char list in not specified the accept the character*/ } } static void refr_cursor_area(lv_obj_t * ta) { lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); const lv_font_t * font = lv_obj_get_style_text_font(ta, LV_TEXTAREA_PART_BG); lv_style_int_t line_space = lv_obj_get_style_text_line_space(ta, LV_TEXTAREA_PART_BG); uint32_t cur_pos = lv_textarea_get_cursor_pos(ta); const char * txt = lv_label_get_text(ext->label); uint32_t byte_pos; byte_pos = _lv_txt_encoded_get_byte_id(txt, cur_pos); uint32_t letter = _lv_txt_encoded_next(&txt[byte_pos], NULL); lv_coord_t letter_h = lv_font_get_line_height(font); /*Set letter_w (set not 0 on non printable but valid chars)*/ lv_coord_t letter_w; if(letter == '\0' || letter == '\n' || letter == '\r') { letter_w = lv_font_get_glyph_width(font, ' ', '\0'); } else { /*`letter_next` parameter is '\0' to ignore kerning*/ letter_w = lv_font_get_glyph_width(font, letter, '\0'); } lv_point_t letter_pos; lv_label_get_letter_pos(ext->label, cur_pos, &letter_pos); /*If the cursor is out of the text (most right) draw it to the next line*/ if(letter_pos.x + ext->label->coords.x1 + letter_w > ext->label->coords.x2 && ext->one_line == 0 && lv_label_get_align(ext->label) != LV_LABEL_ALIGN_RIGHT) { letter_pos.x = 0; letter_pos.y += letter_h + line_space; if(letter != '\0') { byte_pos += _lv_txt_encoded_size(&txt[byte_pos]); letter = _lv_txt_encoded_next(&txt[byte_pos], NULL); } if(letter == '\0' || letter == '\n' || letter == '\r') { letter_w = lv_font_get_glyph_width(font, ' ', '\0'); } else { letter_w = lv_font_get_glyph_width(font, letter, '\0'); } } /*Save the byte position. It is required to draw `LV_CURSOR_BLOCK`*/ ext->cursor.txt_byte_pos = byte_pos; /*Calculate the cursor according to its type*/ lv_style_int_t top = lv_obj_get_style_pad_top(ta, LV_TEXTAREA_PART_CURSOR); lv_style_int_t bottom = lv_obj_get_style_pad_bottom(ta, LV_TEXTAREA_PART_CURSOR); lv_style_int_t left = lv_obj_get_style_pad_left(ta, LV_TEXTAREA_PART_CURSOR); lv_style_int_t right = lv_obj_get_style_pad_right(ta, LV_TEXTAREA_PART_CURSOR); lv_area_t cur_area; cur_area.x1 = letter_pos.x - left; cur_area.y1 = letter_pos.y - top; cur_area.x2 = letter_pos.x + right + letter_w; cur_area.y2 = letter_pos.y + bottom + letter_h; /*Save the new area*/ lv_area_t area_tmp; lv_area_copy(&area_tmp, &ext->cursor.area); area_tmp.x1 += ext->label->coords.x1; area_tmp.y1 += ext->label->coords.y1; area_tmp.x2 += ext->label->coords.x1; area_tmp.y2 += ext->label->coords.y1; lv_obj_invalidate_area(ta, &area_tmp); lv_area_copy(&ext->cursor.area, &cur_area); lv_area_copy(&area_tmp, &ext->cursor.area); area_tmp.x1 += ext->label->coords.x1; area_tmp.y1 += ext->label->coords.y1; area_tmp.x2 += ext->label->coords.x1; area_tmp.y2 += ext->label->coords.y1; lv_obj_invalidate_area(ta, &area_tmp); } static void update_cursor_position_on_click(lv_obj_t * ta, lv_signal_t sign, lv_indev_t * click_source) { if(click_source == NULL) return; lv_textarea_ext_t * ext = lv_obj_get_ext_attr(ta); if(ext->cursor.click_pos == 0) return; if(ext->cursor.hidden) return; if(lv_indev_get_type(click_source) == LV_INDEV_TYPE_KEYPAD || lv_indev_get_type(click_source) == LV_INDEV_TYPE_ENCODER) { return; } lv_area_t label_coords; lv_obj_get_coords(ext->label, &label_coords); lv_point_t point_act, vect_act; lv_indev_get_point(click_source, &point_act); lv_indev_get_vect(click_source, &vect_act); if(point_act.x < 0 || point_act.y < 0) return; /*Ignore event from keypad*/ lv_point_t rel_pos; rel_pos.x = point_act.x - label_coords.x1; rel_pos.y = point_act.y - label_coords.y1; lv_coord_t label_width = lv_obj_get_width(ext->label); uint16_t char_id_at_click; #if LV_LABEL_TEXT_SEL lv_label_ext_t * ext_label = lv_obj_get_ext_attr(ext->label); bool click_outside_label; /*Check if the click happened on the left side of the area outside the label*/ if(rel_pos.x < 0) { char_id_at_click = 0; click_outside_label = true; } /*Check if the click happened on the right side of the area outside the label*/ else if(rel_pos.x >= label_width) { char_id_at_click = LV_TEXTAREA_CURSOR_LAST; click_outside_label = true; } else { char_id_at_click = lv_label_get_letter_on(ext->label, &rel_pos); click_outside_label = !lv_label_is_char_under_pos(ext->label, &rel_pos); } if(ext->text_sel_en) { if(!ext->text_sel_in_prog && !click_outside_label && sign == LV_SIGNAL_PRESSED) { /*Input device just went down. Store the selection start position*/ ext->sel_start = char_id_at_click; ext->sel_end = LV_LABEL_TEXT_SEL_OFF; ext->text_sel_in_prog = 1; lv_obj_set_drag(lv_page_get_scrollable(ta), false); } else if(ext->text_sel_in_prog && sign == LV_SIGNAL_PRESSING) { /*Input device may be moving. Store the end position */ ext->sel_end = char_id_at_click; } else if(ext->text_sel_in_prog && (sign == LV_SIGNAL_PRESS_LOST || sign == LV_SIGNAL_RELEASED)) { /*Input device is released. Check if anything was selected.*/ lv_obj_set_drag(lv_page_get_scrollable(ta), true); } } if(ext->text_sel_in_prog || sign == LV_SIGNAL_PRESSED) lv_textarea_set_cursor_pos(ta, char_id_at_click); if(ext->text_sel_in_prog) { /*If the selected area has changed then update the real values and*/ /*Invalidate the text area.*/ if(ext->sel_start > ext->sel_end) { if(ext_label->sel_start != ext->sel_end || ext_label->sel_end != ext->sel_start) { ext_label->sel_start = ext->sel_end; ext_label->sel_end = ext->sel_start; lv_obj_invalidate(ta); } } else if(ext->sel_start < ext->sel_end) { if(ext_label->sel_start != ext->sel_start || ext_label->sel_end != ext->sel_end) { ext_label->sel_start = ext->sel_start; ext_label->sel_end = ext->sel_end; lv_obj_invalidate(ta); } } else { if(ext_label->sel_start != LV_DRAW_LABEL_NO_TXT_SEL || ext_label->sel_end != LV_DRAW_LABEL_NO_TXT_SEL) { ext_label->sel_start = LV_DRAW_LABEL_NO_TXT_SEL; ext_label->sel_end = LV_DRAW_LABEL_NO_TXT_SEL; lv_obj_invalidate(ta); } } /*Finish selection if necessary */ if(sign == LV_SIGNAL_PRESS_LOST || sign == LV_SIGNAL_RELEASED) { ext->text_sel_in_prog = 0; } } #else /*Check if the click happened on the left side of the area outside the label*/ if(rel_pos.x < 0) { char_id_at_click = 0; } /*Check if the click happened on the right side of the area outside the label*/ else if(rel_pos.x >= label_width) { char_id_at_click = LV_TEXTAREA_CURSOR_LAST; } else { char_id_at_click = lv_label_get_letter_on(ext->label, &rel_pos); } if(sign == LV_SIGNAL_PRESSED) lv_textarea_set_cursor_pos(ta, char_id_at_click); #endif } static lv_res_t insert_handler(lv_obj_t * ta, const char * txt) { ta_insert_replace = NULL; lv_event_send(ta, LV_EVENT_INSERT, txt); if(ta_insert_replace) { if(ta_insert_replace[0] == '\0') return LV_RES_INV; /*Drop this text*/ /*Add the replaced text directly it's different from the original*/ if(strcmp(ta_insert_replace, txt)) { lv_textarea_add_text(ta, ta_insert_replace); return LV_RES_INV; } } return LV_RES_OK; } #endif
62,128
lv_textarea
c
en
c
code
{"qsc_code_num_words": 9881, "qsc_code_num_chars": 62128.0, "qsc_code_mean_word_length": 3.73342779, "qsc_code_frac_words_unique": 0.05009614, "qsc_code_frac_chars_top_2grams": 0.06044999, "qsc_code_frac_chars_top_3grams": 0.02103551, "qsc_code_frac_chars_top_4grams": 0.01322852, "qsc_code_frac_chars_dupe_5grams": 0.71428571, "qsc_code_frac_chars_dupe_6grams": 0.64811602, "qsc_code_frac_chars_dupe_7grams": 0.59124424, "qsc_code_frac_chars_dupe_8grams": 0.55473028, "qsc_code_frac_chars_dupe_9grams": 0.54253185, "qsc_code_frac_chars_dupe_10grams": 0.50555706, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00687652, "qsc_code_frac_chars_whitespace": 0.22991244, "qsc_code_size_file_byte": 62128.0, "qsc_code_num_lines": 1911.0, "qsc_code_num_chars_line_max": 121.0, "qsc_code_num_chars_line_mean": 32.51072737, "qsc_code_frac_chars_alphabet": 0.76417106, "qsc_code_frac_chars_comments": 0.22828676, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.42526837, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01034519, "qsc_code_frac_chars_long_word_length": 0.00204401, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00012514, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.04128819, "qsc_codec_frac_lines_func_ratio": 0.08753097, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.1164327, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.06028076}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_imgbtn.h
/** * @file lv_imgbtn.h * */ #ifndef LV_IMGBTN_H #define LV_IMGBTN_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #if LV_USE_IMGBTN != 0 /*Testing of dependencies*/ #if LV_USE_BTN == 0 #error "lv_imgbtn: lv_btn is required. Enable it in lv_conf.h (LV_USE_BTN 1) " #endif #include "../lv_core/lv_obj.h" #include "lv_btn.h" #include "../lv_draw/lv_draw_img.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /*Data of image button*/ typedef struct { lv_btn_ext_t btn; /*Ext. of ancestor*/ /*New data for this type */ const void * img_src_mid[_LV_BTN_STATE_LAST]; /*Store center images to each state*/ #if LV_IMGBTN_TILED const void * img_src_left[_LV_BTN_STATE_LAST]; /*Store left side images to each state*/ const void * img_src_right[_LV_BTN_STATE_LAST]; /*Store right side images to each state*/ #endif lv_img_cf_t act_cf; /*Color format of the currently active image*/ uint8_t tiled : 1; /*1: the middle src will be repeated to fill the user defined width*/ } lv_imgbtn_ext_t; /*Parts of the image button*/ enum { LV_IMGBTN_PART_MAIN = LV_BTN_PART_MAIN, }; typedef uint8_t lv_imgbtn_part_t; /********************** * GLOBAL PROTOTYPES **********************/ /** * Create a image button objects * @param par pointer to an object, it will be the parent of the new image button * @param copy pointer to a image button object, if not NULL then the new object will be copied from * it * @return pointer to the created image button */ lv_obj_t * lv_imgbtn_create(lv_obj_t * par, const lv_obj_t * copy); /*====================== * Add/remove functions *=====================*/ /*===================== * Setter functions *====================*/ /** * Set images for a state of the image button * @param imgbtn pointer to an image button object * @param state for which state set the new image (from `lv_btn_state_t`) ` * @param src pointer to an image source (a C array or path to a file) */ void lv_imgbtn_set_src(lv_obj_t * imgbtn, lv_btn_state_t state, const void * src); #if LV_IMGBTN_TILED /** * Set images for a state of the image button * @param imgbtn pointer to an image button object * @param state for which state set the new image (from `lv_btn_state_t`) ` * @param src_left pointer to an image source for the left side of the button (a C array or path to * a file) * @param src_mid pointer to an image source for the middle of the button (ideally 1px wide) (a C * array or path to a file) * @param src_right pointer to an image source for the right side of the button (a C array or path * to a file) */ void lv_imgbtn_set_src_tiled(lv_obj_t * imgbtn, lv_btn_state_t state, const void * src_left, const void * src_mid, const void * src_right); #endif /** * Enable the toggled states. On release the button will change from/to toggled state. * @param imgbtn pointer to an image button object * @param tgl true: enable toggled states, false: disable */ static inline void lv_imgbtn_set_checkable(lv_obj_t * imgbtn, bool tgl) { lv_btn_set_checkable(imgbtn, tgl); } /** * Set the state of the image button * @param imgbtn pointer to an image button object * @param state the new state of the button (from lv_btn_state_t enum) */ static inline void lv_imgbtn_set_state(lv_obj_t * imgbtn, lv_btn_state_t state) { lv_btn_set_state(imgbtn, state); } /** * Toggle the state of the image button (ON->OFF, OFF->ON) * @param imgbtn pointer to a image button object */ static inline void lv_imgbtn_toggle(lv_obj_t * imgbtn) { lv_btn_toggle(imgbtn); } /*===================== * Getter functions *====================*/ #if LV_IMGBTN_TILED == 0 /** * Get the images in a given state * @param imgbtn pointer to an image button object * @param state the state where to get the image (from `lv_btn_state_t`) ` * @return pointer to an image source (a C array or path to a file) */ const void * lv_imgbtn_get_src(lv_obj_t * imgbtn, lv_btn_state_t state); #else /** * Get the left image in a given state * @param imgbtn pointer to an image button object * @param state the state where to get the image (from `lv_btn_state_t`) ` * @return pointer to the left image source (a C array or path to a file) */ const void * lv_imgbtn_get_src_left(lv_obj_t * imgbtn, lv_btn_state_t state); /** * Get the middle image in a given state * @param imgbtn pointer to an image button object * @param state the state where to get the image (from `lv_btn_state_t`) ` * @return pointer to the middle image source (a C array or path to a file) */ const void * lv_imgbtn_get_src_middle(lv_obj_t * imgbtn, lv_btn_state_t state); /** * Get the right image in a given state * @param imgbtn pointer to an image button object * @param state the state where to get the image (from `lv_btn_state_t`) ` * @return pointer to the left image source (a C array or path to a file) */ const void * lv_imgbtn_get_src_right(lv_obj_t * imgbtn, lv_btn_state_t state); #endif /** * Get the current state of the image button * @param imgbtn pointer to a image button object * @return the state of the button (from lv_btn_state_t enum) */ static inline lv_btn_state_t lv_imgbtn_get_state(const lv_obj_t * imgbtn) { return lv_btn_get_state(imgbtn); } /** * Get the toggle enable attribute of the image button * @param imgbtn pointer to a image button object * @return true: toggle enabled, false: disabled */ static inline bool lv_imgbtn_get_checkable(const lv_obj_t * imgbtn) { return lv_btn_get_checkable(imgbtn); } /*===================== * Other functions *====================*/ /********************** * MACROS **********************/ #endif /*LV_USE_IMGBTN*/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_IMGBTN_H*/
5,950
lv_imgbtn
h
en
c
code
{"qsc_code_num_words": 955, "qsc_code_num_chars": 5950.0, "qsc_code_mean_word_length": 3.93926702, "qsc_code_frac_words_unique": 0.14659686, "qsc_code_frac_chars_top_2grams": 0.03721425, "qsc_code_frac_chars_top_3grams": 0.05050505, "qsc_code_frac_chars_top_4grams": 0.04678363, "qsc_code_frac_chars_dupe_5grams": 0.58931419, "qsc_code_frac_chars_dupe_6grams": 0.54279638, "qsc_code_frac_chars_dupe_7grams": 0.51275917, "qsc_code_frac_chars_dupe_8grams": 0.49043062, "qsc_code_frac_chars_dupe_9grams": 0.48032961, "qsc_code_frac_chars_dupe_10grams": 0.44763424, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00185605, "qsc_code_frac_chars_whitespace": 0.18504202, "qsc_code_size_file_byte": 5950.0, "qsc_code_num_lines": 204.0, "qsc_code_num_chars_line_max": 115.0, "qsc_code_num_chars_line_mean": 29.16666667, "qsc_code_frac_chars_alphabet": 0.77397402, "qsc_code_frac_chars_comments": 0.65294118, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.18461538, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.06924939, "qsc_code_frac_chars_long_word_length": 0.02179177, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.21538462, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.27692308, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_list.c
/** * @file lv_list.c * */ /********************* * INCLUDES *********************/ #include "lv_list.h" #if LV_USE_LIST != 0 #include "../lv_misc/lv_debug.h" #include "../lv_core/lv_group.h" #include "../lv_themes/lv_theme.h" #include "../lv_misc/lv_anim.h" #include "../lv_misc/lv_math.h" /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_list" #define LV_LIST_LAYOUT_DEF LV_LAYOUT_COLUMN_MID #if LV_USE_ANIMATION == 0 #undef LV_LIST_DEF_ANIM_TIME #define LV_LIST_DEF_ANIM_TIME 0 #endif /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_res_t lv_list_signal(lv_obj_t * list, lv_signal_t sign, void * param); static lv_res_t lv_list_btn_signal(lv_obj_t * btn, lv_signal_t sign, void * param); static lv_style_list_t * lv_list_get_style(lv_obj_t * list, uint8_t part); static bool lv_list_is_list_btn(lv_obj_t * list_btn); static bool lv_list_is_list_img(lv_obj_t * list_btn); static bool lv_list_is_list_label(lv_obj_t * list_btn); /********************** * STATIC VARIABLES **********************/ #if LV_USE_IMG static lv_signal_cb_t img_signal; #endif static lv_signal_cb_t label_signal; static lv_signal_cb_t ancestor_page_signal; static lv_signal_cb_t ancestor_btn_signal; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a list objects * @param par pointer to an object, it will be the parent of the new list * @param copy pointer to a list object, if not NULL then the new object will be copied from it * @return pointer to the created list */ lv_obj_t * lv_list_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("list create started"); /*Create the ancestor basic object*/ lv_obj_t * list = lv_page_create(par, copy); LV_ASSERT_MEM(list); if(list == NULL) return NULL; if(ancestor_page_signal == NULL) ancestor_page_signal = lv_obj_get_signal_cb(list); lv_list_ext_t * ext = lv_obj_allocate_ext_attr(list, sizeof(lv_list_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(list); return NULL; } #if LV_USE_GROUP ext->last_sel_btn = NULL; #endif ext->act_sel_btn = NULL; lv_obj_set_signal_cb(list, lv_list_signal); /*Init the new list object*/ if(copy == NULL) { lv_page_set_anim_time(list, LV_LIST_DEF_ANIM_TIME); lv_page_set_scrollable_fit2(list, LV_FIT_PARENT, LV_FIT_TIGHT); lv_obj_set_size(list, 2 * LV_DPI, 3 * LV_DPI); lv_page_set_scrl_layout(list, LV_LIST_LAYOUT_DEF); lv_list_set_scrollbar_mode(list, LV_SCROLLBAR_MODE_DRAG); lv_theme_apply(list, LV_THEME_LIST); } else { lv_obj_t * copy_btn = lv_list_get_next_btn(copy, NULL); while(copy_btn) { const void * img_src = NULL; #if LV_USE_IMG lv_obj_t * copy_img = lv_list_get_btn_img(copy_btn); if(copy_img) img_src = lv_img_get_src(copy_img); #endif lv_list_add_btn(list, img_src, lv_list_get_btn_text(copy_btn)); copy_btn = lv_list_get_next_btn(copy, copy_btn); } /*Refresh the style with new signal function*/ lv_obj_refresh_style(list, LV_STYLE_PROP_ALL); } LV_LOG_INFO("list created"); return list; } /** * Delete all children of the scrl object, without deleting scrl child. * @param list pointer to an object */ void lv_list_clean(lv_obj_t * list) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); lv_obj_t * scrl = lv_page_get_scrollable(list); lv_obj_clean(scrl); } /*====================== * Add/remove functions *=====================*/ /** * Add a list element to the list * @param list pointer to list object * @param img_fn file name of an image before the text (NULL if unused) * @param txt text of the list element (NULL if unused) * @return pointer to the new list element which can be customized (a button) */ lv_obj_t * lv_list_add_btn(lv_obj_t * list, const void * img_src, const char * txt) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); lv_obj_t * last_btn = lv_list_get_prev_btn(list, NULL); /*The coordinates may changed due to autofit so revert them at the end*/ lv_coord_t pos_x_ori = lv_obj_get_x(list); lv_coord_t pos_y_ori = lv_obj_get_y(list); lv_obj_t * scrl = lv_page_get_scrollable(list); lv_obj_add_protect(scrl, LV_PROTECT_CHILD_CHG); /*Create a list element with the image an the text*/ lv_obj_t * btn; btn = lv_btn_create(list, NULL); lv_obj_add_protect(btn, LV_PROTECT_CHILD_CHG); /*Save the original signal function because it will be required in `lv_list_btn_signal`*/ if(ancestor_btn_signal == NULL) ancestor_btn_signal = lv_obj_get_signal_cb(btn); /*Set the default styles*/ lv_theme_apply(btn, LV_THEME_LIST_BTN); lv_page_glue_obj(btn, true); lv_btn_set_layout(btn, LV_LAYOUT_ROW_MID); lv_layout_t list_layout = lv_list_get_layout(list); bool layout_ver = false; if(list_layout == LV_LAYOUT_COLUMN_MID || list_layout == LV_LAYOUT_COLUMN_LEFT || list_layout == LV_LAYOUT_COLUMN_RIGHT) { layout_ver = true; } if(layout_ver) { lv_btn_set_fit2(btn, LV_FIT_PARENT, LV_FIT_TIGHT); } else { lv_coord_t w = last_btn ? lv_obj_get_width(last_btn) : (LV_DPI * 3) / 2; lv_btn_set_fit2(btn, LV_FIT_NONE, LV_FIT_TIGHT); lv_obj_set_width(btn, w); } lv_obj_add_protect(btn, LV_PROTECT_PRESS_LOST); lv_obj_set_signal_cb(btn, lv_list_btn_signal); #if LV_USE_IMG != 0 lv_obj_t * img = NULL; if(img_src) { img = lv_img_create(btn, NULL); lv_img_set_src(img, img_src); lv_obj_set_click(img, false); if(img_signal == NULL) img_signal = lv_obj_get_signal_cb(img); } #endif if(txt != NULL) { lv_obj_t * label = lv_label_create(btn, NULL); lv_label_set_text(label, txt); lv_obj_set_click(label, false); lv_label_set_long_mode(label, LV_LABEL_LONG_SROLL_CIRC); if(lv_obj_get_base_dir(btn) == LV_BIDI_DIR_RTL) { lv_coord_t pad = lv_obj_get_style_pad_left(btn, LV_BTN_PART_MAIN); lv_obj_set_width(label, label->coords.x2 - btn->coords.x1 - pad); } else { lv_coord_t pad = lv_obj_get_style_pad_right(btn, LV_BTN_PART_MAIN); lv_obj_set_width(label, btn->coords.x2 - label->coords.x1 - pad); } if(label_signal == NULL) label_signal = lv_obj_get_signal_cb(label); } #if LV_USE_GROUP /* If this is the first item to be added to the list and the list is * focused, select it */ { lv_group_t * g = lv_obj_get_group(list); if(lv_list_get_next_btn(list, NULL) == btn && lv_group_get_focused(g) == list) { lv_list_focus_btn(list, btn); } } #endif lv_obj_clear_protect(scrl, LV_PROTECT_CHILD_CHG); lv_obj_clear_protect(btn, LV_PROTECT_CHILD_CHG); btn->signal_cb(btn, LV_SIGNAL_CHILD_CHG, NULL); lv_obj_set_pos(list, pos_x_ori, pos_y_ori); return btn; } /** * Remove the index of the button in the list * @param list pointer to a list object * @param index pointer to a the button's index in the list, index must be 0 <= index < * lv_list_ext_t.size * @return true: successfully deleted */ bool lv_list_remove(const lv_obj_t * list, uint16_t index) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); uint16_t count = 0; lv_obj_t * e = lv_list_get_next_btn(list, NULL); while(e != NULL) { if(count == index) { lv_obj_del(e); return true; } e = lv_list_get_next_btn(list, e); count++; } return false; } /*===================== * Setter functions *====================*/ /** * Make a button selected * @param list pointer to a list object * @param btn pointer to a button to select * NULL to not select any buttons */ void lv_list_focus_btn(lv_obj_t * list, lv_obj_t * btn) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); if(btn) LV_ASSERT_OBJ(btn, "lv_btn"); lv_list_ext_t * ext = lv_obj_get_ext_attr(list); /*Defocus the current button*/ if(ext->act_sel_btn) lv_obj_clear_state(ext->act_sel_btn, LV_STATE_FOCUSED); #if LV_USE_GROUP /*Don't forget which button was selected. * It will be restored when the list is focused again.*/ if(btn) ext->last_sel_btn = btn; #endif /*Focus the new button*/ ext->act_sel_btn = btn; if(ext->act_sel_btn) { lv_obj_add_state(ext->act_sel_btn, LV_STATE_FOCUSED); lv_page_focus(list, ext->act_sel_btn, LV_ANIM_ON); } } /** * Set layout of a list * @param list pointer to a list object * @param layout which layout should be used */ void lv_list_set_layout(lv_obj_t * list, lv_layout_t layout) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); /* Update list layout if necessary */ if(layout == lv_list_get_layout(list)) return; /* Get the first button on the list */ lv_obj_t * btn = lv_list_get_prev_btn(list, NULL); /* Visit all buttons on the list and update their layout */ while(btn != NULL) { /*If a column layout set the buttons' width to list width*/ if(layout == LV_LAYOUT_COLUMN_MID || layout == LV_LAYOUT_COLUMN_LEFT || layout == LV_LAYOUT_COLUMN_RIGHT) { lv_btn_set_fit2(btn, LV_FIT_PARENT, LV_FIT_TIGHT); } /*If a row layout set the buttons' width according to the content*/ else if(layout == LV_LAYOUT_ROW_MID || layout == LV_LAYOUT_ROW_TOP || layout == LV_LAYOUT_ROW_BOTTOM) { lv_btn_set_fit(btn, LV_FIT_TIGHT); } btn = lv_list_get_prev_btn(list, btn); } if(layout == LV_LAYOUT_COLUMN_MID || layout == LV_LAYOUT_COLUMN_LEFT || layout == LV_LAYOUT_COLUMN_RIGHT) { lv_page_set_scrollable_fit2(list, LV_FIT_PARENT, LV_FIT_TIGHT); } else if(layout == LV_LAYOUT_ROW_MID || layout == LV_LAYOUT_ROW_TOP || layout == LV_LAYOUT_ROW_BOTTOM) { lv_page_set_scrollable_fit2(list, LV_FIT_TIGHT, LV_FIT_TIGHT); lv_cont_set_fit2(list, LV_FIT_NONE, LV_FIT_TIGHT); } lv_page_set_scrl_layout(list, layout); } /*===================== * Getter functions *====================*/ /** * Get the text of a list element * @param btn pointer to list element * @return pointer to the text */ const char * lv_list_get_btn_text(const lv_obj_t * btn) { LV_ASSERT_OBJ(btn, "lv_btn"); lv_obj_t * label = lv_list_get_btn_label(btn); if(label == NULL) return ""; return lv_label_get_text(label); } /** * Get the label object from a list element * @param btn pointer to a list element (button) * @return pointer to the label from the list element or NULL if not found */ lv_obj_t * lv_list_get_btn_label(const lv_obj_t * btn) { LV_ASSERT_OBJ(btn, "lv_btn"); lv_obj_t * label = lv_obj_get_child_back(btn, NULL); if(label == NULL) return NULL; while(lv_list_is_list_label(label) == false) { label = lv_obj_get_child_back(btn, label); if(label == NULL) break; } return label; } /** * Get the image object from a list element * @param btn pointer to a list element (button) * @return pointer to the image from the list element or NULL if not found */ lv_obj_t * lv_list_get_btn_img(const lv_obj_t * btn) { LV_ASSERT_OBJ(btn, "lv_btn"); #if LV_USE_IMG != 0 lv_obj_t * img = lv_obj_get_child_back(btn, NULL); if(img == NULL) return NULL; while(lv_list_is_list_img(img) == false) { img = lv_obj_get_child_back(btn, img); if(img == NULL) break; } return img; #else return NULL; #endif } /** * Get the previous button from list. (Starts from the bottom button) * @param list pointer to a list object * @param prev_btn pointer to button. Search the previous before it. * @return pointer to the previous button or NULL when no more buttons */ lv_obj_t * lv_list_get_prev_btn(const lv_obj_t * list, lv_obj_t * prev_btn) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); /* Not a good practice but user can add/create objects to the lists manually. * When getting the next button try to be sure that it is at least a button */ lv_obj_t * btn; lv_obj_t * scrl = lv_page_get_scrollable(list); btn = lv_obj_get_child(scrl, prev_btn); if(btn == NULL) return NULL; while(lv_list_is_list_btn(btn) == false) { btn = lv_obj_get_child(scrl, btn); if(btn == NULL) break; } return btn; } /** * Get the next button from list. (Starts from the top button) * @param list pointer to a list object * @param prev_btn pointer to button. Search the next after it. * @return pointer to the next button or NULL when no more buttons */ lv_obj_t * lv_list_get_next_btn(const lv_obj_t * list, lv_obj_t * prev_btn) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); /* Not a good practice but user can add/create objects to the lists manually. * When getting the next button try to be sure that it is at least a button */ lv_obj_t * btn; lv_obj_t * scrl = lv_page_get_scrollable(list); btn = lv_obj_get_child_back(scrl, prev_btn); if(btn == NULL) return NULL; while(lv_list_is_list_btn(btn) == false) { btn = lv_obj_get_child_back(scrl, btn); if(btn == NULL) break; } return btn; } /** * Get the index of the button in the list * @param list pointer to a list object. If NULL, assumes btn is part of a list. * @param btn pointer to a list element (button) * @return the index of the button in the list, or -1 of the button not in this list */ int32_t lv_list_get_btn_index(const lv_obj_t * list, const lv_obj_t * btn) { LV_ASSERT_OBJ(btn, "lv_btn"); int index = 0; if(list == NULL) { /* no list provided, assuming btn is part of a list */ list = lv_obj_get_parent(lv_obj_get_parent(btn)); } LV_ASSERT_OBJ(list, LV_OBJX_NAME); lv_obj_t * e = lv_list_get_next_btn(list, NULL); while(e != NULL) { if(e == btn) { return index; } index++; e = lv_list_get_next_btn(list, e); } return -1; } /** * Get the number of buttons in the list * @param list pointer to a list object * @return the number of buttons in the list */ uint16_t lv_list_get_size(const lv_obj_t * list) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); uint16_t size = 0; lv_obj_t * btn = lv_list_get_next_btn(list, NULL); while(btn) { size++; btn = lv_list_get_next_btn(list, btn); } return size; } #if LV_USE_GROUP /** * Get the currently selected button * @param list pointer to a list object * @return pointer to the selected button */ lv_obj_t * lv_list_get_btn_selected(const lv_obj_t * list) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); lv_list_ext_t * ext = lv_obj_get_ext_attr(list); return ext->act_sel_btn; } #endif /** * Get layout of a list * @param list pointer to a list object * @return layout of the list object */ lv_layout_t lv_list_get_layout(lv_obj_t * list) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); return lv_page_get_scrl_layout(list); } /*===================== * Other functions *====================*/ /** * Move the list elements up by one * @param list pointer a to list object */ void lv_list_up(const lv_obj_t * list) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); /*Search the first list element which 'y' coordinate is below the parent * and position the list to show this element on the bottom*/ lv_obj_t * scrl = lv_page_get_scrollable(list); lv_obj_t * e; lv_obj_t * e_prev = NULL; e = lv_list_get_prev_btn(list, NULL); while(e != NULL) { if(e->coords.y2 <= list->coords.y2) { if(e_prev != NULL) { lv_coord_t new_y = lv_obj_get_height(list) - (lv_obj_get_y(e_prev) + lv_obj_get_height(e_prev)); if(lv_list_get_anim_time(list) == 0) { lv_obj_set_y(scrl, new_y); } else { #if LV_USE_ANIMATION lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, scrl); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_obj_set_y); lv_anim_set_values(&a, lv_obj_get_y(scrl), new_y); lv_anim_set_time(&a, LV_LIST_DEF_ANIM_TIME); lv_anim_start(&a); #endif } } break; } e_prev = e; e = lv_list_get_prev_btn(list, e); } } /** * Move the list elements down by one * @param list pointer to a list object */ void lv_list_down(const lv_obj_t * list) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); /*Search the first list element which 'y' coordinate is above the parent * and position the list to show this element on the top*/ lv_obj_t * scrl = lv_page_get_scrollable(list); lv_obj_t * e; e = lv_list_get_prev_btn(list, NULL); while(e != NULL) { if(e->coords.y1 < list->coords.y1) { lv_coord_t new_y = -lv_obj_get_y(e); if(lv_list_get_anim_time(list) == 0) { lv_obj_set_y(scrl, new_y); } else { #if LV_USE_ANIMATION lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, scrl); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_obj_set_y); lv_anim_set_values(&a, lv_obj_get_y(scrl), new_y); lv_anim_set_time(&a, LV_LIST_DEF_ANIM_TIME); lv_anim_start(&a); #endif } break; } e = lv_list_get_prev_btn(list, e); } } /** * Focus on a list button. It ensures that the button will be visible on the list. * @param btn pointer to a list button to focus * @param anim_en LV_ANIM_ON: scroll with animation, LV_ANOM_OFF: without animation */ void lv_list_focus(const lv_obj_t * btn, lv_anim_enable_t anim) { LV_ASSERT_OBJ(btn, ""); #if LV_USE_ANIMATION == 0 anim = false; #endif lv_obj_t * list = lv_obj_get_parent(lv_obj_get_parent(btn)); lv_page_focus(list, btn, anim == LV_ANIM_OFF ? 0 : lv_list_get_anim_time(list)); } /********************** * STATIC FUNCTIONS **********************/ /** * Signal function of the list * @param list pointer to a list object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_list_signal(lv_obj_t * list, lv_signal_t sign, void * param) { lv_res_t res; if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_list_get_style(list, info->part); if(info->result != NULL) return LV_RES_OK; else return ancestor_page_signal(list, sign, param); } /* Include the ancient signal function */ res = ancestor_page_signal(list, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); if(sign == LV_SIGNAL_RELEASED || sign == LV_SIGNAL_PRESSED || sign == LV_SIGNAL_PRESSING || sign == LV_SIGNAL_LONG_PRESS || sign == LV_SIGNAL_LONG_PRESS_REP) { #if LV_USE_GROUP /*If pressed/released etc by a KEYPAD or ENCODER delegate signal and events to the button*/ lv_indev_t * indev = lv_indev_get_act(); lv_indev_type_t indev_type = lv_indev_get_type(indev); if(indev_type == LV_INDEV_TYPE_KEYPAD || (indev_type == LV_INDEV_TYPE_ENCODER && lv_group_get_editing(lv_obj_get_group(list)))) { lv_list_ext_t * ext = lv_obj_get_ext_attr(list); /*The page receives the key presses so the events should be propagated to the selected * button*/ if(ext->act_sel_btn) { res = lv_signal_send(ext->act_sel_btn, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_PRESSED) { res = lv_event_send(ext->act_sel_btn, LV_EVENT_PRESSED, NULL); if(res != LV_RES_OK) return res; } else if(sign == LV_SIGNAL_PRESSING) { res = lv_event_send(ext->act_sel_btn, LV_EVENT_PRESSING, NULL); if(res != LV_RES_OK) return res; } else if(sign == LV_SIGNAL_LONG_PRESS) { res = lv_event_send(ext->act_sel_btn, LV_EVENT_LONG_PRESSED, NULL); if(res != LV_RES_OK) return res; } else if(sign == LV_SIGNAL_LONG_PRESS_REP) { res = lv_event_send(ext->act_sel_btn, LV_EVENT_LONG_PRESSED_REPEAT, NULL); if(res != LV_RES_OK) return res; } else if(sign == LV_SIGNAL_RELEASED) { if(indev->proc.long_pr_sent == 0) { res = lv_event_send(ext->act_sel_btn, LV_EVENT_SHORT_CLICKED, NULL); if(res != LV_RES_OK) return res; } if(lv_indev_is_dragging(indev) == false) { res = lv_event_send(ext->act_sel_btn, LV_EVENT_CLICKED, NULL); if(res != LV_RES_OK) return res; } res = lv_event_send(ext->act_sel_btn, LV_EVENT_RELEASED, NULL); if(res != LV_RES_OK) return res; } } } #endif } else if(sign == LV_SIGNAL_FOCUS) { #if LV_USE_GROUP lv_indev_type_t indev_type = lv_indev_get_type(lv_indev_get_act()); /*With ENCODER focus the button only in edit mode*/ lv_group_t * g = lv_obj_get_group(list); if((indev_type == LV_INDEV_TYPE_KEYPAD) || (indev_type == LV_INDEV_TYPE_ENCODER && lv_group_get_editing(g))) { lv_list_ext_t * ext = lv_obj_get_ext_attr(list); /* Select the last used button, or use the first no last button */ if(ext->last_sel_btn) lv_list_focus_btn(list, ext->last_sel_btn); else lv_list_focus_btn(list, lv_list_get_next_btn(list, NULL)); } if(indev_type == LV_INDEV_TYPE_ENCODER && lv_group_get_editing(g) == false) { lv_list_ext_t * ext = lv_obj_get_ext_attr(list); if(ext->act_sel_btn) lv_obj_clear_state(ext->act_sel_btn, LV_STATE_PRESSED); if(ext->last_sel_btn) lv_obj_clear_state(ext->last_sel_btn, LV_STATE_PRESSED); } #endif } else if(sign == LV_SIGNAL_DEFOCUS) { #if LV_USE_GROUP /*De-select the selected btn*/ lv_list_focus_btn(list, NULL); lv_list_ext_t * ext = lv_obj_get_ext_attr(list); ext->act_sel_btn = NULL; #endif } else if(sign == LV_SIGNAL_GET_EDITABLE) { #if LV_USE_GROUP bool * editable = (bool *)param; *editable = true; #endif } else if(sign == LV_SIGNAL_CONTROL) { #if LV_USE_GROUP char c = *((char *)param); if(c == LV_KEY_RIGHT || c == LV_KEY_DOWN) { lv_list_ext_t * ext = lv_obj_get_ext_attr(list); /*If there is a valid selected button the make the previous selected*/ if(ext->act_sel_btn) { lv_obj_t * btn_prev = lv_list_get_next_btn(list, ext->act_sel_btn); if(btn_prev) lv_list_focus_btn(list, btn_prev); } /*If there is no selected button the make the first selected*/ else { lv_obj_t * btn = lv_list_get_next_btn(list, NULL); if(btn) lv_list_focus_btn(list, btn); /*If there are no buttons on the list then there is no first button*/ } } else if(c == LV_KEY_LEFT || c == LV_KEY_UP) { lv_list_ext_t * ext = lv_obj_get_ext_attr(list); /*If there is a valid selected button the make the next selected*/ if(ext->act_sel_btn != NULL) { lv_obj_t * btn_next = lv_list_get_prev_btn(list, ext->act_sel_btn); if(btn_next) lv_list_focus_btn(list, btn_next); } /*If there is no selected button the make the first selected*/ else { lv_obj_t * btn = lv_list_get_next_btn(list, NULL); if(btn) lv_list_focus_btn(list, btn); } } else if(c == LV_KEY_ESC) { lv_list_ext_t * ext = lv_obj_get_ext_attr(list); /* Handle ESC/Cancel event */ res = lv_event_send(ext->act_sel_btn, LV_EVENT_CANCEL, NULL); } #endif } return res; } /** * Signal function of the list buttons * @param btn pointer to a button on the list * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_list_btn_signal(lv_obj_t * btn, lv_signal_t sign, void * param) { lv_res_t res; /* Include the ancient signal function */ res = ancestor_btn_signal(btn, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, ""); if((sign == LV_SIGNAL_COORD_CHG && (lv_obj_get_width(btn) != lv_area_get_width(param) || lv_obj_get_height(btn) != lv_area_get_height(param))) || sign == LV_SIGNAL_STYLE_CHG) { lv_obj_t * label = lv_list_get_btn_label(btn); if(label) { const lv_font_t * font = lv_obj_get_style_text_font(label, LV_LABEL_PART_MAIN); lv_coord_t font_h = lv_font_get_line_height(font); if(lv_obj_get_base_dir(btn) == LV_BIDI_DIR_RTL) { lv_coord_t pad = lv_obj_get_style_pad_left(btn, LV_BTN_PART_MAIN); lv_obj_set_size(label, label->coords.x2 - btn->coords.x1 - pad, font_h); } else { lv_coord_t pad = lv_obj_get_style_pad_right(btn, LV_BTN_PART_MAIN); lv_obj_set_size(label, btn->coords.x2 - label->coords.x1 - pad + 1, font_h); } } } else if(sign == LV_SIGNAL_RELEASED) { if(lv_indev_is_dragging(lv_indev_get_act()) == false) { lv_obj_t * list = lv_obj_get_parent(lv_obj_get_parent(btn)); lv_list_focus_btn(list, btn); #if LV_USE_GROUP if(lv_obj_get_group(list)) { lv_group_focus_obj(list); } #endif } } else if(sign == LV_SIGNAL_CLEANUP) { #if LV_USE_GROUP lv_obj_t * list = lv_obj_get_parent(lv_obj_get_parent(btn)); lv_list_ext_t * ext = lv_obj_get_ext_attr(list); lv_obj_t * sel = lv_list_get_btn_selected(list); if(sel == btn) lv_list_focus_btn(list, lv_list_get_next_btn(list, btn)); if(ext->last_sel_btn == btn) ext->last_sel_btn = NULL; #endif } return res; } /** * Get the style descriptor of a part of the object * @param list pointer the object * @param part the part from `lv_page_list_t`. (LV_LIST_PART_...) * @return pointer to the style descriptor of the specified part */ static lv_style_list_t * lv_list_get_style(lv_obj_t * list, uint8_t part) { LV_ASSERT_OBJ(list, LV_OBJX_NAME); lv_list_ext_t * ext = lv_obj_get_ext_attr(list); lv_style_list_t * style_dsc_p; switch(part) { case LV_LIST_PART_BG: style_dsc_p = &list->style_list; break; case LV_LIST_PART_SCROLLABLE: style_dsc_p = &ext->page.scrl->style_list; break; case LV_LIST_PART_SCROLLBAR: style_dsc_p = &ext->page.scrlbar.style; break; #if LV_USE_ANIMATION case LV_LIST_PART_EDGE_FLASH: style_dsc_p = &ext->page.edge_flash.style; break; #endif default: style_dsc_p = NULL; } return style_dsc_p; } /** * Check if this is really a list button or another object. * @param list_btn List button */ static bool lv_list_is_list_btn(lv_obj_t * list_btn) { lv_obj_type_t type; lv_obj_get_type(list_btn, &type); uint8_t cnt; for(cnt = 0; cnt < LV_MAX_ANCESTOR_NUM; cnt++) { if(type.type[cnt] == NULL) break; if(!strcmp(type.type[cnt], "lv_btn")) return true; } return false; } /** * Check if this is really a list label or another object. * @param list_label List label */ static bool lv_list_is_list_label(lv_obj_t * list_label) { lv_obj_type_t type; lv_obj_get_type(list_label, &type); uint8_t cnt; for(cnt = 0; cnt < LV_MAX_ANCESTOR_NUM; cnt++) { if(type.type[cnt] == NULL) break; if(!strcmp(type.type[cnt], "lv_label")) return true; } return false; } /** * Check if this is really a list image or another object. * @param list_image List image */ static bool lv_list_is_list_img(lv_obj_t * list_img) { lv_obj_type_t type; lv_obj_get_type(list_img, &type); uint8_t cnt; for(cnt = 0; cnt < LV_MAX_ANCESTOR_NUM; cnt++) { if(type.type[cnt] == NULL) break; if(!strcmp(type.type[cnt], "lv_img")) return true; } return false; } #endif
29,453
lv_list
c
en
c
code
{"qsc_code_num_words": 4631, "qsc_code_num_chars": 29453.0, "qsc_code_mean_word_length": 3.61995249, "qsc_code_frac_words_unique": 0.07665731, "qsc_code_frac_chars_top_2grams": 0.04951086, "qsc_code_frac_chars_top_3grams": 0.02720115, "qsc_code_frac_chars_top_4grams": 0.01610594, "qsc_code_frac_chars_dupe_5grams": 0.66326652, "qsc_code_frac_chars_dupe_6grams": 0.59418993, "qsc_code_frac_chars_dupe_7grams": 0.53286805, "qsc_code_frac_chars_dupe_8grams": 0.48258172, "qsc_code_frac_chars_dupe_9grams": 0.43450251, "qsc_code_frac_chars_dupe_10grams": 0.42251253, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00264949, "qsc_code_frac_chars_whitespace": 0.25674804, "qsc_code_size_file_byte": 29453.0, "qsc_code_num_lines": 923.0, "qsc_code_num_chars_line_max": 116.0, "qsc_code_num_chars_line_mean": 31.91007584, "qsc_code_frac_chars_alphabet": 0.76314467, "qsc_code_frac_chars_comments": 0.25029708, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.33786078, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00914814, "qsc_code_frac_chars_long_word_length": 0.00294371, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.03735144, "qsc_codec_frac_lines_func_ratio": 0.0950764, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.13582343, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.08998302}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_bar.c
/** * @file lv_bar.c * */ /********************* * INCLUDES *********************/ #include "lv_bar.h" #if LV_USE_BAR != 0 #include "../lv_misc/lv_debug.h" #include "../lv_draw/lv_draw.h" #include "../lv_themes/lv_theme.h" #include "../lv_misc/lv_anim.h" #include "../lv_misc/lv_math.h" #include <stdio.h> /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_bar" #define LV_BAR_SIZE_MIN 4 /*hor. pad and ver. pad cannot make the indicator smaller then this [px]*/ #if LV_USE_ANIMATION #define LV_BAR_IS_ANIMATING(anim_struct) (((anim_struct).anim_state) != LV_BAR_ANIM_STATE_INV) #define LV_BAR_GET_ANIM_VALUE(orig_value, anim_struct) (LV_BAR_IS_ANIMATING(anim_struct) ? ((anim_struct).anim_end) : (orig_value)) #else #define LV_BAR_GET_ANIM_VALUE(orig_value, anim_struct) (orig_value) #endif /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_design_res_t lv_bar_design(lv_obj_t * bar, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_res_t lv_bar_signal(lv_obj_t * bar, lv_signal_t sign, void * param); static lv_style_list_t * lv_bar_get_style(lv_obj_t * bar, uint8_t part); static void draw_bg(lv_obj_t * bar, const lv_area_t * clip_area); static void draw_indic(lv_obj_t * bar, const lv_area_t * clip_area); #if LV_USE_ANIMATION static void lv_bar_set_value_with_anim(lv_obj_t * bar, int16_t new_value, int16_t * value_ptr, lv_bar_anim_t * anim_info, lv_anim_enable_t en); static void lv_bar_init_anim(lv_obj_t * bar, lv_bar_anim_t * bar_anim); static void lv_bar_anim(lv_bar_anim_t * bar, lv_anim_value_t value); static void lv_bar_anim_ready(lv_anim_t * a); #endif /********************** * STATIC VARIABLES **********************/ static lv_design_cb_t ancestor_design_f; static lv_signal_cb_t ancestor_signal; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a bar objects * @param par pointer to an object, it will be the parent of the new bar * @param copy pointer to a bar object, if not NULL then the new object will be copied from it * @return pointer to the created bar */ lv_obj_t * lv_bar_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("lv_bar create started"); /*Create the ancestor basic object*/ lv_obj_t * bar = lv_obj_create(par, copy); LV_ASSERT_MEM(bar); if(bar == NULL) return NULL; if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(bar); if(ancestor_design_f == NULL) ancestor_design_f = lv_obj_get_design_cb(bar); /*Allocate the object type specific extended data*/ lv_bar_ext_t * ext = lv_obj_allocate_ext_attr(bar, sizeof(lv_bar_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(bar); return NULL; } ext->min_value = 0; ext->start_value = 0; ext->max_value = 100; ext->cur_value = 0; #if LV_USE_ANIMATION ext->anim_time = 200; lv_bar_init_anim(bar, &ext->cur_value_anim); lv_bar_init_anim(bar, &ext->start_value_anim); #endif ext->type = LV_BAR_TYPE_NORMAL; lv_style_list_init(&ext->style_indic); lv_obj_set_signal_cb(bar, lv_bar_signal); lv_obj_set_design_cb(bar, lv_bar_design); /*Init the new bar object*/ if(copy == NULL) { lv_obj_set_click(bar, false); lv_obj_set_size(bar, LV_DPI * 2, LV_DPI / 10); lv_bar_set_value(bar, ext->cur_value, false); lv_theme_apply(bar, LV_THEME_BAR); } else { lv_bar_ext_t * ext_copy = lv_obj_get_ext_attr(copy); ext->min_value = ext_copy->min_value; ext->start_value = ext_copy->start_value; ext->max_value = ext_copy->max_value; ext->cur_value = ext_copy->cur_value; ext->type = ext_copy->type; lv_style_list_copy(&ext->style_indic, &ext_copy->style_indic); /*Refresh the style with new signal function*/ lv_obj_refresh_style(bar, LV_STYLE_PROP_ALL); lv_bar_set_value(bar, ext->cur_value, LV_ANIM_OFF); } LV_LOG_INFO("bar created"); return bar; } /*===================== * Setter functions *====================*/ /** * Set a new value on the bar * @param bar pointer to a bar object * @param value new value * @param anim LV_ANIM_ON: set the value with an animation; LV_ANIM_OFF: change the value immediately */ void lv_bar_set_value(lv_obj_t * bar, int16_t value, lv_anim_enable_t anim) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); if(ext->cur_value == value) return; int16_t new_value; new_value = value > ext->max_value ? ext->max_value : value; new_value = new_value < ext->min_value ? ext->min_value : new_value; if(ext->cur_value == new_value) return; #if LV_USE_ANIMATION == 0 LV_UNUSED(anim); ext->cur_value = new_value; lv_obj_invalidate(bar); #else lv_bar_set_value_with_anim(bar, new_value, &ext->cur_value, &ext->cur_value_anim, anim); #endif } /** * Set a new start value on the bar * @param bar pointer to a bar object * @param value new start value * @param anim LV_ANIM_ON: set the value with an animation; LV_ANIM_OFF: change the value immediately */ void lv_bar_set_start_value(lv_obj_t * bar, int16_t start_value, lv_anim_enable_t anim) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); if(ext->start_value == start_value) return; int16_t new_value; new_value = start_value > ext->max_value ? ext->max_value : start_value; new_value = new_value < ext->min_value ? ext->min_value : start_value; if(ext->start_value == new_value) return; #if LV_USE_ANIMATION == 0 LV_UNUSED(anim); ext->start_value = new_value; #else lv_bar_set_value_with_anim(bar, new_value, &ext->start_value, &ext->start_value_anim, anim); #endif } /** * Set minimum and the maximum values of a bar * @param bar pointer to the bar object * @param min minimum value * @param max maximum value */ void lv_bar_set_range(lv_obj_t * bar, int16_t min, int16_t max) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); if(ext->min_value == min && ext->max_value == max) return; ext->max_value = max; ext->min_value = min; if(lv_bar_get_type(bar) != LV_BAR_TYPE_CUSTOM) ext->start_value = min; if(ext->cur_value > max) { ext->cur_value = max; lv_bar_set_value(bar, ext->cur_value, false); } if(ext->cur_value < min) { ext->cur_value = min; lv_bar_set_value(bar, ext->cur_value, false); } lv_obj_invalidate(bar); } /** * Set the type of bar. * @param bar pointer to bar object * @param type bar type */ void lv_bar_set_type(lv_obj_t * bar, lv_bar_type_t type) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); ext->type = type; if(ext->type != LV_BAR_TYPE_CUSTOM) ext->start_value = ext->min_value; lv_obj_invalidate(bar); } /** * Set the animation time of the bar * @param bar pointer to a bar object * @param anim_time the animation time in milliseconds. */ void lv_bar_set_anim_time(lv_obj_t * bar, uint16_t anim_time) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); #if LV_USE_ANIMATION lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); ext->anim_time = anim_time; #else (void)bar; /*Unused*/ (void)anim_time; /*Unused*/ #endif } /*===================== * Getter functions *====================*/ /** * Get the value of a bar * @param bar pointer to a bar object * @return the value of the bar */ int16_t lv_bar_get_value(const lv_obj_t * bar) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); return LV_BAR_GET_ANIM_VALUE(ext->cur_value, ext->cur_value_anim); } /** * Get the start value of a bar * @param bar pointer to a bar object * @return the start value of the bar */ int16_t lv_bar_get_start_value(const lv_obj_t * bar) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); if(ext->type != LV_BAR_TYPE_CUSTOM) return ext->min_value; return LV_BAR_GET_ANIM_VALUE(ext->start_value, ext->start_value_anim); } /** * Get the minimum value of a bar * @param bar pointer to a bar object * @return the minimum value of the bar */ int16_t lv_bar_get_min_value(const lv_obj_t * bar) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); return ext->min_value; } /** * Get the maximum value of a bar * @param bar pointer to a bar object * @return the maximum value of the bar */ int16_t lv_bar_get_max_value(const lv_obj_t * bar) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); return ext->max_value; } /** * Get the type of bar. * @param bar pointer to bar object * @return bar type */ lv_bar_type_t lv_bar_get_type(lv_obj_t * bar) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); return ext->type; } /** * Get the animation time of the bar * @param bar pointer to a bar object * @return the animation time in milliseconds. */ uint16_t lv_bar_get_anim_time(const lv_obj_t * bar) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); #if LV_USE_ANIMATION lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); return ext->anim_time; #else (void)bar; /*Unused*/ return 0; #endif } /********************** * STATIC FUNCTIONS **********************/ /** * Handle the drawing related tasks of the bars * @param bar pointer to an object * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_bar_design(lv_obj_t * bar, const lv_area_t * clip_area, lv_design_mode_t mode) { if(mode == LV_DESIGN_COVER_CHK) { /*Return false if the object is not covers the mask area*/ return ancestor_design_f(bar, clip_area, mode); } else if(mode == LV_DESIGN_DRAW_MAIN) { draw_bg(bar, clip_area); draw_indic(bar, clip_area); /*Get the value and draw it after the indicator*/ lv_draw_rect_dsc_t draw_dsc; lv_draw_rect_dsc_init(&draw_dsc); draw_dsc.bg_opa = LV_OPA_TRANSP; draw_dsc.border_opa = LV_OPA_TRANSP; draw_dsc.shadow_opa = LV_OPA_TRANSP; draw_dsc.pattern_opa = LV_OPA_TRANSP; draw_dsc.outline_opa = LV_OPA_TRANSP; lv_obj_init_draw_rect_dsc(bar, LV_BAR_PART_BG, &draw_dsc); lv_draw_rect(&bar->coords, clip_area, &draw_dsc); } else if(mode == LV_DESIGN_DRAW_POST) { /*If the border is drawn later disable loading other properties*/ if(lv_obj_get_style_border_post(bar, LV_OBJ_PART_MAIN)) { lv_draw_rect_dsc_t draw_dsc; lv_draw_rect_dsc_init(&draw_dsc); draw_dsc.bg_opa = LV_OPA_TRANSP; draw_dsc.pattern_opa = LV_OPA_TRANSP; draw_dsc.outline_opa = LV_OPA_TRANSP; draw_dsc.shadow_opa = LV_OPA_TRANSP; draw_dsc.value_opa = LV_OPA_TRANSP; lv_obj_init_draw_rect_dsc(bar, LV_OBJ_PART_MAIN, &draw_dsc); lv_draw_rect(&bar->coords, clip_area, &draw_dsc); } } return LV_DESIGN_RES_OK; } static void draw_bg(lv_obj_t * bar, const lv_area_t * clip_area) { /*Simply draw the background*/ lv_draw_rect_dsc_t draw_dsc; lv_draw_rect_dsc_init(&draw_dsc); /*If the border is drawn later disable loading its properties*/ if(lv_obj_get_style_border_post(bar, LV_BAR_PART_BG)) { draw_dsc.border_opa = LV_OPA_TRANSP; } /*value will be drawn later*/ draw_dsc.value_opa = LV_OPA_TRANSP; lv_obj_init_draw_rect_dsc(bar, LV_BAR_PART_BG, &draw_dsc); lv_draw_rect(&bar->coords, clip_area, &draw_dsc); } static void draw_indic(lv_obj_t * bar, const lv_area_t * clip_area) { lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); lv_bidi_dir_t base_dir = lv_obj_get_base_dir(bar); lv_coord_t objw = lv_obj_get_width(bar); lv_coord_t objh = lv_obj_get_height(bar); int32_t range = ext->max_value - ext->min_value; bool hor = objw >= objh ? true : false; bool sym = false; if(ext->type == LV_BAR_TYPE_SYMMETRICAL && ext->min_value < 0 && ext->max_value > 0 && ext->start_value == ext->min_value) sym = true; /*Calculate the indicator area*/ lv_style_int_t bg_left = lv_obj_get_style_pad_left(bar, LV_BAR_PART_BG); lv_style_int_t bg_right = lv_obj_get_style_pad_right(bar, LV_BAR_PART_BG); lv_style_int_t bg_top = lv_obj_get_style_pad_top(bar, LV_BAR_PART_BG); lv_style_int_t bg_bottom = lv_obj_get_style_pad_bottom(bar, LV_BAR_PART_BG); /*Respect padding and minimum width/height too*/ lv_area_copy(&ext->indic_area, &bar->coords); ext->indic_area.x1 += bg_left; ext->indic_area.x2 -= bg_right; ext->indic_area.y1 += bg_top; ext->indic_area.y2 -= bg_bottom; if(hor && lv_area_get_height(&ext->indic_area) < LV_BAR_SIZE_MIN) { ext->indic_area.y1 = bar->coords.y1 + (objh / 2) - (LV_BAR_SIZE_MIN / 2); ext->indic_area.y2 = ext->indic_area.y1 + LV_BAR_SIZE_MIN; } else if(!hor && lv_area_get_width(&ext->indic_area) < LV_BAR_SIZE_MIN) { ext->indic_area.x1 = bar->coords.x1 + (objw / 2) - (LV_BAR_SIZE_MIN / 2); ext->indic_area.x2 = ext->indic_area.x1 + LV_BAR_SIZE_MIN; } lv_coord_t indicw = lv_area_get_width(&ext->indic_area); lv_coord_t indich = lv_area_get_height(&ext->indic_area); /*Calculate the indicator length*/ lv_coord_t anim_length = hor ? indicw : indich; lv_coord_t anim_cur_value_x, anim_start_value_x; lv_coord_t * axis1, * axis2; lv_coord_t (*indic_length_calc)(const lv_area_t * area); if(hor) { axis1 = &ext->indic_area.x1; axis2 = &ext->indic_area.x2; indic_length_calc = lv_area_get_width; } else { axis1 = &ext->indic_area.y1; axis2 = &ext->indic_area.y2; indic_length_calc = lv_area_get_height; } #if LV_USE_ANIMATION if(LV_BAR_IS_ANIMATING(ext->start_value_anim)) { lv_coord_t anim_start_value_start_x = (int32_t)((int32_t)anim_length * (ext->start_value_anim.anim_start - ext->min_value)) / range; lv_coord_t anim_start_value_end_x = (int32_t)((int32_t)anim_length * (ext->start_value_anim.anim_end - ext->min_value)) / range; anim_start_value_x = (((anim_start_value_end_x - anim_start_value_start_x) * ext->start_value_anim.anim_state) / LV_BAR_ANIM_STATE_END); anim_start_value_x += anim_start_value_start_x; } else #endif { anim_start_value_x = (int32_t)((int32_t)anim_length * (ext->start_value - ext->min_value)) / range; } #if LV_USE_ANIMATION if(LV_BAR_IS_ANIMATING(ext->cur_value_anim)) { lv_coord_t anim_cur_value_start_x = (int32_t)((int32_t)anim_length * (ext->cur_value_anim.anim_start - ext->min_value)) / range; lv_coord_t anim_cur_value_end_x = (int32_t)((int32_t)anim_length * (ext->cur_value_anim.anim_end - ext->min_value)) / range; anim_cur_value_x = anim_cur_value_start_x + (((anim_cur_value_end_x - anim_cur_value_start_x) * ext->cur_value_anim.anim_state) / LV_BAR_ANIM_STATE_END); } else #endif { anim_cur_value_x = (int32_t)((int32_t)anim_length * (ext->cur_value - ext->min_value)) / range; } if(hor && base_dir == LV_BIDI_DIR_RTL) { /* Swap axes */ lv_coord_t * tmp; tmp = axis1; axis1 = axis2; axis2 = tmp; anim_cur_value_x = -anim_cur_value_x; anim_start_value_x = -anim_start_value_x; } /* Set the indicator length */ if(hor) { *axis2 = *axis1 + anim_cur_value_x; *axis1 += anim_start_value_x; } else { *axis1 = *axis2 - anim_cur_value_x; *axis2 -= anim_start_value_x; } if(sym) { lv_coord_t zero; zero = *axis1 + (-ext->min_value * anim_length) / range; if(*axis2 > zero) *axis1 = zero; else { *axis1 = *axis2; *axis2 = zero; } } /*Draw the indicator*/ /*Do not draw a zero length indicator*/ if(!sym && indic_length_calc(&ext->indic_area) <= 1) return; uint16_t bg_radius = lv_obj_get_style_radius(bar, LV_BAR_PART_BG); lv_coord_t short_side = LV_MATH_MIN(objw, objh); if(bg_radius > short_side >> 1) bg_radius = short_side >> 1; lv_draw_rect_dsc_t draw_indic_dsc; lv_draw_rect_dsc_init(&draw_indic_dsc); lv_obj_init_draw_rect_dsc(bar, LV_BAR_PART_INDIC, &draw_indic_dsc); /* Draw only the shadow if the indicator is long enough. * The radius of the bg and the indicator can make a strange shape where * it'd be very difficult to draw shadow. */ if((hor && lv_area_get_width(&ext->indic_area) > bg_radius * 2) || (!hor && lv_area_get_height(&ext->indic_area) > bg_radius * 2)) { lv_opa_t bg_opa = draw_indic_dsc.bg_opa; lv_opa_t border_opa = draw_indic_dsc.border_opa; lv_opa_t value_opa = draw_indic_dsc.value_opa; const void * pattern_src = draw_indic_dsc.pattern_image; draw_indic_dsc.bg_opa = LV_OPA_TRANSP; draw_indic_dsc.border_opa = LV_OPA_TRANSP; draw_indic_dsc.value_opa = LV_OPA_TRANSP; draw_indic_dsc.pattern_image = NULL; lv_draw_rect(&ext->indic_area, clip_area, &draw_indic_dsc); draw_indic_dsc.bg_opa = bg_opa; draw_indic_dsc.border_opa = border_opa; draw_indic_dsc.value_opa = value_opa; draw_indic_dsc.pattern_image = pattern_src; } lv_draw_mask_radius_param_t mask_bg_param; lv_draw_mask_radius_init(&mask_bg_param, &bar->coords, bg_radius, false); int16_t mask_bg_id = lv_draw_mask_add(&mask_bg_param, NULL); /*Draw_only the background and the pattern*/ lv_opa_t shadow_opa = draw_indic_dsc.shadow_opa; lv_opa_t border_opa = draw_indic_dsc.border_opa; lv_opa_t value_opa = draw_indic_dsc.value_opa; draw_indic_dsc.border_opa = LV_OPA_TRANSP; draw_indic_dsc.shadow_opa = LV_OPA_TRANSP; draw_indic_dsc.value_opa = LV_OPA_TRANSP; /*Get the max possible indicator area. The gradient should be applied on this*/ lv_area_t mask_indic_max_area; lv_area_copy(&mask_indic_max_area, &bar->coords); mask_indic_max_area.x1 += bg_left; mask_indic_max_area.y1 += bg_top; mask_indic_max_area.x2 -= bg_right; mask_indic_max_area.y2 -= bg_bottom; if(hor && lv_area_get_height(&mask_indic_max_area) < LV_BAR_SIZE_MIN) { mask_indic_max_area.y1 = bar->coords.y1 + (objh / 2) - (LV_BAR_SIZE_MIN / 2); mask_indic_max_area.y2 = mask_indic_max_area.y1 + LV_BAR_SIZE_MIN; } else if(!hor && lv_area_get_width(&mask_indic_max_area) < LV_BAR_SIZE_MIN) { mask_indic_max_area.x1 = bar->coords.x1 + (objw / 2) - (LV_BAR_SIZE_MIN / 2); mask_indic_max_area.x2 = mask_indic_max_area.x1 + LV_BAR_SIZE_MIN; } /*Create a mask to the current indicator area to see only this part from the whole gradient.*/ lv_draw_mask_radius_param_t mask_indic_param; lv_draw_mask_radius_init(&mask_indic_param, &ext->indic_area, draw_indic_dsc.radius, false); int16_t mask_indic_id = lv_draw_mask_add(&mask_indic_param, NULL); lv_draw_rect(&mask_indic_max_area, clip_area, &draw_indic_dsc); draw_indic_dsc.border_opa = border_opa; draw_indic_dsc.shadow_opa = shadow_opa; draw_indic_dsc.value_opa = value_opa; /*Draw the border*/ draw_indic_dsc.bg_opa = LV_OPA_TRANSP; draw_indic_dsc.shadow_opa = LV_OPA_TRANSP; draw_indic_dsc.value_opa = LV_OPA_TRANSP; draw_indic_dsc.pattern_image = NULL; lv_draw_rect(&ext->indic_area, clip_area, &draw_indic_dsc); lv_draw_mask_remove_id(mask_indic_id); lv_draw_mask_remove_id(mask_bg_id); /*When not masks draw the value*/ draw_indic_dsc.value_opa = value_opa; draw_indic_dsc.border_opa = LV_OPA_TRANSP; lv_draw_rect(&ext->indic_area, clip_area, &draw_indic_dsc); } /** * Signal function of the bar * @param bar pointer to a bar object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_bar_signal(lv_obj_t * bar, lv_signal_t sign, void * param) { lv_res_t res; if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_bar_get_style(bar, info->part); if(info->result != NULL) return LV_RES_OK; else return ancestor_signal(bar, sign, param); } /* Include the ancient signal function */ res = ancestor_signal(bar, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); if(sign == LV_SIGNAL_REFR_EXT_DRAW_PAD) { lv_coord_t indic_size; indic_size = lv_obj_get_draw_rect_ext_pad_size(bar, LV_BAR_PART_INDIC); /*Bg size is handled by lv_obj*/ bar->ext_draw_pad = LV_MATH_MAX(bar->ext_draw_pad, indic_size); } if(sign == LV_SIGNAL_CLEANUP) { lv_obj_clean_style_list(bar, LV_BAR_PART_INDIC); #if LV_USE_ANIMATION lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); lv_anim_del(&ext->cur_value_anim, NULL); lv_anim_del(&ext->start_value_anim, NULL); #endif } return res; } static lv_style_list_t * lv_bar_get_style(lv_obj_t * bar, uint8_t part) { LV_ASSERT_OBJ(bar, LV_OBJX_NAME); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); lv_style_list_t * style_dsc_p; switch(part) { case LV_BAR_PART_BG: style_dsc_p = &bar->style_list; break; case LV_BAR_PART_INDIC: style_dsc_p = &ext->style_indic; break; default: style_dsc_p = NULL; } return style_dsc_p; } #if LV_USE_ANIMATION static void lv_bar_anim(lv_bar_anim_t * var, lv_anim_value_t value) { var->anim_state = value; lv_obj_invalidate(var->bar); } static void lv_bar_anim_ready(lv_anim_t * a) { lv_bar_anim_t * var = a->var; lv_bar_ext_t * ext = lv_obj_get_ext_attr(var->bar); var->anim_state = LV_BAR_ANIM_STATE_INV; if(var == &ext->cur_value_anim) ext->cur_value = var->anim_end; else if(var == &ext->start_value_anim) ext->start_value = var->anim_end; lv_obj_invalidate(var->bar); } static void lv_bar_set_value_with_anim(lv_obj_t * bar, int16_t new_value, int16_t * value_ptr, lv_bar_anim_t * anim_info, lv_anim_enable_t en) { if(en == LV_ANIM_OFF) { *value_ptr = new_value; lv_obj_invalidate(bar); } else { lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); /*No animation in progress -> simply set the values*/ if(anim_info->anim_state == LV_BAR_ANIM_STATE_INV) { anim_info->anim_start = *value_ptr; anim_info->anim_end = new_value; } /*Animation in progress. Start from the animation end value*/ else { anim_info->anim_start = anim_info->anim_end; anim_info->anim_end = new_value; } /* Stop the previous animation if it exists */ lv_anim_del(anim_info, NULL); lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, anim_info); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_bar_anim); lv_anim_set_values(&a, LV_BAR_ANIM_STATE_START, LV_BAR_ANIM_STATE_END); lv_anim_set_ready_cb(&a, lv_bar_anim_ready); lv_anim_set_time(&a, ext->anim_time); lv_anim_start(&a); } } static void lv_bar_init_anim(lv_obj_t * bar, lv_bar_anim_t * bar_anim) { bar_anim->bar = bar; bar_anim->anim_start = 0; bar_anim->anim_end = 0; bar_anim->anim_state = LV_BAR_ANIM_STATE_INV; } #endif #endif
24,729
lv_bar
c
en
c
code
{"qsc_code_num_words": 4022, "qsc_code_num_chars": 24729.0, "qsc_code_mean_word_length": 3.65166584, "qsc_code_frac_words_unique": 0.07061164, "qsc_code_frac_chars_top_2grams": 0.04051202, "qsc_code_frac_chars_top_3grams": 0.02859672, "qsc_code_frac_chars_top_4grams": 0.01593246, "qsc_code_frac_chars_dupe_5grams": 0.61905086, "qsc_code_frac_chars_dupe_6grams": 0.55314223, "qsc_code_frac_chars_dupe_7grams": 0.49874038, "qsc_code_frac_chars_dupe_8grams": 0.45053449, "qsc_code_frac_chars_dupe_9grams": 0.42132498, "qsc_code_frac_chars_dupe_10grams": 0.37856608, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00774194, "qsc_code_frac_chars_whitespace": 0.21650694, "qsc_code_size_file_byte": 24729.0, "qsc_code_num_lines": 763.0, "qsc_code_num_chars_line_max": 136.0, "qsc_code_num_chars_line_mean": 32.4102228, "qsc_code_frac_chars_alphabet": 0.75029677, "qsc_code_frac_chars_comments": 0.18771483, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.27162978, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00746826, "qsc_code_frac_chars_long_word_length": 0.00219069, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.02816901, "qsc_codec_frac_lines_func_ratio": 0.0945674, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.12072435, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.08249497}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_msgbox.c
/** * @file lv_msgbox.c * */ /********************* * INCLUDES *********************/ #include "lv_msgbox.h" #if LV_USE_MSGBOX != 0 #include "../lv_misc/lv_debug.h" #include "../lv_core/lv_group.h" #include "../lv_core/lv_disp.h" #include "../lv_themes/lv_theme.h" #include "../lv_misc/lv_anim.h" #include "../lv_misc/lv_math.h" /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_msgbox" #if LV_USE_ANIMATION #ifndef LV_MSGBOX_CLOSE_ANIM_TIME #define LV_MSGBOX_CLOSE_ANIM_TIME 200 /*List close animation time) */ #endif #else #undef LV_MSGBOX_CLOSE_ANIM_TIME #define LV_MSGBOX_CLOSE_ANIM_TIME 0 /*No animations*/ #endif /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_res_t lv_msgbox_signal(lv_obj_t * mbox, lv_signal_t sign, void * param); static void mbox_realign(lv_obj_t * mbox); static lv_style_list_t * lv_msgbox_get_style(lv_obj_t * mbox, uint8_t part); #if LV_USE_ANIMATION static void lv_msgbox_close_ready_cb(lv_anim_t * a); #endif static void lv_msgbox_default_event_cb(lv_obj_t * mbox, lv_event_t event); static void lv_msgbox_btnm_event_cb(lv_obj_t * btnm, lv_event_t event); /********************** * STATIC VARIABLES **********************/ static lv_signal_cb_t ancestor_signal; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a message box objects * @param par pointer to an object, it will be the parent of the new message box * @param copy pointer to a message box object, if not NULL then the new object will be copied from * it * @return pointer to the created message box */ lv_obj_t * lv_msgbox_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("message box create started"); /*Create the ancestor message box*/ lv_obj_t * mbox = lv_cont_create(par, copy); LV_ASSERT_MEM(mbox); if(mbox == NULL) return NULL; if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(mbox); /*Allocate the message box type specific extended data*/ lv_msgbox_ext_t * ext = lv_obj_allocate_ext_attr(mbox, sizeof(lv_msgbox_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(mbox); return NULL; } ext->text = NULL; ext->btnm = NULL; #if LV_USE_ANIMATION ext->anim_time = LV_MSGBOX_CLOSE_ANIM_TIME; #endif /*The signal and design functions are not copied so set them here*/ lv_obj_set_signal_cb(mbox, lv_msgbox_signal); /*Init the new message box message box*/ if(copy == NULL) { ext->text = lv_label_create(mbox, NULL); lv_label_set_align(ext->text, LV_LABEL_ALIGN_CENTER); lv_label_set_long_mode(ext->text, LV_LABEL_LONG_BREAK); lv_label_set_text(ext->text, "Message"); lv_cont_set_layout(mbox, LV_LAYOUT_COLUMN_MID); lv_cont_set_fit2(mbox, LV_FIT_NONE, LV_FIT_TIGHT); lv_coord_t fit_w = lv_obj_get_width_fit(par); if(lv_disp_get_size_category(NULL) <= LV_DISP_SIZE_SMALL) { lv_obj_set_width(mbox, fit_w); } else { lv_obj_set_width(mbox, LV_MATH_MIN(fit_w, LV_DPX(400))); } lv_obj_align(mbox, NULL, LV_ALIGN_CENTER, 0, 0); lv_obj_set_event_cb(mbox, lv_msgbox_default_event_cb); /*Set the default styles*/ lv_theme_apply(mbox, LV_THEME_MSGBOX); } /*Copy an existing message box*/ else { lv_msgbox_ext_t * copy_ext = lv_obj_get_ext_attr(copy); ext->text = lv_label_create(mbox, copy_ext->text); /*Copy the buttons and the label on them*/ if(copy_ext->btnm) ext->btnm = lv_btnmatrix_create(mbox, copy_ext->btnm); /*Refresh the style with new signal function*/ lv_obj_refresh_style(mbox, LV_STYLE_PROP_ALL); } LV_LOG_INFO("message box created"); return mbox; } /*====================== * Add/remove functions *=====================*/ /** * Add button to the message box * @param mbox pointer to message box object * @param btn_map button descriptor (button matrix map). * E.g. a const char *txt[] = {"ok", "close", ""} (Can not be local variable) */ void lv_msgbox_add_btns(lv_obj_t * mbox, const char * btn_map[]) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); LV_ASSERT_NULL(btn_map); lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); /*Create a button matrix if not exists yet*/ if(ext->btnm == NULL) { ext->btnm = lv_btnmatrix_create(mbox, NULL); lv_theme_apply(mbox, LV_THEME_MSGBOX_BTNS); } lv_btnmatrix_set_map(ext->btnm, btn_map); lv_btnmatrix_set_btn_ctrl_all(ext->btnm, LV_BTNMATRIX_CTRL_CLICK_TRIG | LV_BTNMATRIX_CTRL_NO_REPEAT); lv_obj_set_event_cb(ext->btnm, lv_msgbox_btnm_event_cb); if(lv_obj_is_focused(mbox)) { lv_state_t state = lv_obj_get_state(mbox, LV_MSGBOX_PART_BG); if(state & LV_STATE_EDITED) { lv_obj_set_state(ext->btnm, LV_STATE_FOCUSED | LV_STATE_EDITED); } else { lv_obj_set_state(ext->btnm, LV_STATE_FOCUSED); } lv_btnmatrix_set_focused_btn(ext->btnm, 0); } mbox_realign(mbox); } /*===================== * Setter functions *====================*/ /** * Set the text of the message box * @param mbox pointer to a message box * @param txt a '\0' terminated character string which will be the message box text */ void lv_msgbox_set_text(lv_obj_t * mbox, const char * txt) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); LV_ASSERT_STR(txt); lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); lv_label_set_text(ext->text, txt); mbox_realign(mbox); } /** * Set animation duration * @param mbox pointer to a message box object * @param anim_time animation length in milliseconds (0: no animation) */ void lv_msgbox_set_anim_time(lv_obj_t * mbox, uint16_t anim_time) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); #if LV_USE_ANIMATION lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); anim_time = 0; ext->anim_time = anim_time; #else (void)mbox; (void)anim_time; #endif } /** * Automatically delete the message box after a given time * @param mbox pointer to a message box object * @param delay a time (in milliseconds) to wait before delete the message box */ void lv_msgbox_start_auto_close(lv_obj_t * mbox, uint16_t delay) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); #if LV_USE_ANIMATION if(lv_msgbox_get_anim_time(mbox) != 0) { /*Add shrinking animations*/ lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, mbox); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_obj_set_height); lv_anim_set_values(&a, lv_obj_get_height(mbox), 0); lv_anim_set_time(&a, lv_msgbox_get_anim_time(mbox)); lv_anim_set_delay(&a, delay); lv_anim_start(&a); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_obj_set_width); lv_anim_set_values(&a, lv_obj_get_width(mbox), 0); lv_anim_set_ready_cb(&a, lv_msgbox_close_ready_cb); lv_anim_start(&a); /*Disable fit to let shrinking work*/ lv_cont_set_fit(mbox, LV_FIT_NONE); } else { /*Create an animation to delete the mbox `delay` ms later*/ lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, mbox); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)NULL); lv_anim_set_values(&a, 0, 1); lv_anim_set_ready_cb(&a, lv_msgbox_close_ready_cb); lv_anim_set_time(&a, lv_msgbox_get_anim_time(mbox)); lv_anim_set_delay(&a, delay); lv_anim_start(&a); } #else (void)delay; /*Unused*/ lv_obj_del(mbox); #endif } /** * Stop the auto. closing of message box * @param mbox pointer to a message box object */ void lv_msgbox_stop_auto_close(lv_obj_t * mbox) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); #if LV_USE_ANIMATION lv_anim_del(mbox, NULL); #else (void)mbox; /*Unused*/ #endif } /** * Set whether recoloring is enabled * @param mbox pointer to message box object * @param en whether recoloring is enabled */ void lv_msgbox_set_recolor(lv_obj_t * mbox, bool en) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); if(ext->btnm) lv_btnmatrix_set_recolor(ext->btnm, en); } /*===================== * Getter functions *====================*/ /** * Get the text of the message box * @param mbox pointer to a message box object * @return pointer to the text of the message box */ const char * lv_msgbox_get_text(const lv_obj_t * mbox) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); return lv_label_get_text(ext->text); } /** * Get the index of the lastly "activated" button by the user (pressed, released etc) * Useful in the the `event_cb`. * @param mbox pointer to message box object * @return index of the last released button (LV_BTNMATRIX_BTN_NONE: if unset) */ uint16_t lv_msgbox_get_active_btn(lv_obj_t * mbox) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); if(ext->btnm == NULL) return LV_BTNMATRIX_BTN_NONE; uint16_t id = lv_btnmatrix_get_active_btn(ext->btnm); if(id == LV_BTNMATRIX_BTN_NONE) { id = lv_btnmatrix_get_focused_btn(ext->btnm); } return id; } /** * Get the text of the lastly "activated" button by the user (pressed, released etc) * Useful in the the `event_cb`. * @param mbox pointer to message box object * @return text of the last released button (NULL: if unset) */ const char * lv_msgbox_get_active_btn_text(lv_obj_t * mbox) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); if(ext->btnm) return lv_btnmatrix_get_active_btn_text(ext->btnm); else return NULL; } /** * Get the animation duration (close animation time) * @param mbox pointer to a message box object * @return animation length in milliseconds (0: no animation) */ uint16_t lv_msgbox_get_anim_time(const lv_obj_t * mbox) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); #if LV_USE_ANIMATION lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); return ext->anim_time; #else (void)mbox; return 0; #endif } /** * Get whether recoloring is enabled * @param mbox pointer to a message box object * @return whether recoloring is enabled */ bool lv_msgbox_get_recolor(const lv_obj_t * mbox) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); if(!ext->btnm) return false; return lv_btnmatrix_get_recolor(ext->btnm); } /** * Get message box button matrix * @param mbox pointer to a message box object * @return pointer to button matrix object * @remarks return value will be NULL unless `lv_msgbox_add_btns` has been already called */ lv_obj_t * lv_msgbox_get_btnmatrix(lv_obj_t * mbox) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); return ext->btnm; } /********************** * STATIC FUNCTIONS **********************/ /** * Signal function of the message box * @param mbox pointer to a message box object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_msgbox_signal(lv_obj_t * mbox, lv_signal_t sign, void * param) { lv_res_t res; #if LV_USE_GROUP /*Translate LV_KEY_UP/DOWN to LV_KEY_LEFT/RIGHT */ char c_trans = 0; if(sign == LV_SIGNAL_CONTROL) { c_trans = *((char *)param); if(c_trans == LV_KEY_DOWN) c_trans = LV_KEY_LEFT; if(c_trans == LV_KEY_UP) c_trans = LV_KEY_RIGHT; param = &c_trans; } #endif if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_msgbox_get_style(mbox, info->part); if(info->result != NULL) return LV_RES_OK; else return ancestor_signal(mbox, sign, param); } else if(sign == LV_SIGNAL_GET_STATE_DSC) { lv_get_state_info_t * info = param; lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); if(ext->btnm && info->part == LV_MSGBOX_PART_BTN_BG) { info->result = lv_obj_get_state(ext->btnm, LV_BTNMATRIX_PART_BG); } else if(ext->btnm && info->part == LV_MSGBOX_PART_BTN) { info->result = lv_obj_get_state(ext->btnm, LV_BTNMATRIX_PART_BTN); } return LV_RES_OK; } /* Include the ancient signal function */ res = ancestor_signal(mbox, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); if(sign == LV_SIGNAL_COORD_CHG) { if(lv_obj_get_width(mbox) != lv_area_get_width(param)) { mbox_realign(mbox); } } else if(sign == LV_SIGNAL_STYLE_CHG) { mbox_realign(mbox); } else if(sign == LV_SIGNAL_RELEASED) { if(ext->btnm) { uint32_t btn_id = lv_btnmatrix_get_focused_btn(ext->btnm); if(btn_id != LV_BTNMATRIX_BTN_NONE) lv_event_send(mbox, LV_EVENT_VALUE_CHANGED, &btn_id); } } else if( #if LV_USE_GROUP sign == LV_SIGNAL_CONTROL || sign == LV_SIGNAL_GET_EDITABLE || #endif sign == LV_SIGNAL_FOCUS || sign == LV_SIGNAL_DEFOCUS) { if(ext->btnm) { ext->btnm->signal_cb(ext->btnm, sign, param); } /* The button matrix with ENCODER input supposes it's in a group but in this case it isn't * (Only the message box's container) So so some actions here instead*/ #if LV_USE_GROUP if(sign == LV_SIGNAL_FOCUS) { lv_indev_t * indev = lv_indev_get_act(); lv_indev_type_t indev_type = lv_indev_get_type(indev); if(indev_type == LV_INDEV_TYPE_ENCODER) { /*In navigation mode don't select any button but in edit mode select the fist*/ if(lv_group_get_editing(lv_obj_get_group(mbox))) lv_btnmatrix_set_focused_btn(ext->btnm, 0); else lv_btnmatrix_set_focused_btn(ext->btnm, LV_BTNMATRIX_BTN_NONE); } } if(ext->btnm && (sign == LV_SIGNAL_FOCUS || sign == LV_SIGNAL_DEFOCUS)) { lv_state_t state = lv_obj_get_state(mbox, LV_MSGBOX_PART_BG); if(state & LV_STATE_FOCUSED) { lv_obj_set_state(ext->btnm, LV_STATE_FOCUSED); } else { lv_obj_clear_state(ext->btnm, LV_STATE_FOCUSED); } if(state & LV_STATE_EDITED) { lv_obj_set_state(ext->btnm, LV_STATE_EDITED); } else { lv_obj_clear_state(ext->btnm, LV_STATE_EDITED); } } #endif } return res; } /** * Get the style descriptor of a part of the object * @param mbox pointer the object * @param part the part from `lv_msgbox_part_t`. (LV_MSGBOX_PART_...) * @return pointer to the style descriptor of the specified part */ static lv_style_list_t * lv_msgbox_get_style(lv_obj_t * mbox, uint8_t part) { LV_ASSERT_OBJ(mbox, LV_OBJX_NAME); lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); lv_style_list_t * style_dsc_p; switch(part) { case LV_MSGBOX_PART_BG: style_dsc_p = &mbox->style_list; break; case LV_MSGBOX_PART_BTN_BG: style_dsc_p = ext->btnm ? lv_obj_get_style_list(ext->btnm, LV_BTNMATRIX_PART_BG) : NULL; break; case LV_MSGBOX_PART_BTN: style_dsc_p = ext->btnm ? lv_obj_get_style_list(ext->btnm, LV_BTNMATRIX_PART_BTN) : NULL; break; default: style_dsc_p = NULL; } return style_dsc_p; } /** * Resize the button holder to fit * @param mbox pointer to message box object */ static void mbox_realign(lv_obj_t * mbox) { lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); lv_coord_t w = lv_obj_get_width_fit(mbox); if(ext->text) { lv_obj_set_width(ext->text, w); } if(ext->btnm) { lv_style_int_t bg_top = lv_obj_get_style_pad_top(mbox, LV_MSGBOX_PART_BTN_BG); lv_style_int_t bg_bottom = lv_obj_get_style_pad_bottom(mbox, LV_MSGBOX_PART_BTN_BG); lv_style_int_t bg_inner = lv_obj_get_style_pad_inner(mbox, LV_MSGBOX_PART_BTN_BG); lv_style_int_t btn_top = lv_obj_get_style_pad_top(mbox, LV_MSGBOX_PART_BTN); lv_style_int_t btn_bottom = lv_obj_get_style_pad_bottom(mbox, LV_MSGBOX_PART_BTN); const lv_font_t * font = lv_obj_get_style_text_font(mbox, LV_MSGBOX_PART_BTN); uint16_t btnm_lines = 1; const char ** btnm_map = lv_btnmatrix_get_map_array(ext->btnm); uint16_t i; for(i = 0; btnm_map[i][0] != '\0'; i++) { if(btnm_map[i][0] == '\n') btnm_lines++; } lv_coord_t font_h = lv_font_get_line_height(font); lv_coord_t btn_h = font_h + btn_top + btn_bottom; lv_obj_set_size(ext->btnm, w, btn_h * btnm_lines + bg_inner * (btnm_lines - 1) + bg_top + bg_bottom); } } #if LV_USE_ANIMATION static void lv_msgbox_close_ready_cb(lv_anim_t * a) { lv_obj_del(a->var); } #endif static void lv_msgbox_default_event_cb(lv_obj_t * mbox, lv_event_t event) { if(event != LV_EVENT_VALUE_CHANGED) return; uint32_t btn_id = lv_msgbox_get_active_btn(mbox); if(btn_id == LV_BTNMATRIX_BTN_NONE) return; lv_msgbox_start_auto_close(mbox, 0); } static void lv_msgbox_btnm_event_cb(lv_obj_t * btnm, lv_event_t event) { lv_obj_t * mbox = lv_obj_get_parent(btnm); /*clang-format off*/ if(event == LV_EVENT_PRESSED || event == LV_EVENT_PRESSING || event == LV_EVENT_PRESS_LOST || event == LV_EVENT_RELEASED || event == LV_EVENT_SHORT_CLICKED || event == LV_EVENT_CLICKED || event == LV_EVENT_LONG_PRESSED || event == LV_EVENT_LONG_PRESSED_REPEAT || event == LV_EVENT_VALUE_CHANGED) { lv_event_send(mbox, event, lv_event_get_data()); } /*clang-format on*/ } #endif
18,322
lv_msgbox
c
en
c
code
{"qsc_code_num_words": 2849, "qsc_code_num_chars": 18322.0, "qsc_code_mean_word_length": 3.81537382, "qsc_code_frac_words_unique": 0.10705511, "qsc_code_frac_chars_top_2grams": 0.03955842, "qsc_code_frac_chars_top_3grams": 0.02575897, "qsc_code_frac_chars_top_4grams": 0.02023919, "qsc_code_frac_chars_dupe_5grams": 0.54176633, "qsc_code_frac_chars_dupe_6grams": 0.4473781, "qsc_code_frac_chars_dupe_7grams": 0.40607176, "qsc_code_frac_chars_dupe_8grams": 0.37957682, "qsc_code_frac_chars_dupe_9grams": 0.33302668, "qsc_code_frac_chars_dupe_10grams": 0.29659614, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00356369, "qsc_code_frac_chars_whitespace": 0.21891715, "qsc_code_size_file_byte": 18322.0, "qsc_code_num_lines": 606.0, "qsc_code_num_chars_line_max": 110.0, "qsc_code_num_chars_line_mean": 30.23432343, "qsc_code_frac_chars_alphabet": 0.75599189, "qsc_code_frac_chars_comments": 0.25826875, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.27173913, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01479029, "qsc_code_frac_chars_long_word_length": 0.00478293, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.04619565, "qsc_codec_frac_lines_func_ratio": 0.11141304, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.15217391, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.11413043}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
007revad/Synology_SMART_info
my-other-scripts.md
## All my scripts, tools and guides <img src="https://hitscounter.dev/api/hit?url=https%3A%2F%2F007revad.github.io%2F&label=Visitors&icon=github&color=%23198754&message=&style=flat&tz=UTC"> #### Contents - [Plex](#plex) - [Synology docker](#synology-docker) - [Synology recovery](#synology-recovery) - [Other Synology scripts](#other-synology-scripts) - [Synology hardware restrictions](#synology-hardware-restrictions) - [2025 plus models](#2025-plus-models) - [How To Guides](#how-to-guides) - [Synology dev](#synology-dev) *** ### Plex - **<a href="https://github.com/007revad/Synology_Plex_Backup">Synology_Plex_Backup</a>** - A script to backup Plex to a tgz file foror DSM 7 and DSM 6. - Works for Plex Synology package and Plex in docker. - **<a href="https://github.com/007revad/Asustor_Plex_Backup">Asustor_Plex_Backup</a>** - Backup your Asustor's Plex Media Server settings and database. - **<a href="https://github.com/007revad/Linux_Plex_Backup">Linux_Plex_Backup</a>** - Backup your Linux Plex Media Server's settings and database. - **<a href="https://github.com/007revad/Plex_Server_Sync">Plex_Server_Sync</a>** - Sync your main Plex server database & metadata to a backup Plex server. - Works for Synology, Asustor, Linux and supports Plex package or Plex in docker. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### Synology docker - **<a href="https://github.com/007revad/Synology_Docker_Export">Synology_Docker_export</a>** - Export all Synology Container Manager or Docker containers' settings as json files to your docker shared folder. - **<a href="https://github.com/007revad/Synology_ContainerManager_IPv6">Synology_ContainerManager_IPv6</a>** - Enable IPv6 for Container Manager's bridge network. - **<a href="https://github.com/007revad/ContainerManager_for_all_armv8">ContainerManager_for_all_armv8</a>** - Script to install Container Manager on a RS819, DS119j, DS418, DS418j, DS218, DS218play or DS118. - **<a href="https://github.com/007revad/Docker_Autocompose">Docker_Autocompose</a>** - Create .yml files from your docker existing containers. - **<a href="https://github.com/007revad/Synology_docker_cleanup">Synology_docker_cleanup</a>** - Remove orphan docker btrfs subvolumes and images in Synology DSM 7 and DSM 6. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### Synology recovery - **<a href="https://github.com/007revad/Synology_DSM_reinstall">Synology_DSM_reinstall</a>** - Easily re-install the same DSM version without losing any data or settings. - **<a href="https://github.com/007revad/Synology_Recover_Data">Synology_Recover_Data</a>** - A script to make it easy to recover your data from your Synology's drives using a computer. - **<a href="https://github.com/007revad/Synology_clear_drive_error">Synology clear drive error</a>** - Clear drive critical errors so DSM will let you use the drive. - **<a href="https://github.com/007revad/Synology_DSM_Telnet_Password">Synology_DSM_Telnet_Password</a>** - Synology DSM Recovery Telnet Password of the Day generator. - **<a href="https://github.com/007revad/Syno_DSM_Extractor_GUI">Syno_DSM_Extractor_GUI</a>** - Windows GUI for extracting Synology DSM 7 pat files and spk package files. - **<a href="https://github.com/007revad/Synoboot_backup">Synoboot_backup</a>** - Back up synoboot after each DSM update so you can recover from a corrupt USBDOM. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### Other Synology scripts - **<a href="https://github.com/007revad/Synology_app_mover">Synology_app_mover</a>** - Easily move Synology packages from one volume to another volume. - **<a href="https://github.com/007revad/Video_Station_for_DSM_722">Video_Station_for_DSM_722</a>** - Script to install Video Station in DSM 7.2.2 - **<a href="https://github.com/007revad/SS_Motion_Detection">SS_Motion_Detection</a>** - Installs previous Surveillance Station and Advanced Media Extensions versions so motion detection and HEVC are supported. - **<a href="https://github.com/007revad/Synology_Config_Backup">Synology_Config_Backup</a>** - Backup and export your Synology DSM configuration. - **<a href="https://github.com/007revad/Synology_CPU_temperature">Synology_CPU_temperature</a>** - Get and log Synology NAS CPU temperature via SSH. - **<a href="https://github.com/007revad/Synology_SMART_info">Synology_SMART_info</a>** - Show Synology smart test progress or smart health and attributes. - **<a href="https://github.com/007revad/Synology_Cleanup_Coredumps">Synology_Cleanup_Coredumps</a>** - Cleanup memory core dumps from crashed processes. - **<a href="https://github.com/007revad/Synology_toggle_reset_button">Synology_toggle_reset_button</a>** - Script to disable or enable the reset button and show current setting. - **<a href="https://github.com/007revad/Synology_Download_Station_Chrome_Extension">Synology_Download_Station_Chrome_Extension</a>** - Download Station Chrome Extension. - **<a href="https://github.com/007revad/Seagate_lowCurrentSpinup">Seagate_lowCurrentSpinup</a>** - This script avoids the need to buy and install a higher wattage power supply when using multiple large Seagate SATA HDDs. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### Synology hardware restrictions - **<a href="https://github.com/007revad/Synology_HDD_db">Synology_HDD_db</a>** - Add your SATA or SAS HDDs and SSDs plus SATA and NVMe M.2 drives to your Synology's compatible drive databases, including your Synology M.2 PCIe card and Expansion Unit databases. - **<a href="https://github.com/007revad/Synology_enable_M2_volume">Synology_enable_M2_volume</a>** - Enable creating volumes with non-Synology M.2 drives. - Enable Health Info for non-Synology NVMe drives (not in DSM 7.2.1 or later). - **<a href="https://github.com/007revad/Synology_M2_volume">Synology_M2_volume</a>** - Easily create an M.2 volume on Synology NAS. - **<a href="https://github.com/007revad/Synology_enable_M2_card">Synology_enable_M2_card</a>** - Enable Synology M.2 PCIe cards in Synology NAS that don't officially support them. - **<a href="https://github.com/007revad/Synology_enable_eunit">Synology_enable_eunit</a>** - Enable an unsupported Synology eSATA Expansion Unit models. - **<a href="https://github.com/007revad/Synology_enable_Deduplication">Synology_enable_Deduplication</a>** - Enable deduplication with non-Synology SSDs and unsupported NAS models. - **<a href="https://github.com/007revad/Synology_SHR_switch">Synology_SHR_switch</a>** - Easily switch between SHR and RAID Groups, or enable RAID F1. - **<a href="https://github.com/007revad/Synology_enable_sequential_IO">Synology_enable_sequential_IO</a>** - Enables sequential I/O for your SSD caches, like DSM 6 had. - **<a href="https://github.com/007revad/Synology_Information_Wiki">Synology_Information_Wiki</a>** - Information about Synology hardware. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### 2025 plus models - **<a href="https://github.com/007revad/Transcode_for_x25">Transcode_for_x25</a>** - Installs the modules needed for Plex or Jellyfin hardware transcoding in DS425+ and DS225+. - **<a href="https://github.com/007revad/Synology_HDD_db/blob/main/2025_plus_models.md">2025 series or later Plus models</a>** - Unverified 3rd party drive limitations and unofficial solutions. - **<a href="https://github.com/007revad/Synology_HDD_db/blob/main/2025_plus_models.md#setting-up-a-new-2025-or-later-plus-model-with-only-unverified-hdds">Setup with only 3rd party drives</a>** - Setting up a new 2025 or later plus model with only unverified HDDs. - **<a href="https://github.com/007revad/Synology_HDD_db/blob/main/2025_plus_models.md#deleting-and-recreating-your-storage-pool-on-unverified-hdds">Recreating storage pool on migrated drives</a>** - Deleting and recreating your storage pool on unverified HDDs. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### How To Guides - **<a href="https://github.com/007revad/Synology_SSH_key_setup">Synology_SSH_key_setup</a>** - How to setup SSH key authentication for your Synology. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents) ### Synology dev - **<a href="https://github.com/007revad/Download_Synology_Archive">Download_Synology_Archive</a>** - Download all or part of the Synology archive. - **<a href="https://github.com/007revad/Syno_DSM_Extractor_GUI">Syno_DSM_Extractor_GUI</a>** - Windows GUI for extracting Synology DSM 7 pat files and spk package files. - **<a href="https://github.com/007revad/ScriptNotify">ScriptNotify</a>** - DSM 7 package to allow your scripts to send DSM notifications. - **<a href="https://github.com/007revad/DTC_GUI_for_Windows">DTC_GUI_for_Windows</a>** - GUI for DTC.exe for Windows. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [Back to Contents](#contents)
9,099
my-other-scripts
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.16632653, "qsc_doc_num_sentences": 107.0, "qsc_doc_num_words": 1341, "qsc_doc_num_chars": 9099.0, "qsc_doc_num_lines": 180.0, "qsc_doc_mean_word_length": 4.94630872, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.23191648, "qsc_doc_entropy_unigram": 4.76529845, "qsc_doc_frac_words_all_caps": 0.02908163, "qsc_doc_frac_lines_dupe_lines": 0.1025641, "qsc_doc_frac_chars_dupe_lines": 0.10911978, "qsc_doc_frac_chars_top_2grams": 0.05789236, "qsc_doc_frac_chars_top_3grams": 0.06482738, "qsc_doc_frac_chars_top_4grams": 0.10372381, "qsc_doc_frac_chars_dupe_5grams": 0.39981909, "qsc_doc_frac_chars_dupe_6grams": 0.36891301, "qsc_doc_frac_chars_dupe_7grams": 0.34041912, "qsc_doc_frac_chars_dupe_8grams": 0.25569124, "qsc_doc_frac_chars_dupe_9grams": 0.20624152, "qsc_doc_frac_chars_dupe_10grams": 0.15829941, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 0.0, "qsc_doc_num_chars_sentence_length_mean": 30.70731707, "qsc_doc_frac_chars_hyperlink_html_tag": 0.34762062, "qsc_doc_frac_chars_alphabet": 0.79007303, "qsc_doc_frac_chars_digital": 0.03094442, "qsc_doc_frac_chars_whitespace": 0.11210023, "qsc_doc_frac_chars_hex_words": 0.0}
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_all_caps": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0}
007revad/Synology_SMART_info
README.md
# Synology SMART info <a href="https://github.com/007revad/Synology_SMART_info/releases"><img src="https://img.shields.io/github/release/007revad/Synology_SMART_info.svg"></a> ![Badge](https://hitscounter.dev/api/hit?url=https%3A%2F%2Fgithub.com%2F007revad%2FSynology_SMART_info&label=Visitors&icon=github&color=%23198754&message=&style=flat&tz=Australia%2FSydney) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/paypalme/007revad) [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/007revad) [![committers.top badge](https://user-badge.committers.top/australia/007revad.svg)](https://user-badge.committers.top/australia/007revad) <!-- [![committers.top badge](https://user-badge.committers.top/australia_public/007revad.svg)](https://user-badge.committers.top/australia_public/007revad) --> <!-- [![committers.top badge](https://user-badge.committers.top/australia_private/007revad.svg)](https://user-badge.committers.top/australia_private/007revad) --> <!-- [![Github Releases](https://img.shields.io/github/downloads/007revad/synology_smart_info/total.svg)](https://github.com/007revad/Synology_SMART_info/releases) --> ### Description Show Synology smart test progress or smart health and attributes. The script works in DSM 7, including DSM 7.2, and DSM 6. ## Download the script 1. Download the latest version _Source code (zip)_ from https://github.com/007revad/Synology_SMART_info/releases 2. Save the download zip file to a folder on the Synology. 3. Unzip the zip file. ## How to run the script ### Run the script via SSH [How to enable SSH and login to DSM via SSH](https://kb.synology.com/en-global/DSM/tutorial/How_to_login_to_DSM_with_root_permission_via_SSH_Telnet) Run the script: ```bash sudo -s /volume1/scripts/syno_smart_info.sh ``` > **Note** <br> > Replace /volume1/scripts/ with the path to where the script is located. To see all the SMART attributes run the script with the -a or --all option: ```bash sudo -s /volume1/scripts/syno_smart_info.sh --all ``` > **Note** <br> > The script automatically shows all SMART attributes for any drives that don't return "SMART test passed". ### Scheduling the script in Synology's Task Scheduler See <a href=how_to_schedule.md/>How to schedule a script in Synology Task Scheduler</a> ### Options when running the script <a name="options"></a> There are optional flags you can use when running the script: ```YAML -a, --all Show all SMART attributes -e, --email Disable colored text in output scheduler emails -h, --help Show this help message -v, --version Show the script version ``` ## Optional for Seagate drives If you have Seagate drives you should install SynoCommunity's [SynoCli Disk Tools v4.0-13 or later](https://synocommunity.com/package/synocli-disk) package so this script can decode the values of Seagate's SMART attributes 1, 7 and 195. SynoCli Disk Tools v4.0-13 includes smartmontools v7.4 <p align="center">Seagate HDD with DSM's smartctl 6.5</p> <p align="center"><img src="/images/seagate_smartctl_65.png"></p> <p align="center">Seagate HDD with SynoCommunity's smartctl 7.4</p> <p align="center"><img src="/images/seagate_smartctl_7.png"></p> ## Screenshots <p align="center">All healthy</p> <p align="center"><img src="/images/webber_wd.png"></p> <p align="center">One drive marginal</p> <p align="center"><img src="/images/oscar_seagate.png"></p> <p align="center">UDMA CRC Errors</p> <p align="center"><img src="/images/webber_udma_errors.png"></p> <p align="center">NVMe drives removed while NAS was running</p> <p align="center"><img src="/images/oscar_wd_nvme.png"></p> <p align="center">SSD with reallocated sectors</p> <p align="center"><img src="/images/senna.png"></p> <p align="center">HDD and SSD when run with --all option</p> <p align="center"><img src="/images/hdd_ssd_all.png"></p> <p align="center">HDD and NVMe when run with --all option</p> <p align="center"><img src="/images/hdd_nvme_all.png"></p>
4,103
README
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.14920949, "qsc_doc_num_sentences": 78.0, "qsc_doc_num_words": 653, "qsc_doc_num_chars": 4103.0, "qsc_doc_num_lines": 93.0, "qsc_doc_mean_word_length": 4.55130168, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.32465544, "qsc_doc_entropy_unigram": 4.79965929, "qsc_doc_frac_words_all_caps": 0.02964427, "qsc_doc_frac_lines_dupe_lines": 0.11290323, "qsc_doc_frac_chars_dupe_lines": 0.01324338, "qsc_doc_frac_chars_top_2grams": 0.03633917, "qsc_doc_frac_chars_top_3grams": 0.07267833, "qsc_doc_frac_chars_top_4grams": 0.06998654, "qsc_doc_frac_chars_dupe_5grams": 0.38795424, "qsc_doc_frac_chars_dupe_6grams": 0.34959623, "qsc_doc_frac_chars_dupe_7grams": 0.3179677, "qsc_doc_frac_chars_dupe_8grams": 0.29475101, "qsc_doc_frac_chars_dupe_9grams": 0.1473755, "qsc_doc_frac_chars_dupe_10grams": 0.0948856, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 1.0, "qsc_doc_num_chars_sentence_length_mean": 22.5862069, "qsc_doc_frac_chars_hyperlink_html_tag": 0.61028516, "qsc_doc_frac_chars_alphabet": 0.78487578, "qsc_doc_frac_chars_digital": 0.02648103, "qsc_doc_frac_chars_whitespace": 0.10723861, "qsc_doc_frac_chars_hex_words": 0.0}
0
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_all_caps": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 1, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_line.c
/** * @file lv_line.c * */ /********************* * INCLUDES *********************/ #include "lv_line.h" #if LV_USE_LINE != 0 #include "../lv_misc/lv_debug.h" #include "../lv_draw/lv_draw.h" #include "../lv_misc/lv_math.h" #include "../lv_themes/lv_theme.h" #include <stdbool.h> #include <stdint.h> #include <string.h> /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_line" /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_design_res_t lv_line_design(lv_obj_t * line, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_res_t lv_line_signal(lv_obj_t * line, lv_signal_t sign, void * param); /********************** * STATIC VARIABLES **********************/ static lv_signal_cb_t ancestor_signal; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a line objects * @param par pointer to an object, it will be the parent of the new line * @return pointer to the created line */ lv_obj_t * lv_line_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("line create started"); /*Create a basic object*/ lv_obj_t * line = lv_obj_create(par, copy); LV_ASSERT_MEM(line); if(line == NULL) return NULL; if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(line); /*Extend the basic object to line object*/ lv_line_ext_t * ext = lv_obj_allocate_ext_attr(line, sizeof(lv_line_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(line); return NULL; } ext->point_num = 0; ext->point_array = NULL; ext->auto_size = 1; ext->y_inv = 0; lv_obj_set_design_cb(line, lv_line_design); lv_obj_set_signal_cb(line, lv_line_signal); /*Init the new line*/ if(copy == NULL) { lv_obj_set_size(line, LV_DPI, LV_DPI); /*Auto size is enables, but set default size until no points are added*/ lv_obj_set_click(line, false); lv_theme_apply(line, LV_THEME_LINE); } /*Copy an existing object*/ else { lv_line_ext_t * copy_ext = lv_obj_get_ext_attr(copy); lv_line_set_auto_size(line, lv_line_get_auto_size(copy)); lv_line_set_y_invert(line, lv_line_get_y_invert(copy)); lv_line_set_auto_size(line, lv_line_get_auto_size(copy)); lv_line_set_points(line, copy_ext->point_array, copy_ext->point_num); /*Refresh the style with new signal function*/ lv_obj_refresh_style(line, LV_STYLE_PROP_ALL); } LV_LOG_INFO("line created"); return line; } /*===================== * Setter functions *====================*/ /** * Set an array of points. The line object will connect these points. * @param line pointer to a line object * @param point_a an array of points. Only the address is saved, * so the array can NOT be a local variable which will be destroyed * @param point_num number of points in 'point_a' */ void lv_line_set_points(lv_obj_t * line, const lv_point_t point_a[], uint16_t point_num) { LV_ASSERT_OBJ(line, LV_OBJX_NAME); lv_line_ext_t * ext = lv_obj_get_ext_attr(line); ext->point_array = point_a; ext->point_num = point_num; if(point_num > 0 && ext->auto_size != 0) { uint16_t i; lv_coord_t xmax = LV_COORD_MIN; lv_coord_t ymax = LV_COORD_MIN; for(i = 0; i < point_num; i++) { xmax = LV_MATH_MAX(point_a[i].x, xmax); ymax = LV_MATH_MAX(point_a[i].y, ymax); } lv_style_int_t line_width = lv_obj_get_style_line_width(line, LV_LINE_PART_MAIN); lv_obj_set_size(line, xmax + line_width, ymax + line_width); } lv_obj_invalidate(line); } /** * Enable (or disable) the auto-size option. The size of the object will fit to its points. * (set width to x max and height to y max) * @param line pointer to a line object * @param en true: auto size is enabled, false: auto size is disabled */ void lv_line_set_auto_size(lv_obj_t * line, bool en) { LV_ASSERT_OBJ(line, LV_OBJX_NAME); lv_line_ext_t * ext = lv_obj_get_ext_attr(line); if(ext->auto_size == en) return; ext->auto_size = en == false ? 0 : 1; /*Refresh the object*/ if(en) lv_line_set_points(line, ext->point_array, ext->point_num); } /** * Enable (or disable) the y coordinate inversion. * If enabled then y will be subtracted from the height of the object, * therefore the y=0 coordinate will be on the bottom. * @param line pointer to a line object * @param en true: enable the y inversion, false:disable the y inversion */ void lv_line_set_y_invert(lv_obj_t * line, bool en) { LV_ASSERT_OBJ(line, LV_OBJX_NAME); lv_line_ext_t * ext = lv_obj_get_ext_attr(line); if(ext->y_inv == en) return; ext->y_inv = en == false ? 0 : 1; lv_obj_invalidate(line); } /*===================== * Getter functions *====================*/ /** * Get the auto size attribute * @param line pointer to a line object * @return true: auto size is enabled, false: disabled */ bool lv_line_get_auto_size(const lv_obj_t * line) { LV_ASSERT_OBJ(line, LV_OBJX_NAME); lv_line_ext_t * ext = lv_obj_get_ext_attr(line); return ext->auto_size == 0 ? false : true; } /** * Get the y inversion attribute * @param line pointer to a line object * @return true: y inversion is enabled, false: disabled */ bool lv_line_get_y_invert(const lv_obj_t * line) { LV_ASSERT_OBJ(line, LV_OBJX_NAME); lv_line_ext_t * ext = lv_obj_get_ext_attr(line); return ext->y_inv == 0 ? false : true; } /********************** * STATIC FUNCTIONS **********************/ /** * Handle the drawing related tasks of the lines * @param line pointer to an object * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_line_design(lv_obj_t * line, const lv_area_t * clip_area, lv_design_mode_t mode) { /*A line never covers an area*/ if(mode == LV_DESIGN_COVER_CHK) return LV_DESIGN_RES_NOT_COVER; else if(mode == LV_DESIGN_DRAW_MAIN) { lv_line_ext_t * ext = lv_obj_get_ext_attr(line); if(ext->point_num == 0 || ext->point_array == NULL) return false; lv_area_t area; lv_obj_get_coords(line, &area); lv_coord_t x_ofs = area.x1; lv_coord_t y_ofs = area.y1; lv_point_t p1; lv_point_t p2; lv_coord_t h = lv_obj_get_height(line); uint16_t i; lv_draw_line_dsc_t line_dsc; lv_draw_line_dsc_init(&line_dsc); lv_obj_init_draw_line_dsc(line, LV_LINE_PART_MAIN, &line_dsc); /*Read all points and draw the lines*/ for(i = 0; i < ext->point_num - 1; i++) { p1.x = ext->point_array[i].x + x_ofs; p2.x = ext->point_array[i + 1].x + x_ofs; if(ext->y_inv == 0) { p1.y = ext->point_array[i].y + y_ofs; p2.y = ext->point_array[i + 1].y + y_ofs; } else { p1.y = h - ext->point_array[i].y + y_ofs; p2.y = h - ext->point_array[i + 1].y + y_ofs; } lv_draw_line(&p1, &p2, clip_area, &line_dsc); line_dsc.round_start = 0; /*Draw the rounding only on the end points after the first line*/ } } return LV_DESIGN_RES_OK; } /** * Signal function of the line * @param line pointer to a line object * @param sign a signal type from lv_signal_t enum * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_line_signal(lv_obj_t * line, lv_signal_t sign, void * param) { lv_res_t res; /* Include the ancient signal function */ res = ancestor_signal(line, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); if(sign == LV_SIGNAL_REFR_EXT_DRAW_PAD) { /*The corner of the skew lines is out of the intended area*/ lv_style_int_t line_width = lv_obj_get_style_line_width(line, LV_LINE_PART_MAIN); if(line->ext_draw_pad < line_width) line->ext_draw_pad = line_width; } return res; } #endif
8,713
lv_line
c
en
c
code
{"qsc_code_num_words": 1369, "qsc_code_num_chars": 8713.0, "qsc_code_mean_word_length": 3.62673484, "qsc_code_frac_words_unique": 0.15193572, "qsc_code_frac_chars_top_2grams": 0.03826788, "qsc_code_frac_chars_top_3grams": 0.01570997, "qsc_code_frac_chars_top_4grams": 0.02014099, "qsc_code_frac_chars_dupe_5grams": 0.36092649, "qsc_code_frac_chars_dupe_6grams": 0.30715005, "qsc_code_frac_chars_dupe_7grams": 0.27774421, "qsc_code_frac_chars_dupe_8grams": 0.27411883, "qsc_code_frac_chars_dupe_9grams": 0.22719033, "qsc_code_frac_chars_dupe_10grams": 0.2183283, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0059577, "qsc_code_frac_chars_whitespace": 0.22942729, "qsc_code_size_file_byte": 8713.0, "qsc_code_num_lines": 293.0, "qsc_code_num_chars_line_max": 115.0, "qsc_code_num_chars_line_mean": 29.73720137, "qsc_code_frac_chars_alphabet": 0.73354185, "qsc_code_frac_chars_comments": 0.36497188, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.14583333, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.02367613, "qsc_code_frac_chars_long_word_length": 0.00795229, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.04861111, "qsc_codec_frac_lines_func_ratio": 0.08333333, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.17361111, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.07638889}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_canvas.h
/** * @file lv_canvas.h * */ #ifndef LV_CANVAS_H #define LV_CANVAS_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #if LV_USE_CANVAS != 0 #include "../lv_core/lv_obj.h" #include "../lv_widgets/lv_img.h" #include "../lv_draw/lv_draw_img.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /*Data of canvas*/ typedef struct { lv_img_ext_t img; /*Ext. of ancestor*/ /*New data for this type */ lv_img_dsc_t dsc; } lv_canvas_ext_t; /*Canvas part*/ enum { LV_CANVAS_PART_MAIN, }; typedef uint8_t lv_canvas_part_t; /********************** * GLOBAL PROTOTYPES **********************/ /** * Create a canvas object * @param par pointer to an object, it will be the parent of the new canvas * @param copy pointer to a canvas object, if not NULL then the new object will be copied from it * @return pointer to the created canvas */ lv_obj_t * lv_canvas_create(lv_obj_t * par, const lv_obj_t * copy); /*===================== * Setter functions *====================*/ /** * Set a buffer for the canvas. * @param buf a buffer where the content of the canvas will be. * The required size is (lv_img_color_format_get_px_size(cf) * w) / 8 * h) * It can be allocated with `lv_mem_alloc()` or * it can be statically allocated array (e.g. static lv_color_t buf[100*50]) or * it can be an address in RAM or external SRAM * @param canvas pointer to a canvas object * @param w width of the canvas * @param h height of the canvas * @param cf color format. `LV_IMG_CF_...` */ void lv_canvas_set_buffer(lv_obj_t * canvas, void * buf, lv_coord_t w, lv_coord_t h, lv_img_cf_t cf); /** * Set the color of a pixel on the canvas * @param canvas * @param x x coordinate of the point to set * @param y x coordinate of the point to set * @param c color of the point */ void lv_canvas_set_px(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_color_t c); /** * Set the palette color of a canvas with index format. Valid only for `LV_IMG_CF_INDEXED1/2/4/8` * @param canvas pointer to canvas object * @param id the palette color to set: * - for `LV_IMG_CF_INDEXED1`: 0..1 * - for `LV_IMG_CF_INDEXED2`: 0..3 * - for `LV_IMG_CF_INDEXED4`: 0..15 * - for `LV_IMG_CF_INDEXED8`: 0..255 * @param c the color to set */ void lv_canvas_set_palette(lv_obj_t * canvas, uint8_t id, lv_color_t c); /*===================== * Getter functions *====================*/ /** * Get the color of a pixel on the canvas * @param canvas * @param x x coordinate of the point to set * @param y x coordinate of the point to set * @return color of the point */ lv_color_t lv_canvas_get_px(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y); /** * Get the image of the canvas as a pointer to an `lv_img_dsc_t` variable. * @param canvas pointer to a canvas object * @return pointer to the image descriptor. */ lv_img_dsc_t * lv_canvas_get_img(lv_obj_t * canvas); /*===================== * Other functions *====================*/ /** * Copy a buffer to the canvas * @param canvas pointer to a canvas object * @param to_copy buffer to copy. The color format has to match with the canvas's buffer color * format * @param x left side of the destination position * @param y top side of the destination position * @param w width of the buffer to copy * @param h height of the buffer to copy */ void lv_canvas_copy_buf(lv_obj_t * canvas, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h); /** * Transform and image and store the result on a canvas. * @param canvas pointer to a canvas object to store the result of the transformation. * @param img pointer to an image descriptor to transform. * Can be the image descriptor of an other canvas too (`lv_canvas_get_img()`). * @param angle the angle of rotation (0..3600), 0.1 deg resolution * @param zoom zoom factor (256 no zoom); * @param offset_x offset X to tell where to put the result data on destination canvas * @param offset_y offset X to tell where to put the result data on destination canvas * @param pivot_x pivot X of rotation. Relative to the source canvas * Set to `source width / 2` to rotate around the center * @param pivot_y pivot Y of rotation. Relative to the source canvas * Set to `source height / 2` to rotate around the center * @param antialias apply anti-aliasing during the transformation. Looks better but slower. */ void lv_canvas_transform(lv_obj_t * canvas, lv_img_dsc_t * img, int16_t angle, uint16_t zoom, lv_coord_t offset_x, lv_coord_t offset_y, int32_t pivot_x, int32_t pivot_y, bool antialias); /** * Apply horizontal blur on the canvas * @param canvas pointer to a canvas object * @param area the area to blur. If `NULL` the whole canvas will be blurred. * @param r radius of the blur */ void lv_canvas_blur_hor(lv_obj_t * canvas, const lv_area_t * area, uint16_t r); /** * Apply vertical blur on the canvas * @param canvas pointer to a canvas object * @param area the area to blur. If `NULL` the whole canvas will be blurred. * @param r radius of the blur */ void lv_canvas_blur_ver(lv_obj_t * canvas, const lv_area_t * area, uint16_t r); /** * Fill the canvas with color * @param canvas pointer to a canvas * @param color the background color * @param opa the desired opacity */ void lv_canvas_fill_bg(lv_obj_t * canvas, lv_color_t color, lv_opa_t opa); /** * Draw a rectangle on the canvas * @param canvas pointer to a canvas object * @param x left coordinate of the rectangle * @param y top coordinate of the rectangle * @param w width of the rectangle * @param h height of the rectangle * @param rect_dsc descriptor of the rectangle */ void lv_canvas_draw_rect(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h, const lv_draw_rect_dsc_t * rect_dsc); /** * Draw a text on the canvas. * @param canvas pointer to a canvas object * @param x left coordinate of the text * @param y top coordinate of the text * @param max_w max width of the text. The text will be wrapped to fit into this size * @param label_draw_dsc pointer to a valid label descriptor `lv_draw_label_dsc_t` * @param txt text to display * @param align align of the text (`LV_LABEL_ALIGN_LEFT/RIGHT/CENTER`) */ void lv_canvas_draw_text(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t max_w, lv_draw_label_dsc_t * label_draw_dsc, const char * txt, lv_label_align_t align); /** * Draw an image on the canvas * @param canvas pointer to a canvas object * @param x left coordinate of the image * @param y top coordinate of the image * @param src image source. Can be a pointer an `lv_img_dsc_t` variable or a path an image. * @param img_draw_dsc pointer to a valid label descriptor `lv_draw_img_dsc_t` */ void lv_canvas_draw_img(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, const void * src, const lv_draw_img_dsc_t * img_draw_dsc); /** * Draw a line on the canvas * @param canvas pointer to a canvas object * @param points point of the line * @param point_cnt number of points * @param line_draw_dsc pointer to an initialized `lv_draw_line_dsc_t` variable */ void lv_canvas_draw_line(lv_obj_t * canvas, const lv_point_t points[], uint32_t point_cnt, const lv_draw_line_dsc_t * line_draw_dsc); /** * Draw a polygon on the canvas * @param canvas pointer to a canvas object * @param points point of the polygon * @param point_cnt number of points * @param poly_draw_dsc pointer to an initialized `lv_draw_rect_dsc_t` variable */ void lv_canvas_draw_polygon(lv_obj_t * canvas, const lv_point_t points[], uint32_t point_cnt, const lv_draw_rect_dsc_t * poly_draw_dsc); /** * Draw an arc on the canvas * @param canvas pointer to a canvas object * @param x origo x of the arc * @param y origo y of the arc * @param r radius of the arc * @param start_angle start angle in degrees * @param end_angle end angle in degrees * @param arc_draw_dsc pointer to an initialized `lv_draw_line_dsc_t` variable */ void lv_canvas_draw_arc(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t r, int32_t start_angle, int32_t end_angle, const lv_draw_line_dsc_t * arc_draw_dsc); /********************** * MACROS **********************/ #define LV_CANVAS_BUF_SIZE_TRUE_COLOR(w, h) LV_IMG_BUF_SIZE_TRUE_COLOR(w, h) #define LV_CANVAS_BUF_SIZE_TRUE_COLOR_CHROMA_KEYED(w, h) LV_IMG_BUF_SIZE_TRUE_COLOR_CHROMA_KEYED(w, h) #define LV_CANVAS_BUF_SIZE_TRUE_COLOR_ALPHA(w, h) LV_IMG_BUF_SIZE_TRUE_COLOR_ALPHA(w, h) /*+ 1: to be sure no fractional row*/ #define LV_CANVAS_BUF_SIZE_ALPHA_1BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_1BIT(w, h) #define LV_CANVAS_BUF_SIZE_ALPHA_2BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_2BIT(w, h) #define LV_CANVAS_BUF_SIZE_ALPHA_4BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_4BIT(w, h) #define LV_CANVAS_BUF_SIZE_ALPHA_8BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_8BIT(w, h) /*4 * X: for palette*/ #define LV_CANVAS_BUF_SIZE_INDEXED_1BIT(w, h) LV_IMG_BUF_SIZE_INDEXED_1BIT(w, h) #define LV_CANVAS_BUF_SIZE_INDEXED_2BIT(w, h) LV_IMG_BUF_SIZE_INDEXED_2BIT(w, h) #define LV_CANVAS_BUF_SIZE_INDEXED_4BIT(w, h) LV_IMG_BUF_SIZE_INDEXED_4BIT(w, h) #define LV_CANVAS_BUF_SIZE_INDEXED_8BIT(w, h) LV_IMG_BUF_SIZE_INDEXED_8BIT(w, h) #endif /*LV_USE_CANVAS*/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_CANVAS_H*/
9,671
lv_canvas
h
en
c
code
{"qsc_code_num_words": 1665, "qsc_code_num_chars": 9671.0, "qsc_code_mean_word_length": 3.73933934, "qsc_code_frac_words_unique": 0.13993994, "qsc_code_frac_chars_top_2grams": 0.04625763, "qsc_code_frac_chars_top_3grams": 0.03083842, "qsc_code_frac_chars_top_4grams": 0.03083842, "qsc_code_frac_chars_dupe_5grams": 0.5488275, "qsc_code_frac_chars_dupe_6grams": 0.48506264, "qsc_code_frac_chars_dupe_7grams": 0.43318342, "qsc_code_frac_chars_dupe_8grams": 0.36620623, "qsc_code_frac_chars_dupe_9grams": 0.29810472, "qsc_code_frac_chars_dupe_10grams": 0.28782525, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01002184, "qsc_code_frac_chars_whitespace": 0.19522283, "qsc_code_size_file_byte": 9671.0, "qsc_code_num_lines": 272.0, "qsc_code_num_chars_line_max": 115.0, "qsc_code_num_chars_line_mean": 35.55514706, "qsc_code_frac_chars_alphabet": 0.78992676, "qsc_code_frac_chars_comments": 0.63488781, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.09836066, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.02463891, "qsc_code_frac_chars_long_word_length": 0.01897479, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.45901639, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.52459016, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 1, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_cont.c
/** * @file lv_cont.c * */ /********************* * INCLUDES *********************/ #include "lv_cont.h" #if LV_USE_CONT != 0 #include <stdbool.h> #include <stdint.h> #include <string.h> #include "../lv_misc/lv_debug.h" #include "../lv_draw/lv_draw.h" #include "../lv_draw/lv_draw_mask.h" #include "../lv_themes/lv_theme.h" #include "../lv_misc/lv_area.h" #include "../lv_misc/lv_color.h" #include "../lv_misc/lv_math.h" /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_cont" /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_res_t lv_cont_signal(lv_obj_t * cont, lv_signal_t sign, void * param); static lv_style_list_t * lv_cont_get_style(lv_obj_t * cont, uint8_t type); static void lv_cont_refr_layout(lv_obj_t * cont); static void lv_cont_layout_col(lv_obj_t * cont); static void lv_cont_layout_row(lv_obj_t * cont); static void lv_cont_layout_center(lv_obj_t * cont); static void lv_cont_layout_pretty(lv_obj_t * cont); static void lv_cont_layout_grid(lv_obj_t * cont); static void lv_cont_refr_autofit(lv_obj_t * cont); /********************** * STATIC VARIABLES **********************/ static lv_design_cb_t ancestor_design; static lv_signal_cb_t ancestor_signal; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a container objects * @param par pointer to an object, it will be the parent of the new container * @param copy pointer to a container object, if not NULL then the new object will be copied from it * @return pointer to the created container */ lv_obj_t * lv_cont_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("container create started"); /*Create a basic object*/ lv_obj_t * cont = lv_obj_create(par, copy); LV_ASSERT_MEM(cont); if(cont == NULL) return NULL; if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(cont); if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(cont); lv_obj_allocate_ext_attr(cont, sizeof(lv_cont_ext_t)); lv_cont_ext_t * ext = lv_obj_get_ext_attr(cont); if(ext == NULL) { lv_obj_del(cont); return NULL; } LV_ASSERT_MEM(ext); ext->fit_left = LV_FIT_NONE; ext->fit_right = LV_FIT_NONE; ext->fit_top = LV_FIT_NONE; ext->fit_bottom = LV_FIT_NONE; ext->layout = LV_LAYOUT_OFF; lv_obj_set_signal_cb(cont, lv_cont_signal); /*Init the new container*/ if(copy == NULL) { /*Set the default styles if it's not screen*/ if(par != NULL) { lv_theme_apply(cont, LV_THEME_CONT); } } /*Copy an existing object*/ else { lv_cont_ext_t * copy_ext = lv_obj_get_ext_attr(copy); ext->fit_left = copy_ext->fit_left; ext->fit_right = copy_ext->fit_right; ext->fit_top = copy_ext->fit_top; ext->fit_bottom = copy_ext->fit_bottom; ext->layout = copy_ext->layout; /*Refresh the style with new signal function*/ lv_obj_refresh_style(cont, LV_STYLE_PROP_ALL); } LV_LOG_INFO("container created"); return cont; } /*===================== * Setter functions *====================*/ /** * Set a layout on a container * @param cont pointer to a container object * @param layout a layout from 'lv_cont_layout_t' */ void lv_cont_set_layout(lv_obj_t * cont, lv_layout_t layout) { LV_ASSERT_OBJ(cont, LV_OBJX_NAME); lv_cont_ext_t * ext = lv_obj_get_ext_attr(cont); if(ext->layout == layout) return; ext->layout = layout; /*Send a signal to refresh the layout*/ cont->signal_cb(cont, LV_SIGNAL_CHILD_CHG, NULL); } /** * Set the fit policy in all 4 directions separately. * It tell how to change the container's size automatically. * @param cont pointer to a container object * @param left left fit policy from `lv_fit_t` * @param right right fit policy from `lv_fit_t` * @param top bottom fit policy from `lv_fit_t` * @param bottom bottom fit policy from `lv_fit_t` */ void lv_cont_set_fit4(lv_obj_t * cont, lv_fit_t left, lv_fit_t right, lv_fit_t top, lv_fit_t bottom) { LV_ASSERT_OBJ(cont, LV_OBJX_NAME); lv_obj_invalidate(cont); lv_cont_ext_t * ext = lv_obj_get_ext_attr(cont); if(ext->fit_left == left && ext->fit_right == right && ext->fit_top == top && ext->fit_bottom == bottom) { return; } ext->fit_left = left; ext->fit_right = right; ext->fit_top = top; ext->fit_bottom = bottom; /*Send a signal to refresh the layout*/ cont->signal_cb(cont, LV_SIGNAL_CHILD_CHG, NULL); } /*===================== * Getter functions *====================*/ /** * Get the layout of a container * @param cont pointer to container object * @return the layout from 'lv_cont_layout_t' */ lv_layout_t lv_cont_get_layout(const lv_obj_t * cont) { LV_ASSERT_OBJ(cont, LV_OBJX_NAME); lv_cont_ext_t * ext = lv_obj_get_ext_attr(cont); return ext->layout; } /** * Get left fit mode of a container * @param cont pointer to a container object * @return an element of `lv_fit_t` */ lv_fit_t lv_cont_get_fit_left(const lv_obj_t * cont) { LV_ASSERT_OBJ(cont, LV_OBJX_NAME); lv_cont_ext_t * ext = lv_obj_get_ext_attr(cont); return ext->fit_left; } /** * Get right fit mode of a container * @param cont pointer to a container object * @return an element of `lv_fit_t` */ lv_fit_t lv_cont_get_fit_right(const lv_obj_t * cont) { LV_ASSERT_OBJ(cont, LV_OBJX_NAME); lv_cont_ext_t * ext = lv_obj_get_ext_attr(cont); return ext->fit_right; } /** * Get top fit mode of a container * @param cont pointer to a container object * @return an element of `lv_fit_t` */ lv_fit_t lv_cont_get_fit_top(const lv_obj_t * cont) { LV_ASSERT_OBJ(cont, LV_OBJX_NAME); lv_cont_ext_t * ext = lv_obj_get_ext_attr(cont); return ext->fit_top; } /** * Get bottom fit mode of a container * @param cont pointer to a container object * @return an element of `lv_fit_t` */ lv_fit_t lv_cont_get_fit_bottom(const lv_obj_t * cont) { LV_ASSERT_OBJ(cont, LV_OBJX_NAME); lv_cont_ext_t * ext = lv_obj_get_ext_attr(cont); return ext->fit_bottom; } /********************** * STATIC FUNCTIONS **********************/ /** * Signal function of the container * @param cont pointer to a container object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_cont_signal(lv_obj_t * cont, lv_signal_t sign, void * param) { if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_cont_get_style(cont, info->part); if(info->result != NULL) return LV_RES_OK; else return ancestor_signal(cont, sign, param); } lv_res_t res; /* Include the ancient signal function */ res = ancestor_signal(cont, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); if(sign == LV_SIGNAL_STYLE_CHG) { /*Recalculate the padding if the style changed*/ lv_cont_refr_layout(cont); lv_cont_refr_autofit(cont); } else if(sign == LV_SIGNAL_CHILD_CHG) { lv_cont_refr_layout(cont); lv_cont_refr_autofit(cont); } else if(sign == LV_SIGNAL_COORD_CHG) { if(lv_obj_get_width(cont) != lv_area_get_width(param) || lv_obj_get_height(cont) != lv_area_get_height(param)) { lv_cont_refr_layout(cont); lv_cont_refr_autofit(cont); } } else if(sign == LV_SIGNAL_PARENT_SIZE_CHG) { /*MAX and EDGE fit needs to be refreshed if the parent's size has changed*/ lv_cont_refr_autofit(cont); } return res; } static lv_style_list_t * lv_cont_get_style(lv_obj_t * cont, uint8_t type) { lv_style_list_t * style_dsc_p; switch(type) { case LV_CONT_PART_MAIN: style_dsc_p = &cont->style_list; break; default: style_dsc_p = NULL; } return style_dsc_p; } /** * Refresh the layout of a container * @param cont pointer to an object which layout should be refreshed */ static void lv_cont_refr_layout(lv_obj_t * cont) { if(lv_obj_is_protected(cont, LV_PROTECT_CHILD_CHG)) return; lv_layout_t type = lv_cont_get_layout(cont); /*'cont' has to be at least 1 child*/ if(lv_obj_get_child(cont, NULL) == NULL) return; if(type == LV_LAYOUT_OFF) return; if(type == LV_LAYOUT_CENTER) { lv_cont_layout_center(cont); } else if(type == LV_LAYOUT_COLUMN_LEFT || type == LV_LAYOUT_COLUMN_MID || type == LV_LAYOUT_COLUMN_RIGHT) { lv_cont_layout_col(cont); } else if(type == LV_LAYOUT_ROW_TOP || type == LV_LAYOUT_ROW_MID || type == LV_LAYOUT_ROW_BOTTOM) { lv_cont_layout_row(cont); } else if(type == LV_LAYOUT_PRETTY_MID || type == LV_LAYOUT_PRETTY_TOP || type == LV_LAYOUT_PRETTY_BOTTOM) { lv_cont_layout_pretty(cont); } else if(type == LV_LAYOUT_GRID) { lv_cont_layout_grid(cont); } } /** * Handle column type layouts * @param cont pointer to an object which layout should be handled */ static void lv_cont_layout_col(lv_obj_t * cont) { lv_coord_t left = lv_obj_get_style_pad_left(cont, LV_CONT_PART_MAIN); lv_coord_t right = lv_obj_get_style_pad_right(cont, LV_CONT_PART_MAIN); lv_coord_t top = lv_obj_get_style_pad_top(cont, LV_CONT_PART_MAIN); lv_coord_t inner = lv_obj_get_style_pad_inner(cont, LV_CONT_PART_MAIN); lv_layout_t type = lv_cont_get_layout(cont); lv_obj_t * child; /*Adjust margin and get the alignment type*/ lv_align_t align; lv_coord_t hpad_corr; switch(type) { case LV_LAYOUT_COLUMN_LEFT: hpad_corr = left; align = LV_ALIGN_IN_TOP_LEFT; break; case LV_LAYOUT_COLUMN_MID: hpad_corr = 0; align = LV_ALIGN_IN_TOP_MID; break; case LV_LAYOUT_COLUMN_RIGHT: hpad_corr = -right; align = LV_ALIGN_IN_TOP_RIGHT; break; default: hpad_corr = 0; align = LV_ALIGN_IN_TOP_LEFT; break; } /* Disable child change action because the children will be moved a lot * an unnecessary child change signals could be sent*/ lv_obj_add_protect(cont, LV_PROTECT_CHILD_CHG); /* Align the children */ lv_coord_t last_cord = top; _LV_LL_READ_BACK(cont->child_ll, child) { if(lv_obj_get_hidden(child) != false || lv_obj_is_protected(child, LV_PROTECT_POS) != false) continue; lv_style_int_t mtop = lv_obj_get_style_margin_top(child, LV_OBJ_PART_MAIN); lv_style_int_t mbottom = lv_obj_get_style_margin_bottom(child, LV_OBJ_PART_MAIN); lv_style_int_t mleft = lv_obj_get_style_margin_left(child, LV_OBJ_PART_MAIN); lv_obj_align(child, cont, align, hpad_corr + mleft, last_cord + mtop); last_cord += lv_obj_get_height(child) + inner + mtop + mbottom; } lv_obj_clear_protect(cont, LV_PROTECT_CHILD_CHG); } /** * Handle row type layouts * @param cont pointer to an object which layout should be handled */ static void lv_cont_layout_row(lv_obj_t * cont) { lv_layout_t type = lv_cont_get_layout(cont); lv_obj_t * child; /*Adjust margin and get the alignment type*/ lv_align_t align; lv_coord_t vpad_corr; lv_bidi_dir_t base_dir = lv_obj_get_base_dir(cont); switch(type) { case LV_LAYOUT_ROW_TOP: vpad_corr = lv_obj_get_style_pad_top(cont, LV_CONT_PART_MAIN); align = base_dir == LV_BIDI_DIR_RTL ? LV_ALIGN_IN_TOP_RIGHT : LV_ALIGN_IN_TOP_LEFT; break; case LV_LAYOUT_ROW_MID: vpad_corr = 0; align = base_dir == LV_BIDI_DIR_RTL ? LV_ALIGN_IN_RIGHT_MID : LV_ALIGN_IN_LEFT_MID; break; case LV_LAYOUT_ROW_BOTTOM: vpad_corr = -lv_obj_get_style_pad_bottom(cont, LV_CONT_PART_MAIN); align = base_dir == LV_BIDI_DIR_RTL ? LV_ALIGN_IN_BOTTOM_RIGHT : LV_ALIGN_IN_BOTTOM_LEFT; break; default: vpad_corr = 0; align = base_dir == LV_BIDI_DIR_RTL ? LV_ALIGN_IN_TOP_RIGHT : LV_ALIGN_IN_TOP_LEFT; break; } /* Disable child change action because the children will be moved a lot * an unnecessary child change signals could be sent*/ lv_obj_add_protect(cont, LV_PROTECT_CHILD_CHG); /* Align the children */ lv_coord_t last_cord; if(base_dir == LV_BIDI_DIR_RTL) last_cord = lv_obj_get_style_pad_right(cont, LV_CONT_PART_MAIN); else last_cord = lv_obj_get_style_pad_left(cont, LV_CONT_PART_MAIN); lv_coord_t inner = lv_obj_get_style_pad_inner(cont, LV_CONT_PART_MAIN); _LV_LL_READ_BACK(cont->child_ll, child) { if(lv_obj_get_hidden(child) != false || lv_obj_is_protected(child, LV_PROTECT_POS) != false) continue; if(base_dir == LV_BIDI_DIR_RTL) lv_obj_align(child, cont, align, -last_cord, vpad_corr); else lv_obj_align(child, cont, align, last_cord, vpad_corr); last_cord += lv_obj_get_width(child) + inner; } lv_obj_clear_protect(cont, LV_PROTECT_CHILD_CHG); } /** * Handle the center layout * @param cont pointer to an object which layout should be handled */ static void lv_cont_layout_center(lv_obj_t * cont) { lv_obj_t * child; uint32_t obj_num = 0; lv_coord_t h_tot = 0; lv_coord_t inner = lv_obj_get_style_pad_inner(cont, LV_CONT_PART_MAIN); _LV_LL_READ(cont->child_ll, child) { if(lv_obj_get_hidden(child) != false || lv_obj_is_protected(child, LV_PROTECT_POS) != false) continue; h_tot += lv_obj_get_height(child) + inner; obj_num++; } if(obj_num == 0) return; h_tot -= inner; /* Disable child change action because the children will be moved a lot * an unnecessary child change signals could be sent*/ lv_obj_add_protect(cont, LV_PROTECT_CHILD_CHG); /* Align the children */ lv_coord_t last_cord = -(h_tot / 2); _LV_LL_READ_BACK(cont->child_ll, child) { if(lv_obj_get_hidden(child) != false || lv_obj_is_protected(child, LV_PROTECT_POS) != false) continue; lv_obj_align(child, cont, LV_ALIGN_CENTER, 0, last_cord + lv_obj_get_height(child) / 2); last_cord += lv_obj_get_height(child) + inner; } lv_obj_clear_protect(cont, LV_PROTECT_CHILD_CHG); } /** * Handle the pretty layout. Put as many object as possible in row * then begin a new row * @param cont pointer to an object which layout should be handled */ static void lv_cont_layout_pretty(lv_obj_t * cont) { lv_layout_t type = lv_cont_get_layout(cont); lv_obj_t * child_rs; /* Row starter child */ lv_obj_t * child_rc; /* Row closer child */ lv_obj_t * child_tmp; /* Temporary child */ lv_coord_t w_obj = lv_obj_get_width(cont); lv_coord_t act_y = lv_obj_get_style_pad_top(cont, LV_CONT_PART_MAIN); /* Disable child change action because the children will be moved a lot * an unnecessary child change signals could be sent*/ child_rs = _lv_ll_get_tail(&cont->child_ll); /*Set the row starter child*/ if(child_rs == NULL) return; /*Return if no child*/ lv_obj_add_protect(cont, LV_PROTECT_CHILD_CHG); lv_coord_t pleft = lv_obj_get_style_pad_left(cont, LV_CONT_PART_MAIN); lv_coord_t pright = lv_obj_get_style_pad_right(cont, LV_CONT_PART_MAIN); lv_coord_t pinner = lv_obj_get_style_pad_inner(cont, LV_CONT_PART_MAIN); child_rc = child_rs; /*Initially the the row starter and closer is the same*/ while(child_rs != NULL) { lv_coord_t h_row = 0; lv_coord_t w_row = pleft + pright; /*The width is at least the left+right pad*/ uint32_t obj_num = 0; /*Find the row closer object and collect some data*/ do { if(lv_obj_get_hidden(child_rc) == false && lv_obj_is_protected(child_rc, LV_PROTECT_POS) == false) { /*If this object is already not fit then break*/ lv_coord_t w = lv_obj_get_width(child_rc); w += lv_obj_get_style_margin_left(child_rc, LV_OBJ_PART_MAIN); w += lv_obj_get_style_margin_right(child_rc, LV_OBJ_PART_MAIN); if(w_row + w > w_obj) { /*Step back one child because the last already not fit, so the previous is the * closer*/ if(child_rc != NULL && obj_num != 0) { child_rc = _lv_ll_get_next(&cont->child_ll, child_rc); } break; } w_row += w + pinner; /*Add the object width + inner padding*/ lv_coord_t h = lv_obj_get_height(child_rc); h += lv_obj_get_style_margin_top(child_rc, LV_OBJ_PART_MAIN); h += lv_obj_get_style_margin_bottom(child_rc, LV_OBJ_PART_MAIN); h_row = LV_MATH_MAX(h_row, h); /*Search the highest object*/ obj_num++; if(lv_obj_is_protected(child_rc, LV_PROTECT_FOLLOW)) break; /*If can not be followed by an other object then break here*/ } child_rc = _lv_ll_get_prev(&cont->child_ll, child_rc); /*Load the next object*/ if(obj_num == 0) child_rs = child_rc; /*If the first object was hidden (or too long) then set the next as first */ } while(child_rc != NULL); /*If the object is too long then align it to the middle*/ if(obj_num == 0) { if(child_rc != NULL) { lv_style_int_t mtop = lv_obj_get_style_margin_top(child_rc, LV_OBJ_PART_MAIN); lv_obj_align(child_rc, cont, LV_ALIGN_IN_TOP_MID, 0, act_y + mtop); h_row = lv_obj_get_height(child_rc); /*Not set previously because of the early break*/ h_row += mtop; h_row += lv_obj_get_style_margin_bottom(child_rc, LV_OBJ_PART_MAIN); } } /*If there is only one object in the row then align it to the middle*/ else if(obj_num == 1) { lv_obj_align(child_rs, cont, LV_ALIGN_IN_TOP_MID, 0, act_y + lv_obj_get_style_margin_top(child_rs, LV_OBJ_PART_MAIN)); } /* Align the children (from child_rs to child_rc)*/ else { w_row -= pinner * obj_num; lv_coord_t new_pinner = (w_obj - w_row) / (obj_num - 1); lv_coord_t act_x = pleft; /*x init*/ child_tmp = child_rs; while(child_tmp != NULL) { if(lv_obj_get_hidden(child_tmp) == false && lv_obj_is_protected(child_tmp, LV_PROTECT_POS) == false) { lv_coord_t mleft = lv_obj_get_style_margin_left(child_tmp, LV_OBJ_PART_MAIN); lv_coord_t mright = lv_obj_get_style_margin_right(child_tmp, LV_OBJ_PART_MAIN); switch(type) { case LV_LAYOUT_PRETTY_TOP: lv_obj_align(child_tmp, cont, LV_ALIGN_IN_TOP_LEFT, act_x + mleft, act_y + lv_obj_get_style_margin_top(child_tmp, LV_OBJ_PART_MAIN)); break; case LV_LAYOUT_PRETTY_MID: lv_obj_align(child_tmp, cont, LV_ALIGN_IN_TOP_LEFT, act_x + mleft, act_y + (h_row - lv_obj_get_height(child_tmp)) / 2); break; case LV_LAYOUT_PRETTY_BOTTOM: lv_obj_align(child_tmp, cont, LV_ALIGN_IN_TOP_LEFT, act_x + mleft, act_y + h_row - lv_obj_get_height(child_tmp) - lv_obj_get_style_margin_bottom(child_tmp, LV_OBJ_PART_MAIN)); break; default: break; } act_x += lv_obj_get_width(child_tmp) + new_pinner + mleft + mright; } if(child_tmp == child_rc) break; child_tmp = _lv_ll_get_prev(&cont->child_ll, child_tmp); } } if(child_rc == NULL) break; act_y += pinner + h_row; /*y increment*/ child_rs = _lv_ll_get_prev(&cont->child_ll, child_rc); /*Go to the next object*/ child_rc = child_rs; } lv_obj_clear_protect(cont, LV_PROTECT_CHILD_CHG); } /** * Handle the grid layout. Align same-sized objects in a grid * @param cont pointer to an object which layout should be handled */ static void lv_cont_layout_grid(lv_obj_t * cont) { lv_coord_t w_fit = lv_obj_get_width_fit(cont); lv_coord_t inner = lv_obj_get_style_pad_inner(cont, LV_CONT_PART_MAIN); lv_coord_t y_ofs = inner + lv_obj_get_height(lv_obj_get_child(cont, NULL)); /* Disable child change action because the children will be moved a lot * an unnecessary child change signals could be sent*/ lv_obj_add_protect(cont, LV_PROTECT_CHILD_CHG); /* Align the children */ lv_coord_t left = lv_obj_get_style_pad_left(cont, LV_CONT_PART_MAIN); lv_coord_t act_x = left; lv_coord_t act_y = lv_obj_get_style_pad_top(cont, LV_CONT_PART_MAIN); lv_obj_t * child; _LV_LL_READ_BACK(cont->child_ll, child) { if(lv_obj_get_hidden(child) != false || lv_obj_is_protected(child, LV_PROTECT_POS) != false) continue; lv_coord_t obj_w = lv_obj_get_width(child); if(act_x + obj_w > w_fit + left) { act_x = left; act_y += y_ofs; } lv_obj_set_pos(child, act_x, act_y); act_x += inner + obj_w; } lv_obj_clear_protect(cont, LV_PROTECT_CHILD_CHG); } /** * Handle auto fit. Set the size of the object to involve all children. * @param cont pointer to an object which size will be modified */ static void lv_cont_refr_autofit(lv_obj_t * cont) { if(lv_obj_is_protected(cont, LV_PROTECT_CHILD_CHG)) return; lv_cont_ext_t * ext = lv_obj_get_ext_attr(cont); if(ext->fit_left == LV_FIT_NONE && ext->fit_right == LV_FIT_NONE && ext->fit_top == LV_FIT_NONE && ext->fit_bottom == LV_FIT_NONE) { return; } lv_area_t tight_area; lv_area_t ori; lv_obj_t * child_i; lv_obj_t * par = lv_obj_get_parent(cont); lv_area_t parent_area; lv_area_copy(&parent_area, &par->coords); parent_area.x1 += lv_obj_get_style_pad_left(par, LV_OBJ_PART_MAIN); parent_area.x2 -= lv_obj_get_style_pad_right(par, LV_OBJ_PART_MAIN); parent_area.y1 += lv_obj_get_style_pad_top(par, LV_OBJ_PART_MAIN); parent_area.y2 -= lv_obj_get_style_pad_bottom(par, LV_OBJ_PART_MAIN); /*Search the side coordinates of the children*/ lv_obj_get_coords(cont, &ori); lv_obj_get_coords(cont, &tight_area); bool has_children = _lv_ll_is_empty(&cont->child_ll) ? false : true; if(has_children) { tight_area.x1 = LV_COORD_MAX; tight_area.y1 = LV_COORD_MAX; tight_area.x2 = LV_COORD_MIN; tight_area.y2 = LV_COORD_MIN; _LV_LL_READ(cont->child_ll, child_i) { if(lv_obj_get_hidden(child_i) != false) continue; if(ext->fit_left != LV_FIT_PARENT) { lv_style_int_t mleft = lv_obj_get_style_margin_left(child_i, LV_OBJ_PART_MAIN); tight_area.x1 = LV_MATH_MIN(tight_area.x1, child_i->coords.x1 - mleft); } if(ext->fit_right != LV_FIT_PARENT) { lv_style_int_t mright = lv_obj_get_style_margin_right(child_i, LV_OBJ_PART_MAIN); tight_area.x2 = LV_MATH_MAX(tight_area.x2, child_i->coords.x2 + mright); } if(ext->fit_top != LV_FIT_PARENT) { lv_style_int_t mtop = lv_obj_get_style_margin_top(child_i, LV_OBJ_PART_MAIN); tight_area.y1 = LV_MATH_MIN(tight_area.y1, child_i->coords.y1 - mtop); } if(ext->fit_bottom != LV_FIT_PARENT) { lv_style_int_t mbottom = lv_obj_get_style_margin_bottom(child_i, LV_OBJ_PART_MAIN); tight_area.y2 = LV_MATH_MAX(tight_area.y2, child_i->coords.y2 + mbottom); } } tight_area.x1 -= lv_obj_get_style_pad_left(cont, LV_CONT_PART_MAIN); tight_area.x2 += lv_obj_get_style_pad_right(cont, LV_CONT_PART_MAIN); tight_area.y1 -= lv_obj_get_style_pad_top(cont, LV_CONT_PART_MAIN); tight_area.y2 += lv_obj_get_style_pad_bottom(cont, LV_CONT_PART_MAIN); } lv_area_t new_area; lv_area_copy(&new_area, &ori); switch(ext->fit_left) { case LV_FIT_TIGHT: new_area.x1 = tight_area.x1; break; case LV_FIT_PARENT: new_area.x1 = parent_area.x1; break; case LV_FIT_MAX: new_area.x1 = has_children ? LV_MATH_MIN(tight_area.x1, parent_area.x1) : parent_area.x1; break; default: break; } switch(ext->fit_right) { case LV_FIT_TIGHT: new_area.x2 = tight_area.x2; break; case LV_FIT_PARENT: new_area.x2 = parent_area.x2; break; case LV_FIT_MAX: new_area.x2 = has_children ? LV_MATH_MAX(tight_area.x2, parent_area.x2) : parent_area.x2; break; default: break; } switch(ext->fit_top) { case LV_FIT_TIGHT: new_area.y1 = tight_area.y1; break; case LV_FIT_PARENT: new_area.y1 = parent_area.y1; break; case LV_FIT_MAX: new_area.y1 = has_children ? LV_MATH_MIN(tight_area.y1, parent_area.y1) : parent_area.y1; break; default: break; } switch(ext->fit_bottom) { case LV_FIT_TIGHT: new_area.y2 = tight_area.y2; break; case LV_FIT_PARENT: new_area.y2 = parent_area.y2; break; case LV_FIT_MAX: new_area.y2 = has_children ? LV_MATH_MAX(tight_area.y2, parent_area.y2) : parent_area.y2; break; default: break; } /*Do nothing if the coordinates are not changed*/ if(cont->coords.x1 != new_area.x1 || cont->coords.y1 != new_area.y1 || cont->coords.x2 != new_area.x2 || cont->coords.y2 != new_area.y2) { lv_obj_invalidate(cont); lv_area_copy(&cont->coords, &new_area); lv_obj_invalidate(cont); /*Notify the object about its new coordinates*/ cont->signal_cb(cont, LV_SIGNAL_COORD_CHG, &ori); /*Inform the parent about the new coordinates*/ par->signal_cb(par, LV_SIGNAL_CHILD_CHG, cont); if(lv_obj_get_auto_realign(cont)) { lv_obj_realign(cont); } /*Tell the children the parent's size has changed*/ _LV_LL_READ(cont->child_ll, child_i) { child_i->signal_cb(child_i, LV_SIGNAL_PARENT_SIZE_CHG, &ori); } } } #endif
27,674
lv_cont
c
en
c
code
{"qsc_code_num_words": 4198, "qsc_code_num_chars": 27674.0, "qsc_code_mean_word_length": 3.72891853, "qsc_code_frac_words_unique": 0.07170081, "qsc_code_frac_chars_top_2grams": 0.05972914, "qsc_code_frac_chars_top_3grams": 0.04446148, "qsc_code_frac_chars_top_4grams": 0.03570972, "qsc_code_frac_chars_dupe_5grams": 0.6655168, "qsc_code_frac_chars_dupe_6grams": 0.60489332, "qsc_code_frac_chars_dupe_7grams": 0.5382011, "qsc_code_frac_chars_dupe_8grams": 0.47783314, "qsc_code_frac_chars_dupe_9grams": 0.44129296, "qsc_code_frac_chars_dupe_10grams": 0.40551936, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00461463, "qsc_code_frac_chars_whitespace": 0.26393004, "qsc_code_size_file_byte": 27674.0, "qsc_code_num_lines": 795.0, "qsc_code_num_chars_line_max": 150.0, "qsc_code_num_chars_line_mean": 34.81006289, "qsc_code_frac_chars_alphabet": 0.76386843, "qsc_code_frac_chars_comments": 0.20716196, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.28516378, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00943439, "qsc_code_frac_chars_long_word_length": 0.00410191, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.01734104, "qsc_codec_frac_lines_func_ratio": 0.07129094, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.10404624, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.02697495}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_bar.h
/** * @file lv_bar.h * */ #ifndef LV_BAR_H #define LV_BAR_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #if LV_USE_BAR != 0 #include "../lv_core/lv_obj.h" #include "../lv_misc/lv_anim.h" #include "lv_cont.h" #include "lv_btn.h" #include "lv_label.h" /********************* * DEFINES *********************/ /** Bar animation start value. (Not the real value of the Bar just indicates process animation)*/ #define LV_BAR_ANIM_STATE_START 0 /** Bar animation end value. (Not the real value of the Bar just indicates process animation)*/ #define LV_BAR_ANIM_STATE_END 256 /** Mark no animation is in progress */ #define LV_BAR_ANIM_STATE_INV -1 /** log2(LV_BAR_ANIM_STATE_END) used to normalize data*/ #define LV_BAR_ANIM_STATE_NORM 8 /********************** * TYPEDEFS **********************/ enum { LV_BAR_TYPE_NORMAL, LV_BAR_TYPE_SYMMETRICAL, LV_BAR_TYPE_CUSTOM }; typedef uint8_t lv_bar_type_t; #if LV_USE_ANIMATION typedef struct { lv_obj_t * bar; lv_anim_value_t anim_start; lv_anim_value_t anim_end; lv_anim_value_t anim_state; } lv_bar_anim_t; #endif /** Data of bar*/ typedef struct { /*No inherited ext, derived from the base object */ /*New data for this type */ int16_t cur_value; /*Current value of the bar*/ int16_t min_value; /*Minimum value of the bar*/ int16_t max_value; /*Maximum value of the bar*/ int16_t start_value; /*Start value of the bar*/ lv_area_t indic_area; /*Save the indicator area. MIght be used by derived types*/ #if LV_USE_ANIMATION lv_anim_value_t anim_time; lv_bar_anim_t cur_value_anim; lv_bar_anim_t start_value_anim; #endif uint8_t type : 2; /*Type of bar*/ lv_style_list_t style_indic; /*Style of the indicator*/ } lv_bar_ext_t; /** Bar parts */ enum { LV_BAR_PART_BG, /** Bar background style. */ LV_BAR_PART_INDIC, /** Bar fill area style. */ _LV_BAR_PART_VIRTUAL_LAST }; typedef uint8_t lv_bar_part_t; /********************** * GLOBAL PROTOTYPES **********************/ /** * Create a bar objects * @param par pointer to an object, it will be the parent of the new bar * @param copy pointer to a bar object, if not NULL then the new object will be copied from it * @return pointer to the created bar */ lv_obj_t * lv_bar_create(lv_obj_t * par, const lv_obj_t * copy); /*===================== * Setter functions *====================*/ /** * Set a new value on the bar * @param bar pointer to a bar object * @param value new value * @param anim LV_ANIM_ON: set the value with an animation; LV_ANIM_OFF: change the value immediately */ void lv_bar_set_value(lv_obj_t * bar, int16_t value, lv_anim_enable_t anim); /** * Set a new start value on the bar * @param bar pointer to a bar object * @param value new start value * @param anim LV_ANIM_ON: set the value with an animation; LV_ANIM_OFF: change the value immediately */ void lv_bar_set_start_value(lv_obj_t * bar, int16_t start_value, lv_anim_enable_t anim); /** * Set minimum and the maximum values of a bar * @param bar pointer to the bar object * @param min minimum value * @param max maximum value */ void lv_bar_set_range(lv_obj_t * bar, int16_t min, int16_t max); /** * Set the type of bar. * @param bar pointer to bar object * @param type bar type */ void lv_bar_set_type(lv_obj_t * bar, lv_bar_type_t type); /** * Set the animation time of the bar * @param bar pointer to a bar object * @param anim_time the animation time in milliseconds. */ void lv_bar_set_anim_time(lv_obj_t * bar, uint16_t anim_time); /*===================== * Getter functions *====================*/ /** * Get the value of a bar * @param bar pointer to a bar object * @return the value of the bar */ int16_t lv_bar_get_value(const lv_obj_t * bar); /** * Get the start value of a bar * @param bar pointer to a bar object * @return the start value of the bar */ int16_t lv_bar_get_start_value(const lv_obj_t * bar); /** * Get the minimum value of a bar * @param bar pointer to a bar object * @return the minimum value of the bar */ int16_t lv_bar_get_min_value(const lv_obj_t * bar); /** * Get the maximum value of a bar * @param bar pointer to a bar object * @return the maximum value of the bar */ int16_t lv_bar_get_max_value(const lv_obj_t * bar); /** * Get the type of bar. * @param bar pointer to bar object * @return bar type */ lv_bar_type_t lv_bar_get_type(lv_obj_t * bar); /** * Get the animation time of the bar * @param bar pointer to a bar object * @return the animation time in milliseconds. */ uint16_t lv_bar_get_anim_time(const lv_obj_t * bar); /********************** * MACROS **********************/ #endif /*LV_USE_BAR*/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_BAR_H*/
4,888
lv_bar
h
en
c
code
{"qsc_code_num_words": 806, "qsc_code_num_chars": 4888.0, "qsc_code_mean_word_length": 3.73945409, "qsc_code_frac_words_unique": 0.1674938, "qsc_code_frac_chars_top_2grams": 0.05806238, "qsc_code_frac_chars_top_3grams": 0.02986065, "qsc_code_frac_chars_top_4grams": 0.03583278, "qsc_code_frac_chars_dupe_5grams": 0.53948242, "qsc_code_frac_chars_dupe_6grams": 0.41738553, "qsc_code_frac_chars_dupe_7grams": 0.40212342, "qsc_code_frac_chars_dupe_8grams": 0.34273391, "qsc_code_frac_chars_dupe_9grams": 0.31055076, "qsc_code_frac_chars_dupe_10grams": 0.27471798, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01007557, "qsc_code_frac_chars_whitespace": 0.18780687, "qsc_code_size_file_byte": 4888.0, "qsc_code_num_lines": 199.0, "qsc_code_num_chars_line_max": 102.0, "qsc_code_num_chars_line_mean": 24.56281407, "qsc_code_frac_chars_alphabet": 0.74911839, "qsc_code_frac_chars_comments": 0.59288052, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.23880597, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.04422111, "qsc_code_frac_chars_long_word_length": 0.01055276, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.17910448, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.26865672, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_spinbox.c
/** * @file lv_spinbox.c * */ /********************* * INCLUDES *********************/ #include "lv_spinbox.h" #if LV_USE_SPINBOX != 0 #include "../lv_misc/lv_debug.h" #include "../lv_themes/lv_theme.h" #include "../lv_misc/lv_math.h" #include "../lv_misc/lv_utils.h" /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_spinbox" /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_res_t lv_spinbox_signal(lv_obj_t * spinbox, lv_signal_t sign, void * param); static lv_style_list_t * lv_spinbox_get_style(lv_obj_t * ta, uint8_t part); static void lv_spinbox_updatevalue(lv_obj_t * spinbox); /********************** * STATIC VARIABLES **********************/ static lv_signal_cb_t ancestor_signal; static lv_design_cb_t ancestor_design; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a spinbox object * @param par pointer to an object, it will be the parent of the new spinbox * @param copy pointer to a spinbox object, if not NULL then the new object will be copied from it * @return pointer to the created spinbox */ lv_obj_t * lv_spinbox_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("spinbox create started"); /*Create the ancestor of spinbox*/ lv_obj_t * spinbox = lv_textarea_create(par, copy); LV_ASSERT_MEM(spinbox); if(spinbox == NULL) return NULL; /*Allocate the spinbox type specific extended data*/ lv_spinbox_ext_t * ext = lv_obj_allocate_ext_attr(spinbox, sizeof(lv_spinbox_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(spinbox); return NULL; } if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(spinbox); if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(spinbox); /*Initialize the allocated 'ext'*/ ext->value = 0; ext->dec_point_pos = 0; ext->digit_count = 5; ext->digit_padding_left = 0; ext->step = 1; ext->range_max = 99999; ext->range_min = -99999; ext->rollover = false; /*The signal and design functions are not copied so set them here*/ lv_obj_set_signal_cb(spinbox, lv_spinbox_signal); lv_obj_set_design_cb(spinbox, ancestor_design); /*Leave the Text area's design function*/ /*Init the new spinbox*/ if(copy == NULL) { /* No scrolling will happen here so make the scrollable non-clickable * It allows to handle input events in the bg object only.*/ lv_obj_set_click(lv_page_get_scrollable(spinbox), false); lv_textarea_set_one_line(spinbox, true); lv_textarea_set_cursor_click_pos(spinbox, true); lv_obj_set_width(spinbox, LV_DPI); lv_theme_apply(spinbox, LV_THEME_SPINBOX); } /*Copy an existing spinbox*/ else { lv_spinbox_ext_t * copy_ext = lv_obj_get_ext_attr(copy); lv_spinbox_set_value(spinbox, copy_ext->value); lv_spinbox_set_digit_format(spinbox, (uint8_t)copy_ext->digit_count, (uint8_t)copy_ext->dec_point_pos); lv_spinbox_set_range(spinbox, copy_ext->range_min, copy_ext->range_max); lv_spinbox_set_step(spinbox, copy_ext->step); lv_spinbox_set_rollover(spinbox, copy_ext->rollover); /*Refresh the style with new signal function*/ lv_obj_refresh_style(spinbox, LV_STYLE_PROP_ALL); } lv_spinbox_updatevalue(spinbox); LV_LOG_INFO("spinbox created"); return spinbox; } /*===================== * Setter functions *====================*/ /** * Set spinbox rollover function * @param spinbox pointer to spinbox * @param b true or false to enable or disable (default) */ void lv_spinbox_set_rollover(lv_obj_t * spinbox, bool b) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); ext->rollover = b; } /** * Set spinbox value * @param spinbox pointer to spinbox * @param i value to be set */ void lv_spinbox_set_value(lv_obj_t * spinbox, int32_t i) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); if(ext == NULL) return; if(i > ext->range_max) i = ext->range_max; if(i < ext->range_min) i = ext->range_min; ext->value = i; lv_spinbox_updatevalue(spinbox); } /** * Set spinbox digit format (digit count and decimal format) * @param spinbox pointer to spinbox * @param digit_count number of digit excluding the decimal separator and the sign * @param separator_position number of digit before the decimal point. If 0, decimal point is not * shown */ void lv_spinbox_set_digit_format(lv_obj_t * spinbox, uint8_t digit_count, uint8_t separator_position) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); if(ext == NULL) return; if(digit_count > LV_SPINBOX_MAX_DIGIT_COUNT) digit_count = LV_SPINBOX_MAX_DIGIT_COUNT; if(separator_position >= digit_count) separator_position = 0; if(separator_position > LV_SPINBOX_MAX_DIGIT_COUNT) separator_position = LV_SPINBOX_MAX_DIGIT_COUNT; if(digit_count < LV_SPINBOX_MAX_DIGIT_COUNT) { int64_t max_val = _lv_pow(10, digit_count); if(ext->range_max > max_val - 1) ext->range_max = max_val - 1; if(ext->range_min < - max_val + 1) ext->range_min = - max_val + 1; } ext->digit_count = digit_count; ext->dec_point_pos = separator_position; lv_spinbox_updatevalue(spinbox); } /** * Set spinbox step * @param spinbox pointer to spinbox * @param step steps on increment/decrement */ void lv_spinbox_set_step(lv_obj_t * spinbox, uint32_t step) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); if(ext == NULL) return; ext->step = step; } /** * Set spinbox value range * @param spinbox pointer to spinbox * @param range_min maximum value, inclusive * @param range_max minimum value, inclusive */ void lv_spinbox_set_range(lv_obj_t * spinbox, int32_t range_min, int32_t range_max) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); if(ext == NULL) return; ext->range_max = range_max; ext->range_min = range_min; if(ext->value > ext->range_max) { ext->value = ext->range_max; lv_obj_invalidate(spinbox); } if(ext->value < ext->range_min) { ext->value = ext->range_min; lv_obj_invalidate(spinbox); } lv_spinbox_updatevalue(spinbox); } /** * Set spinbox left padding in digits count (added between sign and first digit) * @param spinbox pointer to spinbox * @param cb Callback function called on value change event */ void lv_spinbox_set_padding_left(lv_obj_t * spinbox, uint8_t padding) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); ext->digit_padding_left = padding; lv_spinbox_updatevalue(spinbox); } /*===================== * Getter functions *====================*/ /** * Get spinbox rollover function status * @param spinbox pointer to spinbox */ bool lv_spinbox_get_rollover(lv_obj_t * spinbox) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); return ext->rollover; } /** * Get the spinbox numeral value (user has to convert to float according to its digit format) * @param spinbox pointer to spinbox * @return value integer value of the spinbox */ int32_t lv_spinbox_get_value(lv_obj_t * spinbox) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); return ext->value; } /*===================== * Other functions *====================*/ /** * Select next lower digit for edition * @param spinbox pointer to spinbox */ void lv_spinbox_step_next(lv_obj_t * spinbox) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); int32_t new_step = ext->step / 10; if((new_step) > 0) ext->step = new_step; else ext->step = 1; lv_spinbox_updatevalue(spinbox); } /** * Select next higher digit for edition * @param spinbox pointer to spinbox */ void lv_spinbox_step_prev(lv_obj_t * spinbox) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); int32_t step_limit; step_limit = LV_MATH_MAX(ext->range_max, (ext->range_min < 0 ? (-ext->range_min) : ext->range_min)); int32_t new_step = ext->step * 10; if(new_step <= step_limit) ext->step = new_step; lv_spinbox_updatevalue(spinbox); } /** * Increment spinbox value by one step * @param spinbox pointer to spinbox */ void lv_spinbox_increment(lv_obj_t * spinbox) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); if(ext->value + ext->step <= ext->range_max) { /*Special mode when zero crossing*/ if((ext->value + ext->step) > 0 && ext->value < 0) ext->value = -ext->value; ext->value += ext->step; } else { // Rollover? if((ext->rollover) && (ext->value == ext->range_max)) ext->value = ext->range_min; else ext->value = ext->range_max; } lv_spinbox_updatevalue(spinbox); } /** * Decrement spinbox value by one step * @param spinbox pointer to spinbox */ void lv_spinbox_decrement(lv_obj_t * spinbox) { LV_ASSERT_OBJ(spinbox, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); if(ext->value - ext->step >= ext->range_min) { /*Special mode when zero crossing*/ if((ext->value - ext->step) < 0 && ext->value > 0) ext->value = -ext->value; ext->value -= ext->step; } else { // Rollover? if((ext->rollover) && (ext->value == ext->range_min)) ext->value = ext->range_max; else ext->value = ext->range_min; } lv_spinbox_updatevalue(spinbox); } /********************** * STATIC FUNCTIONS **********************/ /** * Signal function of the spinbox * @param spinbox pointer to a spinbox object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_spinbox_signal(lv_obj_t * spinbox, lv_signal_t sign, void * param) { lv_res_t res = LV_RES_OK; if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_spinbox_get_style(spinbox, info->part); if(info->result != NULL) return LV_RES_OK; else return ancestor_signal(spinbox, sign, param); } /* Include the ancient signal function */ if(sign != LV_SIGNAL_CONTROL) { #if LV_USE_GROUP res = ancestor_signal(spinbox, sign, param); if(res != LV_RES_OK) return res; #endif } if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); if(sign == LV_SIGNAL_CLEANUP) { /*Nothing to cleanup. (No dynamically allocated memory in 'ext')*/ } else if(sign == LV_SIGNAL_GET_TYPE) { lv_obj_type_t * buf = param; uint8_t i; for(i = 0; i < LV_MAX_ANCESTOR_NUM - 1; i++) { /*Find the last set data*/ if(buf->type[i] == NULL) break; } buf->type[i] = "lv_spinbox"; } else if(sign == LV_SIGNAL_RELEASED) { /*If released with an ENCODER then move to the next digit*/ lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); lv_indev_t * indev = lv_indev_get_act(); if(lv_indev_get_type(indev) == LV_INDEV_TYPE_ENCODER) { #if LV_USE_GROUP if(lv_group_get_editing(lv_obj_get_group(spinbox))) { if(ext->step > 1) { lv_spinbox_step_next(spinbox); } else { /*Restart from the MSB*/ ext->step = 1; uint32_t i; for(i = 0; i < ext->digit_count; i++) { int32_t new_step = ext->step * 10; if(new_step >= ext->range_max) break; ext->step = new_step; } lv_spinbox_step_prev(spinbox); } } #endif } else { /*The cursor has been positioned to a digit. * Set `step` accordingly*/ const char * txt = lv_textarea_get_text(spinbox); size_t txt_len = strlen(txt); if(txt[ext->ta.cursor.pos] == '.') { lv_textarea_cursor_left(spinbox); } else if(ext->ta.cursor.pos == (uint32_t)txt_len) { lv_textarea_set_cursor_pos(spinbox, txt_len - 1); } else if(ext->ta.cursor.pos == 0 && ext->range_min < 0) { lv_textarea_set_cursor_pos(spinbox, 1); } size_t len = ext->digit_count - 1; uint16_t cp = ext->ta.cursor.pos; if(ext->ta.cursor.pos > ext->dec_point_pos && ext->dec_point_pos != 0) cp--; uint32_t pos = len - cp; if(ext->range_min < 0) pos++; ext->step = 1; uint16_t i; for(i = 0; i < pos; i++) ext->step *= 10; } } else if(sign == LV_SIGNAL_CONTROL) { #if LV_USE_GROUP lv_indev_type_t indev_type = lv_indev_get_type(lv_indev_get_act()); uint32_t c = *((uint32_t *)param); /*uint32_t because can be UTF-8*/ if(c == LV_KEY_RIGHT) { if(indev_type == LV_INDEV_TYPE_ENCODER) lv_spinbox_increment(spinbox); else lv_spinbox_step_next(spinbox); } else if(c == LV_KEY_LEFT) { if(indev_type == LV_INDEV_TYPE_ENCODER) lv_spinbox_decrement(spinbox); else lv_spinbox_step_prev(spinbox); } else if(c == LV_KEY_UP) { lv_spinbox_increment(spinbox); } else if(c == LV_KEY_DOWN) { lv_spinbox_decrement(spinbox); } else { lv_textarea_add_char(spinbox, c); } #endif } return res; } /** * Get the style descriptor of a part of the object * @param page pointer the object * @param part the part from `lv_spinbox_part_t`. (LV_SPINBOX_PART_...) * @return pointer to the style descriptor of the specified part */ static lv_style_list_t * lv_spinbox_get_style(lv_obj_t * ta, uint8_t part) { LV_ASSERT_OBJ(ta, LV_OBJX_NAME); lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(ta); lv_style_list_t * style_dsc_p; switch(part) { case LV_SPINBOX_PART_BG: style_dsc_p = &ta->style_list; break; case LV_SPINBOX_PART_CURSOR: style_dsc_p = &ext->ta.cursor.style; break; default: style_dsc_p = NULL; } return style_dsc_p; } static void lv_spinbox_updatevalue(lv_obj_t * spinbox) { lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); char buf[LV_SPINBOX_MAX_DIGIT_COUNT + 8]; _lv_memset_00(buf, sizeof(buf)); char * buf_p = buf; uint8_t cur_shift_left = 0; if(ext->range_min < 0) { // hide sign if there are only positive values /*Add the sign*/ (*buf_p) = ext->value >= 0 ? '+' : '-'; buf_p++; } else { /*Cursor need shift to left*/ cur_shift_left++; } int32_t i; /*padding left*/ for(i = 0; i < ext->digit_padding_left; i++) { (*buf_p) = ' '; buf_p++; } char digits[64]; /*Convert the numbers to string (the sign is already handled so always covert positive number)*/ _lv_utils_num_to_str(ext->value < 0 ? -ext->value : ext->value, digits); /*Add leading zeros*/ int lz_cnt = ext->digit_count - (int)strlen(digits); if(lz_cnt > 0) { for(i = (uint16_t)strlen(digits); i >= 0; i--) { digits[i + lz_cnt] = digits[i]; } for(i = 0; i < lz_cnt; i++) { digits[i] = '0'; } } int32_t intDigits; intDigits = (ext->dec_point_pos == 0) ? ext->digit_count : ext->dec_point_pos; /*Add the decimal part*/ for(i = 0; i < intDigits && digits[i] != '\0'; i++) { (*buf_p) = digits[i]; buf_p++; } if(ext->dec_point_pos != 0) { /*Insert the decimal point*/ (*buf_p) = '.'; buf_p++; for(/*Leave i*/; i < ext->digit_count && digits[i] != '\0'; i++) { (*buf_p) = digits[i]; buf_p++; } } /*Refresh the text*/ lv_textarea_set_text(spinbox, (char *)buf); /*Set the cursor position*/ int32_t step = ext->step; uint8_t cur_pos = (uint8_t)ext->digit_count; while(step >= 10) { step /= 10; cur_pos--; } if(cur_pos > intDigits) cur_pos++; /*Skip the decimal point*/ cur_pos += (ext->digit_padding_left - cur_shift_left); lv_textarea_set_cursor_pos(spinbox, cur_pos); } #endif
17,366
lv_spinbox
c
en
c
code
{"qsc_code_num_words": 2427, "qsc_code_num_chars": 17366.0, "qsc_code_mean_word_length": 4.04449938, "qsc_code_frac_words_unique": 0.11742892, "qsc_code_frac_chars_top_2grams": 0.06876528, "qsc_code_frac_chars_top_3grams": 0.01344743, "qsc_code_frac_chars_top_4grams": 0.02383863, "qsc_code_frac_chars_dupe_5grams": 0.43958843, "qsc_code_frac_chars_dupe_6grams": 0.37163814, "qsc_code_frac_chars_dupe_7grams": 0.27068052, "qsc_code_frac_chars_dupe_8grams": 0.250815, "qsc_code_frac_chars_dupe_9grams": 0.23838631, "qsc_code_frac_chars_dupe_10grams": 0.20415648, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01015775, "qsc_code_frac_chars_whitespace": 0.25169872, "qsc_code_size_file_byte": 17366.0, "qsc_code_num_lines": 605.0, "qsc_code_num_chars_line_max": 112.0, "qsc_code_num_chars_line_mean": 28.70413223, "qsc_code_frac_chars_alphabet": 0.7452097, "qsc_code_frac_chars_comments": 0.25169872, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.2605042, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01262024, "qsc_code_frac_chars_long_word_length": 0.00500192, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.04201681, "qsc_codec_frac_lines_func_ratio": 0.08963585, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.11484594, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.03921569}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_draw/lv_draw_triangle.h
/** * @file lv_draw_triangle.h * */ #ifndef LV_DRAW_TRIANGLE_H #define LV_DRAW_TRIANGLE_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_draw_rect.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * GLOBAL PROTOTYPES **********************/ /** * Draw a triangle * @param points pointer to an array with 3 points * @param clip_area the triangle will be drawn only in this area * @param draw_dsc pointer to an initialized `lv_draw_rect_dsc_t` variable */ void lv_draw_triangle(const lv_point_t points[], const lv_area_t * clip, const lv_draw_rect_dsc_t * draw_dsc); /** * Draw a polygon. Only convex polygons are supported. * @param points an array of points * @param point_cnt number of points * @param clip_area polygon will be drawn only in this area * @param draw_dsc pointer to an initialized `lv_draw_rect_dsc_t` variable */ void lv_draw_polygon(const lv_point_t points[], uint16_t point_cnt, const lv_area_t * mask, const lv_draw_rect_dsc_t * draw_dsc); /********************** * MACROS **********************/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_DRAW_TRIANGLE_H*/
1,322
lv_draw_triangle
h
en
c
code
{"qsc_code_num_words": 170, "qsc_code_num_chars": 1322.0, "qsc_code_mean_word_length": 4.23529412, "qsc_code_frac_words_unique": 0.32352941, "qsc_code_frac_chars_top_2grams": 0.09166667, "qsc_code_frac_chars_top_3grams": 0.09722222, "qsc_code_frac_chars_top_4grams": 0.08333333, "qsc_code_frac_chars_dupe_5grams": 0.45, "qsc_code_frac_chars_dupe_6grams": 0.325, "qsc_code_frac_chars_dupe_7grams": 0.325, "qsc_code_frac_chars_dupe_8grams": 0.325, "qsc_code_frac_chars_dupe_9grams": 0.25277778, "qsc_code_frac_chars_dupe_10grams": 0.25277778, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00275229, "qsc_code_frac_chars_whitespace": 0.17549168, "qsc_code_size_file_byte": 1322.0, "qsc_code_num_lines": 56.0, "qsc_code_num_chars_line_max": 111.0, "qsc_code_num_chars_line_mean": 23.60714286, "qsc_code_frac_chars_alphabet": 0.65779817, "qsc_code_frac_chars_comments": 0.66944024, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.38461538, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.03432494, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.15384615, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 1.0, "qsc_codec_score_lines_no_logic": 0.23076923, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_draw/lv_draw_arc.h
/** * @file lv_draw_arc.h * */ #ifndef LV_DRAW_ARC_H #define LV_DRAW_ARC_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_draw_line.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * GLOBAL PROTOTYPES **********************/ /** * Draw an arc. (Can draw pie too with great thickness.) * @param center_x the x coordinate of the center of the arc * @param center_y the y coordinate of the center of the arc * @param radius the radius of the arc * @param mask the arc will be drawn only in this mask * @param start_angle the start angle of the arc (0 deg on the bottom, 90 deg on the right) * @param end_angle the end angle of the arc * @param clip_area the arc will be drawn only in this area * @param dsc pointer to an initialized `lv_draw_line_dsc_t` variable */ void lv_draw_arc(lv_coord_t center_x, lv_coord_t center_y, uint16_t radius, uint16_t start_angle, uint16_t end_angle, const lv_area_t * clip_area, const lv_draw_line_dsc_t * dsc); /********************** * MACROS **********************/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_DRAW_ARC*/
1,294
lv_draw_arc
h
en
c
code
{"qsc_code_num_words": 182, "qsc_code_num_chars": 1294.0, "qsc_code_mean_word_length": 3.82967033, "qsc_code_frac_words_unique": 0.34615385, "qsc_code_frac_chars_top_2grams": 0.06886657, "qsc_code_frac_chars_top_3grams": 0.06456241, "qsc_code_frac_chars_top_4grams": 0.07460545, "qsc_code_frac_chars_dupe_5grams": 0.28981349, "qsc_code_frac_chars_dupe_6grams": 0.17503587, "qsc_code_frac_chars_dupe_7grams": 0.17503587, "qsc_code_frac_chars_dupe_8grams": 0.17503587, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0085796, "qsc_code_frac_chars_whitespace": 0.18933539, "qsc_code_size_file_byte": 1294.0, "qsc_code_num_lines": 52.0, "qsc_code_num_chars_line_max": 119.0, "qsc_code_num_chars_line_mean": 24.88461538, "qsc_code_frac_chars_alphabet": 0.65586273, "qsc_code_frac_chars_comments": 0.72102009, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.41666667, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.04155125, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.08333333, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 1.0, "qsc_codec_score_lines_no_logic": 0.16666667, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_draw/lv_draw_rect.c
/** * @file lv_draw_rect.c * */ /********************* * INCLUDES *********************/ #include "lv_draw_rect.h" #include "lv_draw_blend.h" #include "lv_draw_mask.h" #include "../lv_misc/lv_math.h" #include "../lv_core/lv_refr.h" #include "../lv_misc/lv_debug.h" /********************* * DEFINES *********************/ #define SHADOW_UPSACALE_SHIFT 6 #define SHADOW_ENHANCE 1 #define SPLIT_LIMIT 50 /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ LV_ATTRIBUTE_FAST_MEM static void draw_bg(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc); LV_ATTRIBUTE_FAST_MEM static void draw_border(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc); #if LV_USE_OUTLINE static void draw_outline(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc); #endif #if LV_USE_SHADOW LV_ATTRIBUTE_FAST_MEM static void draw_shadow(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc); LV_ATTRIBUTE_FAST_MEM static void shadow_draw_corner_buf(const lv_area_t * coords, uint16_t * sh_buf, lv_coord_t s, lv_coord_t r); LV_ATTRIBUTE_FAST_MEM static void shadow_blur_corner(lv_coord_t size, lv_coord_t sw, uint16_t * sh_ups_buf); #endif #if LV_USE_PATTERN static void draw_pattern(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc); #endif #if LV_USE_VALUE_STR static void draw_value_str(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc); #endif static void draw_full_border(const lv_area_t * area_inner, const lv_area_t * area_outer, const lv_area_t * clip, lv_coord_t radius, lv_color_t color, lv_opa_t opa, lv_blend_mode_t blend_mode); LV_ATTRIBUTE_FAST_MEM static inline lv_color_t grad_get(const lv_draw_rect_dsc_t * dsc, lv_coord_t s, lv_coord_t i); /********************** * STATIC VARIABLES **********************/ #if LV_USE_SHADOW && LV_SHADOW_CACHE_SIZE static uint8_t sh_cache[LV_SHADOW_CACHE_SIZE * LV_SHADOW_CACHE_SIZE]; static int32_t sh_cache_size = -1; static int32_t sh_cache_r = -1; #endif /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ LV_ATTRIBUTE_FAST_MEM void lv_draw_rect_dsc_init(lv_draw_rect_dsc_t * dsc) { _lv_memset_00(dsc, sizeof(lv_draw_rect_dsc_t)); dsc->bg_color = LV_COLOR_WHITE; dsc->bg_grad_color = LV_COLOR_BLACK; dsc->border_color = LV_COLOR_BLACK; dsc->pattern_recolor = LV_COLOR_BLACK; dsc->value_color = LV_COLOR_BLACK; dsc->shadow_color = LV_COLOR_BLACK; dsc->bg_grad_color_stop = 0xFF; dsc->bg_opa = LV_OPA_COVER; dsc->outline_opa = LV_OPA_COVER; dsc->border_opa = LV_OPA_COVER; dsc->pattern_opa = LV_OPA_COVER; dsc->pattern_font = LV_THEME_DEFAULT_FONT_NORMAL; dsc->value_opa = LV_OPA_COVER; dsc->value_font = LV_THEME_DEFAULT_FONT_NORMAL; dsc->shadow_opa = LV_OPA_COVER; dsc->border_side = LV_BORDER_SIDE_FULL; } /** * Draw a rectangle * @param coords the coordinates of the rectangle * @param mask the rectangle will be drawn only in this mask * @param dsc pointer to an initialized `lv_draw_rect_dsc_t` variable */ void lv_draw_rect(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc) { if(lv_area_get_height(coords) < 1 || lv_area_get_width(coords) < 1) return; #if LV_USE_SHADOW draw_shadow(coords, clip, dsc); #endif draw_bg(coords, clip, dsc); #if LV_USE_PATTERN draw_pattern(coords, clip, dsc); #endif draw_border(coords, clip, dsc); #if LV_USE_VALUE_STR draw_value_str(coords, clip, dsc); #endif #if LV_USE_OUTLINE draw_outline(coords, clip, dsc); #endif LV_ASSERT_MEM_INTEGRITY(); } /** * Draw a pixel * @param point the coordinates of the point to draw * @param mask the pixel will be drawn only in this mask * @param style pointer to a style * @param opa_scale scale down the opacity by the factor */ void lv_draw_px(const lv_point_t * point, const lv_area_t * clip_area, const lv_style_t * style) { LV_UNUSED(point); LV_UNUSED(clip_area); LV_UNUSED(style); // lv_opa_t opa = style->body.opa; // if(opa_scale != LV_OPA_COVER) opa = (opa * opa_scale) >> 8; // // if(opa > LV_OPA_MAX) opa = LV_OPA_COVER; // // lv_area_t fill_area; // fill_area.x1 = point->x; // fill_area.y1 = point->y; // fill_area.x2 = point->x; // fill_area.y2 = point->y; // // uint8_t mask_cnt = lv_draw_mask_get_cnt(); // // if(mask_cnt == 0) { // lv_blend_fill(clip_area, &fill_area, style->body.main_color, NULL, LV_DRAW_MASK_RES_FULL_COVER, opa, style->body.blend_mode); // } else { // uint8_t mask_buf; // lv_draw_mask_res_t mask_res; // mask_res = lv_draw_mask_apply(&mask_buf, point->x, point->y, 1); // lv_blend_fill(clip_area, &fill_area, style->body.main_color, &mask_buf, mask_res, opa, style->body.blend_mode); // } } /********************** * STATIC FUNCTIONS **********************/ LV_ATTRIBUTE_FAST_MEM static void draw_bg(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc) { if(dsc->bg_opa <= LV_OPA_MIN) return; lv_area_t coords_bg; lv_area_copy(&coords_bg, coords); /*If the border fully covers make the bg area 1px smaller to avoid artifacts on the corners*/ if(dsc->border_width > 1 && dsc->border_opa >= LV_OPA_MAX && dsc->radius != 0) { coords_bg.x1 += (dsc->border_side & LV_BORDER_SIDE_LEFT) ? 1 : 0; coords_bg.y1 += (dsc->border_side & LV_BORDER_SIDE_TOP) ? 1 : 0; coords_bg.x2 -= (dsc->border_side & LV_BORDER_SIDE_RIGHT) ? 1 : 0; coords_bg.y2 -= (dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? 1 : 0; } lv_opa_t opa = dsc->bg_opa; if(opa > LV_OPA_MAX) opa = LV_OPA_COVER; lv_disp_t * disp = _lv_refr_get_disp_refreshing(); lv_disp_buf_t * vdb = lv_disp_get_buf(disp); /* Get clipped fill area which is the real draw area. * It is always the same or inside `fill_area` */ lv_area_t draw_area; bool is_common; is_common = _lv_area_intersect(&draw_area, &coords_bg, clip); if(is_common == false) return; const lv_area_t * disp_area = &vdb->area; /* Now `draw_area` has absolute coordinates. * Make it relative to `disp_area` to simplify draw to `disp_buf`*/ draw_area.x1 -= disp_area->x1; draw_area.y1 -= disp_area->y1; draw_area.x2 -= disp_area->x1; draw_area.y2 -= disp_area->y1; int32_t draw_area_w = lv_area_get_width(&draw_area); /*Create a mask if there is a radius*/ lv_opa_t * mask_buf = _lv_mem_buf_get(draw_area_w); lv_grad_dir_t grad_dir = dsc->bg_grad_dir; if(dsc->bg_color.full == dsc->bg_grad_color.full) grad_dir = LV_GRAD_DIR_NONE; uint16_t other_mask_cnt = lv_draw_mask_get_cnt(); bool simple_mode = true; if(other_mask_cnt) simple_mode = false; else if(grad_dir == LV_GRAD_DIR_HOR) simple_mode = false; int16_t mask_rout_id = LV_MASK_ID_INV; int32_t coords_w = lv_area_get_width(&coords_bg); int32_t coords_h = lv_area_get_height(&coords_bg); /*Get the real radius*/ int32_t rout = dsc->radius; int32_t short_side = LV_MATH_MIN(coords_w, coords_h); if(rout > short_side >> 1) rout = short_side >> 1; /*Most simple case: just a plain rectangle*/ if(simple_mode && rout == 0 && (grad_dir == LV_GRAD_DIR_NONE)) { _lv_blend_fill(clip, &coords_bg, dsc->bg_color, NULL, LV_DRAW_MASK_RES_FULL_COVER, opa, dsc->bg_blend_mode); } /*More complex case: there is a radius, gradient or other mask.*/ else { lv_draw_mask_radius_param_t mask_rout_param; if(rout > 0) { lv_draw_mask_radius_init(&mask_rout_param, &coords_bg, rout, false); mask_rout_id = lv_draw_mask_add(&mask_rout_param, NULL); } /*Draw the background line by line*/ int32_t h; lv_draw_mask_res_t mask_res = LV_DRAW_MASK_RES_FULL_COVER; lv_color_t grad_color = dsc->bg_color; lv_color_t * grad_map = NULL; /*In case of horizontal gradient pre-compute a line with a gradient*/ if(grad_dir == LV_GRAD_DIR_HOR) { grad_map = _lv_mem_buf_get(coords_w * sizeof(lv_color_t)); int32_t i; for(i = 0; i < coords_w; i++) { grad_map[i] = grad_get(dsc, coords_w, i); } } bool split = false; if(lv_area_get_width(&coords_bg) - 2 * rout > SPLIT_LIMIT) split = true; lv_opa_t opa2; lv_area_t fill_area; fill_area.x1 = coords_bg.x1; fill_area.x2 = coords_bg.x2; fill_area.y1 = disp_area->y1 + draw_area.y1; fill_area.y2 = fill_area.y1; for(h = draw_area.y1; h <= draw_area.y2; h++) { int32_t y = h + vdb->area.y1; opa2 = opa; /*In not corner areas apply the mask only if required*/ if(y > coords_bg.y1 + rout + 1 && y < coords_bg.y2 - rout - 1) { mask_res = LV_DRAW_MASK_RES_FULL_COVER; if(simple_mode == false) { _lv_memset(mask_buf, opa, draw_area_w); mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 + h, draw_area_w); } } /*In corner areas apply the mask anyway*/ else { _lv_memset(mask_buf, opa, draw_area_w); mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 + h, draw_area_w); } /*If mask will taken into account its base opacity was already set by memset above*/ if(mask_res == LV_DRAW_MASK_RES_CHANGED) { opa2 = LV_OPA_COVER; } /*Get the current line color*/ if(grad_dir == LV_GRAD_DIR_VER) { grad_color = grad_get(dsc, lv_area_get_height(&coords_bg), y - coords_bg.y1); } /* If there is not other mask and drawing the corner area split the drawing to corner and middle areas * because it the middle mask shouldn't be taken into account (therefore its faster)*/ if(simple_mode && split && (y < coords_bg.y1 + rout + 1 || y > coords_bg.y2 - rout - 1)) { /*Left part*/ lv_area_t fill_area2; fill_area2.x1 = coords_bg.x1; fill_area2.x2 = coords_bg.x1 + rout - 1; fill_area2.y1 = fill_area.y1; fill_area2.y2 = fill_area.y2; _lv_blend_fill(clip, &fill_area2, grad_color, mask_buf, mask_res, opa2, dsc->bg_blend_mode); /*Center part*/ if(grad_dir == LV_GRAD_DIR_VER) { fill_area2.x1 = coords_bg.x1 + rout; fill_area2.x2 = coords_bg.x2 - rout; _lv_blend_fill(clip, &fill_area2, grad_color, NULL, LV_DRAW_MASK_RES_FULL_COVER, opa, dsc->bg_blend_mode); } /*Right part*/ fill_area2.x1 = coords_bg.x2 - rout + 1; fill_area2.x2 = coords_bg.x2; int32_t mask_ofs = (coords_bg.x2 - rout + 1) - (vdb->area.x1 + draw_area.x1); if(mask_ofs < 0) mask_ofs = 0; _lv_blend_fill(clip, &fill_area2, grad_color, mask_buf + mask_ofs, mask_res, opa2, dsc->bg_blend_mode); } else { if(grad_dir == LV_GRAD_DIR_HOR) { _lv_blend_map(clip, &fill_area, grad_map, mask_buf, mask_res, opa2, dsc->bg_blend_mode); } else if(grad_dir == LV_GRAD_DIR_VER) { _lv_blend_fill(clip, &fill_area, grad_color, mask_buf, mask_res, opa2, dsc->bg_blend_mode); } else if(other_mask_cnt != 0 || !split) { _lv_blend_fill(clip, &fill_area, grad_color, mask_buf, mask_res, opa2, dsc->bg_blend_mode); } } fill_area.y1++; fill_area.y2++; } if(grad_dir == LV_GRAD_DIR_NONE && other_mask_cnt == 0 && split) { /*Central part*/ fill_area.x1 = coords_bg.x1 + rout; fill_area.x2 = coords_bg.x2 - rout; fill_area.y1 = coords_bg.y1; fill_area.y2 = coords_bg.y1 + rout; _lv_blend_fill(clip, &fill_area, dsc->bg_color, NULL, LV_DRAW_MASK_RES_FULL_COVER, opa, dsc->bg_blend_mode); fill_area.y1 = coords_bg.y2 - rout; if(fill_area.y1 <= fill_area.y2) fill_area.y1 = fill_area.y2 + 1; /*Avoid overdrawing the last line*/ fill_area.y2 = coords_bg.y2; _lv_blend_fill(clip, &fill_area, dsc->bg_color, NULL, LV_DRAW_MASK_RES_FULL_COVER, opa, dsc->bg_blend_mode); fill_area.x1 = coords_bg.x1; fill_area.x2 = coords_bg.x2; fill_area.y1 = coords_bg.y1 + rout + 1; fill_area.y2 = coords_bg.y2 - rout - 1; _lv_blend_fill(clip, &fill_area, dsc->bg_color, NULL, LV_DRAW_MASK_RES_FULL_COVER, opa, dsc->bg_blend_mode); } if(grad_map) _lv_mem_buf_release(grad_map); } lv_draw_mask_remove_id(mask_rout_id); _lv_mem_buf_release(mask_buf); } LV_ATTRIBUTE_FAST_MEM static void draw_border(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc) { if(dsc->border_opa <= LV_OPA_MIN) return; if(dsc->border_width == 0) return; if(dsc->border_side == LV_BORDER_SIDE_NONE) return; int32_t coords_w = lv_area_get_width(coords); int32_t coords_h = lv_area_get_height(coords); /*Get the real radius*/ int32_t rout = dsc->radius; int32_t short_side = LV_MATH_MIN(coords_w, coords_h); if(rout > short_side >> 1) rout = short_side >> 1; /*Get the inner area*/ lv_area_t area_inner; lv_area_copy(&area_inner, coords); area_inner.x1 += ((dsc->border_side & LV_BORDER_SIDE_LEFT) ? dsc->border_width : - (dsc->border_width + rout)); area_inner.x2 -= ((dsc->border_side & LV_BORDER_SIDE_RIGHT) ? dsc->border_width : - (dsc->border_width + rout)); area_inner.y1 += ((dsc->border_side & LV_BORDER_SIDE_TOP) ? dsc->border_width : - (dsc->border_width + rout)); area_inner.y2 -= ((dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? dsc->border_width : - (dsc->border_width + rout)); if(dsc->border_side == LV_BORDER_SIDE_FULL) { draw_full_border(&area_inner, coords, clip, dsc->radius, dsc->border_color, dsc->border_opa, dsc->border_blend_mode); } else { lv_opa_t opa = dsc->border_opa; if(opa > LV_OPA_MAX) opa = LV_OPA_COVER; lv_disp_t * disp = _lv_refr_get_disp_refreshing(); lv_disp_buf_t * vdb = lv_disp_get_buf(disp); /* Get clipped fill area which is the real draw area. * It is always the same or inside `fill_area` */ lv_area_t draw_area; bool is_common; is_common = _lv_area_intersect(&draw_area, coords, clip); if(is_common == false) return; const lv_area_t * disp_area = &vdb->area; /* Now `draw_area` has absolute coordinates. * Make it relative to `disp_area` to simplify draw to `disp_buf`*/ draw_area.x1 -= disp_area->x1; draw_area.y1 -= disp_area->y1; draw_area.x2 -= disp_area->x1; draw_area.y2 -= disp_area->y1; int32_t draw_area_w = lv_area_get_width(&draw_area); /*Create a mask if there is a radius*/ lv_opa_t * mask_buf = _lv_mem_buf_get(draw_area_w); /*Create mask for the outer area*/ int16_t mask_rout_id = LV_MASK_ID_INV; lv_draw_mask_radius_param_t mask_rout_param; if(rout > 0) { lv_draw_mask_radius_init(&mask_rout_param, coords, rout, false); mask_rout_id = lv_draw_mask_add(&mask_rout_param, NULL); } /*Create mask for the inner mask*/ int32_t rin = rout - dsc->border_width; if(rin < 0) rin = 0; lv_draw_mask_radius_param_t mask_rin_param; lv_draw_mask_radius_init(&mask_rin_param, &area_inner, rout - dsc->border_width, true); int16_t mask_rin_id = lv_draw_mask_add(&mask_rin_param, NULL); int32_t corner_size = LV_MATH_MAX(rout, dsc->border_width - 1); int32_t h; lv_draw_mask_res_t mask_res; lv_area_t fill_area; lv_color_t color = dsc->border_color; lv_blend_mode_t blend_mode = dsc->border_blend_mode; fill_area.x1 = coords->x1; fill_area.x2 = coords->x2; fill_area.y1 = disp_area->y1 + draw_area.y1; fill_area.y2 = fill_area.y1; uint32_t buf_ofs = 0; if(dsc->border_side == LV_BORDER_SIDE_LEFT) fill_area.x2 = coords->x1 + corner_size; else if(dsc->border_side == LV_BORDER_SIDE_RIGHT) { fill_area.x1 = coords->x2 - corner_size; buf_ofs = fill_area.x1 - coords->x1; } volatile bool top_only = false; volatile bool bottom_only = false; if(dsc->border_side == LV_BORDER_SIDE_TOP) top_only = true; if(dsc->border_side == LV_BORDER_SIDE_BOTTOM) bottom_only = true; if(dsc->border_side == (LV_BORDER_SIDE_TOP | LV_BORDER_SIDE_BOTTOM)) { top_only = true; bottom_only = true; } volatile bool normal = !top_only && !bottom_only ? true : false; for(h = draw_area.y1; h <= draw_area.y2; h++) { if(normal || (top_only && fill_area.y1 <= coords->y1 + corner_size) || (bottom_only && fill_area.y1 >= coords->y2 - corner_size)) { _lv_memset_ff(mask_buf, draw_area_w); mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 + h, draw_area_w); _lv_blend_fill(clip, &fill_area, color, mask_buf + buf_ofs, mask_res, opa, blend_mode); } fill_area.y1++; fill_area.y2++; } lv_draw_mask_remove_id(mask_rin_id); lv_draw_mask_remove_id(mask_rout_id); _lv_mem_buf_release(mask_buf); } } LV_ATTRIBUTE_FAST_MEM static inline lv_color_t grad_get(const lv_draw_rect_dsc_t * dsc, lv_coord_t s, lv_coord_t i) { int32_t min = (dsc->bg_main_color_stop * s) >> 8; if(i <= min) return dsc->bg_color; int32_t max = (dsc->bg_grad_color_stop * s) >> 8; if(i >= max) return dsc->bg_grad_color; int32_t d = dsc->bg_grad_color_stop - dsc->bg_main_color_stop; d = (s * d) >> 8; i -= min; lv_opa_t mix = (i * 255) / d; return lv_color_mix(dsc->bg_grad_color, dsc->bg_color, mix); } #if LV_USE_SHADOW LV_ATTRIBUTE_FAST_MEM static void draw_shadow(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc) { /*Check whether the shadow is visible*/ if(dsc->shadow_width == 0) return; if(dsc->shadow_opa <= LV_OPA_MIN) return; if(dsc->shadow_width == 1 && dsc->shadow_ofs_x == 0 && dsc->shadow_ofs_y == 0 && dsc->shadow_spread <= 0) { return; } int32_t sw = dsc->shadow_width; lv_area_t sh_rect_area; sh_rect_area.x1 = coords->x1 + dsc->shadow_ofs_x - dsc->shadow_spread; sh_rect_area.x2 = coords->x2 + dsc->shadow_ofs_x + dsc->shadow_spread; sh_rect_area.y1 = coords->y1 + dsc->shadow_ofs_y - dsc->shadow_spread; sh_rect_area.y2 = coords->y2 + dsc->shadow_ofs_y + dsc->shadow_spread; lv_area_t sh_area; sh_area.x1 = sh_rect_area.x1 - sw / 2 - 1; sh_area.x2 = sh_rect_area.x2 + sw / 2 + 1; sh_area.y1 = sh_rect_area.y1 - sw / 2 - 1; sh_area.y2 = sh_rect_area.y2 + sw / 2 + 1; lv_opa_t opa = dsc->shadow_opa; if(opa > LV_OPA_MAX) opa = LV_OPA_COVER; lv_disp_t * disp = _lv_refr_get_disp_refreshing(); lv_disp_buf_t * vdb = lv_disp_get_buf(disp); /* Get clipped fill area which is the real draw area. * It is always the same or inside `fill_area` */ lv_area_t draw_area; bool is_common; is_common = _lv_area_intersect(&draw_area, &sh_area, clip); if(is_common == false) return; const lv_area_t * disp_area = &vdb->area; /* Now `draw_area` has absolute coordinates. * Make it relative to `disp_area` to simplify draw to `disp_buf`*/ draw_area.x1 -= disp_area->x1; draw_area.y1 -= disp_area->y1; draw_area.x2 -= disp_area->x1; draw_area.y2 -= disp_area->y1; /*Consider 1 px smaller bg to be sure the edge will be covered by the shadow*/ lv_area_t bg_coords; lv_area_copy(&bg_coords, coords); bg_coords.x1 += 1; bg_coords.y1 += 1; bg_coords.x2 -= 1; bg_coords.y2 -= 1; /*Get the real radius*/ int32_t r_bg = dsc->radius; int32_t short_side = LV_MATH_MIN(lv_area_get_width(&bg_coords), lv_area_get_height(&bg_coords)); if(r_bg > short_side >> 1) r_bg = short_side >> 1; int32_t r_sh = dsc->radius; short_side = LV_MATH_MIN(lv_area_get_width(&sh_rect_area), lv_area_get_height(&sh_rect_area)); if(r_sh > short_side >> 1) r_sh = short_side >> 1; int32_t corner_size = sw + r_sh; lv_opa_t * sh_buf; #if LV_SHADOW_CACHE_SIZE if(sh_cache_size == corner_size && sh_cache_r == r_sh) { /*Use the cache if available*/ sh_buf = _lv_mem_buf_get(corner_size * corner_size); _lv_memcpy(sh_buf, sh_cache, corner_size * corner_size); } else { /*A larger buffer is required for calculation */ sh_buf = _lv_mem_buf_get(corner_size * corner_size * sizeof(uint16_t)); shadow_draw_corner_buf(&sh_rect_area, (uint16_t *)sh_buf, dsc->shadow_width, r_sh); /*Cache the corner if it fits into the cache size*/ if(corner_size * corner_size < sizeof(sh_cache)) { _lv_memcpy(sh_cache, sh_buf, corner_size * corner_size); sh_cache_size = corner_size; sh_cache_r = r_sh; } } #else sh_buf = _lv_mem_buf_get(corner_size * corner_size * sizeof(uint16_t)); shadow_draw_corner_buf(&sh_rect_area, (uint16_t *)sh_buf, dsc->shadow_width, r_sh); #endif lv_coord_t h_half = sh_area.y1 + lv_area_get_height(&sh_area) / 2; lv_coord_t w_half = sh_area.x1 + lv_area_get_width(&sh_area) / 2; bool simple_mode = true; if(lv_draw_mask_get_cnt() > 0) simple_mode = false; else if(dsc->shadow_ofs_x != 0 || dsc->shadow_ofs_y != 0) simple_mode = false; else if(dsc->shadow_spread != 0) simple_mode = false; /*Create a mask*/ lv_draw_mask_res_t mask_res; lv_opa_t * mask_buf = _lv_mem_buf_get(lv_area_get_width(&sh_area)); lv_draw_mask_radius_param_t mask_rout_param; lv_draw_mask_radius_init(&mask_rout_param, &bg_coords, r_bg, true); int16_t mask_rout_id = lv_draw_mask_add(&mask_rout_param, NULL); lv_area_t a; /*Draw the top right corner*/ int32_t y; lv_opa_t * sh_buf_tmp; a.x2 = sh_area.x2; a.x1 = a.x2 - corner_size + 1; a.y1 = sh_area.y1; a.y2 = a.y1 + corner_size - 1; lv_area_t ca; bool has_com = _lv_area_intersect(&ca, &a, clip); if(has_com && _lv_area_is_in(&a, &bg_coords, r_bg) == false) { /*Avoid overlap in the middle with large radius*/ if(ca.y2 > h_half) ca.y2 = h_half; if(ca.x1 <= w_half) ca.x1 = w_half + 1; lv_coord_t h = lv_area_get_height(&ca); lv_coord_t w = lv_area_get_width(&ca); if(w > 0) { sh_buf_tmp = sh_buf + (ca.x1 - a.x1); sh_buf_tmp += corner_size * (ca.y1 - a.y1); lv_area_t fa; lv_area_copy(&fa, &ca); fa.y2 = fa.y1; for(y = 0; y < h; y++) { _lv_memcpy(mask_buf, sh_buf_tmp, w); mask_res = lv_draw_mask_apply(mask_buf, fa.x1, fa.y1, w); if(mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask_res = LV_DRAW_MASK_RES_CHANGED; _lv_blend_fill(clip, &fa, dsc->shadow_color, mask_buf, mask_res, opa, dsc->shadow_blend_mode); fa.y1++; fa.y2++; sh_buf_tmp += corner_size; } } } /*Draw the bottom right corner*/ a.x2 = sh_area.x2; a.x1 = a.x2 - corner_size + 1; a.y1 = sh_area.y2 - corner_size + 1; a.y2 = sh_area.y2; has_com = _lv_area_intersect(&ca, &a, clip); if(has_com && _lv_area_is_in(&a, &bg_coords, r_bg) == false) { /*Avoid overlap in the middle with large radius*/ if(ca.y1 <= h_half) ca.y1 = h_half + 1; if(ca.x1 <= w_half) ca.x1 = w_half + 1; lv_coord_t h = lv_area_get_height(&ca); lv_coord_t w = lv_area_get_width(&ca); if(w > 0) { sh_buf_tmp = sh_buf + (ca.x1 - a.x1); sh_buf_tmp += corner_size * (a.y2 - ca.y2); lv_area_t fa; lv_area_copy(&fa, &ca); fa.y1 = fa.y2; /*Fill from bottom to top*/ for(y = 0; y < h; y++) { _lv_memcpy(mask_buf, sh_buf_tmp, w); mask_res = lv_draw_mask_apply(mask_buf, fa.x1, fa.y1, w); if(mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask_res = LV_DRAW_MASK_RES_CHANGED; _lv_blend_fill(clip, &fa, dsc->shadow_color, mask_buf, mask_res, opa, dsc->shadow_blend_mode); fa.y1--; fa.y2--; sh_buf_tmp += corner_size; } } } /*Fill the right side*/ a.x2 = sh_area.x2; a.x1 = a.x2 - corner_size + 1; a.y1 = sh_area.y1 + corner_size; a.y2 = sh_area.y2 - corner_size; has_com = _lv_area_intersect(&ca, &a, clip); if(has_com && _lv_area_is_in(&a, &bg_coords, r_bg) == false) { if(simple_mode) ca.x1 = LV_MATH_MAX(ca.x1, coords->x2); /*Draw horizontal lines*/ lv_coord_t w = lv_area_get_width(&ca); if(w > 0) { lv_coord_t h = lv_area_get_height(&ca); /*The last line of the shadow is repeated on the side*/ sh_buf_tmp = sh_buf + corner_size * (corner_size - 1); sh_buf_tmp += ca.x1 - a.x1; lv_area_t fa; lv_area_copy(&fa, &ca); fa.y2 = fa.y1; mask_res = LV_DRAW_MASK_RES_FULL_COVER; for(y = 0; y < h; y++) { _lv_memcpy(mask_buf, sh_buf_tmp, w); if(simple_mode) { mask_res = LV_DRAW_MASK_RES_CHANGED; } else { mask_res = lv_draw_mask_apply(mask_buf, fa.x1, fa.y1, w); if(mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask_res = LV_DRAW_MASK_RES_CHANGED; } _lv_blend_fill(clip, &fa, dsc->shadow_color, mask_buf, mask_res, dsc->shadow_opa, dsc->shadow_blend_mode); fa.y1++; fa.y2++; } } } /*Invert the shadow corner buffer and draw the corners on the left*/ sh_buf_tmp = sh_buf ; for(y = 0; y < corner_size; y++) { int32_t x; for(x = 0; x < corner_size / 2; x++) { lv_opa_t tmp = sh_buf_tmp[x]; sh_buf_tmp[x] = sh_buf_tmp[corner_size - x - 1]; sh_buf_tmp[corner_size - x - 1] = tmp; } sh_buf_tmp += corner_size; } /*Draw the top left corner*/ a.x1 = sh_area.x1; a.x2 = a.x1 + corner_size - 1; a.y1 = sh_area.y1; a.y2 = a.y1 + corner_size - 1; has_com = _lv_area_intersect(&ca, &a, clip); if(has_com && _lv_area_is_in(&a, &bg_coords, r_bg) == false) { /*Avoid overlap in the middle with large radius*/ if(ca.y2 > h_half) ca.y2 = h_half; if(ca.x2 > w_half) ca.x2 = w_half; lv_coord_t h = lv_area_get_height(&ca); lv_coord_t w = lv_area_get_width(&ca); if(w > 0) { sh_buf_tmp = sh_buf + (ca.x1 - a.x1); sh_buf_tmp += corner_size * (ca.y1 - a.y1); lv_area_t fa; lv_area_copy(&fa, &ca); fa.y2 = fa.y1; for(y = 0; y < h; y++) { _lv_memcpy(mask_buf, sh_buf_tmp, w); mask_res = lv_draw_mask_apply(mask_buf, fa.x1, fa.y1, w); if(mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask_res = LV_DRAW_MASK_RES_CHANGED; _lv_blend_fill(clip, &fa, dsc->shadow_color, mask_buf, mask_res, opa, dsc->shadow_blend_mode); fa.y1++; fa.y2++; sh_buf_tmp += corner_size; } } } /*Draw the bottom left corner*/ a.x1 = sh_area.x1; a.x2 = a.x1 + corner_size - 1; a.y1 = sh_area.y2 - corner_size + 1; a.y2 = sh_area.y2; has_com = _lv_area_intersect(&ca, &a, clip); if(has_com && _lv_area_is_in(&a, &bg_coords, r_bg) == false) { /*Avoid overlap in the middle with large radius*/ if(ca.y1 <= h_half) ca.y1 = h_half + 1; if(ca.x2 > w_half) ca.x2 = w_half; lv_coord_t h = lv_area_get_height(&ca); lv_coord_t w = lv_area_get_width(&ca); if(w > 0) { sh_buf_tmp = sh_buf + (ca.x1 - a.x1); sh_buf_tmp += corner_size * (a.y2 - ca.y2); lv_area_t fa; lv_area_copy(&fa, &ca); fa.y1 = fa.y2; /*Fill from bottom to top*/ for(y = 0; y < h; y++) { _lv_memcpy(mask_buf, sh_buf_tmp, w); mask_res = lv_draw_mask_apply(mask_buf, fa.x1, fa.y1, w); if(mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask_res = LV_DRAW_MASK_RES_CHANGED; _lv_blend_fill(clip, &fa, dsc->shadow_color, mask_buf, mask_res, opa, dsc->shadow_blend_mode); fa.y1--; fa.y2--; sh_buf_tmp += corner_size; } } } /*Fill the left side*/ a.x1 = sh_area.x1; a.x2 = a.x1 + corner_size - 1; a.y1 = sh_area.y1 + corner_size; a.y2 = sh_area.y2 - corner_size; has_com = _lv_area_intersect(&ca, &a, clip); if(has_com && _lv_area_is_in(&a, &bg_coords, r_bg) == false) { if(simple_mode) ca.x2 = LV_MATH_MIN(coords->x1, ca.x2); /*Draw vertical lines*/ lv_coord_t w = lv_area_get_width(&ca); if(w > 0) { lv_coord_t h = lv_area_get_height(&ca); /*The last line of the shadow is repeated on the side*/ sh_buf_tmp = sh_buf + corner_size * (corner_size - 1); sh_buf_tmp += ca.x1 - a.x1; lv_area_t fa; lv_area_copy(&fa, &ca); fa.y2 = fa.y1; for(y = 0; y < h; y++) { _lv_memcpy(mask_buf, sh_buf_tmp, w); if(simple_mode) { mask_res = LV_DRAW_MASK_RES_CHANGED; } else { mask_res = lv_draw_mask_apply(mask_buf, fa.x1, fa.y1, w); if(mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask_res = LV_DRAW_MASK_RES_CHANGED; } _lv_blend_fill(clip, &fa, dsc->shadow_color, mask_buf, mask_res, dsc->shadow_opa, dsc->shadow_blend_mode); fa.y1++; fa.y2++; } } } /*Fill the top side*/ a.x1 = sh_area.x1 + corner_size; a.x2 = sh_area.x2 - corner_size; a.y1 = sh_area.y1; a.y2 = sh_area.y1 + corner_size - 1; has_com = _lv_area_intersect(&ca, &a, clip); if(has_com && _lv_area_is_in(&a, &bg_coords, r_bg) == false) { if(simple_mode) ca.y2 = LV_MATH_MIN(ca.y2, coords->y1); /*Draw horizontal lines*/ lv_coord_t w = lv_area_get_width(&ca); lv_coord_t h = lv_area_get_height(&ca); sh_buf_tmp = sh_buf + corner_size - 1; sh_buf_tmp += corner_size * (ca.y1 - a.y1); lv_area_t fa; lv_area_copy(&fa, &ca); fa.y2 = fa.y1; mask_res = LV_DRAW_MASK_RES_FULL_COVER; for(y = 0; y < h; y++) { lv_opa_t opa_tmp = sh_buf_tmp[0]; if(opa_tmp != LV_OPA_COVER || opa != LV_OPA_COVER) opa_tmp = (opa * opa_tmp) >> 8; _lv_memset(mask_buf, opa_tmp, w); if(simple_mode) { mask_res = LV_DRAW_MASK_RES_CHANGED; } else { mask_res = lv_draw_mask_apply(mask_buf, fa.x1, fa.y1, w); if(mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask_res = LV_DRAW_MASK_RES_CHANGED; } _lv_blend_fill(clip, &fa, dsc->shadow_color, mask_buf, mask_res, LV_OPA_COVER, dsc->shadow_blend_mode); fa.y1++; fa.y2++; sh_buf_tmp += corner_size; } } /*Fill the bottom side*/ a.x1 = sh_area.x1 + corner_size; a.x2 = sh_area.x2 - corner_size; a.y1 = sh_area.y2 - corner_size + 1; a.y2 = sh_area.y2; has_com = _lv_area_intersect(&ca, &a, clip); if(has_com && _lv_area_is_in(&a, &bg_coords, r_bg) == false) { if(simple_mode) ca.y1 = LV_MATH_MAX(ca.y1, coords->y2); /*Draw horizontal lines*/ lv_coord_t w = lv_area_get_width(&ca); lv_coord_t h = lv_area_get_height(&ca); sh_buf_tmp = sh_buf + corner_size - 1; sh_buf_tmp += corner_size * (a.y2 - ca.y2); lv_area_t fa; lv_area_copy(&fa, &ca); fa.y1 = fa.y2; for(y = 0; y < h; y++) { lv_opa_t opa_tmp = sh_buf_tmp[0]; if(opa_tmp != LV_OPA_COVER || opa != LV_OPA_COVER) opa_tmp = (opa * opa_tmp) >> 8; _lv_memset(mask_buf, opa_tmp, w); if(simple_mode) { mask_res = LV_DRAW_MASK_RES_CHANGED; } else { mask_res = lv_draw_mask_apply(mask_buf, fa.x1, fa.y1, w); if(mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask_res = LV_DRAW_MASK_RES_CHANGED; } _lv_blend_fill(clip, &fa, dsc->shadow_color, mask_buf, mask_res, LV_OPA_COVER, dsc->shadow_blend_mode); fa.y1--; fa.y2--; sh_buf_tmp += corner_size; } } /*Draw the middle area*/ a.x1 = sh_area.x1 + corner_size; a.x2 = sh_area.x2 - corner_size; a.y1 = sh_area.y1 + corner_size; a.y2 = sh_area.y2 - corner_size; has_com = _lv_area_intersect(&ca, &a, clip); if(has_com && simple_mode == false && _lv_area_is_in(&a, &bg_coords, r_bg) == false) { /*Draw horizontal lines*/ lv_coord_t w = lv_area_get_width(&ca); lv_coord_t h = lv_area_get_height(&ca); lv_area_t fa; lv_area_copy(&fa, &ca); fa.y2 = fa.y1; for(y = 0; y < h; y++) { _lv_memset(mask_buf, dsc->shadow_opa, w); mask_res = lv_draw_mask_apply(mask_buf, fa.x1, fa.y1, w); if(mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask_res = LV_DRAW_MASK_RES_CHANGED; _lv_blend_fill(clip, &fa, dsc->shadow_color, mask_buf, mask_res, LV_OPA_COVER, dsc->shadow_blend_mode); fa.y1++; fa.y2++; } } lv_draw_mask_remove_id(mask_rout_id); _lv_mem_buf_release(mask_buf); _lv_mem_buf_release(sh_buf); } /** * Calculate a blurred corner * @param coords Coordinates of the shadow * @param sh_buf a buffer to store the result. It's size should be `(sw + r)^2 * 2` * @param sw shadow width * @param r radius */ LV_ATTRIBUTE_FAST_MEM static void shadow_draw_corner_buf(const lv_area_t * coords, uint16_t * sh_buf, lv_coord_t sw, lv_coord_t r) { int32_t sw_ori = sw; int32_t size = sw_ori + r; lv_area_t sh_area; lv_area_copy(&sh_area, coords); sh_area.x2 = sw / 2 + r - 1 - ((sw & 1) ? 0 : 1); sh_area.y1 = sw / 2 + 1; sh_area.x1 = sh_area.x2 - lv_area_get_width(coords); sh_area.y2 = sh_area.y1 + lv_area_get_height(coords); lv_draw_mask_radius_param_t mask_param; lv_draw_mask_radius_init(&mask_param, &sh_area, r, false); #if SHADOW_ENHANCE /*Set half shadow width width because blur will be repeated*/ if(sw_ori == 1) sw = 1; else sw = sw_ori >> 1; #endif int32_t y; lv_opa_t * mask_line = _lv_mem_buf_get(size); uint16_t * sh_ups_tmp_buf = (uint16_t *)sh_buf; for(y = 0; y < size; y++) { _lv_memset_ff(mask_line, size); lv_draw_mask_res_t mask_res = mask_param.dsc.cb(mask_line, 0, y, size, &mask_param); if(mask_res == LV_DRAW_MASK_RES_TRANSP) { _lv_memset_00(sh_ups_tmp_buf, size * sizeof(sh_ups_tmp_buf[0])); } else { int32_t i; sh_ups_tmp_buf[0] = (mask_line[0] << SHADOW_UPSACALE_SHIFT) / sw; for(i = 1; i < size; i++) { if(mask_line[i] == mask_line[i - 1]) sh_ups_tmp_buf[i] = sh_ups_tmp_buf[i - 1]; else sh_ups_tmp_buf[i] = (mask_line[i] << SHADOW_UPSACALE_SHIFT) / sw; } } sh_ups_tmp_buf += size; } _lv_mem_buf_release(mask_line); if(sw == 1) { int32_t i; lv_opa_t * res_buf = (lv_opa_t *)sh_buf; for(i = 0; i < size * size; i++) { res_buf[i] = (sh_buf[i] >> SHADOW_UPSACALE_SHIFT); } return; } shadow_blur_corner(size, sw, sh_buf); #if SHADOW_ENHANCE == 0 /*The result is required in lv_opa_t not uint16_t*/ uint32_t x; lv_opa_t * res_buf = (lv_opa_t *)sh_buf; for(x = 0; x < size * size; x++) { res_buf[x] = sh_buf[x]; } #else sw += sw_ori & 1; if(sw > 1) { uint32_t i; sh_buf[0] = (sh_buf[0] << SHADOW_UPSACALE_SHIFT) / sw; for(i = 1; i < (uint32_t) size * size; i++) { if(sh_buf[i] == sh_buf[i - 1]) sh_buf[i] = sh_buf[i - 1]; else sh_buf[i] = (sh_buf[i] << SHADOW_UPSACALE_SHIFT) / sw; } shadow_blur_corner(size, sw, sh_buf); } int32_t x; lv_opa_t * res_buf = (lv_opa_t *)sh_buf; for(x = 0; x < size * size; x++) { res_buf[x] = sh_buf[x]; } #endif } LV_ATTRIBUTE_FAST_MEM static void shadow_blur_corner(lv_coord_t size, lv_coord_t sw, uint16_t * sh_ups_buf) { int32_t s_left = sw >> 1; int32_t s_right = (sw >> 1); if((sw & 1) == 0) s_left--; /*Horizontal blur*/ uint16_t * sh_ups_blur_buf = _lv_mem_buf_get(size * sizeof(uint16_t)); int32_t x; int32_t y; uint16_t * sh_ups_tmp_buf = sh_ups_buf; for(y = 0; y < size; y++) { int32_t v = sh_ups_tmp_buf[size - 1] * sw; for(x = size - 1; x >= 0; x--) { sh_ups_blur_buf[x] = v; /*Forget the right pixel*/ uint32_t right_val = 0; if(x + s_right < size) right_val = sh_ups_tmp_buf[x + s_right]; v -= right_val; /*Add the left pixel*/ uint32_t left_val; if(x - s_left - 1 < 0) left_val = sh_ups_tmp_buf[0]; else left_val = sh_ups_tmp_buf[x - s_left - 1]; v += left_val; } _lv_memcpy(sh_ups_tmp_buf, sh_ups_blur_buf, size * sizeof(uint16_t)); sh_ups_tmp_buf += size; } /*Vertical blur*/ uint32_t i; sh_ups_buf[0] = sh_ups_buf[0] / sw; for(i = 1; i < (uint32_t)size * size; i++) { if(sh_ups_buf[i] == sh_ups_buf[i - 1]) sh_ups_buf[i] = sh_ups_buf[i - 1]; else sh_ups_buf[i] = sh_ups_buf[i] / sw; } for(x = 0; x < size; x++) { sh_ups_tmp_buf = &sh_ups_buf[x]; int32_t v = sh_ups_tmp_buf[0] * sw; for(y = 0; y < size ; y++, sh_ups_tmp_buf += size) { sh_ups_blur_buf[y] = v < 0 ? 0 : (v >> SHADOW_UPSACALE_SHIFT); /*Forget the top pixel*/ uint32_t top_val; if(y - s_right <= 0) top_val = sh_ups_tmp_buf[0]; else top_val = sh_ups_buf[(y - s_right) * size + x]; v -= top_val; /*Add the bottom pixel*/ uint32_t bottom_val; if(y + s_left + 1 < size) bottom_val = sh_ups_buf[(y + s_left + 1) * size + x]; else bottom_val = sh_ups_buf[(size - 1) * size + x]; v += bottom_val; } /*Write back the result into `sh_ups_buf`*/ sh_ups_tmp_buf = &sh_ups_buf[x]; for(y = 0; y < size; y++, sh_ups_tmp_buf += size) { (*sh_ups_tmp_buf) = sh_ups_blur_buf[y]; } } _lv_mem_buf_release(sh_ups_blur_buf); } #endif #if LV_USE_OUTLINE static void draw_outline(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc) { if(dsc->outline_opa <= LV_OPA_MIN) return; if(dsc->outline_width == 0) return; lv_opa_t opa = dsc->outline_opa; if(opa > LV_OPA_MAX) opa = LV_OPA_COVER; /*Get the inner radius*/ lv_area_t area_inner; lv_area_copy(&area_inner, coords); area_inner.x1 -= dsc->outline_pad; area_inner.y1 -= dsc->outline_pad; area_inner.x2 += dsc->outline_pad; area_inner.y2 += dsc->outline_pad; lv_area_t area_outer; lv_area_copy(&area_outer, &area_inner); area_outer.x1 -= dsc->outline_width; area_outer.x2 += dsc->outline_width; area_outer.y1 -= dsc->outline_width; area_outer.y2 += dsc->outline_width; draw_full_border(&area_inner, &area_outer, clip, dsc->radius, dsc->outline_color, dsc->outline_opa, dsc->outline_blend_mode); } #endif #if LV_USE_PATTERN static void draw_pattern(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc) { if(dsc->pattern_image == NULL) return; if(dsc->pattern_opa <= LV_OPA_MIN) return; lv_img_src_t src_type = lv_img_src_get_type(dsc->pattern_image); lv_draw_img_dsc_t img_dsc; lv_draw_label_dsc_t label_dsc; int32_t img_w; int32_t img_h; if(src_type == LV_IMG_SRC_FILE || src_type == LV_IMG_SRC_VARIABLE) { lv_img_header_t header; lv_res_t res = lv_img_decoder_get_info(dsc->pattern_image, &header); if(res != LV_RES_OK) { LV_LOG_WARN("draw_img: can't get image info"); return; } img_w = header.w; img_h = header.h; lv_draw_img_dsc_init(&img_dsc); img_dsc.opa = dsc->pattern_opa; img_dsc.recolor_opa = dsc->pattern_recolor_opa; img_dsc.recolor = dsc->pattern_recolor; } else if(src_type == LV_IMG_SRC_SYMBOL) { lv_draw_label_dsc_init(&label_dsc); label_dsc.color = dsc->pattern_recolor; label_dsc.font = dsc->pattern_font; label_dsc.opa = dsc->pattern_opa; lv_point_t s; _lv_txt_get_size(&s, dsc->pattern_image, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, LV_COORD_MAX, LV_TXT_FLAG_NONE); img_w = s.x; img_h = s.y; } else { /*Trigger the error handler of image drawer*/ LV_LOG_WARN("lv_img_design: image source type is unknown"); lv_draw_img(coords, clip, NULL, NULL); return; } lv_area_t coords_tmp; if(dsc->pattern_repeat) { lv_draw_mask_radius_param_t radius_mask_param; lv_draw_mask_radius_init(&radius_mask_param, coords, dsc->radius, false); int16_t radius_mask_id = lv_draw_mask_add(&radius_mask_param, NULL); /*Align the pattern to the middle*/ int32_t ofs_x = (lv_area_get_width(coords) - (lv_area_get_width(coords) / img_w) * img_w) / 2; int32_t ofs_y = (lv_area_get_height(coords) - (lv_area_get_height(coords) / img_h) * img_h) / 2; coords_tmp.y1 = coords->y1 - ofs_y; coords_tmp.y2 = coords_tmp.y1 + img_h - 1; for(; coords_tmp.y1 <= coords->y2; coords_tmp.y1 += img_h, coords_tmp.y2 += img_h) { coords_tmp.x1 = coords->x1 - ofs_x; coords_tmp.x2 = coords_tmp.x1 + img_w - 1; for(; coords_tmp.x1 <= coords->x2; coords_tmp.x1 += img_w, coords_tmp.x2 += img_w) { if(src_type == LV_IMG_SRC_SYMBOL) lv_draw_label(&coords_tmp, clip, &label_dsc, dsc->pattern_image, NULL); else lv_draw_img(&coords_tmp, clip, dsc->pattern_image, &img_dsc); } } lv_draw_mask_remove_id(radius_mask_id); } else { int32_t obj_w = lv_area_get_width(coords); int32_t obj_h = lv_area_get_height(coords); coords_tmp.x1 = coords->x1 + (obj_w - img_w) / 2; coords_tmp.y1 = coords->y1 + (obj_h - img_h) / 2; coords_tmp.x2 = coords_tmp.x1 + img_w - 1; coords_tmp.y2 = coords_tmp.y1 + img_h - 1; /* If the (obj_h - img_h) is odd there is a rounding error when divided by 2. * It's better round up in case of symbols because probably there is some extra space in the bottom * due to the base line of font*/ if(src_type == LV_IMG_SRC_SYMBOL) { int32_t y_corr = (obj_h - img_h) & 0x1; coords_tmp.y1 += y_corr; coords_tmp.y2 += y_corr; } int16_t radius_mask_id = LV_MASK_ID_INV; if(_lv_area_is_in(&coords_tmp, coords, dsc->radius) == false) { lv_draw_mask_radius_param_t radius_mask_param; lv_draw_mask_radius_init(&radius_mask_param, coords, dsc->radius, false); radius_mask_id = lv_draw_mask_add(&radius_mask_param, NULL); } if(src_type == LV_IMG_SRC_SYMBOL) lv_draw_label(&coords_tmp, clip, &label_dsc, dsc->pattern_image, NULL); else lv_draw_img(&coords_tmp, clip, dsc->pattern_image, &img_dsc); lv_draw_mask_remove_id(radius_mask_id); } } #endif #if LV_USE_VALUE_STR static void draw_value_str(const lv_area_t * coords, const lv_area_t * clip, const lv_draw_rect_dsc_t * dsc) { if(dsc->value_str == NULL) return; if(dsc->value_opa <= LV_OPA_MIN) return; lv_point_t s; _lv_txt_get_size(&s, dsc->value_str, dsc->value_font, dsc->value_letter_space, dsc->value_line_space, LV_COORD_MAX, LV_TXT_FLAG_NONE); lv_area_t value_area; value_area.x1 = 0; value_area.y1 = 0; value_area.x2 = s.x - 1; value_area.y2 = s.y - 1; lv_point_t p_align; _lv_area_align(coords, &value_area, dsc->value_align, &p_align); value_area.x1 += p_align.x + dsc->value_ofs_x; value_area.y1 += p_align.y + dsc->value_ofs_y; value_area.x2 += p_align.x + dsc->value_ofs_x; value_area.y2 += p_align.y + dsc->value_ofs_y; lv_draw_label_dsc_t label_dsc; lv_draw_label_dsc_init(&label_dsc); label_dsc.font = dsc->value_font; label_dsc.letter_space = dsc->value_letter_space; label_dsc.line_space = dsc->value_line_space; label_dsc.color = dsc->value_color; label_dsc.opa = dsc->value_opa; lv_draw_label(&value_area, clip, &label_dsc, dsc->value_str, NULL); } #endif static void draw_full_border(const lv_area_t * area_inner, const lv_area_t * area_outer, const lv_area_t * clip, lv_coord_t radius, lv_color_t color, lv_opa_t opa, lv_blend_mode_t blend_mode) { uint8_t other_mask_cnt = lv_draw_mask_get_cnt(); bool simple_mode = true; if(other_mask_cnt) simple_mode = false; int32_t inner_w = lv_area_get_width(area_inner); int32_t inner_h = lv_area_get_height(area_inner); lv_coord_t border_width = area_outer->x2 - area_inner->x2; int32_t rin = radius; int32_t short_side = LV_MATH_MIN(inner_w, inner_h); if(rin > short_side >> 1) rin = short_side >> 1; /*Get the outer area*/ int32_t rout = rin + border_width; int32_t coords_out_w = lv_area_get_width(area_outer); int32_t coords_out_h = lv_area_get_height(area_outer); short_side = LV_MATH_MIN(coords_out_w, coords_out_h); if(rout > short_side >> 1) rout = short_side >> 1; lv_disp_t * disp = _lv_refr_get_disp_refreshing(); lv_disp_buf_t * vdb = lv_disp_get_buf(disp); /* Get clipped fill area which is the real draw area. * It is always the same or inside `fill_area` */ lv_area_t draw_area; bool is_common; is_common = _lv_area_intersect(&draw_area, area_outer, clip); if(is_common == false) return; const lv_area_t * disp_area = &vdb->area; /* Now `draw_area` has absolute coordinates. * Make it relative to `disp_area` to simplify draw to `disp_buf`*/ draw_area.x1 -= disp_area->x1; draw_area.y1 -= disp_area->y1; draw_area.x2 -= disp_area->x1; draw_area.y2 -= disp_area->y1; int32_t draw_area_w = lv_area_get_width(&draw_area); /*Create inner the mask*/ lv_draw_mask_radius_param_t mask_rin_param; lv_draw_mask_radius_init(&mask_rin_param, area_inner, rin, true); int16_t mask_rin_id = lv_draw_mask_add(&mask_rin_param, NULL); lv_draw_mask_radius_param_t mask_rout_param; lv_draw_mask_radius_init(&mask_rout_param, area_outer, rout, false); int16_t mask_rout_id = lv_draw_mask_add(&mask_rout_param, NULL); lv_opa_t * mask_buf = _lv_mem_buf_get(draw_area_w); int32_t corner_size = LV_MATH_MAX(rout, border_width - 1); int32_t h; lv_draw_mask_res_t mask_res; lv_area_t fill_area; /*Apply some optimization if there is no other mask*/ if(simple_mode) { /*Draw the upper corner area*/ int32_t upper_corner_end = area_outer->y1 - disp_area->y1 + corner_size; fill_area.x1 = area_outer->x1; fill_area.x2 = area_outer->x2; fill_area.y1 = disp_area->y1 + draw_area.y1; fill_area.y2 = fill_area.y1; for(h = draw_area.y1; h <= upper_corner_end; h++) { _lv_memset_ff(mask_buf, draw_area_w); mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 + h, draw_area_w); lv_area_t fill_area2; fill_area2.y1 = fill_area.y1; fill_area2.y2 = fill_area.y2; fill_area2.x1 = area_outer->x1; fill_area2.x2 = area_outer->x1 + rout - 1; _lv_blend_fill(clip, &fill_area2, color, mask_buf, mask_res, opa, blend_mode); /*Draw the top horizontal line*/ if(fill_area2.y2 < area_outer->y1 + border_width) { fill_area2.x1 = area_outer->x1 + rout; fill_area2.x2 = area_outer->x2 - rout; _lv_blend_fill(clip, &fill_area2, color, NULL, LV_DRAW_MASK_RES_FULL_COVER, opa, blend_mode); } fill_area2.x1 = area_outer->x2 - rout + 1; fill_area2.x2 = area_outer->x2; int32_t mask_ofs = (area_outer->x2 - rout + 1) - (vdb->area.x1 + draw_area.x1); if(mask_ofs < 0) mask_ofs = 0; _lv_blend_fill(clip, &fill_area2, color, mask_buf + mask_ofs, mask_res, opa, blend_mode); fill_area.y1++; fill_area.y2++; } /*Draw the lower corner area */ int32_t lower_corner_end = area_outer->y2 - disp_area->y1 - corner_size; if(lower_corner_end <= upper_corner_end) lower_corner_end = upper_corner_end + 1; fill_area.y1 = disp_area->y1 + lower_corner_end; fill_area.y2 = fill_area.y1; for(h = lower_corner_end; h <= draw_area.y2; h++) { _lv_memset_ff(mask_buf, draw_area_w); mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 + h, draw_area_w); lv_area_t fill_area2; fill_area2.x1 = area_outer->x1; fill_area2.x2 = area_outer->x1 + rout - 1; fill_area2.y1 = fill_area.y1; fill_area2.y2 = fill_area.y2; _lv_blend_fill(clip, &fill_area2, color, mask_buf, mask_res, opa, blend_mode); /*Draw the bottom horizontal line*/ if(fill_area2.y2 > area_outer->y2 - border_width) { fill_area2.x1 = area_outer->x1 + rout; fill_area2.x2 = area_outer->x2 - rout; _lv_blend_fill(clip, &fill_area2, color, NULL, LV_DRAW_MASK_RES_FULL_COVER, opa, blend_mode); } fill_area2.x1 = area_outer->x2 - rout + 1; fill_area2.x2 = area_outer->x2; int32_t mask_ofs = (area_outer->x2 - rout + 1) - (vdb->area.x1 + draw_area.x1); if(mask_ofs < 0) mask_ofs = 0; _lv_blend_fill(clip, &fill_area2, color, mask_buf + mask_ofs, mask_res, opa, blend_mode); fill_area.y1++; fill_area.y2++; } /*Draw the left vertical part*/ fill_area.y1 = area_outer->y1 + corner_size + 1; fill_area.y2 = area_outer->y2 - corner_size - 1; fill_area.x1 = area_outer->x1; fill_area.x2 = area_outer->x1 + border_width - 1; _lv_blend_fill(clip, &fill_area, color, NULL, LV_DRAW_MASK_RES_FULL_COVER, opa, blend_mode); /*Draw the right vertical border*/ fill_area.x1 = area_outer->x2 - border_width + 1; fill_area.x2 = area_outer->x2; _lv_blend_fill(clip, &fill_area, color, NULL, LV_DRAW_MASK_RES_FULL_COVER, opa, blend_mode); } /*Process line by line if there is other mask too*/ else { fill_area.x1 = area_outer->x1; fill_area.x2 = area_outer->x2; fill_area.y1 = disp_area->y1 + draw_area.y1; fill_area.y2 = fill_area.y1; for(h = draw_area.y1; h <= draw_area.y2; h++) { _lv_memset_ff(mask_buf, draw_area_w); mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 + h, draw_area_w); _lv_blend_fill(clip, &fill_area, color, mask_buf, mask_res, opa, blend_mode); fill_area.y1++; fill_area.y2++; } } lv_draw_mask_remove_id(mask_rin_id); lv_draw_mask_remove_id(mask_rout_id); _lv_mem_buf_release(mask_buf); }
54,549
lv_draw_rect
c
en
c
code
{"qsc_code_num_words": 8562, "qsc_code_num_chars": 54549.0, "qsc_code_mean_word_length": 3.39862182, "qsc_code_frac_words_unique": 0.03947676, "qsc_code_frac_chars_top_2grams": 0.03257844, "qsc_code_frac_chars_top_3grams": 0.03402179, "qsc_code_frac_chars_top_4grams": 0.01965703, "qsc_code_frac_chars_dupe_5grams": 0.76215678, "qsc_code_frac_chars_dupe_6grams": 0.68734321, "qsc_code_frac_chars_dupe_7grams": 0.64311488, "qsc_code_frac_chars_dupe_8grams": 0.60679061, "qsc_code_frac_chars_dupe_9grams": 0.56747655, "qsc_code_frac_chars_dupe_10grams": 0.53716623, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.02456266, "qsc_code_frac_chars_whitespace": 0.28425819, "qsc_code_size_file_byte": 54549.0, "qsc_code_num_lines": 1496.0, "qsc_code_num_chars_line_max": 140.0, "qsc_code_num_chars_line_mean": 36.46323529, "qsc_code_frac_chars_alphabet": 0.7207438, "qsc_code_frac_chars_comments": 0.10955288, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.50187266, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00364407, "qsc_code_frac_chars_long_word_length": 0.00043235, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00014412, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.00093633, "qsc_codec_frac_lines_func_ratio": 0.04494382, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.05805243, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.04026217}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_draw/lv_draw_img.h
/** * @file lv_draw_img.h * */ #ifndef LV_DRAW_IMG_H #define LV_DRAW_IMG_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_img_decoder.h" #include "lv_img_buf.h" /********************* * DEFINES *********************/ /********************** * MACROS **********************/ /********************** * TYPEDEFS **********************/ typedef struct { lv_opa_t opa; uint16_t angle; lv_point_t pivot; uint16_t zoom; lv_opa_t recolor_opa; lv_color_t recolor; lv_blend_mode_t blend_mode; uint8_t antialias : 1; } lv_draw_img_dsc_t; /********************** * GLOBAL PROTOTYPES **********************/ void lv_draw_img_dsc_init(lv_draw_img_dsc_t * dsc); /** * Draw an image * @param coords the coordinates of the image * @param mask the image will be drawn only in this area * @param src pointer to a lv_color_t array which contains the pixels of the image * @param dsc pointer to an initialized `lv_draw_img_dsc_t` variable */ void lv_draw_img(const lv_area_t * coords, const lv_area_t * mask, const void * src, const lv_draw_img_dsc_t * dsc); /** * Get the type of an image source * @param src pointer to an image source: * - pointer to an 'lv_img_t' variable (image stored internally and compiled into the code) * - a path to a file (e.g. "S:/folder/image.bin") * - or a symbol (e.g. LV_SYMBOL_CLOSE) * @return type of the image source LV_IMG_SRC_VARIABLE/FILE/SYMBOL/UNKNOWN */ lv_img_src_t lv_img_src_get_type(const void * src); /** * Get the pixel size of a color format in bits * @param cf a color format (`LV_IMG_CF_...`) * @return the pixel size in bits */ uint8_t lv_img_cf_get_px_size(lv_img_cf_t cf); /** * Check if a color format is chroma keyed or not * @param cf a color format (`LV_IMG_CF_...`) * @return true: chroma keyed; false: not chroma keyed */ bool lv_img_cf_is_chroma_keyed(lv_img_cf_t cf); /** * Check if a color format has alpha channel or not * @param cf a color format (`LV_IMG_CF_...`) * @return true: has alpha channel; false: doesn't have alpha channel */ bool lv_img_cf_has_alpha(lv_img_cf_t cf); #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_TEMPL_H*/
2,271
lv_draw_img
h
en
c
code
{"qsc_code_num_words": 358, "qsc_code_num_chars": 2271.0, "qsc_code_mean_word_length": 3.68715084, "qsc_code_frac_words_unique": 0.29888268, "qsc_code_frac_chars_top_2grams": 0.05681818, "qsc_code_frac_chars_top_3grams": 0.06136364, "qsc_code_frac_chars_top_4grams": 0.04545455, "qsc_code_frac_chars_dupe_5grams": 0.22121212, "qsc_code_frac_chars_dupe_6grams": 0.15454545, "qsc_code_frac_chars_dupe_7grams": 0.13030303, "qsc_code_frac_chars_dupe_8grams": 0.13030303, "qsc_code_frac_chars_dupe_9grams": 0.13030303, "qsc_code_frac_chars_dupe_10grams": 0.10606061, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00378583, "qsc_code_frac_chars_whitespace": 0.18582122, "qsc_code_size_file_byte": 2271.0, "qsc_code_num_lines": 96.0, "qsc_code_num_chars_line_max": 117.0, "qsc_code_num_chars_line_mean": 23.65625, "qsc_code_frac_chars_alphabet": 0.71011357, "qsc_code_frac_chars_comments": 0.65081462, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.18518519, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.03656999, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.22222222, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.2962963, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/esp_rlottie
rlottie/src/lottie/lottieparser.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ //#define DEBUG_PARSER // This parser implements JSON token-by-token parsing with an API that is // more direct; we don't have to create handler object and // callbacks. Instead, we retrieve values from the JSON stream by calling // GetInt(), GetDouble(), GetString() and GetBool(), traverse into structures // by calling EnterObject() and EnterArray(), and skip over unwanted data by // calling SkipValue(). As we know the lottie file structure this way will be // the efficient way of parsing the file. // // If you aren't sure of what's next in the JSON data, you can use PeekType() // and PeekValue() to look ahead to the next object before reading it. // // If you call the wrong retrieval method--e.g. GetInt when the next JSON token // is not an int, EnterObject or EnterArray when there isn't actually an object // or array to read--the stream parsing will end immediately and no more data // will be delivered. // // After calling EnterObject, you retrieve keys via NextObjectKey() and values // via the normal getters. When NextObjectKey() returns null, you have exited // the object, or you can call SkipObject() to skip to the end of the object // immediately. If you fetch the entire object (i.e. NextObjectKey() returned // null), you should not call SkipObject(). // // After calling EnterArray(), you must alternate between calling // NextArrayValue() to see if the array has more data, and then retrieving // values via the normal getters. You can call SkipArray() to skip to the end of // the array immediately. If you fetch the entire array (i.e. NextArrayValue() // returned null), you should not call SkipArray(). // // This parser uses in-situ strings, so the JSON buffer will be altered during // the parse. #include <array> #include "lottiemodel.h" #include "rapidjson/document.h" RAPIDJSON_DIAG_PUSH #ifdef __GNUC__ RAPIDJSON_DIAG_OFF(effc++) #endif using namespace rapidjson; using namespace rlottie::internal; class LookaheadParserHandler { public: bool Null() { st_ = kHasNull; v_.SetNull(); return true; } bool Bool(bool b) { st_ = kHasBool; v_.SetBool(b); return true; } bool Int(int i) { st_ = kHasNumber; v_.SetInt(i); return true; } bool Uint(unsigned u) { st_ = kHasNumber; v_.SetUint(u); return true; } bool Int64(int64_t i) { st_ = kHasNumber; v_.SetInt64(i); return true; } bool Uint64(int64_t u) { st_ = kHasNumber; v_.SetUint64(u); return true; } bool Double(double d) { st_ = kHasNumber; v_.SetDouble(d); return true; } bool RawNumber(const char *, SizeType, bool) { return false; } bool String(const char *str, SizeType length, bool) { st_ = kHasString; v_.SetString(str, length); return true; } bool StartObject() { st_ = kEnteringObject; return true; } bool Key(const char *str, SizeType length, bool) { st_ = kHasKey; v_.SetString(str, length); return true; } bool EndObject(SizeType) { st_ = kExitingObject; return true; } bool StartArray() { st_ = kEnteringArray; return true; } bool EndArray(SizeType) { st_ = kExitingArray; return true; } void Error() { st_ = kError; } protected: explicit LookaheadParserHandler(char *str); protected: enum LookaheadParsingState { kInit, kError, kHasNull, kHasBool, kHasNumber, kHasString, kHasKey, kEnteringObject, kExitingObject, kEnteringArray, kExitingArray }; Value v_; LookaheadParsingState st_; Reader r_; InsituStringStream ss_; static const int parseFlags = kParseDefaultFlags | kParseInsituFlag; }; class LottieParserImpl : public LookaheadParserHandler { public: LottieParserImpl(char *str, std::string dir_path, model::ColorFilter filter) : LookaheadParserHandler(str), mColorFilter(std::move(filter)), mDirPath(std::move(dir_path)) { } bool VerifyType(); bool ParseNext(); public: VArenaAlloc &allocator() { return compRef->mArenaAlloc; } bool EnterObject(); bool EnterArray(); const char * NextObjectKey(); bool NextArrayValue(); int GetInt(); double GetDouble(); const char * GetString(); std::string GetStringObject(); bool GetBool(); void GetNull(); void SkipObject(); void SkipArray(); void SkipValue(); Value *PeekValue(); int PeekType() const; bool IsValid() { return st_ != kError; } void Skip(const char *key); model::BlendMode getBlendMode(); CapStyle getLineCap(); JoinStyle getLineJoin(); FillRule getFillRule(); model::Trim::TrimType getTrimType(); model::MatteType getMatteType(); model::Layer::Type getLayerType(); std::shared_ptr<model::Composition> composition() const { return mComposition; } void parseComposition(); void parseMarkers(); void parseMarker(); void parseAssets(model::Composition *comp); model::Asset * parseAsset(); void parseLayers(model::Composition *comp); model::Layer * parseLayer(); void parseMaskProperty(model::Layer *layer); void parseShapesAttr(model::Layer *layer); void parseObject(model::Group *parent); model::Mask * parseMaskObject(); model::Object * parseObjectTypeAttr(); model::Object * parseGroupObject(); model::Rect * parseRectObject(); model::RoundedCorner * parseRoundedCorner(); void updateRoundedCorner(model::Group *parent, model::RoundedCorner *rc); model::Ellipse * parseEllipseObject(); model::Path * parseShapeObject(); model::Polystar *parsePolystarObject(); model::Transform * parseTransformObject(bool ddd = false); model::Fill * parseFillObject(); model::GradientFill * parseGFillObject(); model::Stroke * parseStrokeObject(); model::GradientStroke *parseGStrokeObject(); model::Trim * parseTrimObject(); model::Repeater * parseReapeaterObject(); void parseGradientProperty(model::Gradient *gradient, const char *key); VPointF parseInperpolatorPoint(); void getValue(VPointF &pt); void getValue(float &fval); void getValue(model::Color &color); void getValue(int &ival); void getValue(model::PathData &shape); void getValue(model::Gradient::Data &gradient); void getValue(std::vector<VPointF> &v); void getValue(model::Repeater::Transform &); template <typename T, typename Tag> bool parseKeyFrameValue(const char *, model::Value<T, Tag> &) { return false; } template <typename T> bool parseKeyFrameValue(const char * key, model::Value<T, model::Position> &value); template <typename T, typename Tag> void parseKeyFrame(model::KeyFrames<T, Tag> &obj); template <typename T> void parseProperty(model::Property<T> &obj); template <typename T, typename Tag> void parsePropertyHelper(model::Property<T, Tag> &obj); void parseShapeProperty(model::Property<model::PathData> &obj); void parseDashProperty(model::Dash &dash); VInterpolator *interpolator(VPointF, VPointF, std::string); model::Color toColor(const char *str); void resolveLayerRefs(); void parsePathInfo(); private: model::ColorFilter mColorFilter; struct { std::vector<VPointF> mInPoint; /* "i" */ std::vector<VPointF> mOutPoint; /* "o" */ std::vector<VPointF> mVertices; /* "v" */ std::vector<VPointF> mResult; bool mClosed{false}; void convert() { // shape data could be empty. if (mInPoint.empty() || mOutPoint.empty() || mVertices.empty()) { mResult.clear(); return; } /* * Convert the AE shape format to * list of bazier curves * The final structure will be Move +size*Cubic + Cubic (if the path * is closed one) */ if (mInPoint.size() != mOutPoint.size() || mInPoint.size() != mVertices.size()) { mResult.clear(); } else { auto size = mVertices.size(); mResult.push_back(mVertices[0]); for (size_t i = 1; i < size; i++) { mResult.push_back( mVertices[i - 1] + mOutPoint[i - 1]); // CP1 = start + outTangent mResult.push_back(mVertices[i] + mInPoint[i]); // CP2 = end + inTangent mResult.push_back(mVertices[i]); // end point } if (mClosed) { mResult.push_back( mVertices[size - 1] + mOutPoint[size - 1]); // CP1 = start + outTangent mResult.push_back(mVertices[0] + mInPoint[0]); // CP2 = end + inTangent mResult.push_back(mVertices[0]); // end point } } } void reset() { mInPoint.clear(); mOutPoint.clear(); mVertices.clear(); mResult.clear(); mClosed = false; } void updatePath(VPath &out) { if (mResult.empty()) return; auto size = mResult.size(); auto points = mResult.data(); /* reserve exact memory requirement at once * ptSize = size + 1(size + close) * elmSize = size/3 cubic + 1 move + 1 close */ out.reserve(size + 1, size / 3 + 2); out.moveTo(points[0]); for (size_t i = 1; i < size; i += 3) { out.cubicTo(points[i], points[i + 1], points[i + 2]); } if (mClosed) out.close(); } } mPathInfo; protected: std::unordered_map<std::string, VInterpolator *> mInterpolatorCache; std::shared_ptr<model::Composition> mComposition; model::Composition * compRef{nullptr}; model::Layer * curLayerRef{nullptr}; std::vector<model::Layer *> mLayersToUpdate; std::string mDirPath; void SkipOut(int depth); }; LookaheadParserHandler::LookaheadParserHandler(char *str) : v_(), st_(kInit), ss_(str) { r_.IterativeParseInit(); } bool LottieParserImpl::VerifyType() { /* Verify the media type is lottie json. Could add more strict check. */ return ParseNext(); } bool LottieParserImpl::ParseNext() { if (r_.HasParseError()) { st_ = kError; return false; } if (!r_.IterativeParseNext<parseFlags>(ss_, *this)) { vCritical << "Lottie file parsing error"; st_ = kError; return false; } return true; } bool LottieParserImpl::EnterObject() { if (st_ != kEnteringObject) { st_ = kError; return false; } ParseNext(); return true; } bool LottieParserImpl::EnterArray() { if (st_ != kEnteringArray) { st_ = kError; return false; } ParseNext(); return true; } const char *LottieParserImpl::NextObjectKey() { if (st_ == kHasKey) { const char *result = v_.GetString(); ParseNext(); return result; } /* SPECIAL CASE * The parser works with a prdefined rule that it will be only * while (NextObjectKey()) for each object but in case of our nested group * object we can call multiple time NextObjectKey() while exiting the object * so ignore those and don't put parser in the error state. * */ if (st_ == kExitingArray || st_ == kEnteringObject) { // #ifdef DEBUG_PARSER // vDebug<<"Object: Exiting nested loop"; // #endif return nullptr; } if (st_ != kExitingObject) { st_ = kError; return nullptr; } ParseNext(); return nullptr; } bool LottieParserImpl::NextArrayValue() { if (st_ == kExitingArray) { ParseNext(); return false; } /* SPECIAL CASE * same as NextObjectKey() */ if (st_ == kExitingObject) { return false; } if (st_ == kError || st_ == kHasKey) { st_ = kError; return false; } return true; } int LottieParserImpl::GetInt() { if (st_ != kHasNumber || !v_.IsInt()) { st_ = kError; return 0; } int result = v_.GetInt(); ParseNext(); return result; } double LottieParserImpl::GetDouble() { if (st_ != kHasNumber) { st_ = kError; return 0.; } double result = v_.GetDouble(); ParseNext(); return result; } bool LottieParserImpl::GetBool() { if (st_ != kHasBool) { st_ = kError; return false; } bool result = v_.GetBool(); ParseNext(); return result; } void LottieParserImpl::GetNull() { if (st_ != kHasNull) { st_ = kError; return; } ParseNext(); } const char *LottieParserImpl::GetString() { if (st_ != kHasString) { st_ = kError; return nullptr; } const char *result = v_.GetString(); ParseNext(); return result; } std::string LottieParserImpl::GetStringObject() { auto str = GetString(); if (str) { return std::string(str); } return {}; } void LottieParserImpl::SkipOut(int depth) { do { if (st_ == kEnteringArray || st_ == kEnteringObject) { ++depth; } else if (st_ == kExitingArray || st_ == kExitingObject) { --depth; } else if (st_ == kError) { return; } ParseNext(); } while (depth > 0); } void LottieParserImpl::SkipValue() { SkipOut(0); } void LottieParserImpl::SkipArray() { SkipOut(1); } void LottieParserImpl::SkipObject() { SkipOut(1); } Value *LottieParserImpl::PeekValue() { if (st_ >= kHasNull && st_ <= kHasKey) { return &v_; } return nullptr; } // returns a rapidjson::Type, or -1 for no value (at end of // object/array) int LottieParserImpl::PeekType() const { if (st_ >= kHasNull && st_ <= kHasKey) { return v_.GetType(); } if (st_ == kEnteringArray) { return kArrayType; } if (st_ == kEnteringObject) { return kObjectType; } return -1; } void LottieParserImpl::Skip(const char * /*key*/) { if (PeekType() == kArrayType) { EnterArray(); SkipArray(); } else if (PeekType() == kObjectType) { EnterObject(); SkipObject(); } else { SkipValue(); } } model::BlendMode LottieParserImpl::getBlendMode() { auto mode = model::BlendMode::Normal; switch (GetInt()) { case 1: mode = model::BlendMode::Multiply; break; case 2: mode = model::BlendMode::Screen; break; case 3: mode = model::BlendMode::OverLay; break; default: break; } return mode; } void LottieParserImpl::resolveLayerRefs() { for (const auto &layer : mLayersToUpdate) { auto search = compRef->mAssets.find(layer->extra()->mPreCompRefId); if (search != compRef->mAssets.end()) { if (layer->mLayerType == model::Layer::Type::Image) { layer->extra()->mAsset = search->second; } else if (layer->mLayerType == model::Layer::Type::Precomp) { layer->mChildren = search->second->mLayers; layer->setStatic(layer->isStatic() && search->second->isStatic()); } } } } void LottieParserImpl::parseComposition() { EnterObject(); std::shared_ptr<model::Composition> sharedComposition = std::make_shared<model::Composition>(); model::Composition *comp = sharedComposition.get(); compRef = comp; while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "v")) { comp->mVersion = GetStringObject(); } else if (0 == strcmp(key, "w")) { comp->mSize.setWidth(GetInt()); } else if (0 == strcmp(key, "h")) { comp->mSize.setHeight(GetInt()); } else if (0 == strcmp(key, "ip")) { comp->mStartFrame = std::lround(GetDouble()); } else if (0 == strcmp(key, "op")) { comp->mEndFrame = std::lround(GetDouble()); } else if (0 == strcmp(key, "fr")) { comp->mFrameRate = GetDouble(); } else if (0 == strcmp(key, "assets")) { parseAssets(comp); } else if (0 == strcmp(key, "layers")) { parseLayers(comp); } else if (0 == strcmp(key, "markers")) { parseMarkers(); } else { #ifdef DEBUG_PARSER vWarning << "Composition Attribute Skipped : " << key; #endif Skip(key); } } if (comp->mVersion.empty() || !comp->mRootLayer) { // don't have a valid bodymovin header return; } if (comp->mStartFrame > comp->mEndFrame) { // reveresed animation? missing data? return; } if (!IsValid()) { return; } resolveLayerRefs(); comp->setStatic(comp->mRootLayer->isStatic()); comp->mRootLayer->mInFrame = comp->mStartFrame; comp->mRootLayer->mOutFrame = comp->mEndFrame; mComposition = sharedComposition; } void LottieParserImpl::parseMarker() { EnterObject(); std::string comment; int timeframe{0}; int duration{0}; while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "cm")) { comment = GetStringObject(); } else if (0 == strcmp(key, "tm")) { timeframe = GetDouble(); } else if (0 == strcmp(key, "dr")) { duration = GetDouble(); } else { #ifdef DEBUG_PARSER vWarning << "Marker Attribute Skipped : " << key; #endif Skip(key); } } compRef->mMarkers.emplace_back(std::move(comment), timeframe, timeframe + duration); } void LottieParserImpl::parseMarkers() { EnterArray(); while (NextArrayValue()) { parseMarker(); } // update the precomp layers with the actual layer object } void LottieParserImpl::parseAssets(model::Composition *composition) { EnterArray(); while (NextArrayValue()) { auto asset = parseAsset(); composition->mAssets[asset->mRefId] = asset; } // update the precomp layers with the actual layer object } static constexpr const unsigned char B64index[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 62, 63, 62, 62, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 63, 0, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51}; std::string b64decode(const char *data, const size_t len) { auto p = reinterpret_cast<const unsigned char *>(data); int pad = len > 0 && (len % 4 || p[len - 1] == '='); const size_t L = ((len + 3) / 4 - pad) * 4; std::string str(L / 4 * 3 + pad, '\0'); for (size_t i = 0, j = 0; i < L; i += 4) { int n = B64index[p[i]] << 18 | B64index[p[i + 1]] << 12 | B64index[p[i + 2]] << 6 | B64index[p[i + 3]]; str[j++] = n >> 16; str[j++] = n >> 8 & 0xFF; str[j++] = n & 0xFF; } if (pad) { int n = B64index[p[L]] << 18 | B64index[p[L + 1]] << 12; str[str.size() - 1] = n >> 16; if (len > L + 2 && p[L + 2] != '=') { n |= B64index[p[L + 2]] << 6; str.push_back(n >> 8 & 0xFF); } } return str; } static std::string convertFromBase64(const std::string &str) { // usual header look like "data:image/png;base64," // so need to skip till ','. size_t startIndex = str.find(",", 0); startIndex += 1; // skip "," size_t length = str.length() - startIndex; const char *b64Data = str.c_str() + startIndex; return b64decode(b64Data, length); } /* * std::to_string() function is missing in VS2017 * so this is workaround for windows build */ #include <sstream> template <class T> static std::string toString(const T &value) { std::ostringstream os; os << value; return os.str(); } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/layers/shape.json * */ model::Asset *LottieParserImpl::parseAsset() { auto asset = allocator().make<model::Asset>(); std::string filename; std::string relativePath; bool embededResource = false; EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "w")) { asset->mWidth = GetInt(); } else if (0 == strcmp(key, "h")) { asset->mHeight = GetInt(); } else if (0 == strcmp(key, "p")) { /* image name */ asset->mAssetType = model::Asset::Type::Image; filename = GetStringObject(); } else if (0 == strcmp(key, "u")) { /* relative image path */ relativePath = GetStringObject(); } else if (0 == strcmp(key, "e")) { /* relative image path */ embededResource = GetInt(); } else if (0 == strcmp(key, "id")) { /* reference id*/ if (PeekType() == kStringType) { asset->mRefId = GetStringObject(); } else { asset->mRefId = toString(GetInt()); } } else if (0 == strcmp(key, "layers")) { asset->mAssetType = model::Asset::Type::Precomp; EnterArray(); bool staticFlag = true; while (NextArrayValue()) { auto layer = parseLayer(); if (layer) { staticFlag = staticFlag && layer->isStatic(); asset->mLayers.push_back(layer); } } asset->setStatic(staticFlag); } else { #ifdef DEBUG_PARSER vWarning << "Asset Attribute Skipped : " << key; #endif Skip(key); } } if (asset->mAssetType == model::Asset::Type::Image) { if (embededResource) { // embeder resource should start with "data:" if (filename.compare(0, 5, "data:") == 0) { asset->loadImageData(convertFromBase64(filename)); } } else { asset->loadImagePath(mDirPath + relativePath + filename); } } return asset; } void LottieParserImpl::parseLayers(model::Composition *comp) { comp->mRootLayer = allocator().make<model::Layer>(); comp->mRootLayer->mLayerType = model::Layer::Type::Precomp; comp->mRootLayer->setName("__"); bool staticFlag = true; EnterArray(); while (NextArrayValue()) { auto layer = parseLayer(); if (layer) { staticFlag = staticFlag && layer->isStatic(); comp->mRootLayer->mChildren.push_back(layer); } } comp->mRootLayer->setStatic(staticFlag); } model::Color LottieParserImpl::toColor(const char *str) { if (!str) return {}; model::Color color; auto len = strlen(str); // some resource has empty color string // return a default color for those cases. if (len != 7 || str[0] != '#') return color; char tmp[3] = {'\0', '\0', '\0'}; tmp[0] = str[1]; tmp[1] = str[2]; color.r = std::strtol(tmp, nullptr, 16) / 255.0f; tmp[0] = str[3]; tmp[1] = str[4]; color.g = std::strtol(tmp, nullptr, 16) / 255.0f; tmp[0] = str[5]; tmp[1] = str[6]; color.b = std::strtol(tmp, nullptr, 16) / 255.0f; return color; } model::MatteType LottieParserImpl::getMatteType() { switch (GetInt()) { case 1: return model::MatteType::Alpha; break; case 2: return model::MatteType::AlphaInv; break; case 3: return model::MatteType::Luma; break; case 4: return model::MatteType::LumaInv; break; default: return model::MatteType::None; break; } } model::Layer::Type LottieParserImpl::getLayerType() { switch (GetInt()) { case 0: return model::Layer::Type::Precomp; break; case 1: return model::Layer::Type::Solid; break; case 2: return model::Layer::Type::Image; break; case 3: return model::Layer::Type::Null; break; case 4: return model::Layer::Type::Shape; break; case 5: return model::Layer::Type::Text; break; default: return model::Layer::Type::Null; break; } } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/layers/shape.json * */ model::Layer *LottieParserImpl::parseLayer() { model::Layer *layer = allocator().make<model::Layer>(); curLayerRef = layer; bool ddd = true; EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "ty")) { /* Type of layer*/ layer->mLayerType = getLayerType(); } else if (0 == strcmp(key, "nm")) { /*Layer name*/ layer->setName(GetString()); } else if (0 == strcmp(key, "ind")) { /*Layer index in AE. Used for parenting and expressions.*/ layer->mId = GetInt(); } else if (0 == strcmp(key, "ddd")) { /*3d layer */ ddd = GetInt(); } else if (0 == strcmp(key, "parent")) { /*Layer Parent. Uses "ind" of parent.*/ layer->mParentId = GetInt(); } else if (0 == strcmp(key, "refId")) { /*preComp Layer reference id*/ layer->extra()->mPreCompRefId = GetStringObject(); layer->mHasGradient = true; mLayersToUpdate.push_back(layer); } else if (0 == strcmp(key, "sr")) { // "Layer Time Stretching" layer->mTimeStreatch = GetDouble(); } else if (0 == strcmp(key, "tm")) { // time remapping parseProperty(layer->extra()->mTimeRemap); } else if (0 == strcmp(key, "ip")) { layer->mInFrame = std::lround(GetDouble()); } else if (0 == strcmp(key, "op")) { layer->mOutFrame = std::lround(GetDouble()); } else if (0 == strcmp(key, "st")) { layer->mStartFrame = GetDouble(); } else if (0 == strcmp(key, "bm")) { layer->mBlendMode = getBlendMode(); } else if (0 == strcmp(key, "ks")) { EnterObject(); layer->mTransform = parseTransformObject(ddd); } else if (0 == strcmp(key, "shapes")) { parseShapesAttr(layer); } else if (0 == strcmp(key, "w")) { layer->mLayerSize.setWidth(GetInt()); } else if (0 == strcmp(key, "h")) { layer->mLayerSize.setHeight(GetInt()); } else if (0 == strcmp(key, "sw")) { layer->mLayerSize.setWidth(GetInt()); } else if (0 == strcmp(key, "sh")) { layer->mLayerSize.setHeight(GetInt()); } else if (0 == strcmp(key, "sc")) { layer->extra()->mSolidColor = toColor(GetString()); } else if (0 == strcmp(key, "tt")) { layer->mMatteType = getMatteType(); } else if (0 == strcmp(key, "hasMask")) { layer->mHasMask = GetBool(); } else if (0 == strcmp(key, "masksProperties")) { parseMaskProperty(layer); } else if (0 == strcmp(key, "ao")) { layer->mAutoOrient = GetInt(); } else if (0 == strcmp(key, "hd")) { layer->setHidden(GetBool()); } else { #ifdef DEBUG_PARSER vWarning << "Layer Attribute Skipped : " << key; #endif Skip(key); } } if (!layer->mTransform) { // not a valid layer return nullptr; } // make sure layer data is not corrupted. if (layer->hasParent() && (layer->id() == layer->parentId())) return nullptr; if (layer->mExtra) layer->mExtra->mCompRef = compRef; if (layer->hidden()) { // if layer is hidden, only data that is usefull is its // transform matrix(when it is a parent of some other layer) // so force it to be a Null Layer and release all resource. layer->setStatic(layer->mTransform->isStatic()); layer->mLayerType = model::Layer::Type::Null; layer->mChildren = {}; return layer; } // update the static property of layer bool staticFlag = true; for (const auto &child : layer->mChildren) { staticFlag &= child->isStatic(); } if (layer->hasMask() && layer->mExtra) { for (const auto &mask : layer->mExtra->mMasks) { staticFlag &= mask->isStatic(); } } layer->setStatic(staticFlag && layer->mTransform->isStatic()); return layer; } void LottieParserImpl::parseMaskProperty(model::Layer *layer) { EnterArray(); while (NextArrayValue()) { layer->extra()->mMasks.push_back(parseMaskObject()); } } model::Mask *LottieParserImpl::parseMaskObject() { auto obj = allocator().make<model::Mask>(); EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "inv")) { obj->mInv = GetBool(); } else if (0 == strcmp(key, "mode")) { const char *str = GetString(); if (!str) { obj->mMode = model::Mask::Mode::None; continue; } switch (str[0]) { case 'n': obj->mMode = model::Mask::Mode::None; break; case 'a': obj->mMode = model::Mask::Mode::Add; break; case 's': obj->mMode = model::Mask::Mode::Substarct; break; case 'i': obj->mMode = model::Mask::Mode::Intersect; break; case 'f': obj->mMode = model::Mask::Mode::Difference; break; default: obj->mMode = model::Mask::Mode::None; break; } } else if (0 == strcmp(key, "pt")) { parseShapeProperty(obj->mShape); } else if (0 == strcmp(key, "o")) { parseProperty(obj->mOpacity); } else { Skip(key); } } obj->mIsStatic = obj->mShape.isStatic() && obj->mOpacity.isStatic(); return obj; } void LottieParserImpl::parseShapesAttr(model::Layer *layer) { EnterArray(); while (NextArrayValue()) { parseObject(layer); } } model::Object *LottieParserImpl::parseObjectTypeAttr() { const char *type = GetString(); if (!type) { vWarning << "No object type specified"; return nullptr; } if (0 == strcmp(type, "gr")) { return parseGroupObject(); } else if (0 == strcmp(type, "rc")) { return parseRectObject(); } else if (0 == strcmp(type, "rd")) { curLayerRef->mHasRoundedCorner = true; return parseRoundedCorner(); } else if (0 == strcmp(type, "el")) { return parseEllipseObject(); } else if (0 == strcmp(type, "tr")) { return parseTransformObject(); } else if (0 == strcmp(type, "fl")) { return parseFillObject(); } else if (0 == strcmp(type, "st")) { return parseStrokeObject(); } else if (0 == strcmp(type, "gf")) { curLayerRef->mHasGradient = true; return parseGFillObject(); } else if (0 == strcmp(type, "gs")) { curLayerRef->mHasGradient = true; return parseGStrokeObject(); } else if (0 == strcmp(type, "sh")) { return parseShapeObject(); } else if (0 == strcmp(type, "sr")) { return parsePolystarObject(); } else if (0 == strcmp(type, "tm")) { curLayerRef->mHasPathOperator = true; return parseTrimObject(); } else if (0 == strcmp(type, "rp")) { curLayerRef->mHasRepeater = true; return parseReapeaterObject(); } else if (0 == strcmp(type, "mm")) { vWarning << "Merge Path is not supported yet"; return nullptr; } else { #ifdef DEBUG_PARSER vDebug << "The Object Type not yet handled = " << type; #endif return nullptr; } } void LottieParserImpl::parseObject(model::Group *parent) { EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "ty")) { auto child = parseObjectTypeAttr(); if (child && !child->hidden()) { if (child->type() == model::Object::Type::RoundedCorner) { updateRoundedCorner(parent, static_cast<model::RoundedCorner *>(child)); } parent->mChildren.push_back(child); } } else { Skip(key); } } } void LottieParserImpl::updateRoundedCorner(model::Group *group, model::RoundedCorner *rc) { for(auto &e : group->mChildren) { if (e->type() == model::Object::Type::Rect) { static_cast<model::Rect *>(e)->mRoundedCorner = rc; if (!rc->isStatic()) { e->setStatic(false); group->setStatic(false); //@TODO need to propagate. } } else if ( e->type() == model::Object::Type::Group) { updateRoundedCorner(static_cast<model::Group *>(e), rc); } } } model::Object *LottieParserImpl::parseGroupObject() { auto group = allocator().make<model::Group>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { group->setName(GetString()); } else if (0 == strcmp(key, "it")) { EnterArray(); while (NextArrayValue()) { parseObject(group); } if (!group->mChildren.empty() && group->mChildren.back()->type() == model::Object::Type::Transform) { group->mTransform = static_cast<model::Transform *>(group->mChildren.back()); group->mChildren.pop_back(); } } else { Skip(key); } } bool staticFlag = true; for (const auto &child : group->mChildren) { staticFlag &= child->isStatic(); } if (group->mTransform) { group->setStatic(staticFlag && group->mTransform->isStatic()); } return group; } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/rect.json */ model::Rect *LottieParserImpl::parseRectObject() { auto obj = allocator().make<model::Rect>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "p")) { parseProperty(obj->mPos); } else if (0 == strcmp(key, "s")) { parseProperty(obj->mSize); } else if (0 == strcmp(key, "r")) { parseProperty(obj->mRound); } else if (0 == strcmp(key, "d")) { obj->mDirection = GetInt(); } else if (0 == strcmp(key, "hd")) { obj->setHidden(GetBool()); } else { Skip(key); } } obj->setStatic(obj->mPos.isStatic() && obj->mSize.isStatic() && obj->mRound.isStatic()); return obj; } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/rect.json */ model::RoundedCorner *LottieParserImpl::parseRoundedCorner() { auto obj = allocator().make<model::RoundedCorner>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "r")) { parseProperty(obj->mRadius); } else if (0 == strcmp(key, "hd")) { obj->setHidden(GetBool()); } else { Skip(key); } } obj->setStatic(obj->mRadius.isStatic()); return obj; } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/ellipse.json */ model::Ellipse *LottieParserImpl::parseEllipseObject() { auto obj = allocator().make<model::Ellipse>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "p")) { parseProperty(obj->mPos); } else if (0 == strcmp(key, "s")) { parseProperty(obj->mSize); } else if (0 == strcmp(key, "d")) { obj->mDirection = GetInt(); } else if (0 == strcmp(key, "hd")) { obj->setHidden(GetBool()); } else { Skip(key); } } obj->setStatic(obj->mPos.isStatic() && obj->mSize.isStatic()); return obj; } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/shape.json */ model::Path *LottieParserImpl::parseShapeObject() { auto obj = allocator().make<model::Path>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "ks")) { parseShapeProperty(obj->mShape); } else if (0 == strcmp(key, "d")) { obj->mDirection = GetInt(); } else if (0 == strcmp(key, "hd")) { obj->setHidden(GetBool()); } else { #ifdef DEBUG_PARSER vDebug << "Shape property ignored :" << key; #endif Skip(key); } } obj->setStatic(obj->mShape.isStatic()); return obj; } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/star.json */ model::Polystar *LottieParserImpl::parsePolystarObject() { auto obj = allocator().make<model::Polystar>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "p")) { parseProperty(obj->mPos); } else if (0 == strcmp(key, "pt")) { parseProperty(obj->mPointCount); } else if (0 == strcmp(key, "ir")) { parseProperty(obj->mInnerRadius); } else if (0 == strcmp(key, "is")) { parseProperty(obj->mInnerRoundness); } else if (0 == strcmp(key, "or")) { parseProperty(obj->mOuterRadius); } else if (0 == strcmp(key, "os")) { parseProperty(obj->mOuterRoundness); } else if (0 == strcmp(key, "r")) { parseProperty(obj->mRotation); } else if (0 == strcmp(key, "sy")) { int starType = GetInt(); if (starType == 1) obj->mPolyType = model::Polystar::PolyType::Star; if (starType == 2) obj->mPolyType = model::Polystar::PolyType::Polygon; } else if (0 == strcmp(key, "d")) { obj->mDirection = GetInt(); } else if (0 == strcmp(key, "hd")) { obj->setHidden(GetBool()); } else { #ifdef DEBUG_PARSER vDebug << "Polystar property ignored :" << key; #endif Skip(key); } } obj->setStatic( obj->mPos.isStatic() && obj->mPointCount.isStatic() && obj->mInnerRadius.isStatic() && obj->mInnerRoundness.isStatic() && obj->mOuterRadius.isStatic() && obj->mOuterRoundness.isStatic() && obj->mRotation.isStatic()); return obj; } model::Trim::TrimType LottieParserImpl::getTrimType() { switch (GetInt()) { case 1: return model::Trim::TrimType::Simultaneously; break; case 2: return model::Trim::TrimType::Individually; break; default: Error(); return model::Trim::TrimType::Simultaneously; break; } } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/trim.json */ model::Trim *LottieParserImpl::parseTrimObject() { auto obj = allocator().make<model::Trim>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "s")) { parseProperty(obj->mStart); } else if (0 == strcmp(key, "e")) { parseProperty(obj->mEnd); } else if (0 == strcmp(key, "o")) { parseProperty(obj->mOffset); } else if (0 == strcmp(key, "m")) { obj->mTrimType = getTrimType(); } else if (0 == strcmp(key, "hd")) { obj->setHidden(GetBool()); } else { #ifdef DEBUG_PARSER vDebug << "Trim property ignored :" << key; #endif Skip(key); } } obj->setStatic(obj->mStart.isStatic() && obj->mEnd.isStatic() && obj->mOffset.isStatic()); return obj; } void LottieParserImpl::getValue(model::Repeater::Transform &obj) { EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "a")) { parseProperty(obj.mAnchor); } else if (0 == strcmp(key, "p")) { parseProperty(obj.mPosition); } else if (0 == strcmp(key, "r")) { parseProperty(obj.mRotation); } else if (0 == strcmp(key, "s")) { parseProperty(obj.mScale); } else if (0 == strcmp(key, "so")) { parseProperty(obj.mStartOpacity); } else if (0 == strcmp(key, "eo")) { parseProperty(obj.mEndOpacity); } else { Skip(key); } } } model::Repeater *LottieParserImpl::parseReapeaterObject() { auto obj = allocator().make<model::Repeater>(); obj->setContent(allocator().make<model::Group>()); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "c")) { parseProperty(obj->mCopies); float maxCopy = 0.0; if (!obj->mCopies.isStatic()) { for (auto &keyFrame : obj->mCopies.animation().frames_) { if (maxCopy < keyFrame.value_.start_) maxCopy = keyFrame.value_.start_; if (maxCopy < keyFrame.value_.end_) maxCopy = keyFrame.value_.end_; } } else { maxCopy = obj->mCopies.value(); } obj->mMaxCopies = maxCopy; } else if (0 == strcmp(key, "o")) { parseProperty(obj->mOffset); } else if (0 == strcmp(key, "tr")) { getValue(obj->mTransform); } else if (0 == strcmp(key, "hd")) { obj->setHidden(GetBool()); } else { #ifdef DEBUG_PARSER vDebug << "Repeater property ignored :" << key; #endif Skip(key); } } obj->setStatic(obj->mCopies.isStatic() && obj->mOffset.isStatic() && obj->mTransform.isStatic()); return obj; } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/transform.json */ model::Transform *LottieParserImpl::parseTransformObject(bool ddd) { auto objT = allocator().make<model::Transform>(); auto obj = allocator().make<model::Transform::Data>(); if (ddd) { obj->createExtraData(); obj->mExtra->m3DData = true; } while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { objT->setName(GetString()); } else if (0 == strcmp(key, "a")) { parseProperty(obj->mAnchor); } else if (0 == strcmp(key, "p")) { EnterObject(); bool separate = false; while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "k")) { parsePropertyHelper(obj->mPosition); } else if (0 == strcmp(key, "s")) { obj->createExtraData(); obj->mExtra->mSeparate = GetBool(); separate = true; } else if (separate && (0 == strcmp(key, "x"))) { parseProperty(obj->mExtra->mSeparateX); } else if (separate && (0 == strcmp(key, "y"))) { parseProperty(obj->mExtra->mSeparateY); } else { Skip(key); } } } else if (0 == strcmp(key, "r")) { parseProperty(obj->mRotation); } else if (0 == strcmp(key, "s")) { parseProperty(obj->mScale); } else if (0 == strcmp(key, "o")) { parseProperty(obj->mOpacity); } else if (0 == strcmp(key, "hd")) { objT->setHidden(GetBool()); } else if (0 == strcmp(key, "rx")) { if (!obj->mExtra) return nullptr; parseProperty(obj->mExtra->m3DRx); } else if (0 == strcmp(key, "ry")) { if (!obj->mExtra) return nullptr; parseProperty(obj->mExtra->m3DRy); } else if (0 == strcmp(key, "rz")) { if (!obj->mExtra) return nullptr; parseProperty(obj->mExtra->m3DRz); } else { Skip(key); } } bool isStatic = obj->mAnchor.isStatic() && obj->mPosition.isStatic() && obj->mRotation.isStatic() && obj->mScale.isStatic() && obj->mOpacity.isStatic(); if (obj->mExtra) { isStatic = isStatic && obj->mExtra->m3DRx.isStatic() && obj->mExtra->m3DRy.isStatic() && obj->mExtra->m3DRz.isStatic() && obj->mExtra->mSeparateX.isStatic() && obj->mExtra->mSeparateY.isStatic(); } objT->set(obj, isStatic); return objT; } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/fill.json */ model::Fill *LottieParserImpl::parseFillObject() { auto obj = allocator().make<model::Fill>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "c")) { parseProperty(obj->mColor); } else if (0 == strcmp(key, "o")) { parseProperty(obj->mOpacity); } else if (0 == strcmp(key, "fillEnabled")) { obj->mEnabled = GetBool(); } else if (0 == strcmp(key, "r")) { obj->mFillRule = getFillRule(); } else if (0 == strcmp(key, "hd")) { obj->setHidden(GetBool()); } else { #ifdef DEBUG_PARSER vWarning << "Fill property skipped = " << key; #endif Skip(key); } } obj->setStatic(obj->mColor.isStatic() && obj->mOpacity.isStatic()); return obj; } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/helpers/lineCap.json */ CapStyle LottieParserImpl::getLineCap() { switch (GetInt()) { case 1: return CapStyle::Flat; break; case 2: return CapStyle::Round; break; default: return CapStyle::Square; break; } } FillRule LottieParserImpl::getFillRule() { switch (GetInt()) { case 1: return FillRule::Winding; break; case 2: return FillRule::EvenOdd; break; default: return FillRule::Winding; break; } } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/helpers/lineJoin.json */ JoinStyle LottieParserImpl::getLineJoin() { switch (GetInt()) { case 1: return JoinStyle::Miter; break; case 2: return JoinStyle::Round; break; default: return JoinStyle::Bevel; break; } } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/stroke.json */ model::Stroke *LottieParserImpl::parseStrokeObject() { auto obj = allocator().make<model::Stroke>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "c")) { parseProperty(obj->mColor); } else if (0 == strcmp(key, "o")) { parseProperty(obj->mOpacity); } else if (0 == strcmp(key, "w")) { parseProperty(obj->mWidth); } else if (0 == strcmp(key, "fillEnabled")) { obj->mEnabled = GetBool(); } else if (0 == strcmp(key, "lc")) { obj->mCapStyle = getLineCap(); } else if (0 == strcmp(key, "lj")) { obj->mJoinStyle = getLineJoin(); } else if (0 == strcmp(key, "ml")) { obj->mMiterLimit = GetDouble(); } else if (0 == strcmp(key, "d")) { parseDashProperty(obj->mDash); } else if (0 == strcmp(key, "hd")) { obj->setHidden(GetBool()); } else { #ifdef DEBUG_PARSER vWarning << "Stroke property skipped = " << key; #endif Skip(key); } } obj->setStatic(obj->mColor.isStatic() && obj->mOpacity.isStatic() && obj->mWidth.isStatic() && obj->mDash.isStatic()); return obj; } void LottieParserImpl::parseGradientProperty(model::Gradient *obj, const char * key) { if (0 == strcmp(key, "t")) { obj->mGradientType = GetInt(); } else if (0 == strcmp(key, "o")) { parseProperty(obj->mOpacity); } else if (0 == strcmp(key, "s")) { parseProperty(obj->mStartPoint); } else if (0 == strcmp(key, "e")) { parseProperty(obj->mEndPoint); } else if (0 == strcmp(key, "h")) { parseProperty(obj->mHighlightLength); } else if (0 == strcmp(key, "a")) { parseProperty(obj->mHighlightAngle); } else if (0 == strcmp(key, "g")) { EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "k")) { parseProperty(obj->mGradient); } else if (0 == strcmp(key, "p")) { obj->mColorPoints = GetInt(); } else { Skip(nullptr); } } } else if (0 == strcmp(key, "hd")) { obj->setHidden(GetBool()); } else { #ifdef DEBUG_PARSER vWarning << "Gradient property skipped = " << key; #endif Skip(key); } obj->setStatic( obj->mOpacity.isStatic() && obj->mStartPoint.isStatic() && obj->mEndPoint.isStatic() && obj->mHighlightAngle.isStatic() && obj->mHighlightLength.isStatic() && obj->mGradient.isStatic()); } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/gfill.json */ model::GradientFill *LottieParserImpl::parseGFillObject() { auto obj = allocator().make<model::GradientFill>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "r")) { obj->mFillRule = getFillRule(); } else { parseGradientProperty(obj, key); } } return obj; } void LottieParserImpl::parseDashProperty(model::Dash &dash) { EnterArray(); while (NextArrayValue()) { EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "v")) { dash.mData.emplace_back(); parseProperty(dash.mData.back()); } else { Skip(key); } } } } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/shapes/gstroke.json */ model::GradientStroke *LottieParserImpl::parseGStrokeObject() { auto obj = allocator().make<model::GradientStroke>(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "nm")) { obj->setName(GetString()); } else if (0 == strcmp(key, "w")) { parseProperty(obj->mWidth); } else if (0 == strcmp(key, "lc")) { obj->mCapStyle = getLineCap(); } else if (0 == strcmp(key, "lj")) { obj->mJoinStyle = getLineJoin(); } else if (0 == strcmp(key, "ml")) { obj->mMiterLimit = GetDouble(); } else if (0 == strcmp(key, "d")) { parseDashProperty(obj->mDash); } else { parseGradientProperty(obj, key); } } obj->setStatic(obj->isStatic() && obj->mWidth.isStatic() && obj->mDash.isStatic()); return obj; } void LottieParserImpl::getValue(std::vector<VPointF> &v) { EnterArray(); while (NextArrayValue()) { EnterArray(); VPointF pt; getValue(pt); v.push_back(pt); } } void LottieParserImpl::getValue(VPointF &pt) { float val[4] = {0.f}; int i = 0; if (PeekType() == kArrayType) EnterArray(); while (NextArrayValue()) { const auto value = GetDouble(); if (i < 4) { val[i++] = value; } } pt.setX(val[0]); pt.setY(val[1]); } void LottieParserImpl::getValue(float &val) { if (PeekType() == kArrayType) { EnterArray(); if (NextArrayValue()) val = GetDouble(); // discard rest while (NextArrayValue()) { GetDouble(); } } else if (PeekType() == kNumberType) { val = GetDouble(); } else { Error(); } } void LottieParserImpl::getValue(model::Color &color) { float val[4] = {0.f}; int i = 0; if (PeekType() == kArrayType) EnterArray(); while (NextArrayValue()) { const auto value = GetDouble(); if (i < 4) { val[i++] = value; } } if (mColorFilter) mColorFilter(val[0], val[1], val[2]); color.r = val[0]; color.g = val[1]; color.b = val[2]; } void LottieParserImpl::getValue(model::Gradient::Data &grad) { if (PeekType() == kArrayType) EnterArray(); while (NextArrayValue()) { grad.mGradient.push_back(GetDouble()); } } void LottieParserImpl::getValue(int &val) { if (PeekType() == kArrayType) { EnterArray(); while (NextArrayValue()) { val = GetInt(); } } else if (PeekType() == kNumberType) { val = GetInt(); } else { Error(); } } void LottieParserImpl::parsePathInfo() { mPathInfo.reset(); /* * The shape object could be wrapped by a array * if its part of the keyframe object */ bool arrayWrapper = (PeekType() == kArrayType); if (arrayWrapper) EnterArray(); EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "i")) { getValue(mPathInfo.mInPoint); } else if (0 == strcmp(key, "o")) { getValue(mPathInfo.mOutPoint); } else if (0 == strcmp(key, "v")) { getValue(mPathInfo.mVertices); } else if (0 == strcmp(key, "c")) { mPathInfo.mClosed = GetBool(); } else { Error(); Skip(nullptr); } } // exit properly from the array if (arrayWrapper) NextArrayValue(); mPathInfo.convert(); } void LottieParserImpl::getValue(model::PathData &obj) { parsePathInfo(); obj.mPoints = mPathInfo.mResult; obj.mClosed = mPathInfo.mClosed; } VPointF LottieParserImpl::parseInperpolatorPoint() { VPointF cp; EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "x")) { getValue(cp.rx()); } if (0 == strcmp(key, "y")) { getValue(cp.ry()); } } return cp; } template <typename T> bool LottieParserImpl::parseKeyFrameValue( const char *key, model::Value<T, model::Position> &value) { if (0 == strcmp(key, "ti")) { value.hasTangent_ = true; getValue(value.inTangent_); } else if (0 == strcmp(key, "to")) { value.hasTangent_ = true; getValue(value.outTangent_); } else { return false; } return true; } VInterpolator *LottieParserImpl::interpolator(VPointF inTangent, VPointF outTangent, std::string key) { if (key.empty()) { std::array<char, 20> temp; snprintf(temp.data(), temp.size(), "%.2f_%.2f_%.2f_%.2f", inTangent.x(), inTangent.y(), outTangent.x(), outTangent.y()); key = temp.data(); } auto search = mInterpolatorCache.find(key); if (search != mInterpolatorCache.end()) { return search->second; } auto obj = allocator().make<VInterpolator>(outTangent, inTangent); mInterpolatorCache[std::move(key)] = obj; return obj; } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/properties/multiDimensionalKeyframed.json */ template <typename T, typename Tag> void LottieParserImpl::parseKeyFrame(model::KeyFrames<T, Tag> &obj) { struct ParsedField { std::string interpolatorKey; bool interpolator{false}; bool value{false}; bool hold{false}; bool noEndValue{true}; }; EnterObject(); ParsedField parsed; typename model::KeyFrames<T, Tag>::Frame keyframe; VPointF inTangent; VPointF outTangent; while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "i")) { parsed.interpolator = true; inTangent = parseInperpolatorPoint(); } else if (0 == strcmp(key, "o")) { outTangent = parseInperpolatorPoint(); } else if (0 == strcmp(key, "t")) { keyframe.start_ = GetDouble(); } else if (0 == strcmp(key, "s")) { parsed.value = true; getValue(keyframe.value_.start_); continue; } else if (0 == strcmp(key, "e")) { parsed.noEndValue = false; getValue(keyframe.value_.end_); continue; } else if (0 == strcmp(key, "n")) { if (PeekType() == kStringType) { parsed.interpolatorKey = GetStringObject(); } else { EnterArray(); while (NextArrayValue()) { if (parsed.interpolatorKey.empty()) { parsed.interpolatorKey = GetStringObject(); } else { // skip rest of the string Skip(nullptr); } } } continue; } else if (parseKeyFrameValue(key, keyframe.value_)) { continue; } else if (0 == strcmp(key, "h")) { parsed.hold = GetInt(); continue; } else { #ifdef DEBUG_PARSER vDebug << "key frame property skipped = " << key; #endif Skip(key); } } auto &list = obj.frames_; if (!list.empty()) { // update the endFrame value of current keyframe list.back().end_ = keyframe.start_; // if no end value provided, copy start value to previous frame if (parsed.value && parsed.noEndValue) { list.back().value_.end_ = keyframe.value_.start_; } } if (parsed.hold) { keyframe.value_.end_ = keyframe.value_.start_; keyframe.end_ = keyframe.start_; list.push_back(std::move(keyframe)); } else if (parsed.interpolator) { keyframe.interpolator_ = interpolator( inTangent, outTangent, std::move(parsed.interpolatorKey)); list.push_back(std::move(keyframe)); } else { // its the last frame discard. } } /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/properties/shapeKeyframed.json */ /* * https://github.com/airbnb/lottie-web/blob/master/docs/json/properties/shape.json */ void LottieParserImpl::parseShapeProperty(model::Property<model::PathData> &obj) { EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "k")) { if (PeekType() == kArrayType) { EnterArray(); while (NextArrayValue()) { parseKeyFrame(obj.animation()); } } else { if (!obj.isStatic()) { st_ = kError; return; } getValue(obj.value()); } } else { #ifdef DEBUG_PARSER vDebug << "shape property ignored = " << key; #endif Skip(nullptr); } } obj.cache(); } template <typename T, typename Tag> void LottieParserImpl::parsePropertyHelper(model::Property<T, Tag> &obj) { if (PeekType() == kNumberType) { if (!obj.isStatic()) { st_ = kError; return; } /*single value property with no animation*/ getValue(obj.value()); } else { EnterArray(); while (NextArrayValue()) { /* property with keyframe info*/ if (PeekType() == kObjectType) { parseKeyFrame(obj.animation()); } else { /* Read before modifying. * as there is no way of knowing if the * value of the array is either array of numbers * or array of object without entering the array * thats why this hack is there */ if (!obj.isStatic()) { st_ = kError; return; } /*multi value property with no animation*/ getValue(obj.value()); /*break here as we already reached end of array*/ break; } } obj.cache(); } } /* * https://github.com/airbnb/lottie-web/tree/master/docs/json/properties */ template <typename T> void LottieParserImpl::parseProperty(model::Property<T> &obj) { EnterObject(); while (const char *key = NextObjectKey()) { if (0 == strcmp(key, "k")) { parsePropertyHelper(obj); } else { Skip(key); } } } #ifdef LOTTIE_DUMP_TREE_SUPPORT class ObjectInspector { public: void visit(model::Composition *obj, std::string level) { vDebug << " { " << level << "Composition:: a: " << !obj->isStatic() << ", v: " << obj->mVersion << ", stFm: " << obj->startFrame() << ", endFm: " << obj->endFrame() << ", W: " << obj->size().width() << ", H: " << obj->size().height() << "\n"; level.append("\t"); visit(obj->mRootLayer, level); level.erase(level.end() - 1, level.end()); vDebug << " } " << level << "Composition End\n"; } void visit(model::Layer *obj, std::string level) { vDebug << level << "{ " << layerType(obj->mLayerType) << ", name: " << obj->name() << ", id:" << obj->mId << " Pid:" << obj->mParentId << ", a:" << !obj->isStatic() << ", " << matteType(obj->mMatteType) << ", mask:" << obj->hasMask() << ", inFm:" << obj->mInFrame << ", outFm:" << obj->mOutFrame << ", stFm:" << obj->mStartFrame << ", ts:" << obj->mTimeStreatch << ", ao:" << obj->autoOrient() << ", W:" << obj->layerSize().width() << ", H:" << obj->layerSize().height(); if (obj->mLayerType == model::Layer::Type::Image) vDebug << level << "\t{ " << "ImageInfo:" << " W :" << obj->extra()->mAsset->mWidth << ", H :" << obj->extra()->mAsset->mHeight << " }" << "\n"; else { vDebug << level; } visitChildren(static_cast<model::Group *>(obj), level); vDebug << level << "} " << layerType(obj->mLayerType).c_str() << ", id: " << obj->mId << "\n"; } void visitChildren(model::Group *obj, std::string level) { level.append("\t"); for (const auto &child : obj->mChildren) visit(child, level); if (obj->mTransform) visit(obj->mTransform, level); } void visit(model::Object *obj, std::string level) { switch (obj->type()) { case model::Object::Type::Repeater: { auto r = static_cast<model::Repeater *>(obj); vDebug << level << "{ Repeater: name: " << obj->name() << " , a:" << !obj->isStatic() << ", copies:" << r->maxCopies() << ", offset:" << r->offset(0); visitChildren(r->mContent, level); vDebug << level << "} Repeater"; break; } case model::Object::Type::Group: { vDebug << level << "{ Group: name: " << obj->name() << " , a:" << !obj->isStatic(); visitChildren(static_cast<model::Group *>(obj), level); vDebug << level << "} Group"; break; } case model::Object::Type::Layer: { visit(static_cast<model::Layer *>(obj), level); break; } case model::Object::Type::Trim: { vDebug << level << "{ Trim: name: " << obj->name() << " , a:" << !obj->isStatic() << " }"; break; } case model::Object::Type::Rect: { vDebug << level << "{ Rect: name: " << obj->name() << " , a:" << !obj->isStatic() << " }"; break; } case model::Object::Type::RoundedCorner: { vDebug << level << "{ RoundedCorner: name: " << obj->name() << " , a:" << !obj->isStatic() << " }"; break; } case model::Object::Type::Ellipse: { vDebug << level << "{ Ellipse: name: " << obj->name() << " , a:" << !obj->isStatic() << " }"; break; } case model::Object::Type::Path: { vDebug << level << "{ Shape: name: " << obj->name() << " , a:" << !obj->isStatic() << " }"; break; } case model::Object::Type::Polystar: { vDebug << level << "{ Polystar: name: " << obj->name() << " , a:" << !obj->isStatic() << " }"; break; } case model::Object::Type::Transform: { vDebug << level << "{ Transform: name: " << obj->name() << " , a: " << !obj->isStatic() << " }"; break; } case model::Object::Type::Stroke: { vDebug << level << "{ Stroke: name: " << obj->name() << " , a:" << !obj->isStatic() << " }"; break; } case model::Object::Type::GStroke: { vDebug << level << "{ GStroke: name: " << obj->name() << " , a:" << !obj->isStatic() << " }"; break; } case model::Object::Type::Fill: { vDebug << level << "{ Fill: name: " << obj->name() << " , a:" << !obj->isStatic() << " }"; break; } case model::Object::Type::GFill: { auto f = static_cast<model::GradientFill *>(obj); vDebug << level << "{ GFill: name: " << obj->name() << " , a:" << !f->isStatic() << ", ty:" << f->mGradientType << ", s:" << f->mStartPoint.value(0) << ", e:" << f->mEndPoint.value(0) << " }"; break; } default: break; } } std::string matteType(model::MatteType type) { switch (type) { case model::MatteType::None: return "Matte::None"; break; case model::MatteType::Alpha: return "Matte::Alpha"; break; case model::MatteType::AlphaInv: return "Matte::AlphaInv"; break; case model::MatteType::Luma: return "Matte::Luma"; break; case model::MatteType::LumaInv: return "Matte::LumaInv"; break; default: return "Matte::Unknown"; break; } } std::string layerType(model::Layer::Type type) { switch (type) { case model::Layer::Type::Precomp: return "Layer::Precomp"; break; case model::Layer::Type::Null: return "Layer::Null"; break; case model::Layer::Type::Shape: return "Layer::Shape"; break; case model::Layer::Type::Solid: return "Layer::Solid"; break; case model::Layer::Type::Image: return "Layer::Image"; break; case model::Layer::Type::Text: return "Layer::Text"; break; default: return "Layer::Unknown"; break; } } }; #endif std::shared_ptr<model::Composition> model::parse(char * str, std::string dir_path, model::ColorFilter filter) { LottieParserImpl obj(str, std::move(dir_path), std::move(filter)); if (obj.VerifyType()) { obj.parseComposition(); auto composition = obj.composition(); if (composition) { composition->processRepeaterObjects(); composition->updateStats(); #ifdef LOTTIE_DUMP_TREE_SUPPORT ObjectInspector inspector; inspector.visit(composition.get(), ""); #endif return composition; } } vWarning << "Input data is not Lottie format!"; return {}; } RAPIDJSON_DIAG_POP
71,912
lottieparser
cpp
en
cpp
code
{"qsc_code_num_words": 7055, "qsc_code_num_chars": 71912.0, "qsc_code_mean_word_length": 5.30559887, "qsc_code_frac_words_unique": 0.1318214, "qsc_code_frac_chars_top_2grams": 0.03291389, "qsc_code_frac_chars_top_3grams": 0.04183698, "qsc_code_frac_chars_top_4grams": 0.05129438, "qsc_code_frac_chars_dupe_5grams": 0.37418183, "qsc_code_frac_chars_dupe_6grams": 0.31230798, "qsc_code_frac_chars_dupe_7grams": 0.24746868, "qsc_code_frac_chars_dupe_8grams": 0.22003152, "qsc_code_frac_chars_dupe_9grams": 0.19954049, "qsc_code_frac_chars_dupe_10grams": 0.17779381, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01206161, "qsc_code_frac_chars_whitespace": 0.32555067, "qsc_code_size_file_byte": 71912.0, "qsc_code_num_lines": 2394.0, "qsc_code_num_chars_line_max": 104.0, "qsc_code_num_chars_line_mean": 30.03842941, "qsc_code_frac_chars_alphabet": 0.75969568, "qsc_code_frac_chars_comments": 0.10685282, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.34302909, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.02509809, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00018683, "qsc_code_frac_lines_prompt_comments": 0.00041771, "qsc_code_frac_lines_assert": 0.0, "qsc_codecpp_frac_lines_preprocessor_directives": 0.02106319, "qsc_codecpp_frac_lines_func_ratio": 0.0667001, "qsc_codecpp_cate_bitsstdc": 0.0, "qsc_codecpp_nums_lines_main": 0.0, "qsc_codecpp_frac_lines_goto": 0.0, "qsc_codecpp_cate_var_zero": 0.0, "qsc_codecpp_score_lines_no_logic": 0.11885657, "qsc_codecpp_frac_lines_print": 0.0005015}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codecpp_frac_lines_func_ratio": 0, "qsc_codecpp_nums_lines_main": 0, "qsc_codecpp_score_lines_no_logic": 0, "qsc_codecpp_frac_lines_preprocessor_directives": 0, "qsc_codecpp_frac_lines_print": 0}
0015/esp_rlottie
rlottie/src/lottie/lottiemodel.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ #ifndef LOTModel_H #define LOTModel_H #include <algorithm> #include <cmath> #include <cstring> #include <functional> #include <memory> #include <unordered_map> #include <vector> #include "varenaalloc.h" #include "vbezier.h" #include "vbrush.h" #include "vinterpolator.h" #include "vmatrix.h" #include "vpath.h" #include "vpoint.h" #include "vrect.h" V_USE_NAMESPACE namespace rlottie { namespace internal { using Marker = std::tuple<std::string, int, int>; using LayerInfo = Marker; template <typename T> inline T lerp(const T &start, const T &end, float t) { return start + t * (end - start); } namespace model { enum class MatteType : uint8_t { None = 0, Alpha = 1, AlphaInv, Luma, LumaInv }; enum class BlendMode : uint8_t { Normal = 0, Multiply = 1, Screen = 2, OverLay = 3 }; class Color { public: Color() = default; Color(float red, float green, float blue) : r(red), g(green), b(blue) {} VColor toColor(float a = 1) { return VColor(uint8_t(255 * r), uint8_t(255 * g), uint8_t(255 * b), uint8_t(255 * a)); } friend inline Color operator+(const Color &c1, const Color &c2); friend inline Color operator-(const Color &c1, const Color &c2); public: float r{1}; float g{1}; float b{1}; }; inline Color operator-(const Color &c1, const Color &c2) { return Color(c1.r - c2.r, c1.g - c2.g, c1.b - c2.b); } inline Color operator+(const Color &c1, const Color &c2) { return Color(c1.r + c2.r, c1.g + c2.g, c1.b + c2.b); } inline const Color operator*(const Color &c, float m) { return Color(c.r * m, c.g * m, c.b * m); } inline const Color operator*(float m, const Color &c) { return Color(c.r * m, c.g * m, c.b * m); } struct PathData { std::vector<VPointF> mPoints; bool mClosed = false; /* "c" */ void reserve(size_t size) { mPoints.reserve(mPoints.size() + size); } static void lerp(const PathData &start, const PathData &end, float t, VPath &result) { result.reset(); // test for empty animation data. if (start.mPoints.empty() || end.mPoints.empty()) { return; } auto size = std::min(start.mPoints.size(), end.mPoints.size()); /* reserve exact memory requirement at once * ptSize = size + 1(size + close) * elmSize = size/3 cubic + 1 move + 1 close */ result.reserve(size + 1, size / 3 + 2); result.moveTo(start.mPoints[0] + t * (end.mPoints[0] - start.mPoints[0])); for (size_t i = 1; i < size; i += 3) { result.cubicTo( start.mPoints[i] + t * (end.mPoints[i] - start.mPoints[i]), start.mPoints[i + 1] + t * (end.mPoints[i + 1] - start.mPoints[i + 1]), start.mPoints[i + 2] + t * (end.mPoints[i + 2] - start.mPoints[i + 2])); } if (start.mClosed) result.close(); } void toPath(VPath &path) const { path.reset(); if (mPoints.empty()) return; auto size = mPoints.size(); auto points = mPoints.data(); /* reserve exact memory requirement at once * ptSize = size + 1(size + close) * elmSize = size/3 cubic + 1 move + 1 close */ path.reserve(size + 1, size / 3 + 2); path.moveTo(points[0]); for (size_t i = 1; i < size; i += 3) { path.cubicTo(points[i], points[i + 1], points[i + 2]); } if (mClosed) path.close(); } }; template <typename T, typename Tag = void> struct Value { T start_; T end_; T at(float t) const { return lerp(start_, end_, t); } float angle(float) const { return 0; } void cache() {} }; struct Position; template <typename T> struct Value<T, Position> { T start_; T end_; T inTangent_; T outTangent_; float length_{0}; bool hasTangent_{false}; void cache() { if (hasTangent_) { inTangent_ = end_ + inTangent_; outTangent_ = start_ + outTangent_; length_ = VBezier::fromPoints(start_, outTangent_, inTangent_, end_) .length(); if (vIsZero(length_)) { // this segment has zero length. // so disable expensive path computaion. hasTangent_ = false; } } } T at(float t) const { if (hasTangent_) { /* * position along the path calcualated * using bezier at progress length (t * bezlen) */ VBezier b = VBezier::fromPoints(start_, outTangent_, inTangent_, end_); return b.pointAt(b.tAtLength(t * length_, length_)); } return lerp(start_, end_, t); } float angle(float t) const { if (hasTangent_) { VBezier b = VBezier::fromPoints(start_, outTangent_, inTangent_, end_); return b.angleAt(b.tAtLength(t * length_, length_)); } return 0; } }; template <typename T, typename Tag> class KeyFrames { public: struct Frame { float progress(int frameNo) const { return interpolator_ ? interpolator_->value((frameNo - start_) / (end_ - start_)) : 0; } T value(int frameNo) const { return value_.at(progress(frameNo)); } float angle(int frameNo) const { return value_.angle(progress(frameNo)); } float start_{0}; float end_{0}; VInterpolator *interpolator_{nullptr}; Value<T, Tag> value_; }; T value(int frameNo) const { if (frames_.front().start_ >= frameNo) return frames_.front().value_.start_; if (frames_.back().end_ <= frameNo) return frames_.back().value_.end_; for (const auto &keyFrame : frames_) { if (frameNo >= keyFrame.start_ && frameNo < keyFrame.end_) return keyFrame.value(frameNo); } return {}; } float angle(int frameNo) const { if ((frames_.front().start_ >= frameNo) || (frames_.back().end_ <= frameNo)) return 0; for (const auto &frame : frames_) { if (frameNo >= frame.start_ && frameNo < frame.end_) return frame.angle(frameNo); } return 0; } bool changed(int prevFrame, int curFrame) const { auto first = frames_.front().start_; auto last = frames_.back().end_; return !((first > prevFrame && first > curFrame) || (last < prevFrame && last < curFrame)); } void cache() { for (auto &e : frames_) e.value_.cache(); } public: std::vector<Frame> frames_; }; template <typename T, typename Tag = void> class Property { public: using Animation = KeyFrames<T, Tag>; Property() { construct(impl_.value_, {}); } explicit Property(T value) { construct(impl_.value_, std::move(value)); } const Animation &animation() const { return *(impl_.animation_.get()); } const T & value() const { return impl_.value_; } Animation &animation() { if (isValue_) { destroy(); construct(impl_.animation_, std::make_unique<Animation>()); isValue_ = false; } return *(impl_.animation_.get()); } T &value() { assert(isValue_); return impl_.value_; } Property(Property &&other) noexcept { if (!other.isValue_) { construct(impl_.animation_, std::move(other.impl_.animation_)); isValue_ = false; } else { construct(impl_.value_, std::move(other.impl_.value_)); isValue_ = true; } } // delete special member functions Property(const Property &) = delete; Property &operator=(const Property &) = delete; Property &operator=(Property &&) = delete; ~Property() { destroy(); } bool isStatic() const { return isValue_; } T value(int frameNo) const { return isStatic() ? value() : animation().value(frameNo); } // special function only for type T=PathData template <typename forT = PathData> auto value(int frameNo, VPath &path) const -> typename std::enable_if_t<std::is_same<T, forT>::value, void> { if (isStatic()) { value().toPath(path); } else { const auto &vec = animation().frames_; if (vec.front().start_ >= frameNo) return vec.front().value_.start_.toPath(path); if (vec.back().end_ <= frameNo) return vec.back().value_.end_.toPath(path); for (const auto &keyFrame : vec) { if (frameNo >= keyFrame.start_ && frameNo < keyFrame.end_) { T::lerp(keyFrame.value_.start_, keyFrame.value_.end_, keyFrame.progress(frameNo), path); } } } } float angle(int frameNo) const { return isStatic() ? 0 : animation().angle(frameNo); } bool changed(int prevFrame, int curFrame) const { return isStatic() ? false : animation().changed(prevFrame, curFrame); } void cache() { if (!isStatic()) animation().cache(); } private: template <typename Tp> void construct(Tp &member, Tp &&val) { new (&member) Tp(std::move(val)); } void destroy() { if (isValue_) { impl_.value_.~T(); } else { using std::unique_ptr; impl_.animation_.~unique_ptr<Animation>(); } } union details { std::unique_ptr<Animation> animation_; T value_; details(){}; details(const details &) = delete; details(details &&) = delete; details &operator=(details &&) = delete; details &operator=(const details &) = delete; ~details() noexcept {}; } impl_; bool isValue_{true}; }; class Path; struct PathData; struct Dash { std::vector<Property<float>> mData; bool empty() const { return mData.empty(); } size_t size() const { return mData.size(); } bool isStatic() const { for (const auto &elm : mData) if (!elm.isStatic()) return false; return true; } void getDashInfo(int frameNo, std::vector<float> &result) const; }; class Mask { public: enum class Mode { None, Add, Substarct, Intersect, Difference }; float opacity(int frameNo) const { return mOpacity.value(frameNo) / 100.0f; } bool isStatic() const { return mIsStatic; } public: Property<PathData> mShape; Property<float> mOpacity{100}; bool mInv{false}; bool mIsStatic{true}; Mask::Mode mMode; }; class Object { public: enum class Type : unsigned char { Composition = 1, Layer, Group, Transform, Fill, Stroke, GFill, GStroke, Rect, Ellipse, Path, Polystar, Trim, Repeater, RoundedCorner }; explicit Object(Object::Type type) : mPtr(nullptr) { mData._type = type; mData._static = true; mData._shortString = true; mData._hidden = false; } ~Object() noexcept { if (!shortString() && mPtr) free(mPtr); } Object(const Object &) = delete; Object &operator=(const Object &) = delete; void setStatic(bool value) { mData._static = value; } bool isStatic() const { return mData._static; } bool hidden() const { return mData._hidden; } void setHidden(bool value) { mData._hidden = value; } void setType(Object::Type type) { mData._type = type; } Object::Type type() const { return mData._type; } void setName(const char *name) { if (name) { auto len = strlen(name); if (len < maxShortStringLength) { setShortString(true); strncpy(mData._buffer, name, len + 1); } else { setShortString(false); mPtr = strdup(name); } } } const char *name() const { return shortString() ? mData._buffer : mPtr; } private: static constexpr unsigned char maxShortStringLength = 14; void setShortString(bool value) { mData._shortString = value; } bool shortString() const { return mData._shortString; } struct Data { char _buffer[maxShortStringLength]; Object::Type _type; bool _static : 1; bool _hidden : 1; bool _shortString : 1; }; union { Data mData; char *mPtr{nullptr}; }; }; struct Asset { enum class Type : unsigned char { Precomp, Image, Char }; bool isStatic() const { return mStatic; } void setStatic(bool value) { mStatic = value; } VBitmap bitmap() const { return mBitmap; } void loadImageData(std::string data); void loadImagePath(std::string Path); Type mAssetType{Type::Precomp}; bool mStatic{true}; std::string mRefId; // ref id std::vector<Object *> mLayers; // image asset data int mWidth{0}; int mHeight{0}; VBitmap mBitmap; }; class Layer; class Composition : public Object { public: Composition() : Object(Object::Type::Composition) {} std::vector<LayerInfo> layerInfoList() const; const std::vector<Marker> &markers() const { return mMarkers; } double duration() const { return frameDuration() / frameRate(); // in second } size_t frameAtPos(double pos) const { if (pos < 0) pos = 0; if (pos > 1) pos = 1; return size_t(round(pos * frameDuration())); } long frameAtTime(double timeInSec) const { return long(frameAtPos(timeInSec / duration())); } size_t totalFrame() const { return mEndFrame - mStartFrame + 1; } long frameDuration() const { return mEndFrame - mStartFrame; } float frameRate() const { return mFrameRate; } size_t startFrame() const { return mStartFrame; } size_t endFrame() const { return mEndFrame; } VSize size() const { return mSize; } void processRepeaterObjects(); void updateStats(); public: struct Stats { uint16_t precompLayerCount{0}; uint16_t solidLayerCount{0}; uint16_t shapeLayerCount{0}; uint16_t imageLayerCount{0}; uint16_t nullLayerCount{0}; }; public: std::string mVersion; VSize mSize; long mStartFrame{0}; long mEndFrame{0}; float mFrameRate{60}; BlendMode mBlendMode{BlendMode::Normal}; Layer * mRootLayer{nullptr}; std::unordered_map<std::string, Asset *> mAssets; std::vector<Marker> mMarkers; VArenaAlloc mArenaAlloc{2048}; Stats mStats; }; class Transform : public Object { public: struct Data { struct Extra { Property<float> m3DRx{0}; Property<float> m3DRy{0}; Property<float> m3DRz{0}; Property<float> mSeparateX{0}; Property<float> mSeparateY{0}; bool mSeparate{false}; bool m3DData{false}; }; VMatrix matrix(int frameNo, bool autoOrient = false) const; float opacity(int frameNo) const { return mOpacity.value(frameNo) / 100.0f; } void createExtraData() { if (!mExtra) mExtra = std::make_unique<Extra>(); } Property<float> mRotation{0}; /* "r" */ Property<VPointF> mScale{{100, 100}}; /* "s" */ Property<VPointF, Position> mPosition; /* "p" */ Property<VPointF> mAnchor; /* "a" */ Property<float> mOpacity{100}; /* "o" */ std::unique_ptr<Extra> mExtra; }; Transform() : Object(Object::Type::Transform) {} void set(Transform::Data *data, bool staticFlag) { setStatic(staticFlag); if (isStatic()) { new (&impl.mStaticData) StaticData(data->matrix(0), data->opacity(0)); } else { impl.mData = data; } } VMatrix matrix(int frameNo, bool autoOrient = false) const { if (isStatic()) return impl.mStaticData.mMatrix; return impl.mData->matrix(frameNo, autoOrient); } float opacity(int frameNo) const { if (isStatic()) return impl.mStaticData.mOpacity; return impl.mData->opacity(frameNo); } Transform(const Transform &) = delete; Transform(Transform &&) = delete; Transform &operator=(Transform &) = delete; Transform &operator=(Transform &&) = delete; ~Transform() noexcept { destroy(); } private: void destroy() { if (isStatic()) { impl.mStaticData.~StaticData(); } } struct StaticData { StaticData(VMatrix &&m, float opacity) : mOpacity(opacity), mMatrix(std::move(m)) { } float mOpacity; VMatrix mMatrix; }; union details { Data * mData{nullptr}; StaticData mStaticData; details(){}; details(const details &) = delete; details(details &&) = delete; details &operator=(details &&) = delete; details &operator=(const details &) = delete; ~details() noexcept {}; } impl; }; class Group : public Object { public: Group() : Object(Object::Type::Group) {} explicit Group(Object::Type type) : Object(type) {} public: std::vector<Object *> mChildren; Transform * mTransform{nullptr}; }; class Layer : public Group { public: enum class Type : uint8_t { Precomp = 0, Solid = 1, Image = 2, Null = 3, Shape = 4, Text = 5 }; Layer() : Group(Object::Type::Layer) {} bool hasRoundedCorner() const noexcept { return mHasRoundedCorner; } bool hasPathOperator() const noexcept { return mHasPathOperator; } bool hasGradient() const noexcept { return mHasGradient; } bool hasMask() const noexcept { return mHasMask; } bool hasRepeater() const noexcept { return mHasRepeater; } int id() const noexcept { return mId; } int parentId() const noexcept { return mParentId; } bool hasParent() const noexcept { return mParentId != -1; } int inFrame() const noexcept { return mInFrame; } int outFrame() const noexcept { return mOutFrame; } int startFrame() const noexcept { return mStartFrame; } Color solidColor() const noexcept { return mExtra ? mExtra->mSolidColor : Color(); } bool autoOrient() const noexcept { return mAutoOrient; } int timeRemap(int frameNo) const; VSize layerSize() const { return mLayerSize; } bool precompLayer() const { return mLayerType == Type::Precomp; } VMatrix matrix(int frameNo) const { return mTransform ? mTransform->matrix(frameNo, autoOrient()) : VMatrix{}; } float opacity(int frameNo) const { return mTransform ? mTransform->opacity(frameNo) : 1.0f; } Asset *asset() const { return mExtra ? mExtra->mAsset : nullptr; } struct Extra { Color mSolidColor; std::string mPreCompRefId; Property<float> mTimeRemap; /* "tm" */ Composition * mCompRef{nullptr}; Asset * mAsset{nullptr}; std::vector<Mask *> mMasks; }; Layer::Extra *extra() { if (!mExtra) mExtra = std::make_unique<Layer::Extra>(); return mExtra.get(); } public: MatteType mMatteType{MatteType::None}; Type mLayerType{Layer::Type::Null}; BlendMode mBlendMode{BlendMode::Normal}; bool mHasRoundedCorner{false}; bool mHasPathOperator{false}; bool mHasMask{false}; bool mHasRepeater{false}; bool mHasGradient{false}; bool mAutoOrient{false}; VSize mLayerSize; int mParentId{-1}; // Lottie the id of the parent in the composition int mId{-1}; // Lottie the group id used for parenting. float mTimeStreatch{1.0f}; int mInFrame{0}; int mOutFrame{0}; int mStartFrame{0}; std::unique_ptr<Extra> mExtra{nullptr}; }; /** * TimeRemap has the value in time domain(in sec) * To get the proper mapping first we get the mapped time at the current frame * Number then we need to convert mapped time to frame number using the * composition time line Ex: at frame 10 the mappend time is 0.5(500 ms) which * will be convert to frame number 30 if the frame rate is 60. or will result to * frame number 15 if the frame rate is 30. */ inline int Layer::timeRemap(int frameNo) const { /* * only consider startFrame() when there is no timeRemap. * when a layer has timeremap bodymovin updates the startFrame() * of all child layer so we don't have to take care of it. */ if (!mExtra || mExtra->mTimeRemap.isStatic()) frameNo = frameNo - startFrame(); else frameNo = mExtra->mCompRef->frameAtTime(mExtra->mTimeRemap.value(frameNo)); /* Apply time streatch if it has any. * Time streatch is just a factor by which the animation will speedup or * slow down with respect to the overal animation. Time streach factor is * already applied to the layers inFrame and outFrame. * @TODO need to find out if timestreatch also affects the in and out frame * of the child layers or not. */ return int(frameNo / mTimeStreatch); } class Stroke : public Object { public: Stroke() : Object(Object::Type::Stroke) {} Color color(int frameNo) const { return mColor.value(frameNo); } float opacity(int frameNo) const { return mOpacity.value(frameNo) / 100.0f; } float strokeWidth(int frameNo) const { return mWidth.value(frameNo); } CapStyle capStyle() const { return mCapStyle; } JoinStyle joinStyle() const { return mJoinStyle; } float miterLimit() const { return mMiterLimit; } bool hasDashInfo() const { return !mDash.empty(); } void getDashInfo(int frameNo, std::vector<float> &result) const { return mDash.getDashInfo(frameNo, result); } public: Property<Color> mColor; /* "c" */ Property<float> mOpacity{100}; /* "o" */ Property<float> mWidth{0}; /* "w" */ CapStyle mCapStyle{CapStyle::Flat}; /* "lc" */ JoinStyle mJoinStyle{JoinStyle::Miter}; /* "lj" */ float mMiterLimit{0}; /* "ml" */ Dash mDash; bool mEnabled{true}; /* "fillEnabled" */ }; class Gradient : public Object { public: class Data { public: friend inline Gradient::Data operator+(const Gradient::Data &g1, const Gradient::Data &g2); friend inline Gradient::Data operator-(const Gradient::Data &g1, const Gradient::Data &g2); friend inline Gradient::Data operator*(float m, const Gradient::Data &g); public: std::vector<float> mGradient; }; explicit Gradient(Object::Type type) : Object(type) {} inline float opacity(int frameNo) const { return mOpacity.value(frameNo) / 100.0f; } void update(std::unique_ptr<VGradient> &grad, int frameNo); private: void populate(VGradientStops &stops, int frameNo); float getOpacityAtPosition(float *opacities, size_t opacityArraySize, float position); public: int mGradientType{1}; /* "t" Linear=1 , Radial = 2*/ Property<VPointF> mStartPoint; /* "s" */ Property<VPointF> mEndPoint; /* "e" */ Property<float> mHighlightLength{0}; /* "h" */ Property<float> mHighlightAngle{0}; /* "a" */ Property<float> mOpacity{100}; /* "o" */ Property<Gradient::Data> mGradient; /* "g" */ int mColorPoints{-1}; bool mEnabled{true}; /* "fillEnabled" */ }; class GradientStroke : public Gradient { public: GradientStroke() : Gradient(Object::Type::GStroke) {} float width(int frameNo) const { return mWidth.value(frameNo); } CapStyle capStyle() const { return mCapStyle; } JoinStyle joinStyle() const { return mJoinStyle; } float miterLimit() const { return mMiterLimit; } bool hasDashInfo() const { return !mDash.empty(); } void getDashInfo(int frameNo, std::vector<float> &result) const { return mDash.getDashInfo(frameNo, result); } public: Property<float> mWidth; /* "w" */ CapStyle mCapStyle{CapStyle::Flat}; /* "lc" */ JoinStyle mJoinStyle{JoinStyle::Miter}; /* "lj" */ float mMiterLimit{0}; /* "ml" */ Dash mDash; }; class GradientFill : public Gradient { public: GradientFill() : Gradient(Object::Type::GFill) {} FillRule fillRule() const { return mFillRule; } public: FillRule mFillRule{FillRule::Winding}; /* "r" */ }; class Fill : public Object { public: Fill() : Object(Object::Type::Fill) {} Color color(int frameNo) const { return mColor.value(frameNo); } float opacity(int frameNo) const { return mOpacity.value(frameNo) / 100.0f; } FillRule fillRule() const { return mFillRule; } public: FillRule mFillRule{FillRule::Winding}; /* "r" */ bool mEnabled{true}; /* "fillEnabled" */ Property<Color> mColor; /* "c" */ Property<float> mOpacity{100}; /* "o" */ }; class Shape : public Object { public: explicit Shape(Object::Type type) : Object(type) {} VPath::Direction direction() { return (mDirection == 3) ? VPath::Direction::CCW : VPath::Direction::CW; } public: int mDirection{1}; }; class Path : public Shape { public: Path() : Shape(Object::Type::Path) {} public: Property<PathData> mShape; }; class RoundedCorner : public Object { public: RoundedCorner() : Object(Object::Type::RoundedCorner) {} float radius(int frameNo) const { return mRadius.value(frameNo);} public: Property<float> mRadius{0}; }; class Rect : public Shape { public: Rect() : Shape(Object::Type::Rect) {} float roundness(int frameNo) { return mRoundedCorner ? mRoundedCorner->radius(frameNo) : mRound.value(frameNo); } bool roundnessChanged(int prevFrame, int curFrame) { return mRoundedCorner ? mRoundedCorner->mRadius.changed(prevFrame, curFrame) : mRound.changed(prevFrame, curFrame); } public: RoundedCorner* mRoundedCorner{nullptr}; Property<VPointF> mPos; Property<VPointF> mSize; Property<float> mRound{0}; }; class Ellipse : public Shape { public: Ellipse() : Shape(Object::Type::Ellipse) {} public: Property<VPointF> mPos; Property<VPointF> mSize; }; class Polystar : public Shape { public: enum class PolyType { Star = 1, Polygon = 2 }; Polystar() : Shape(Object::Type::Polystar) {} public: Polystar::PolyType mPolyType{PolyType::Polygon}; Property<VPointF> mPos; Property<float> mPointCount{0}; Property<float> mInnerRadius{0}; Property<float> mOuterRadius{0}; Property<float> mInnerRoundness{0}; Property<float> mOuterRoundness{0}; Property<float> mRotation{0}; }; class Repeater : public Object { public: struct Transform { VMatrix matrix(int frameNo, float multiplier) const; float startOpacity(int frameNo) const { return mStartOpacity.value(frameNo) / 100; } float endOpacity(int frameNo) const { return mEndOpacity.value(frameNo) / 100; } bool isStatic() const { return mRotation.isStatic() && mScale.isStatic() && mPosition.isStatic() && mAnchor.isStatic() && mStartOpacity.isStatic() && mEndOpacity.isStatic(); } Property<float> mRotation{0}; /* "r" */ Property<VPointF> mScale{{100, 100}}; /* "s" */ Property<VPointF> mPosition; /* "p" */ Property<VPointF> mAnchor; /* "a" */ Property<float> mStartOpacity{100}; /* "so" */ Property<float> mEndOpacity{100}; /* "eo" */ }; Repeater() : Object(Object::Type::Repeater) {} Group *content() const { return mContent ? mContent : nullptr; } void setContent(Group *content) { mContent = content; } int maxCopies() const { return int(mMaxCopies); } float copies(int frameNo) const { return mCopies.value(frameNo); } float offset(int frameNo) const { return mOffset.value(frameNo); } bool processed() const { return mProcessed; } void markProcessed() { mProcessed = true; } public: Group * mContent{nullptr}; Transform mTransform; Property<float> mCopies{0}; Property<float> mOffset{0}; float mMaxCopies{0.0}; bool mProcessed{false}; }; class Trim : public Object { public: struct Segment { float start{0}; float end{0}; Segment() = default; explicit Segment(float s, float e) : start(s), end(e) {} }; enum class TrimType { Simultaneously, Individually }; Trim() : Object(Object::Type::Trim) {} /* * if start > end vector trims the path as a loop ( 2 segment) * if start < end vector trims the path without loop ( 1 segment). * if no offset then there is no loop. */ Segment segment(int frameNo) const { float start = mStart.value(frameNo) / 100.0f; float end = mEnd.value(frameNo) / 100.0f; float offset = std::fmod(mOffset.value(frameNo), 360.0f) / 360.0f; float diff = std::abs(start - end); if (vCompare(diff, 0.0f)) return Segment(0, 0); if (vCompare(diff, 1.0f)) return Segment(0, 1); if (offset > 0) { start += offset; end += offset; if (start <= 1 && end <= 1) { return noloop(start, end); } else if (start > 1 && end > 1) { return noloop(start - 1, end - 1); } else { return (start > 1) ? loop(start - 1, end) : loop(start, end - 1); } } else { start += offset; end += offset; if (start >= 0 && end >= 0) { return noloop(start, end); } else if (start < 0 && end < 0) { return noloop(1 + start, 1 + end); } else { return (start < 0) ? loop(1 + start, end) : loop(start, 1 + end); } } } Trim::TrimType type() const { return mTrimType; } private: Segment noloop(float start, float end) const { assert(start >= 0); assert(end >= 0); Segment s; s.start = std::min(start, end); s.end = std::max(start, end); return s; } Segment loop(float start, float end) const { assert(start >= 0); assert(end >= 0); Segment s; s.start = std::max(start, end); s.end = std::min(start, end); return s; } public: Property<float> mStart{0}; Property<float> mEnd{0}; Property<float> mOffset{0}; Trim::TrimType mTrimType{TrimType::Simultaneously}; }; inline Gradient::Data operator+(const Gradient::Data &g1, const Gradient::Data &g2) { if (g1.mGradient.size() != g2.mGradient.size()) return g1; Gradient::Data newG; newG.mGradient = g1.mGradient; auto g2It = g2.mGradient.begin(); for (auto &i : newG.mGradient) { i = i + *g2It; g2It++; } return newG; } inline Gradient::Data operator-(const Gradient::Data &g1, const Gradient::Data &g2) { if (g1.mGradient.size() != g2.mGradient.size()) return g1; Gradient::Data newG; newG.mGradient = g1.mGradient; auto g2It = g2.mGradient.begin(); for (auto &i : newG.mGradient) { i = i - *g2It; g2It++; } return newG; } inline Gradient::Data operator*(float m, const Gradient::Data &g) { Gradient::Data newG; newG.mGradient = g.mGradient; for (auto &i : newG.mGradient) { i = i * m; } return newG; } using ColorFilter = std::function<void(float &, float &, float &)>; void configureModelCacheSize(size_t cacheSize); std::shared_ptr<model::Composition> loadFromFile(const std::string &filePath, bool cachePolicy); std::shared_ptr<model::Composition> loadFromData(std::string jsonData, const std::string &key, std::string resourcePath, bool cachePolicy); std::shared_ptr<model::Composition> loadFromData(std::string jsonData, std::string resourcePath, ColorFilter filter); std::shared_ptr<model::Composition> parse(char *str, std::string dir_path, ColorFilter filter = {}); } // namespace model } // namespace internal } // namespace rlottie #endif // LOTModel_H
35,941
lottiemodel
h
en
c
code
{"qsc_code_num_words": 3730, "qsc_code_num_chars": 35941.0, "qsc_code_mean_word_length": 5.32520107, "qsc_code_frac_words_unique": 0.16863271, "qsc_code_frac_chars_top_2grams": 0.03655037, "qsc_code_frac_chars_top_3grams": 0.02038967, "qsc_code_frac_chars_top_4grams": 0.02220208, "qsc_code_frac_chars_dupe_5grams": 0.29391331, "qsc_code_frac_chars_dupe_6grams": 0.24855259, "qsc_code_frac_chars_dupe_7grams": 0.20953532, "qsc_code_frac_chars_dupe_8grams": 0.18980013, "qsc_code_frac_chars_dupe_9grams": 0.17006494, "qsc_code_frac_chars_dupe_10grams": 0.16341942, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01379055, "qsc_code_frac_chars_whitespace": 0.32411452, "qsc_code_size_file_byte": 35941.0, "qsc_code_num_lines": 1149.0, "qsc_code_num_chars_line_max": 91.0, "qsc_code_num_chars_line_mean": 31.28024369, "qsc_code_frac_chars_alphabet": 0.80388605, "qsc_code_frac_chars_comments": 0.09874517, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.27546778, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00234626, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.00087032, "qsc_code_frac_lines_assert": 0.00519751, "qsc_codec_frac_lines_func_ratio": 0.16112266, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.21517672, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/esp_rlottie
rlottie/src/lottie/lottiekeypath.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ #ifndef LOTTIEKEYPATH_H #define LOTTIEKEYPATH_H #include <string> #include <vector> #include "vglobal.h" class LOTKeyPath { public: LOTKeyPath(const std::string &keyPath); bool matches(const std::string &key, uint32_t depth); uint32_t nextDepth(const std::string key, uint32_t depth); bool fullyResolvesTo(const std::string key, uint32_t depth); bool propagate(const std::string key, uint32_t depth) { return skip(key) ? true : (depth < size()) || (mKeys[depth] == "**"); } bool skip(const std::string &key) const { return key == "__"; } private: bool isGlobstar(uint32_t depth) const { return mKeys[depth] == "**"; } bool isGlob(uint32_t depth) const { return mKeys[depth] == "*"; } bool endsWithGlobstar() const { return mKeys.back() == "**"; } size_t size() const { return mKeys.size() - 1; } private: std::vector<std::string> mKeys; }; #endif // LOTTIEKEYPATH_H
2,097
lottiekeypath
h
en
c
code
{"qsc_code_num_words": 290, "qsc_code_num_chars": 2097.0, "qsc_code_mean_word_length": 5.1, "qsc_code_frac_words_unique": 0.45862069, "qsc_code_frac_chars_top_2grams": 0.05949966, "qsc_code_frac_chars_top_3grams": 0.05679513, "qsc_code_frac_chars_top_4grams": 0.05747126, "qsc_code_frac_chars_dupe_5grams": 0.13387424, "qsc_code_frac_chars_dupe_6grams": 0.13387424, "qsc_code_frac_chars_dupe_7grams": 0.13387424, "qsc_code_frac_chars_dupe_8grams": 0.09465855, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01122268, "qsc_code_frac_chars_whitespace": 0.19265618, "qsc_code_size_file_byte": 2097.0, "qsc_code_num_lines": 53.0, "qsc_code_num_chars_line_max": 82.0, "qsc_code_num_chars_line_mean": 39.56603774, "qsc_code_frac_chars_alphabet": 0.86237448, "qsc_code_frac_chars_comments": 0.5565093, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.08, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01935484, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.4, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.56, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 1, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/esp_rlottie
rlottie/src/vector/stb/stb_image.cpp
/* * configure stb_image about * the image we will support */ #define STB_IMAGE_IMPLEMENTATION #define STBI_ONLY_JPEG #define STBI_ONLY_PNG #define STBI_NO_HDR #define STBI_NO_LINEAR #define STBI_NO_GIF #define STBI_NO_PIC #include "stb_image.h" #if defined _WIN32 || defined __CYGWIN__ #ifdef RLOTTIE_BUILD #define RLOTTIE_API __declspec(dllexport) #else #define RLOTTIE_API __declspec(dllimport) #endif #else #ifdef RLOTTIE_BUILD #define RLOTTIE_API __attribute__ ((visibility ("default"))) #else #define RLOTTIE_API #endif #endif #ifdef __cplusplus extern "C" { #endif /* * exported function wrapper from the library */ RLOTTIE_API unsigned char *lottie_image_load(char const *filename, int *x, int *y, int *comp, int req_comp) { return stbi_load(filename, x, y, comp, req_comp); } RLOTTIE_API unsigned char *lottie_image_load_from_data(const char *imageData, int len, int *x, int *y, int *comp, int req_comp) { unsigned char *data = (unsigned char *)imageData; return stbi_load_from_memory(data, len, x, y, comp, req_comp); } RLOTTIE_API void lottie_image_free(unsigned char *data) { stbi_image_free(data); } #ifdef __cplusplus } #endif
1,355
stb_image
cpp
en
cpp
code
{"qsc_code_num_words": 173, "qsc_code_num_chars": 1355.0, "qsc_code_mean_word_length": 4.79768786, "qsc_code_frac_words_unique": 0.36416185, "qsc_code_frac_chars_top_2grams": 0.08433735, "qsc_code_frac_chars_top_3grams": 0.05783133, "qsc_code_frac_chars_top_4grams": 0.05542169, "qsc_code_frac_chars_dupe_5grams": 0.27228916, "qsc_code_frac_chars_dupe_6grams": 0.27228916, "qsc_code_frac_chars_dupe_7grams": 0.19277108, "qsc_code_frac_chars_dupe_8grams": 0.06024096, "qsc_code_frac_chars_dupe_9grams": 0.06024096, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00199402, "qsc_code_frac_chars_whitespace": 0.2597786, "qsc_code_size_file_byte": 1355.0, "qsc_code_num_lines": 59.0, "qsc_code_num_chars_line_max": 79.0, "qsc_code_num_chars_line_mean": 22.96610169, "qsc_code_frac_chars_alphabet": 0.82552343, "qsc_code_frac_chars_comments": 0.08560886, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.27906977, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01533495, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codecpp_frac_lines_preprocessor_directives": 0.58139535, "qsc_codecpp_frac_lines_func_ratio": 0.1627907, "qsc_codecpp_cate_bitsstdc": 0.0, "qsc_codecpp_nums_lines_main": 0.0, "qsc_codecpp_frac_lines_goto": 0.0, "qsc_codecpp_cate_var_zero": 0.0, "qsc_codecpp_score_lines_no_logic": 0.18604651, "qsc_codecpp_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codecpp_frac_lines_func_ratio": 0, "qsc_codecpp_nums_lines_main": 0, "qsc_codecpp_score_lines_no_logic": 0, "qsc_codecpp_frac_lines_preprocessor_directives": 0, "qsc_codecpp_frac_lines_print": 0}
0015/esp_rlottie
rlottie/src/vector/stb/stb_image.h
/* stb_image - v2.19 - public domain image loader - http://nothings.org/stb no warranty implied; use at your own risk Do this: #define STB_IMAGE_IMPLEMENTATION before you include this file in *one* C or C++ file to create the implementation. // i.e. it should look like this: #include ... #include ... #include ... #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" You can #define STBI_ASSERT(x) before the #include to avoid using assert.h. And #define STBI_MALLOC, STBI_REALLOC, and STBI_FREE to avoid using malloc,realloc,free QUICK NOTES: Primarily of interest to game developers and other people who can avoid problematic images and only need the trivial interface JPEG baseline & progressive (12 bpc/arithmetic not supported, same as stock IJG lib) PNG 1/2/4/8/16-bit-per-channel TGA (not sure what subset, if a subset) BMP non-1bpp, non-RLE PSD (composited view only, no extra channels, 8/16 bit-per-channel) GIF (*comp always reports as 4-channel) HDR (radiance rgbE format) PIC (Softimage PIC) PNM (PPM and PGM binary only) Animated GIF still needs a proper API, but here's one way to do it: http://gist.github.com/urraka/685d9a6340b26b830d49 - decode from memory or through FILE (define STBI_NO_STDIO to remove code) - decode from arbitrary I/O callbacks - SIMD acceleration on x86/x64 (SSE2) and ARM (NEON) Full documentation under "DOCUMENTATION" below. LICENSE See end of file for license information. RECENT REVISION HISTORY: 2.19 (2018-02-11) fix warning 2.18 (2018-01-30) fix warnings 2.17 (2018-01-29) bugfix, 1-bit BMP, 16-bitness query, fix warnings 2.16 (2017-07-23) all functions have 16-bit variants; optimizations; bugfixes 2.15 (2017-03-18) fix png-1,2,4; all Imagenet JPGs; no runtime SSE detection on GCC 2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs 2.13 (2016-12-04) experimental 16-bit API, only for PNG so far; fixes 2.12 (2016-04-02) fix typo in 2.11 PSD fix that caused crashes 2.11 (2016-04-02) 16-bit PNGS; enable SSE2 in non-gcc x64 RGB-format JPEG; remove white matting in PSD; allocate large structures on the stack; correct channel count for PNG & BMP 2.10 (2016-01-22) avoid warning introduced in 2.09 2.09 (2016-01-16) 16-bit TGA; comments in PNM files; STBI_REALLOC_SIZED See end of file for full revision history. ============================ Contributors ========================= Image formats Extensions, features Sean Barrett (jpeg, png, bmp) Jetro Lauha (stbi_info) Nicolas Schulz (hdr, psd) Martin "SpartanJ" Golini (stbi_info) Jonathan Dummer (tga) James "moose2000" Brown (iPhone PNG) Jean-Marc Lienher (gif) Ben "Disch" Wenger (io callbacks) Tom Seddon (pic) Omar Cornut (1/2/4-bit PNG) Thatcher Ulrich (psd) Nicolas Guillemot (vertical flip) Ken Miller (pgm, ppm) Richard Mitton (16-bit PSD) github:urraka (animated gif) Junggon Kim (PNM comments) Christopher Forseth (animated gif) Daniel Gibson (16-bit TGA) socks-the-fox (16-bit PNG) Jeremy Sawicki (handle all ImageNet JPGs) Optimizations & bugfixes Mikhail Morozov (1-bit BMP) Fabian "ryg" Giesen Anael Seghezzi (is-16-bit query) Arseny Kapoulkine John-Mark Allen Bug & warning fixes Marc LeBlanc David Woo Guillaume George Martins Mozeiko Christpher Lloyd Jerry Jansson Joseph Thomson Phil Jordan Dave Moore Roy Eltham Hayaki Saito Nathan Reed Won Chun Luke Graham Johan Duparc Nick Verigakis the Horde3D community Thomas Ruf Ronny Chevalier github:rlyeh Janez Zemva John Bartholomew Michal Cichon github:romigrou Jonathan Blow Ken Hamada Tero Hanninen github:svdijk Laurent Gomila Cort Stratton Sergio Gonzalez github:snagar Aruelien Pocheville Thibault Reuille Cass Everitt github:Zelex Ryamond Barbiero Paul Du Bois Engin Manap github:grim210 Aldo Culquicondor Philipp Wiesemann Dale Weiler github:sammyhw Oriol Ferrer Mesia Josh Tobin Matthew Gregan github:phprus Julian Raschke Gregory Mullen Baldur Karlsson github:poppolopoppo Christian Floisand Kevin Schmidt github:darealshinji Blazej Dariusz Roszkowski github:Michaelangel007 */ #ifndef STBI_INCLUDE_STB_IMAGE_H #define STBI_INCLUDE_STB_IMAGE_H // DOCUMENTATION // // Limitations: // - no 12-bit-per-channel JPEG // - no JPEGs with arithmetic coding // - GIF always returns *comp=4 // // Basic usage (see HDR discussion below for HDR usage): // int x,y,n; // unsigned char *data = stbi_load(filename, &x, &y, &n, 0); // // ... process data if not NULL ... // // ... x = width, y = height, n = # 8-bit components per pixel ... // // ... replace '0' with '1'..'4' to force that many components per pixel // // ... but 'n' will always be the number that it would have been if you said 0 // stbi_image_free(data) // // Standard parameters: // int *x -- outputs image width in pixels // int *y -- outputs image height in pixels // int *channels_in_file -- outputs # of image components in image file // int desired_channels -- if non-zero, # of image components requested in result // // The return value from an image loader is an 'unsigned char *' which points // to the pixel data, or NULL on an allocation failure or if the image is // corrupt or invalid. The pixel data consists of *y scanlines of *x pixels, // with each pixel consisting of N interleaved 8-bit components; the first // pixel pointed to is top-left-most in the image. There is no padding between // image scanlines or between pixels, regardless of format. The number of // components N is 'desired_channels' if desired_channels is non-zero, or // *channels_in_file otherwise. If desired_channels is non-zero, // *channels_in_file has the number of components that _would_ have been // output otherwise. E.g. if you set desired_channels to 4, you will always // get RGBA output, but you can check *channels_in_file to see if it's trivially // opaque because e.g. there were only 3 channels in the source image. // // An output image with N components has the following components interleaved // in this order in each pixel: // // N=#comp components // 1 grey // 2 grey, alpha // 3 red, green, blue // 4 red, green, blue, alpha // // If image loading fails for any reason, the return value will be NULL, // and *x, *y, *channels_in_file will be unchanged. The function // stbi_failure_reason() can be queried for an extremely brief, end-user // unfriendly explanation of why the load failed. Define STBI_NO_FAILURE_STRINGS // to avoid compiling these strings at all, and STBI_FAILURE_USERMSG to get slightly // more user-friendly ones. // // Paletted PNG, BMP, GIF, and PIC images are automatically depalettized. // // =========================================================================== // // Philosophy // // stb libraries are designed with the following priorities: // // 1. easy to use // 2. easy to maintain // 3. good performance // // Sometimes I let "good performance" creep up in priority over "easy to maintain", // and for best performance I may provide less-easy-to-use APIs that give higher // performance, in addition to the easy to use ones. Nevertheless, it's important // to keep in mind that from the standpoint of you, a client of this library, // all you care about is #1 and #3, and stb libraries DO NOT emphasize #3 above all. // // Some secondary priorities arise directly from the first two, some of which // make more explicit reasons why performance can't be emphasized. // // - Portable ("ease of use") // - Small source code footprint ("easy to maintain") // - No dependencies ("ease of use") // // =========================================================================== // // I/O callbacks // // I/O callbacks allow you to read from arbitrary sources, like packaged // files or some other source. Data read from callbacks are processed // through a small internal buffer (currently 128 bytes) to try to reduce // overhead. // // The three functions you must define are "read" (reads some bytes of data), // "skip" (skips some bytes of data), "eof" (reports if the stream is at the end). // // =========================================================================== // // SIMD support // // The JPEG decoder will try to automatically use SIMD kernels on x86 when // supported by the compiler. For ARM Neon support, you must explicitly // request it. // // (The old do-it-yourself SIMD API is no longer supported in the current // code.) // // On x86, SSE2 will automatically be used when available based on a run-time // test; if not, the generic C versions are used as a fall-back. On ARM targets, // the typical path is to have separate builds for NEON and non-NEON devices // (at least this is true for iOS and Android). Therefore, the NEON support is // toggled by a build flag: define STBI_NEON to get NEON loops. // // If for some reason you do not want to use any of SIMD code, or if // you have issues compiling it, you can disable it entirely by // defining STBI_NO_SIMD. // // =========================================================================== // // HDR image support (disable by defining STBI_NO_HDR) // // stb_image now supports loading HDR images in general, and currently // the Radiance .HDR file format, although the support is provided // generically. You can still load any file through the existing interface; // if you attempt to load an HDR file, it will be automatically remapped to // LDR, assuming gamma 2.2 and an arbitrary scale factor defaulting to 1; // both of these constants can be reconfigured through this interface: // // stbi_hdr_to_ldr_gamma(2.2f); // stbi_hdr_to_ldr_scale(1.0f); // // (note, do not use _inverse_ constants; stbi_image will invert them // appropriately). // // Additionally, there is a new, parallel interface for loading files as // (linear) floats to preserve the full dynamic range: // // float *data = stbi_loadf(filename, &x, &y, &n, 0); // // If you load LDR images through this interface, those images will // be promoted to floating point values, run through the inverse of // constants corresponding to the above: // // stbi_ldr_to_hdr_scale(1.0f); // stbi_ldr_to_hdr_gamma(2.2f); // // Finally, given a filename (or an open file or memory block--see header // file for details) containing image data, you can query for the "most // appropriate" interface to use (that is, whether the image is HDR or // not), using: // // stbi_is_hdr(char *filename); // // =========================================================================== // // iPhone PNG support: // // By default we convert iphone-formatted PNGs back to RGB, even though // they are internally encoded differently. You can disable this conversion // by by calling stbi_convert_iphone_png_to_rgb(0), in which case // you will always just get the native iphone "format" through (which // is BGR stored in RGB). // // Call stbi_set_unpremultiply_on_load(1) as well to force a divide per // pixel to remove any premultiplied alpha *only* if the image file explicitly // says there's premultiplied data (currently only happens in iPhone images, // and only if iPhone convert-to-rgb processing is on). // // =========================================================================== // // ADDITIONAL CONFIGURATION // // - You can suppress implementation of any of the decoders to reduce // your code footprint by #defining one or more of the following // symbols before creating the implementation. // // STBI_NO_JPEG // STBI_NO_PNG // STBI_NO_BMP // STBI_NO_PSD // STBI_NO_TGA // STBI_NO_GIF // STBI_NO_HDR // STBI_NO_PIC // STBI_NO_PNM (.ppm and .pgm) // // - You can request *only* certain decoders and suppress all other ones // (this will be more forward-compatible, as addition of new decoders // doesn't require you to disable them explicitly): // // STBI_ONLY_JPEG // STBI_ONLY_PNG // STBI_ONLY_BMP // STBI_ONLY_PSD // STBI_ONLY_TGA // STBI_ONLY_GIF // STBI_ONLY_HDR // STBI_ONLY_PIC // STBI_ONLY_PNM (.ppm and .pgm) // // - If you use STBI_NO_PNG (or _ONLY_ without PNG), and you still // want the zlib decoder to be available, #define STBI_SUPPORT_ZLIB // #ifndef STBI_NO_STDIO #include <stdio.h> #endif // STBI_NO_STDIO #if defined _WIN32 || defined __CYGWIN__ #include <windows.h> #endif // defined _WIN32 || defined __CYGWIN__ #define STBI_VERSION 1 enum { STBI_default = 0, // only used for desired_channels STBI_grey = 1, STBI_grey_alpha = 2, STBI_rgb = 3, STBI_rgb_alpha = 4 }; typedef unsigned char stbi_uc; typedef unsigned short stbi_us; #ifdef __cplusplus extern "C" { #endif #ifdef STB_IMAGE_STATIC #define STBIDEF static #else #define STBIDEF extern #endif ////////////////////////////////////////////////////////////////////////////// // // PRIMARY API - works on images of any type // // // load image by filename, open file, or memory buffer // typedef struct { int (*read) (void *user,char *data,int size); // fill 'data' with 'size' bytes. return number of bytes actually read void (*skip) (void *user,int n); // skip the next 'n' bytes, or 'unget' the last -n bytes if negative int (*eof) (void *user); // returns nonzero if we are at end of file/data } stbi_io_callbacks; //////////////////////////////////// // // 8-bits-per-channel interface // STBIDEF stbi_uc *stbi_load_from_memory (stbi_uc const *buffer, int len , int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk , void *user, int *x, int *y, int *channels_in_file, int desired_channels); #ifndef STBI_NO_GIF STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp); #endif #ifndef STBI_NO_STDIO STBIDEF stbi_uc *stbi_load (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF stbi_uc *stbi_load_from_file (FILE *f, int *x, int *y, int *channels_in_file, int desired_channels); // for stbi_load_from_file, file pointer is left pointing immediately after image #endif //////////////////////////////////// // // 16-bits-per-channel interface // STBIDEF stbi_us *stbi_load_16_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels); #ifndef STBI_NO_STDIO STBIDEF stbi_us *stbi_load_16 (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF stbi_us *stbi_load_from_file_16(FILE *f, int *x, int *y, int *channels_in_file, int desired_channels); #endif //////////////////////////////////// // // float-per-channel interface // #ifndef STBI_NO_LINEAR STBIDEF float *stbi_loadf_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF float *stbi_loadf_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels); #ifndef STBI_NO_STDIO STBIDEF float *stbi_loadf (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF float *stbi_loadf_from_file (FILE *f, int *x, int *y, int *channels_in_file, int desired_channels); #endif #endif #ifndef STBI_NO_HDR STBIDEF void stbi_hdr_to_ldr_gamma(float gamma); STBIDEF void stbi_hdr_to_ldr_scale(float scale); #endif // STBI_NO_HDR #ifndef STBI_NO_LINEAR STBIDEF void stbi_ldr_to_hdr_gamma(float gamma); STBIDEF void stbi_ldr_to_hdr_scale(float scale); #endif // STBI_NO_LINEAR // stbi_is_hdr is always defined, but always returns false if STBI_NO_HDR STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user); STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len); #ifndef STBI_NO_STDIO STBIDEF int stbi_is_hdr (char const *filename); STBIDEF int stbi_is_hdr_from_file(FILE *f); #endif // STBI_NO_STDIO // get a VERY brief reason for failure // NOT THREADSAFE STBIDEF const char *stbi_failure_reason (void); // free the loaded image -- this is just free() STBIDEF void stbi_image_free (void *retval_from_stbi_load); // get image dimensions & components without fully decoding STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp); STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp); STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len); STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *clbk, void *user); #ifndef STBI_NO_STDIO STBIDEF int stbi_info (char const *filename, int *x, int *y, int *comp); STBIDEF int stbi_info_from_file (FILE *f, int *x, int *y, int *comp); STBIDEF int stbi_is_16_bit (char const *filename); STBIDEF int stbi_is_16_bit_from_file(FILE *f); #endif // for image formats that explicitly notate that they have premultiplied alpha, // we just return the colors as stored in the file. set this flag to force // unpremultiplication. results are undefined if the unpremultiply overflow. STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply); // indicate whether we should process iphone images back to canonical format, // or just pass them through "as-is" STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert); // flip the image vertically, so the first pixel in the output array is the bottom left STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip); // ZLIB client - used by PNG, available for other purposes STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen); STBIDEF char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header); STBIDEF char *stbi_zlib_decode_malloc(const char *buffer, int len, int *outlen); STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, const char *ibuffer, int ilen); STBIDEF char *stbi_zlib_decode_noheader_malloc(const char *buffer, int len, int *outlen); STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen); #ifdef __cplusplus } #endif // // //// end header file ///////////////////////////////////////////////////// #endif // STBI_INCLUDE_STB_IMAGE_H #ifdef STB_IMAGE_IMPLEMENTATION #if defined(STBI_ONLY_JPEG) || defined(STBI_ONLY_PNG) || defined(STBI_ONLY_BMP) \ || defined(STBI_ONLY_TGA) || defined(STBI_ONLY_GIF) || defined(STBI_ONLY_PSD) \ || defined(STBI_ONLY_HDR) || defined(STBI_ONLY_PIC) || defined(STBI_ONLY_PNM) \ || defined(STBI_ONLY_ZLIB) #ifndef STBI_ONLY_JPEG #define STBI_NO_JPEG #endif #ifndef STBI_ONLY_PNG #define STBI_NO_PNG #endif #ifndef STBI_ONLY_BMP #define STBI_NO_BMP #endif #ifndef STBI_ONLY_PSD #define STBI_NO_PSD #endif #ifndef STBI_ONLY_TGA #define STBI_NO_TGA #endif #ifndef STBI_ONLY_GIF #define STBI_NO_GIF #endif #ifndef STBI_ONLY_HDR #define STBI_NO_HDR #endif #ifndef STBI_ONLY_PIC #define STBI_NO_PIC #endif #ifndef STBI_ONLY_PNM #define STBI_NO_PNM #endif #endif #if defined(STBI_NO_PNG) && !defined(STBI_SUPPORT_ZLIB) && !defined(STBI_NO_ZLIB) #define STBI_NO_ZLIB #endif #include <stdarg.h> #include <stddef.h> // ptrdiff_t on osx #include <stdlib.h> #include <string.h> #include <limits.h> #if !defined(STBI_NO_LINEAR) || !defined(STBI_NO_HDR) #include <math.h> // ldexp, pow #endif #ifndef STBI_NO_STDIO #include <stdio.h> #endif #ifndef STBI_ASSERT #include <assert.h> #define STBI_ASSERT(x) assert(x) #endif #ifndef _MSC_VER #ifdef __cplusplus #define stbi_inline inline #else #define stbi_inline #endif #else #define stbi_inline __forceinline #endif #ifdef _MSC_VER typedef unsigned short stbi__uint16; typedef signed short stbi__int16; typedef unsigned int stbi__uint32; typedef signed int stbi__int32; #else #include <stdint.h> typedef uint16_t stbi__uint16; typedef int16_t stbi__int16; typedef uint32_t stbi__uint32; typedef int32_t stbi__int32; #endif // should produce compiler error if size is wrong typedef unsigned char validate_uint32[sizeof(stbi__uint32)==4 ? 1 : -1]; #ifdef _MSC_VER #define STBI_NOTUSED(v) (void)(v) #else #define STBI_NOTUSED(v) (void)sizeof(v) #endif #ifdef _MSC_VER #define STBI_HAS_LROTL #endif #ifdef STBI_HAS_LROTL #define stbi_lrot(x,y) _lrotl(x,y) #else #define stbi_lrot(x,y) (((x) << (y)) | ((x) >> (32 - (y)))) #endif #if defined(STBI_MALLOC) && defined(STBI_FREE) && (defined(STBI_REALLOC) || defined(STBI_REALLOC_SIZED)) // ok #elif !defined(STBI_MALLOC) && !defined(STBI_FREE) && !defined(STBI_REALLOC) && !defined(STBI_REALLOC_SIZED) // ok #else #error "Must define all or none of STBI_MALLOC, STBI_FREE, and STBI_REALLOC (or STBI_REALLOC_SIZED)." #endif #ifndef STBI_MALLOC #define STBI_MALLOC(sz) malloc(sz) #define STBI_REALLOC(p,newsz) realloc(p,newsz) #define STBI_FREE(p) free(p) #endif #ifndef STBI_REALLOC_SIZED #define STBI_REALLOC_SIZED(p,oldsz,newsz) STBI_REALLOC(p,newsz) #endif // x86/x64 detection #if defined(__x86_64__) || defined(_M_X64) #define STBI__X64_TARGET #elif defined(__i386) || defined(_M_IX86) #define STBI__X86_TARGET #endif #if defined(__GNUC__) && defined(STBI__X86_TARGET) && !defined(__SSE2__) && !defined(STBI_NO_SIMD) // gcc doesn't support sse2 intrinsics unless you compile with -msse2, // which in turn means it gets to use SSE2 everywhere. This is unfortunate, // but previous attempts to provide the SSE2 functions with runtime // detection caused numerous issues. The way architecture extensions are // exposed in GCC/Clang is, sadly, not really suited for one-file libs. // New behavior: if compiled with -msse2, we use SSE2 without any // detection; if not, we don't use it at all. #define STBI_NO_SIMD #endif #if defined(__MINGW32__) && defined(STBI__X86_TARGET) && !defined(STBI_MINGW_ENABLE_SSE2) && !defined(STBI_NO_SIMD) // Note that __MINGW32__ doesn't actually mean 32-bit, so we have to avoid STBI__X64_TARGET // // 32-bit MinGW wants ESP to be 16-byte aligned, but this is not in the // Windows ABI and VC++ as well as Windows DLLs don't maintain that invariant. // As a result, enabling SSE2 on 32-bit MinGW is dangerous when not // simultaneously enabling "-mstackrealign". // // See https://github.com/nothings/stb/issues/81 for more information. // // So default to no SSE2 on 32-bit MinGW. If you've read this far and added // -mstackrealign to your build settings, feel free to #define STBI_MINGW_ENABLE_SSE2. #define STBI_NO_SIMD #endif #if !defined(STBI_NO_SIMD) && (defined(STBI__X86_TARGET) || defined(STBI__X64_TARGET)) #define STBI_SSE2 #include <emmintrin.h> #ifdef _MSC_VER #if _MSC_VER >= 1400 // not VC6 #include <intrin.h> // __cpuid static int stbi__cpuid3(void) { int info[4]; __cpuid(info,1); return info[3]; } #else static int stbi__cpuid3(void) { int res; __asm { mov eax,1 cpuid mov res,edx } return res; } #endif #define STBI_SIMD_ALIGN(type, name) __declspec(align(16)) type name static int stbi__sse2_available(void) { int info3 = stbi__cpuid3(); return ((info3 >> 26) & 1) != 0; } #else // assume GCC-style if not VC++ #define STBI_SIMD_ALIGN(type, name) type name __attribute__((aligned(16))) static int stbi__sse2_available(void) { // If we're even attempting to compile this on GCC/Clang, that means // -msse2 is on, which means the compiler is allowed to use SSE2 // instructions at will, and so are we. return 1; } #endif #endif // ARM NEON #if defined(STBI_NO_SIMD) && defined(STBI_NEON) #undef STBI_NEON #endif #ifdef STBI_NEON #include <arm_neon.h> // assume GCC or Clang on ARM targets #define STBI_SIMD_ALIGN(type, name) type name __attribute__((aligned(16))) #endif #ifndef STBI_SIMD_ALIGN #define STBI_SIMD_ALIGN(type, name) type name #endif /////////////////////////////////////////////// // // stbi__context struct and start_xxx functions // stbi__context structure is our basic context used by all images, so it // contains all the IO context, plus some basic image information typedef struct { stbi__uint32 img_x, img_y; int img_n, img_out_n; stbi_io_callbacks io; void *io_user_data; int read_from_callbacks; int buflen; stbi_uc buffer_start[128]; stbi_uc *img_buffer, *img_buffer_end; stbi_uc *img_buffer_original, *img_buffer_original_end; } stbi__context; static void stbi__refill_buffer(stbi__context *s); // initialize a memory-decode context static void stbi__start_mem(stbi__context *s, stbi_uc const *buffer, int len) { s->io.read = NULL; s->read_from_callbacks = 0; s->img_buffer = s->img_buffer_original = (stbi_uc *) buffer; s->img_buffer_end = s->img_buffer_original_end = (stbi_uc *) buffer+len; } // initialize a callback-based context static void stbi__start_callbacks(stbi__context *s, stbi_io_callbacks *c, void *user) { s->io = *c; s->io_user_data = user; s->buflen = sizeof(s->buffer_start); s->read_from_callbacks = 1; s->img_buffer_original = s->buffer_start; stbi__refill_buffer(s); s->img_buffer_original_end = s->img_buffer_end; } // this is not threadsafe static const char *stbi__g_failure_reason; STBIDEF const char *stbi_failure_reason(void) { return stbi__g_failure_reason; } static int stbi__err(const char *str) { stbi__g_failure_reason = str; return 0; } static void *stbi__malloc(size_t size) { return STBI_MALLOC(size); } #ifndef STBI_NO_STDIO static int stbi__stdio_read(void *user, char *data, int size) { return (int) fread(data,1,size,(FILE*) user); } static void stbi__stdio_skip(void *user, int n) { if (fseek((FILE*) user, n, SEEK_CUR) == -1) stbi__err("fseek() error"); } static int stbi__stdio_eof(void *user) { return feof((FILE*) user); } static stbi_io_callbacks stbi__stdio_callbacks = { stbi__stdio_read, stbi__stdio_skip, stbi__stdio_eof, }; static void stbi__start_file(stbi__context *s, FILE *f) { stbi__start_callbacks(s, &stbi__stdio_callbacks, (void *) f); } //static void stop_file(stbi__context *s) { } #endif // !STBI_NO_STDIO static void stbi__rewind(stbi__context *s) { // conceptually rewind SHOULD rewind to the beginning of the stream, // but we just rewind to the beginning of the initial buffer, because // we only use it after doing 'test', which only ever looks at at most 92 bytes s->img_buffer = s->img_buffer_original; s->img_buffer_end = s->img_buffer_original_end; } enum { STBI_ORDER_RGB, STBI_ORDER_BGR }; typedef struct { int bits_per_channel; int num_channels; int channel_order; } stbi__result_info; #ifndef STBI_NO_JPEG static int stbi__jpeg_test(stbi__context *s); static void *stbi__jpeg_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__jpeg_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_PNG static int stbi__png_test(stbi__context *s); static void *stbi__png_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__png_info(stbi__context *s, int *x, int *y, int *comp); static int stbi__png_is16(stbi__context *s); #endif #ifndef STBI_NO_BMP static int stbi__bmp_test(stbi__context *s); static void *stbi__bmp_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__bmp_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_TGA static int stbi__tga_test(stbi__context *s); static void *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__tga_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_PSD static int stbi__psd_test(stbi__context *s); static void *stbi__psd_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc); static int stbi__psd_info(stbi__context *s, int *x, int *y, int *comp); static int stbi__psd_is16(stbi__context *s); #endif #ifndef STBI_NO_HDR static int stbi__hdr_test(stbi__context *s); static float *stbi__hdr_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__hdr_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_PIC static int stbi__pic_test(stbi__context *s); static void *stbi__pic_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__pic_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_GIF static int stbi__gif_test(stbi__context *s); static void *stbi__gif_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static void *stbi__load_gif_main(stbi__context *s, int **delays, int *x, int *y, int *z, int *comp, int req_comp); static int stbi__gif_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_PNM static int stbi__pnm_test(stbi__context *s); static void *stbi__pnm_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__pnm_info(stbi__context *s, int *x, int *y, int *comp); #endif // stb_image uses ints pervasively, including for offset calculations. // therefore the largest decoded image size we can support with the // current code, even on 64-bit targets, is INT_MAX. this is not a // significant limitation for the intended use case. // // we do, however, need to make sure our size calculations don't // overflow. hence a few helper functions for size calculations that // multiply integers together, making sure that they're non-negative // and no overflow occurs. // return 1 if the sum is valid, 0 on overflow. // negative terms are considered invalid. static int stbi__addsizes_valid(int a, int b) { if (b < 0) return 0; // now 0 <= b <= INT_MAX, hence also // 0 <= INT_MAX - b <= INTMAX. // And "a + b <= INT_MAX" (which might overflow) is the // same as a <= INT_MAX - b (no overflow) return a <= INT_MAX - b; } // returns 1 if the product is valid, 0 on overflow. // negative factors are considered invalid. static int stbi__mul2sizes_valid(int a, int b) { if (a < 0 || b < 0) return 0; if (b == 0) return 1; // mul-by-0 is always safe // portable way to check for no overflows in a*b return a <= INT_MAX/b; } // returns 1 if "a*b + add" has no negative terms/factors and doesn't overflow static int stbi__mad2sizes_valid(int a, int b, int add) { return stbi__mul2sizes_valid(a, b) && stbi__addsizes_valid(a*b, add); } // returns 1 if "a*b*c + add" has no negative terms/factors and doesn't overflow static int stbi__mad3sizes_valid(int a, int b, int c, int add) { return stbi__mul2sizes_valid(a, b) && stbi__mul2sizes_valid(a*b, c) && stbi__addsizes_valid(a*b*c, add); } // returns 1 if "a*b*c*d + add" has no negative terms/factors and doesn't overflow #if !defined(STBI_NO_LINEAR) || !defined(STBI_NO_HDR) static int stbi__mad4sizes_valid(int a, int b, int c, int d, int add) { return stbi__mul2sizes_valid(a, b) && stbi__mul2sizes_valid(a*b, c) && stbi__mul2sizes_valid(a*b*c, d) && stbi__addsizes_valid(a*b*c*d, add); } #endif // mallocs with size overflow checking static void *stbi__malloc_mad2(int a, int b, int add) { if (!stbi__mad2sizes_valid(a, b, add)) return NULL; return stbi__malloc(a*b + add); } static void *stbi__malloc_mad3(int a, int b, int c, int add) { if (!stbi__mad3sizes_valid(a, b, c, add)) return NULL; return stbi__malloc(a*b*c + add); } #if !defined(STBI_NO_LINEAR) || !defined(STBI_NO_HDR) static void *stbi__malloc_mad4(int a, int b, int c, int d, int add) { if (!stbi__mad4sizes_valid(a, b, c, d, add)) return NULL; return stbi__malloc(a*b*c*d + add); } #endif // stbi__err - error // stbi__errpf - error returning pointer to float // stbi__errpuc - error returning pointer to unsigned char #ifdef STBI_NO_FAILURE_STRINGS #define stbi__err(x,y) 0 #elif defined(STBI_FAILURE_USERMSG) #define stbi__err(x,y) stbi__err(y) #else #define stbi__err(x,y) stbi__err(x) #endif #define stbi__errpf(x,y) ((float *)(size_t) (stbi__err(x,y)?NULL:NULL)) #define stbi__errpuc(x,y) ((unsigned char *)(size_t) (stbi__err(x,y)?NULL:NULL)) STBIDEF void stbi_image_free(void *retval_from_stbi_load) { STBI_FREE(retval_from_stbi_load); } #ifndef STBI_NO_LINEAR static float *stbi__ldr_to_hdr(stbi_uc *data, int x, int y, int comp); #endif #ifndef STBI_NO_HDR static stbi_uc *stbi__hdr_to_ldr(float *data, int x, int y, int comp); #endif static int stbi__vertically_flip_on_load = 0; STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) { stbi__vertically_flip_on_load = flag_true_if_should_flip; } static void *stbi__load_main(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int /*bpc*/) { memset(ri, 0, sizeof(*ri)); // make sure it's initialized if we add new fields ri->bits_per_channel = 8; // default is 8 so most paths don't have to be changed ri->channel_order = STBI_ORDER_RGB; // all current input & output are this, but this is here so we can add BGR order ri->num_channels = 0; #ifndef STBI_NO_JPEG if (stbi__jpeg_test(s)) return stbi__jpeg_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_PNG if (stbi__png_test(s)) return stbi__png_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_BMP if (stbi__bmp_test(s)) return stbi__bmp_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_GIF if (stbi__gif_test(s)) return stbi__gif_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_PSD if (stbi__psd_test(s)) return stbi__psd_load(s,x,y,comp,req_comp, ri, bpc); #endif #ifndef STBI_NO_PIC if (stbi__pic_test(s)) return stbi__pic_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_PNM if (stbi__pnm_test(s)) return stbi__pnm_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_HDR if (stbi__hdr_test(s)) { float *hdr = stbi__hdr_load(s, x,y,comp,req_comp, ri); return stbi__hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp); } #endif #ifndef STBI_NO_TGA // test tga last because it's a crappy test! if (stbi__tga_test(s)) return stbi__tga_load(s,x,y,comp,req_comp, ri); #endif return stbi__errpuc("unknown image type", "Image not of any known type, or corrupt"); } static stbi_uc *stbi__convert_16_to_8(stbi__uint16 *orig, int w, int h, int channels) { int i; int img_len = w * h * channels; stbi_uc *reduced; reduced = (stbi_uc *) stbi__malloc(img_len); if (reduced == NULL) return stbi__errpuc("outofmem", "Out of memory"); for (i = 0; i < img_len; ++i) reduced[i] = (stbi_uc)((orig[i] >> 8) & 0xFF); // top half of each byte is sufficient approx of 16->8 bit scaling STBI_FREE(orig); return reduced; } static stbi__uint16 *stbi__convert_8_to_16(stbi_uc *orig, int w, int h, int channels) { int i; int img_len = w * h * channels; stbi__uint16 *enlarged; enlarged = (stbi__uint16 *) stbi__malloc(img_len*2); if (enlarged == NULL) return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); for (i = 0; i < img_len; ++i) enlarged[i] = (stbi__uint16)((orig[i] << 8) + orig[i]); // replicate to high and low byte, maps 0->0, 255->0xffff STBI_FREE(orig); return enlarged; } static void stbi__vertical_flip(void *image, int w, int h, int bytes_per_pixel) { int row; size_t bytes_per_row = (size_t)w * bytes_per_pixel; stbi_uc temp[2048]; stbi_uc *bytes = (stbi_uc *)image; for (row = 0; row < (h>>1); row++) { stbi_uc *row0 = bytes + row*bytes_per_row; stbi_uc *row1 = bytes + (h - row - 1)*bytes_per_row; // swap row0 with row1 size_t bytes_left = bytes_per_row; while (bytes_left) { size_t bytes_copy = (bytes_left < sizeof(temp)) ? bytes_left : sizeof(temp); memcpy(temp, row0, bytes_copy); memcpy(row0, row1, bytes_copy); memcpy(row1, temp, bytes_copy); row0 += bytes_copy; row1 += bytes_copy; bytes_left -= bytes_copy; } } } #ifndef STBI_NO_GIF static void stbi__vertical_flip_slices(void *image, int w, int h, int z, int bytes_per_pixel) { int slice; int slice_size = w * h * bytes_per_pixel; stbi_uc *bytes = (stbi_uc *)image; for (slice = 0; slice < z; ++slice) { stbi__vertical_flip(bytes, w, h, bytes_per_pixel); bytes += slice_size; } } #endif static unsigned char *stbi__load_and_postprocess_8bit(stbi__context *s, int *x, int *y, int *comp, int req_comp) { stbi__result_info ri; void *result = stbi__load_main(s, x, y, comp, req_comp, &ri, 8); if (result == NULL) return NULL; if (ri.bits_per_channel != 8) { STBI_ASSERT(ri.bits_per_channel == 16); result = stbi__convert_16_to_8((stbi__uint16 *) result, *x, *y, req_comp == 0 ? *comp : req_comp); ri.bits_per_channel = 8; } // @TODO: move stbi__convert_format to here if (stbi__vertically_flip_on_load) { int channels = req_comp ? req_comp : *comp; stbi__vertical_flip(result, *x, *y, channels * sizeof(stbi_uc)); } return (unsigned char *) result; } static stbi__uint16 *stbi__load_and_postprocess_16bit(stbi__context *s, int *x, int *y, int *comp, int req_comp) { stbi__result_info ri; void *result = stbi__load_main(s, x, y, comp, req_comp, &ri, 16); if (result == NULL) return NULL; if (ri.bits_per_channel != 16) { STBI_ASSERT(ri.bits_per_channel == 8); result = stbi__convert_8_to_16((stbi_uc *) result, *x, *y, req_comp == 0 ? *comp : req_comp); ri.bits_per_channel = 16; } // @TODO: move stbi__convert_format16 to here // @TODO: special case RGB-to-Y (and RGBA-to-YA) for 8-bit-to-16-bit case to keep more precision if (stbi__vertically_flip_on_load) { int channels = req_comp ? req_comp : *comp; stbi__vertical_flip(result, *x, *y, channels * sizeof(stbi__uint16)); } return (stbi__uint16 *) result; } #if !defined(STBI_NO_HDR) || !defined(STBI_NO_LINEAR) static void stbi__float_postprocess(float *result, int *x, int *y, int *comp, int req_comp) { if (stbi__vertically_flip_on_load && result != NULL) { int channels = req_comp ? req_comp : *comp; stbi__vertical_flip(result, *x, *y, channels * sizeof(float)); } } #endif #ifndef STBI_NO_STDIO static FILE *stbi__fopen(char const *filename, char const *mode) { FILE *f; #if defined(_MSC_VER) DWORD cch = MultiByteToWideChar(CP_UTF8, 0, filename, -1, nullptr, 0); wchar_t *filenameU = new wchar_t[cch]; if(!filenameU) { return 0; } MultiByteToWideChar(CP_UTF8, 0, filename, -1, filenameU, cch); cch = MultiByteToWideChar(CP_UTF8, 0, mode, -1, nullptr, 0); wchar_t *modeU = new wchar_t[cch]; if(!modeU) { delete[] filenameU; return 0; } MultiByteToWideChar(CP_UTF8, 0, mode, -1, modeU, cch); #if _MSC_VER >= 1400 if(0 != _wfopen_s(&f, filenameU, modeU)) f = 0; delete[] filenameU; delete[] modeU; #else // _MSC_VER >= 1400 f = _wfopen(filenameU, modeU); delete[] filenameU; delete[] modeU; #endif // _MSC_VER >= 1400 #else // _MSC_VER f = fopen(filename, mode); #endif //_MSC_VER return f; } STBIDEF stbi_uc *stbi_load(char const *filename, int *x, int *y, int *comp, int req_comp) { FILE *f = stbi__fopen(filename, "rb"); unsigned char *result; if (!f) return stbi__errpuc("can't fopen", "Unable to open file"); result = stbi_load_from_file(f,x,y,comp,req_comp); fclose(f); return result; } STBIDEF stbi_uc *stbi_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) { unsigned char *result; stbi__context s; stbi__start_file(&s,f); result = stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp); if (result) { // need to 'unget' all the characters in the IO buffer if (fseek(f, - (int) (s.img_buffer_end - s.img_buffer), SEEK_CUR) == -1) { stbi_image_free(result); return stbi__errpuc("fseek() error", "File Seek Fail"); } } return result; } STBIDEF stbi__uint16 *stbi_load_from_file_16(FILE *f, int *x, int *y, int *comp, int req_comp) { stbi__uint16 *result; stbi__context s; stbi__start_file(&s,f); result = stbi__load_and_postprocess_16bit(&s,x,y,comp,req_comp); if (result) { // need to 'unget' all the characters in the IO buffer if (fseek(f, - (int) (s.img_buffer_end - s.img_buffer), SEEK_CUR) == -1) { stbi_image_free(result); return (stbi__uint16 *) stbi__errpuc("fseek() error", "File Seek Fail"); } } return result; } STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) { FILE *f = stbi__fopen(filename, "rb"); stbi__uint16 *result; if (!f) return (stbi_us *) stbi__errpuc("can't fopen", "Unable to open file"); result = stbi_load_from_file_16(f,x,y,comp,req_comp); fclose(f); return result; } #endif //!STBI_NO_STDIO STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) { stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__load_and_postprocess_16bit(&s,x,y,channels_in_file,desired_channels); } STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) { stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *)clbk, user); return stbi__load_and_postprocess_16bit(&s,x,y,channels_in_file,desired_channels); } STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) { stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp); } STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) { stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user); return stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp); } #ifndef STBI_NO_GIF STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) { unsigned char *result; stbi__context s; stbi__start_mem(&s,buffer,len); result = (unsigned char*) stbi__load_gif_main(&s, delays, x, y, z, comp, req_comp); if (stbi__vertically_flip_on_load) { stbi__vertical_flip_slices( result, *x, *y, *z, *comp ); } return result; } #endif #ifndef STBI_NO_LINEAR static float *stbi__loadf_main(stbi__context *s, int *x, int *y, int *comp, int req_comp) { unsigned char *data; #ifndef STBI_NO_HDR if (stbi__hdr_test(s)) { stbi__result_info ri; float *hdr_data = stbi__hdr_load(s,x,y,comp,req_comp, &ri); if (hdr_data) stbi__float_postprocess(hdr_data,x,y,comp,req_comp); return hdr_data; } #endif data = stbi__load_and_postprocess_8bit(s, x, y, comp, req_comp); if (data) return stbi__ldr_to_hdr(data, *x, *y, req_comp ? req_comp : *comp); return stbi__errpf("unknown image type", "Image not of any known type, or corrupt"); } STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) { stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__loadf_main(&s,x,y,comp,req_comp); } STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) { stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user); return stbi__loadf_main(&s,x,y,comp,req_comp); } #ifndef STBI_NO_STDIO STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) { float *result; FILE *f = stbi__fopen(filename, "rb"); if (!f) return stbi__errpf("can't fopen", "Unable to open file"); result = stbi_loadf_from_file(f,x,y,comp,req_comp); fclose(f); return result; } STBIDEF float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) { stbi__context s; stbi__start_file(&s,f); return stbi__loadf_main(&s,x,y,comp,req_comp); } #endif // !STBI_NO_STDIO #endif // !STBI_NO_LINEAR // these is-hdr-or-not is defined independent of whether STBI_NO_LINEAR is // defined, for API simplicity; if STBI_NO_LINEAR is defined, it always // reports false! STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) { #ifndef STBI_NO_HDR stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__hdr_test(&s); #else STBI_NOTUSED(buffer); STBI_NOTUSED(len); return 0; #endif } #ifndef STBI_NO_STDIO STBIDEF int stbi_is_hdr (char const *filename) { FILE *f = stbi__fopen(filename, "rb"); int result=0; if (f) { result = stbi_is_hdr_from_file(f); fclose(f); } return result; } STBIDEF int stbi_is_hdr_from_file(FILE *f) { #ifndef STBI_NO_HDR long pos = ftell(f); int res; stbi__context s; stbi__start_file(&s,f); res = stbi__hdr_test(&s); if (fseek(f, pos, SEEK_SET) == -1) return stbi__err("fseek() error", "File Seek Fail"); return res; #else STBI_NOTUSED(f); return 0; #endif } #endif // !STBI_NO_STDIO STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) { #ifndef STBI_NO_HDR stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user); return stbi__hdr_test(&s); #else STBI_NOTUSED(clbk); STBI_NOTUSED(user); return 0; #endif } #ifndef STBI_NO_LINEAR static float stbi__l2h_gamma=2.2f, stbi__l2h_scale=1.0f; STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } #endif static float stbi__h2l_gamma_i=1.0f/2.2f, stbi__h2l_scale_i=1.0f; STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } ////////////////////////////////////////////////////////////////////////////// // // Common code used by all image loaders // enum { STBI__SCAN_load=0, STBI__SCAN_type, STBI__SCAN_header }; static void stbi__refill_buffer(stbi__context *s) { int n = (s->io.read)(s->io_user_data,(char*)s->buffer_start,s->buflen); if (n == 0) { // at end of file, treat same as if from memory, but need to handle case // where s->img_buffer isn't pointing to safe memory, e.g. 0-byte file s->read_from_callbacks = 0; s->img_buffer = s->buffer_start; s->img_buffer_end = s->buffer_start+1; *s->img_buffer = 0; } else { s->img_buffer = s->buffer_start; s->img_buffer_end = s->buffer_start + n; } } stbi_inline static stbi_uc stbi__get8(stbi__context *s) { if (s->img_buffer < s->img_buffer_end) return *s->img_buffer++; if (s->read_from_callbacks) { stbi__refill_buffer(s); return *s->img_buffer++; } return 0; } stbi_inline static int stbi__at_eof(stbi__context *s) { if (s->io.read) { if (!(s->io.eof)(s->io_user_data)) return 0; // if feof() is true, check if buffer = end // special case: we've only got the special 0 character at the end if (s->read_from_callbacks == 0) return 1; } return s->img_buffer >= s->img_buffer_end; } static void stbi__skip(stbi__context *s, int n) { if (n < 0) { s->img_buffer = s->img_buffer_end; return; } if (s->io.read) { int blen = (int) (s->img_buffer_end - s->img_buffer); if (blen < n) { s->img_buffer = s->img_buffer_end; (s->io.skip)(s->io_user_data, n - blen); return; } } s->img_buffer += n; } static int stbi__getn(stbi__context *s, stbi_uc *buffer, int n) { if (s->io.read) { int blen = (int) (s->img_buffer_end - s->img_buffer); if (blen < n) { int res, count; memcpy(buffer, s->img_buffer, blen); count = (s->io.read)(s->io_user_data, (char*) buffer + blen, n - blen); res = (count == (n-blen)); s->img_buffer = s->img_buffer_end; return res; } } if (s->img_buffer+n <= s->img_buffer_end) { memcpy(buffer, s->img_buffer, n); s->img_buffer += n; return 1; } else return 0; } static int stbi__get16be(stbi__context *s) { int z = stbi__get8(s); return (z << 8) + stbi__get8(s); } static stbi__uint32 stbi__get32be(stbi__context *s) { stbi__uint32 z = stbi__get16be(s); return (z << 16) + stbi__get16be(s); } #if defined(STBI_NO_BMP) && defined(STBI_NO_TGA) && defined(STBI_NO_GIF) // nothing #else static int stbi__get16le(stbi__context *s) { int z = stbi__get8(s); return z + (stbi__get8(s) << 8); } #endif #ifndef STBI_NO_BMP static stbi__uint32 stbi__get32le(stbi__context *s) { stbi__uint32 z = stbi__get16le(s); return z + (stbi__get16le(s) << 16); } #endif #define STBI__BYTECAST(x) ((stbi_uc) ((x) & 255)) // truncate int to byte without warnings ////////////////////////////////////////////////////////////////////////////// // // generic converter from built-in img_n to req_comp // individual types do this automatically as much as possible (e.g. jpeg // does all cases internally since it needs to colorspace convert anyway, // and it never has alpha, so very few cases ). png can automatically // interleave an alpha=255 channel, but falls back to this for other cases // // assume data buffer is malloced, so malloc a new one and free that one // only failure mode is malloc failing static stbi_uc stbi__compute_y(int r, int g, int b) { return (stbi_uc) (((r*77) + (g*150) + (29*b)) >> 8); } static unsigned char *stbi__convert_format(unsigned char *data, int img_n, int req_comp, unsigned int x, unsigned int y) { int i,j; unsigned char *good; if (req_comp == img_n) return data; STBI_ASSERT(req_comp >= 1 && req_comp <= 4); good = (unsigned char *) stbi__malloc_mad3(req_comp, x, y, 0); if (good == NULL) { STBI_FREE(data); return stbi__errpuc("outofmem", "Out of memory"); } for (j=0; j < (int) y; ++j) { unsigned char *src = data + j * x * img_n ; unsigned char *dest = good + j * x * req_comp; #define STBI__COMBO(a,b) ((a)*8+(b)) #define STBI__CASE(a,b) case STBI__COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) // convert source image with img_n components to one with req_comp components; // avoid switch per pixel, so use switch per scanline and massive macros switch (STBI__COMBO(img_n, req_comp)) { STBI__CASE(1,2) { dest[0]=src[0], dest[1]=255; } break; STBI__CASE(1,3) { dest[0]=dest[1]=dest[2]=src[0]; } break; STBI__CASE(1,4) { dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; } break; STBI__CASE(2,1) { dest[0]=src[0]; } break; STBI__CASE(2,3) { dest[0]=dest[1]=dest[2]=src[0]; } break; STBI__CASE(2,4) { dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; } break; STBI__CASE(3,4) { dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; } break; STBI__CASE(3,1) { dest[0]=stbi__compute_y(src[0],src[1],src[2]); } break; STBI__CASE(3,2) { dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; } break; STBI__CASE(4,1) { dest[0]=stbi__compute_y(src[0],src[1],src[2]); } break; STBI__CASE(4,2) { dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; } break; STBI__CASE(4,3) { dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; } break; default: STBI_ASSERT(0); } #undef STBI__CASE } STBI_FREE(data); return good; } static stbi__uint16 stbi__compute_y_16(int r, int g, int b) { return (stbi__uint16) (((r*77) + (g*150) + (29*b)) >> 8); } static stbi__uint16 *stbi__convert_format16(stbi__uint16 *data, int img_n, int req_comp, unsigned int x, unsigned int y) { int i,j; stbi__uint16 *good; if (req_comp == img_n) return data; STBI_ASSERT(req_comp >= 1 && req_comp <= 4); good = (stbi__uint16 *) stbi__malloc(req_comp * x * y * 2); if (good == NULL) { STBI_FREE(data); return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); } for (j=0; j < (int) y; ++j) { stbi__uint16 *src = data + j * x * img_n ; stbi__uint16 *dest = good + j * x * req_comp; #define STBI__COMBO(a,b) ((a)*8+(b)) #define STBI__CASE(a,b) case STBI__COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) // convert source image with img_n components to one with req_comp components; // avoid switch per pixel, so use switch per scanline and massive macros switch (STBI__COMBO(img_n, req_comp)) { STBI__CASE(1,2) { dest[0]=src[0], dest[1]=0xffff; } break; STBI__CASE(1,3) { dest[0]=dest[1]=dest[2]=src[0]; } break; STBI__CASE(1,4) { dest[0]=dest[1]=dest[2]=src[0], dest[3]=0xffff; } break; STBI__CASE(2,1) { dest[0]=src[0]; } break; STBI__CASE(2,3) { dest[0]=dest[1]=dest[2]=src[0]; } break; STBI__CASE(2,4) { dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; } break; STBI__CASE(3,4) { dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=0xffff; } break; STBI__CASE(3,1) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]); } break; STBI__CASE(3,2) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]), dest[1] = 0xffff; } break; STBI__CASE(4,1) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]); } break; STBI__CASE(4,2) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]), dest[1] = src[3]; } break; STBI__CASE(4,3) { dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; } break; default: STBI_ASSERT(0); } #undef STBI__CASE } STBI_FREE(data); return good; } #ifndef STBI_NO_LINEAR static float *stbi__ldr_to_hdr(stbi_uc *data, int x, int y, int comp) { int i,k,n; float *output; if (!data) return NULL; output = (float *) stbi__malloc_mad4(x, y, comp, sizeof(float), 0); if (output == NULL) { STBI_FREE(data); return stbi__errpf("outofmem", "Out of memory"); } // compute number of non-alpha components if (comp & 1) n = comp; else n = comp-1; for (i=0; i < x*y; ++i) { for (k=0; k < n; ++k) { output[i*comp + k] = (float) (pow(data[i*comp+k]/255.0f, stbi__l2h_gamma) * stbi__l2h_scale); } if (k < comp) output[i*comp + k] = data[i*comp+k]/255.0f; } STBI_FREE(data); return output; } #endif #ifndef STBI_NO_HDR #define stbi__float2int(x) ((int) (x)) static stbi_uc *stbi__hdr_to_ldr(float *data, int x, int y, int comp) { int i,k,n; stbi_uc *output; if (!data) return NULL; output = (stbi_uc *) stbi__malloc_mad3(x, y, comp, 0); if (output == NULL) { STBI_FREE(data); return stbi__errpuc("outofmem", "Out of memory"); } // compute number of non-alpha components if (comp & 1) n = comp; else n = comp-1; for (i=0; i < x*y; ++i) { for (k=0; k < n; ++k) { float z = (float) pow(data[i*comp+k]*stbi__h2l_scale_i, stbi__h2l_gamma_i) * 255 + 0.5f; if (z < 0) z = 0; if (z > 255) z = 255; output[i*comp + k] = (stbi_uc) stbi__float2int(z); } if (k < comp) { float z = data[i*comp+k] * 255 + 0.5f; if (z < 0) z = 0; if (z > 255) z = 255; output[i*comp + k] = (stbi_uc) stbi__float2int(z); } } STBI_FREE(data); return output; } #endif ////////////////////////////////////////////////////////////////////////////// // // "baseline" JPEG/JFIF decoder // // simple implementation // - doesn't support delayed output of y-dimension // - simple interface (only one output format: 8-bit interleaved RGB) // - doesn't try to recover corrupt jpegs // - doesn't allow partial loading, loading multiple at once // - still fast on x86 (copying globals into locals doesn't help x86) // - allocates lots of intermediate memory (full size of all components) // - non-interleaved case requires this anyway // - allows good upsampling (see next) // high-quality // - upsampled channels are bilinearly interpolated, even across blocks // - quality integer IDCT derived from IJG's 'slow' // performance // - fast huffman; reasonable integer IDCT // - some SIMD kernels for common paths on targets with SSE2/NEON // - uses a lot of intermediate memory, could cache poorly #ifndef STBI_NO_JPEG // huffman decoding acceleration #define FAST_BITS 9 // larger handles more cases; smaller stomps less cache typedef struct { stbi_uc fast[1 << FAST_BITS]; // weirdly, repacking this into AoS is a 10% speed loss, instead of a win stbi__uint16 code[256]; stbi_uc values[256]; stbi_uc size[257]; unsigned int maxcode[18]; int delta[17]; // old 'firstsymbol' - old 'firstcode' } stbi__huffman; typedef struct { stbi__context *s; stbi__huffman huff_dc[4]; stbi__huffman huff_ac[4]; stbi__uint16 dequant[4][64]; stbi__int16 fast_ac[4][1 << FAST_BITS]; // sizes for components, interleaved MCUs int img_h_max, img_v_max; int img_mcu_x, img_mcu_y; int img_mcu_w, img_mcu_h; // definition of jpeg image component struct { int id; int h,v; int tq; int hd,ha; int dc_pred; int x,y,w2,h2; stbi_uc *data; void *raw_data, *raw_coeff; stbi_uc *linebuf; short *coeff; // progressive only int coeff_w, coeff_h; // number of 8x8 coefficient blocks } img_comp[4]; stbi__uint32 code_buffer; // jpeg entropy-coded buffer int code_bits; // number of valid bits unsigned char marker; // marker seen while filling entropy buffer int nomore; // flag if we saw a marker so must stop int progressive; int spec_start; int spec_end; int succ_high; int succ_low; int eob_run; int jfif; int app14_color_transform; // Adobe APP14 tag int rgb; int scan_n, order[4]; int restart_interval, todo; // kernels void (*idct_block_kernel)(stbi_uc *out, int out_stride, short data[64]); void (*YCbCr_to_RGB_kernel)(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_uc *pcr, int count, int step); stbi_uc *(*resample_row_hv_2_kernel)(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs); } stbi__jpeg; static int stbi__build_huffman(stbi__huffman *h, int *count) { int i,j,k=0; unsigned int code; // build size list for each symbol (from JPEG spec) for (i=0; i < 16; ++i) for (j=0; j < count[i]; ++j) h->size[k++] = (stbi_uc) (i+1); h->size[k] = 0; // compute actual symbols (from jpeg spec) code = 0; k = 0; for(j=1; j <= 16; ++j) { // compute delta to add to code to compute symbol id h->delta[j] = k - code; if (h->size[k] == j) { while (h->size[k] == j) h->code[k++] = (stbi__uint16) (code++); if (code-1 >= (1u << j)) return stbi__err("bad code lengths","Corrupt JPEG"); } // compute largest code + 1 for this size, preshifted as needed later h->maxcode[j] = code << (16-j); code <<= 1; } h->maxcode[j] = 0xffffffff; // build non-spec acceleration table; 255 is flag for not-accelerated memset(h->fast, 255, 1 << FAST_BITS); for (i=0; i < k; ++i) { int s = h->size[i]; if (s <= FAST_BITS) { int c = h->code[i] << (FAST_BITS-s); int m = 1 << (FAST_BITS-s); for (j=0; j < m; ++j) { h->fast[c+j] = (stbi_uc) i; } } } return 1; } // build a table that decodes both magnitude and value of small ACs in // one go. static void stbi__build_fast_ac(stbi__int16 *fast_ac, stbi__huffman *h) { int i; for (i=0; i < (1 << FAST_BITS); ++i) { stbi_uc fast = h->fast[i]; fast_ac[i] = 0; if (fast < 255) { int rs = h->values[fast]; int run = (rs >> 4) & 15; int magbits = rs & 15; int len = h->size[fast]; if (magbits && len + magbits <= FAST_BITS) { // magnitude code followed by receive_extend code int k = ((i << len) & ((1 << FAST_BITS) - 1)) >> (FAST_BITS - magbits); int m = 1 << (magbits - 1); if (k < m) k += (~0U << magbits) + 1; // if the result is small enough, we can fit it in fast_ac table if (k >= -128 && k <= 127) fast_ac[i] = (stbi__int16) ((k * 256) + (run * 16) + (len + magbits)); } } } } static void stbi__grow_buffer_unsafe(stbi__jpeg *j) { do { unsigned int b = j->nomore ? 0 : stbi__get8(j->s); if (b == 0xff) { int c = stbi__get8(j->s); while (c == 0xff) c = stbi__get8(j->s); // consume fill bytes if (c != 0) { j->marker = (unsigned char) c; j->nomore = 1; return; } } j->code_buffer |= b << (24 - j->code_bits); j->code_bits += 8; } while (j->code_bits <= 24); } // (1 << n) - 1 static const stbi__uint32 stbi__bmask[17]={0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535}; // decode a jpeg huffman value from the bitstream stbi_inline static int stbi__jpeg_huff_decode(stbi__jpeg *j, stbi__huffman *h) { unsigned int temp; int c,k; if (j->code_bits < 16) stbi__grow_buffer_unsafe(j); // look at the top FAST_BITS and determine what symbol ID it is, // if the code is <= FAST_BITS c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1); k = h->fast[c]; if (k < 255) { int s = h->size[k]; if (s > j->code_bits) return -1; j->code_buffer <<= s; j->code_bits -= s; return h->values[k]; } // naive test is to shift the code_buffer down so k bits are // valid, then test against maxcode. To speed this up, we've // preshifted maxcode left so that it has (16-k) 0s at the // end; in other words, regardless of the number of bits, it // wants to be compared against something shifted to have 16; // that way we don't need to shift inside the loop. temp = j->code_buffer >> 16; for (k=FAST_BITS+1 ; ; ++k) if (temp < h->maxcode[k]) break; if (k == 17) { // error! code not found j->code_bits -= 16; return -1; } if (k > j->code_bits) return -1; // convert the huffman code to the symbol id c = ((j->code_buffer >> (32 - k)) & stbi__bmask[k]) + h->delta[k]; STBI_ASSERT((((j->code_buffer) >> (32 - h->size[c])) & stbi__bmask[h->size[c]]) == h->code[c]); // convert the id to a symbol j->code_bits -= k; j->code_buffer <<= k; return h->values[c]; } // bias[n] = (-1<<n) + 1 static const int stbi__jbias[16] = {0,-1,-3,-7,-15,-31,-63,-127,-255,-511,-1023,-2047,-4095,-8191,-16383,-32767}; // combined JPEG 'receive' and JPEG 'extend', since baseline // always extends everything it receives. stbi_inline static int stbi__extend_receive(stbi__jpeg *j, int n) { unsigned int k; int sgn; if (j->code_bits < n) stbi__grow_buffer_unsafe(j); sgn = (stbi__int32)j->code_buffer >> 31; // sign bit is always in MSB k = stbi_lrot(j->code_buffer, n); STBI_ASSERT(n >= 0 && n < (int) (sizeof(stbi__bmask)/sizeof(*stbi__bmask))); j->code_buffer = k & ~stbi__bmask[n]; k &= stbi__bmask[n]; j->code_bits -= n; return k + (stbi__jbias[n] & ~sgn); } // get some unsigned bits stbi_inline static int stbi__jpeg_get_bits(stbi__jpeg *j, int n) { unsigned int k; if (j->code_bits < n) stbi__grow_buffer_unsafe(j); k = stbi_lrot(j->code_buffer, n); j->code_buffer = k & ~stbi__bmask[n]; k &= stbi__bmask[n]; j->code_bits -= n; return k; } stbi_inline static int stbi__jpeg_get_bit(stbi__jpeg *j) { unsigned int k; if (j->code_bits < 1) stbi__grow_buffer_unsafe(j); k = j->code_buffer; j->code_buffer <<= 1; --j->code_bits; return k & 0x80000000; } // given a value that's at position X in the zigzag stream, // where does it appear in the 8x8 matrix coded as row-major? static const stbi_uc stbi__jpeg_dezigzag[64+15] = { 0, 1, 8, 16, 9, 2, 3, 10, 17, 24, 32, 25, 18, 11, 4, 5, 12, 19, 26, 33, 40, 48, 41, 34, 27, 20, 13, 6, 7, 14, 21, 28, 35, 42, 49, 56, 57, 50, 43, 36, 29, 22, 15, 23, 30, 37, 44, 51, 58, 59, 52, 45, 38, 31, 39, 46, 53, 60, 61, 54, 47, 55, 62, 63, // let corrupt input sample past end 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63 }; // decode one 64-entry block-- static int stbi__jpeg_decode_block(stbi__jpeg *j, short data[64], stbi__huffman *hdc, stbi__huffman *hac, stbi__int16 *fac, int b, stbi__uint16 *dequant) { int diff,dc,k; int t; if (j->code_bits < 16) stbi__grow_buffer_unsafe(j); t = stbi__jpeg_huff_decode(j, hdc); if (t < 0) return stbi__err("bad huffman code","Corrupt JPEG"); // 0 all the ac values now so we can do it 32-bits at a time memset(data,0,64*sizeof(data[0])); diff = t ? stbi__extend_receive(j, t) : 0; dc = j->img_comp[b].dc_pred + diff; j->img_comp[b].dc_pred = dc; data[0] = (short) (dc * dequant[0]); // decode AC components, see JPEG spec k = 1; do { unsigned int zig; int c,r,s; if (j->code_bits < 16) stbi__grow_buffer_unsafe(j); c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1); r = fac[c]; if (r) { // fast-AC path k += (r >> 4) & 15; // run s = r & 15; // combined length j->code_buffer <<= s; j->code_bits -= s; // decode into unzigzag'd location zig = stbi__jpeg_dezigzag[k++]; data[zig] = (short) ((r >> 8) * dequant[zig]); } else { int rs = stbi__jpeg_huff_decode(j, hac); if (rs < 0) return stbi__err("bad huffman code","Corrupt JPEG"); s = rs & 15; r = rs >> 4; if (s == 0) { if (rs != 0xf0) break; // end block k += 16; } else { k += r; // decode into unzigzag'd location zig = stbi__jpeg_dezigzag[k++]; data[zig] = (short) (stbi__extend_receive(j,s) * dequant[zig]); } } } while (k < 64); return 1; } static int stbi__jpeg_decode_block_prog_dc(stbi__jpeg *j, short data[64], stbi__huffman *hdc, int b) { int diff,dc; int t; if (j->spec_end != 0) return stbi__err("can't merge dc and ac", "Corrupt JPEG"); if (j->code_bits < 16) stbi__grow_buffer_unsafe(j); if (j->succ_high == 0) { // first scan for DC coefficient, must be first memset(data,0,64*sizeof(data[0])); // 0 all the ac values now t = stbi__jpeg_huff_decode(j, hdc); diff = t ? stbi__extend_receive(j, t) : 0; dc = j->img_comp[b].dc_pred + diff; j->img_comp[b].dc_pred = dc; data[0] = (short) (dc << j->succ_low); } else { // refinement scan for DC coefficient if (stbi__jpeg_get_bit(j)) data[0] += (short) (1 << j->succ_low); } return 1; } // @OPTIMIZE: store non-zigzagged during the decode passes, // and only de-zigzag when dequantizing static int stbi__jpeg_decode_block_prog_ac(stbi__jpeg *j, short data[64], stbi__huffman *hac, stbi__int16 *fac) { int k; if (j->spec_start == 0) return stbi__err("can't merge dc and ac", "Corrupt JPEG"); if (j->succ_high == 0) { int shift = j->succ_low; if (j->eob_run) { --j->eob_run; return 1; } k = j->spec_start; do { unsigned int zig; int c,r,s; if (j->code_bits < 16) stbi__grow_buffer_unsafe(j); c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1); r = fac[c]; if (r) { // fast-AC path k += (r >> 4) & 15; // run s = r & 15; // combined length j->code_buffer <<= s; j->code_bits -= s; zig = stbi__jpeg_dezigzag[k++]; data[zig] = (short) ((r >> 8) << shift); } else { int rs = stbi__jpeg_huff_decode(j, hac); if (rs < 0) return stbi__err("bad huffman code","Corrupt JPEG"); s = rs & 15; r = rs >> 4; if (s == 0) { if (r < 15) { j->eob_run = (1 << r); if (r) j->eob_run += stbi__jpeg_get_bits(j, r); --j->eob_run; break; } k += 16; } else { k += r; zig = stbi__jpeg_dezigzag[k++]; data[zig] = (short) (stbi__extend_receive(j,s) << shift); } } } while (k <= j->spec_end); } else { // refinement scan for these AC coefficients short bit = (short) (1 << j->succ_low); if (j->eob_run) { --j->eob_run; for (k = j->spec_start; k <= j->spec_end; ++k) { short *p = &data[stbi__jpeg_dezigzag[k]]; if (*p != 0) if (stbi__jpeg_get_bit(j)) if ((*p & bit)==0) { if (*p > 0) *p += bit; else *p -= bit; } } } else { k = j->spec_start; do { int r,s; int rs = stbi__jpeg_huff_decode(j, hac); // @OPTIMIZE see if we can use the fast path here, advance-by-r is so slow, eh if (rs < 0) return stbi__err("bad huffman code","Corrupt JPEG"); s = rs & 15; r = rs >> 4; if (s == 0) { if (r < 15) { j->eob_run = (1 << r) - 1; if (r) j->eob_run += stbi__jpeg_get_bits(j, r); r = 64; // force end of block } else { // r=15 s=0 should write 16 0s, so we just do // a run of 15 0s and then write s (which is 0), // so we don't have to do anything special here } } else { if (s != 1) return stbi__err("bad huffman code", "Corrupt JPEG"); // sign bit if (stbi__jpeg_get_bit(j)) s = bit; else s = -bit; } // advance by r while (k <= j->spec_end) { short *p = &data[stbi__jpeg_dezigzag[k++]]; if (*p != 0) { if (stbi__jpeg_get_bit(j)) if ((*p & bit)==0) { if (*p > 0) *p += bit; else *p -= bit; } } else { if (r == 0) { *p = (short) s; break; } --r; } } } while (k <= j->spec_end); } } return 1; } // take a -128..127 value and stbi__clamp it and convert to 0..255 stbi_inline static stbi_uc stbi__clamp(int x) { // trick to use a single test to catch both cases if ((unsigned int) x > 255) { if (x < 0) return 0; if (x > 255) return 255; } return (stbi_uc) x; } #define stbi__f2f(x) ((int) (((x) * 4096 + 0.5))) #define stbi__fsh(x) ((x) * 4096) // derived from jidctint -- DCT_ISLOW #define STBI__IDCT_1D(s0,s1,s2,s3,s4,s5,s6,s7) \ int t0,t1,t2,t3,p1,p2,p3,p4,p5,x0,x1,x2,x3; \ p2 = s2; \ p3 = s6; \ p1 = (p2+p3) * stbi__f2f(0.5411961f); \ t2 = p1 + p3*stbi__f2f(-1.847759065f); \ t3 = p1 + p2*stbi__f2f( 0.765366865f); \ p2 = s0; \ p3 = s4; \ t0 = stbi__fsh(p2+p3); \ t1 = stbi__fsh(p2-p3); \ x0 = t0+t3; \ x3 = t0-t3; \ x1 = t1+t2; \ x2 = t1-t2; \ t0 = s7; \ t1 = s5; \ t2 = s3; \ t3 = s1; \ p3 = t0+t2; \ p4 = t1+t3; \ p1 = t0+t3; \ p2 = t1+t2; \ p5 = (p3+p4)*stbi__f2f( 1.175875602f); \ t0 = t0*stbi__f2f( 0.298631336f); \ t1 = t1*stbi__f2f( 2.053119869f); \ t2 = t2*stbi__f2f( 3.072711026f); \ t3 = t3*stbi__f2f( 1.501321110f); \ p1 = p5 + p1*stbi__f2f(-0.899976223f); \ p2 = p5 + p2*stbi__f2f(-2.562915447f); \ p3 = p3*stbi__f2f(-1.961570560f); \ p4 = p4*stbi__f2f(-0.390180644f); \ t3 += p1+p4; \ t2 += p2+p3; \ t1 += p2+p4; \ t0 += p1+p3; static void stbi__idct_block(stbi_uc *out, int out_stride, short data[64]) { int i,val[64],*v=val; stbi_uc *o; short *d = data; // columns for (i=0; i < 8; ++i,++d, ++v) { // if all zeroes, shortcut -- this avoids dequantizing 0s and IDCTing if (d[ 8]==0 && d[16]==0 && d[24]==0 && d[32]==0 && d[40]==0 && d[48]==0 && d[56]==0) { // no shortcut 0 seconds // (1|2|3|4|5|6|7)==0 0 seconds // all separate -0.047 seconds // 1 && 2|3 && 4|5 && 6|7: -0.047 seconds int dcterm = d[0]*4; v[0] = v[8] = v[16] = v[24] = v[32] = v[40] = v[48] = v[56] = dcterm; } else { STBI__IDCT_1D(d[ 0],d[ 8],d[16],d[24],d[32],d[40],d[48],d[56]) // constants scaled things up by 1<<12; let's bring them back // down, but keep 2 extra bits of precision x0 += 512; x1 += 512; x2 += 512; x3 += 512; v[ 0] = (x0+t3) >> 10; v[56] = (x0-t3) >> 10; v[ 8] = (x1+t2) >> 10; v[48] = (x1-t2) >> 10; v[16] = (x2+t1) >> 10; v[40] = (x2-t1) >> 10; v[24] = (x3+t0) >> 10; v[32] = (x3-t0) >> 10; } } for (i=0, v=val, o=out; i < 8; ++i,v+=8,o+=out_stride) { // no fast case since the first 1D IDCT spread components out STBI__IDCT_1D(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7]) // constants scaled things up by 1<<12, plus we had 1<<2 from first // loop, plus horizontal and vertical each scale by sqrt(8) so together // we've got an extra 1<<3, so 1<<17 total we need to remove. // so we want to round that, which means adding 0.5 * 1<<17, // aka 65536. Also, we'll end up with -128 to 127 that we want // to encode as 0..255 by adding 128, so we'll add that before the shift x0 += 65536 + (128<<17); x1 += 65536 + (128<<17); x2 += 65536 + (128<<17); x3 += 65536 + (128<<17); // tried computing the shifts into temps, or'ing the temps to see // if any were out of range, but that was slower o[0] = stbi__clamp((x0+t3) >> 17); o[7] = stbi__clamp((x0-t3) >> 17); o[1] = stbi__clamp((x1+t2) >> 17); o[6] = stbi__clamp((x1-t2) >> 17); o[2] = stbi__clamp((x2+t1) >> 17); o[5] = stbi__clamp((x2-t1) >> 17); o[3] = stbi__clamp((x3+t0) >> 17); o[4] = stbi__clamp((x3-t0) >> 17); } } #ifdef STBI_SSE2 // sse2 integer IDCT. not the fastest possible implementation but it // produces bit-identical results to the generic C version so it's // fully "transparent". static void stbi__idct_simd(stbi_uc *out, int out_stride, short data[64]) { // This is constructed to match our regular (generic) integer IDCT exactly. __m128i row0, row1, row2, row3, row4, row5, row6, row7; __m128i tmp; // dot product constant: even elems=x, odd elems=y #define dct_const(x,y) _mm_setr_epi16((x),(y),(x),(y),(x),(y),(x),(y)) // out(0) = c0[even]*x + c0[odd]*y (c0, x, y 16-bit, out 32-bit) // out(1) = c1[even]*x + c1[odd]*y #define dct_rot(out0,out1, x,y,c0,c1) \ __m128i c0##lo = _mm_unpacklo_epi16((x),(y)); \ __m128i c0##hi = _mm_unpackhi_epi16((x),(y)); \ __m128i out0##_l = _mm_madd_epi16(c0##lo, c0); \ __m128i out0##_h = _mm_madd_epi16(c0##hi, c0); \ __m128i out1##_l = _mm_madd_epi16(c0##lo, c1); \ __m128i out1##_h = _mm_madd_epi16(c0##hi, c1) // out = in << 12 (in 16-bit, out 32-bit) #define dct_widen(out, in) \ __m128i out##_l = _mm_srai_epi32(_mm_unpacklo_epi16(_mm_setzero_si128(), (in)), 4); \ __m128i out##_h = _mm_srai_epi32(_mm_unpackhi_epi16(_mm_setzero_si128(), (in)), 4) // wide add #define dct_wadd(out, a, b) \ __m128i out##_l = _mm_add_epi32(a##_l, b##_l); \ __m128i out##_h = _mm_add_epi32(a##_h, b##_h) // wide sub #define dct_wsub(out, a, b) \ __m128i out##_l = _mm_sub_epi32(a##_l, b##_l); \ __m128i out##_h = _mm_sub_epi32(a##_h, b##_h) // butterfly a/b, add bias, then shift by "s" and pack #define dct_bfly32o(out0, out1, a,b,bias,s) \ { \ __m128i abiased_l = _mm_add_epi32(a##_l, bias); \ __m128i abiased_h = _mm_add_epi32(a##_h, bias); \ dct_wadd(sum, abiased, b); \ dct_wsub(dif, abiased, b); \ out0 = _mm_packs_epi32(_mm_srai_epi32(sum_l, s), _mm_srai_epi32(sum_h, s)); \ out1 = _mm_packs_epi32(_mm_srai_epi32(dif_l, s), _mm_srai_epi32(dif_h, s)); \ } // 8-bit interleave step (for transposes) #define dct_interleave8(a, b) \ tmp = a; \ a = _mm_unpacklo_epi8(a, b); \ b = _mm_unpackhi_epi8(tmp, b) // 16-bit interleave step (for transposes) #define dct_interleave16(a, b) \ tmp = a; \ a = _mm_unpacklo_epi16(a, b); \ b = _mm_unpackhi_epi16(tmp, b) #define dct_pass(bias,shift) \ { \ /* even part */ \ dct_rot(t2e,t3e, row2,row6, rot0_0,rot0_1); \ __m128i sum04 = _mm_add_epi16(row0, row4); \ __m128i dif04 = _mm_sub_epi16(row0, row4); \ dct_widen(t0e, sum04); \ dct_widen(t1e, dif04); \ dct_wadd(x0, t0e, t3e); \ dct_wsub(x3, t0e, t3e); \ dct_wadd(x1, t1e, t2e); \ dct_wsub(x2, t1e, t2e); \ /* odd part */ \ dct_rot(y0o,y2o, row7,row3, rot2_0,rot2_1); \ dct_rot(y1o,y3o, row5,row1, rot3_0,rot3_1); \ __m128i sum17 = _mm_add_epi16(row1, row7); \ __m128i sum35 = _mm_add_epi16(row3, row5); \ dct_rot(y4o,y5o, sum17,sum35, rot1_0,rot1_1); \ dct_wadd(x4, y0o, y4o); \ dct_wadd(x5, y1o, y5o); \ dct_wadd(x6, y2o, y5o); \ dct_wadd(x7, y3o, y4o); \ dct_bfly32o(row0,row7, x0,x7,bias,shift); \ dct_bfly32o(row1,row6, x1,x6,bias,shift); \ dct_bfly32o(row2,row5, x2,x5,bias,shift); \ dct_bfly32o(row3,row4, x3,x4,bias,shift); \ } __m128i rot0_0 = dct_const(stbi__f2f(0.5411961f), stbi__f2f(0.5411961f) + stbi__f2f(-1.847759065f)); __m128i rot0_1 = dct_const(stbi__f2f(0.5411961f) + stbi__f2f( 0.765366865f), stbi__f2f(0.5411961f)); __m128i rot1_0 = dct_const(stbi__f2f(1.175875602f) + stbi__f2f(-0.899976223f), stbi__f2f(1.175875602f)); __m128i rot1_1 = dct_const(stbi__f2f(1.175875602f), stbi__f2f(1.175875602f) + stbi__f2f(-2.562915447f)); __m128i rot2_0 = dct_const(stbi__f2f(-1.961570560f) + stbi__f2f( 0.298631336f), stbi__f2f(-1.961570560f)); __m128i rot2_1 = dct_const(stbi__f2f(-1.961570560f), stbi__f2f(-1.961570560f) + stbi__f2f( 3.072711026f)); __m128i rot3_0 = dct_const(stbi__f2f(-0.390180644f) + stbi__f2f( 2.053119869f), stbi__f2f(-0.390180644f)); __m128i rot3_1 = dct_const(stbi__f2f(-0.390180644f), stbi__f2f(-0.390180644f) + stbi__f2f( 1.501321110f)); // rounding biases in column/row passes, see stbi__idct_block for explanation. __m128i bias_0 = _mm_set1_epi32(512); __m128i bias_1 = _mm_set1_epi32(65536 + (128<<17)); // load row0 = _mm_load_si128((const __m128i *) (data + 0*8)); row1 = _mm_load_si128((const __m128i *) (data + 1*8)); row2 = _mm_load_si128((const __m128i *) (data + 2*8)); row3 = _mm_load_si128((const __m128i *) (data + 3*8)); row4 = _mm_load_si128((const __m128i *) (data + 4*8)); row5 = _mm_load_si128((const __m128i *) (data + 5*8)); row6 = _mm_load_si128((const __m128i *) (data + 6*8)); row7 = _mm_load_si128((const __m128i *) (data + 7*8)); // column pass dct_pass(bias_0, 10); { // 16bit 8x8 transpose pass 1 dct_interleave16(row0, row4); dct_interleave16(row1, row5); dct_interleave16(row2, row6); dct_interleave16(row3, row7); // transpose pass 2 dct_interleave16(row0, row2); dct_interleave16(row1, row3); dct_interleave16(row4, row6); dct_interleave16(row5, row7); // transpose pass 3 dct_interleave16(row0, row1); dct_interleave16(row2, row3); dct_interleave16(row4, row5); dct_interleave16(row6, row7); } // row pass dct_pass(bias_1, 17); { // pack __m128i p0 = _mm_packus_epi16(row0, row1); // a0a1a2a3...a7b0b1b2b3...b7 __m128i p1 = _mm_packus_epi16(row2, row3); __m128i p2 = _mm_packus_epi16(row4, row5); __m128i p3 = _mm_packus_epi16(row6, row7); // 8bit 8x8 transpose pass 1 dct_interleave8(p0, p2); // a0e0a1e1... dct_interleave8(p1, p3); // c0g0c1g1... // transpose pass 2 dct_interleave8(p0, p1); // a0c0e0g0... dct_interleave8(p2, p3); // b0d0f0h0... // transpose pass 3 dct_interleave8(p0, p2); // a0b0c0d0... dct_interleave8(p1, p3); // a4b4c4d4... // store _mm_storel_epi64((__m128i *) out, p0); out += out_stride; _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p0, 0x4e)); out += out_stride; _mm_storel_epi64((__m128i *) out, p2); out += out_stride; _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p2, 0x4e)); out += out_stride; _mm_storel_epi64((__m128i *) out, p1); out += out_stride; _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p1, 0x4e)); out += out_stride; _mm_storel_epi64((__m128i *) out, p3); out += out_stride; _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p3, 0x4e)); } #undef dct_const #undef dct_rot #undef dct_widen #undef dct_wadd #undef dct_wsub #undef dct_bfly32o #undef dct_interleave8 #undef dct_interleave16 #undef dct_pass } #endif // STBI_SSE2 #ifdef STBI_NEON // NEON integer IDCT. should produce bit-identical // results to the generic C version. static void stbi__idct_simd(stbi_uc *out, int out_stride, short data[64]) { int16x8_t row0, row1, row2, row3, row4, row5, row6, row7; int16x4_t rot0_0 = vdup_n_s16(stbi__f2f(0.5411961f)); int16x4_t rot0_1 = vdup_n_s16(stbi__f2f(-1.847759065f)); int16x4_t rot0_2 = vdup_n_s16(stbi__f2f( 0.765366865f)); int16x4_t rot1_0 = vdup_n_s16(stbi__f2f( 1.175875602f)); int16x4_t rot1_1 = vdup_n_s16(stbi__f2f(-0.899976223f)); int16x4_t rot1_2 = vdup_n_s16(stbi__f2f(-2.562915447f)); int16x4_t rot2_0 = vdup_n_s16(stbi__f2f(-1.961570560f)); int16x4_t rot2_1 = vdup_n_s16(stbi__f2f(-0.390180644f)); int16x4_t rot3_0 = vdup_n_s16(stbi__f2f( 0.298631336f)); int16x4_t rot3_1 = vdup_n_s16(stbi__f2f( 2.053119869f)); int16x4_t rot3_2 = vdup_n_s16(stbi__f2f( 3.072711026f)); int16x4_t rot3_3 = vdup_n_s16(stbi__f2f( 1.501321110f)); #define dct_long_mul(out, inq, coeff) \ int32x4_t out##_l = vmull_s16(vget_low_s16(inq), coeff); \ int32x4_t out##_h = vmull_s16(vget_high_s16(inq), coeff) #define dct_long_mac(out, acc, inq, coeff) \ int32x4_t out##_l = vmlal_s16(acc##_l, vget_low_s16(inq), coeff); \ int32x4_t out##_h = vmlal_s16(acc##_h, vget_high_s16(inq), coeff) #define dct_widen(out, inq) \ int32x4_t out##_l = vshll_n_s16(vget_low_s16(inq), 12); \ int32x4_t out##_h = vshll_n_s16(vget_high_s16(inq), 12) // wide add #define dct_wadd(out, a, b) \ int32x4_t out##_l = vaddq_s32(a##_l, b##_l); \ int32x4_t out##_h = vaddq_s32(a##_h, b##_h) // wide sub #define dct_wsub(out, a, b) \ int32x4_t out##_l = vsubq_s32(a##_l, b##_l); \ int32x4_t out##_h = vsubq_s32(a##_h, b##_h) // butterfly a/b, then shift using "shiftop" by "s" and pack #define dct_bfly32o(out0,out1, a,b,shiftop,s) \ { \ dct_wadd(sum, a, b); \ dct_wsub(dif, a, b); \ out0 = vcombine_s16(shiftop(sum_l, s), shiftop(sum_h, s)); \ out1 = vcombine_s16(shiftop(dif_l, s), shiftop(dif_h, s)); \ } #define dct_pass(shiftop, shift) \ { \ /* even part */ \ int16x8_t sum26 = vaddq_s16(row2, row6); \ dct_long_mul(p1e, sum26, rot0_0); \ dct_long_mac(t2e, p1e, row6, rot0_1); \ dct_long_mac(t3e, p1e, row2, rot0_2); \ int16x8_t sum04 = vaddq_s16(row0, row4); \ int16x8_t dif04 = vsubq_s16(row0, row4); \ dct_widen(t0e, sum04); \ dct_widen(t1e, dif04); \ dct_wadd(x0, t0e, t3e); \ dct_wsub(x3, t0e, t3e); \ dct_wadd(x1, t1e, t2e); \ dct_wsub(x2, t1e, t2e); \ /* odd part */ \ int16x8_t sum15 = vaddq_s16(row1, row5); \ int16x8_t sum17 = vaddq_s16(row1, row7); \ int16x8_t sum35 = vaddq_s16(row3, row5); \ int16x8_t sum37 = vaddq_s16(row3, row7); \ int16x8_t sumodd = vaddq_s16(sum17, sum35); \ dct_long_mul(p5o, sumodd, rot1_0); \ dct_long_mac(p1o, p5o, sum17, rot1_1); \ dct_long_mac(p2o, p5o, sum35, rot1_2); \ dct_long_mul(p3o, sum37, rot2_0); \ dct_long_mul(p4o, sum15, rot2_1); \ dct_wadd(sump13o, p1o, p3o); \ dct_wadd(sump24o, p2o, p4o); \ dct_wadd(sump23o, p2o, p3o); \ dct_wadd(sump14o, p1o, p4o); \ dct_long_mac(x4, sump13o, row7, rot3_0); \ dct_long_mac(x5, sump24o, row5, rot3_1); \ dct_long_mac(x6, sump23o, row3, rot3_2); \ dct_long_mac(x7, sump14o, row1, rot3_3); \ dct_bfly32o(row0,row7, x0,x7,shiftop,shift); \ dct_bfly32o(row1,row6, x1,x6,shiftop,shift); \ dct_bfly32o(row2,row5, x2,x5,shiftop,shift); \ dct_bfly32o(row3,row4, x3,x4,shiftop,shift); \ } // load row0 = vld1q_s16(data + 0*8); row1 = vld1q_s16(data + 1*8); row2 = vld1q_s16(data + 2*8); row3 = vld1q_s16(data + 3*8); row4 = vld1q_s16(data + 4*8); row5 = vld1q_s16(data + 5*8); row6 = vld1q_s16(data + 6*8); row7 = vld1q_s16(data + 7*8); // add DC bias row0 = vaddq_s16(row0, vsetq_lane_s16(1024, vdupq_n_s16(0), 0)); // column pass dct_pass(vrshrn_n_s32, 10); // 16bit 8x8 transpose { // these three map to a single VTRN.16, VTRN.32, and VSWP, respectively. // whether compilers actually get this is another story, sadly. #define dct_trn16(x, y) { int16x8x2_t t = vtrnq_s16(x, y); x = t.val[0]; y = t.val[1]; } #define dct_trn32(x, y) { int32x4x2_t t = vtrnq_s32(vreinterpretq_s32_s16(x), vreinterpretq_s32_s16(y)); x = vreinterpretq_s16_s32(t.val[0]); y = vreinterpretq_s16_s32(t.val[1]); } #define dct_trn64(x, y) { int16x8_t x0 = x; int16x8_t y0 = y; x = vcombine_s16(vget_low_s16(x0), vget_low_s16(y0)); y = vcombine_s16(vget_high_s16(x0), vget_high_s16(y0)); } // pass 1 dct_trn16(row0, row1); // a0b0a2b2a4b4a6b6 dct_trn16(row2, row3); dct_trn16(row4, row5); dct_trn16(row6, row7); // pass 2 dct_trn32(row0, row2); // a0b0c0d0a4b4c4d4 dct_trn32(row1, row3); dct_trn32(row4, row6); dct_trn32(row5, row7); // pass 3 dct_trn64(row0, row4); // a0b0c0d0e0f0g0h0 dct_trn64(row1, row5); dct_trn64(row2, row6); dct_trn64(row3, row7); #undef dct_trn16 #undef dct_trn32 #undef dct_trn64 } // row pass // vrshrn_n_s32 only supports shifts up to 16, we need // 17. so do a non-rounding shift of 16 first then follow // up with a rounding shift by 1. dct_pass(vshrn_n_s32, 16); { // pack and round uint8x8_t p0 = vqrshrun_n_s16(row0, 1); uint8x8_t p1 = vqrshrun_n_s16(row1, 1); uint8x8_t p2 = vqrshrun_n_s16(row2, 1); uint8x8_t p3 = vqrshrun_n_s16(row3, 1); uint8x8_t p4 = vqrshrun_n_s16(row4, 1); uint8x8_t p5 = vqrshrun_n_s16(row5, 1); uint8x8_t p6 = vqrshrun_n_s16(row6, 1); uint8x8_t p7 = vqrshrun_n_s16(row7, 1); // again, these can translate into one instruction, but often don't. #define dct_trn8_8(x, y) { uint8x8x2_t t = vtrn_u8(x, y); x = t.val[0]; y = t.val[1]; } #define dct_trn8_16(x, y) { uint16x4x2_t t = vtrn_u16(vreinterpret_u16_u8(x), vreinterpret_u16_u8(y)); x = vreinterpret_u8_u16(t.val[0]); y = vreinterpret_u8_u16(t.val[1]); } #define dct_trn8_32(x, y) { uint32x2x2_t t = vtrn_u32(vreinterpret_u32_u8(x), vreinterpret_u32_u8(y)); x = vreinterpret_u8_u32(t.val[0]); y = vreinterpret_u8_u32(t.val[1]); } // sadly can't use interleaved stores here since we only write // 8 bytes to each scan line! // 8x8 8-bit transpose pass 1 dct_trn8_8(p0, p1); dct_trn8_8(p2, p3); dct_trn8_8(p4, p5); dct_trn8_8(p6, p7); // pass 2 dct_trn8_16(p0, p2); dct_trn8_16(p1, p3); dct_trn8_16(p4, p6); dct_trn8_16(p5, p7); // pass 3 dct_trn8_32(p0, p4); dct_trn8_32(p1, p5); dct_trn8_32(p2, p6); dct_trn8_32(p3, p7); // store vst1_u8(out, p0); out += out_stride; vst1_u8(out, p1); out += out_stride; vst1_u8(out, p2); out += out_stride; vst1_u8(out, p3); out += out_stride; vst1_u8(out, p4); out += out_stride; vst1_u8(out, p5); out += out_stride; vst1_u8(out, p6); out += out_stride; vst1_u8(out, p7); #undef dct_trn8_8 #undef dct_trn8_16 #undef dct_trn8_32 } #undef dct_long_mul #undef dct_long_mac #undef dct_widen #undef dct_wadd #undef dct_wsub #undef dct_bfly32o #undef dct_pass } #endif // STBI_NEON #define STBI__MARKER_none 0xff // if there's a pending marker from the entropy stream, return that // otherwise, fetch from the stream and get a marker. if there's no // marker, return 0xff, which is never a valid marker value static stbi_uc stbi__get_marker(stbi__jpeg *j) { stbi_uc x; if (j->marker != STBI__MARKER_none) { x = j->marker; j->marker = STBI__MARKER_none; return x; } x = stbi__get8(j->s); if (x != 0xff) return STBI__MARKER_none; while (x == 0xff) x = stbi__get8(j->s); // consume repeated 0xff fill bytes return x; } // in each scan, we'll have scan_n components, and the order // of the components is specified by order[] #define STBI__RESTART(x) ((x) >= 0xd0 && (x) <= 0xd7) // after a restart interval, stbi__jpeg_reset the entropy decoder and // the dc prediction static void stbi__jpeg_reset(stbi__jpeg *j) { j->code_bits = 0; j->code_buffer = 0; j->nomore = 0; j->img_comp[0].dc_pred = j->img_comp[1].dc_pred = j->img_comp[2].dc_pred = j->img_comp[3].dc_pred = 0; j->marker = STBI__MARKER_none; j->todo = j->restart_interval ? j->restart_interval : 0x7fffffff; j->eob_run = 0; // no more than 1<<31 MCUs if no restart_interal? that's plenty safe, // since we don't even allow 1<<30 pixels } static int stbi__parse_entropy_coded_data(stbi__jpeg *z) { stbi__jpeg_reset(z); if (!z->progressive) { if (z->scan_n == 1) { int i,j; STBI_SIMD_ALIGN(short, data[64]); int n = z->order[0]; // non-interleaved data, we just need to process one block at a time, // in trivial scanline order // number of blocks to do just depends on how many actual "pixels" this // component has, independent of interleaved MCU blocking and such int w = (z->img_comp[n].x+7) >> 3; int h = (z->img_comp[n].y+7) >> 3; for (j=0; j < h; ++j) { for (i=0; i < w; ++i) { int ha = z->img_comp[n].ha; if (!stbi__jpeg_decode_block(z, data, z->huff_dc+z->img_comp[n].hd, z->huff_ac+ha, z->fast_ac[ha], n, z->dequant[z->img_comp[n].tq])) return 0; z->idct_block_kernel(z->img_comp[n].data+z->img_comp[n].w2*j*8+i*8, z->img_comp[n].w2, data); // every data block is an MCU, so countdown the restart interval if (--z->todo <= 0) { if (z->code_bits < 24) stbi__grow_buffer_unsafe(z); // if it's NOT a restart, then just bail, so we get corrupt data // rather than no data if (!STBI__RESTART(z->marker)) return 1; stbi__jpeg_reset(z); } } } return 1; } else { // interleaved int i,j,k,x,y; STBI_SIMD_ALIGN(short, data[64]); for (j=0; j < z->img_mcu_y; ++j) { for (i=0; i < z->img_mcu_x; ++i) { // scan an interleaved mcu... process scan_n components in order for (k=0; k < z->scan_n; ++k) { int n = z->order[k]; // scan out an mcu's worth of this component; that's just determined // by the basic H and V specified for the component for (y=0; y < z->img_comp[n].v; ++y) { for (x=0; x < z->img_comp[n].h; ++x) { int x2 = (i*z->img_comp[n].h + x)*8; int y2 = (j*z->img_comp[n].v + y)*8; int ha = z->img_comp[n].ha; if (!stbi__jpeg_decode_block(z, data, z->huff_dc+z->img_comp[n].hd, z->huff_ac+ha, z->fast_ac[ha], n, z->dequant[z->img_comp[n].tq])) return 0; z->idct_block_kernel(z->img_comp[n].data+z->img_comp[n].w2*y2+x2, z->img_comp[n].w2, data); } } } // after all interleaved components, that's an interleaved MCU, // so now count down the restart interval if (--z->todo <= 0) { if (z->code_bits < 24) stbi__grow_buffer_unsafe(z); if (!STBI__RESTART(z->marker)) return 1; stbi__jpeg_reset(z); } } } return 1; } } else { if (z->scan_n == 1) { int i,j; int n = z->order[0]; // non-interleaved data, we just need to process one block at a time, // in trivial scanline order // number of blocks to do just depends on how many actual "pixels" this // component has, independent of interleaved MCU blocking and such int w = (z->img_comp[n].x+7) >> 3; int h = (z->img_comp[n].y+7) >> 3; for (j=0; j < h; ++j) { for (i=0; i < w; ++i) { short *data = z->img_comp[n].coeff + 64 * (i + j * z->img_comp[n].coeff_w); if (z->spec_start == 0) { if (!stbi__jpeg_decode_block_prog_dc(z, data, &z->huff_dc[z->img_comp[n].hd], n)) return 0; } else { int ha = z->img_comp[n].ha; if (!stbi__jpeg_decode_block_prog_ac(z, data, &z->huff_ac[ha], z->fast_ac[ha])) return 0; } // every data block is an MCU, so countdown the restart interval if (--z->todo <= 0) { if (z->code_bits < 24) stbi__grow_buffer_unsafe(z); if (!STBI__RESTART(z->marker)) return 1; stbi__jpeg_reset(z); } } } return 1; } else { // interleaved int i,j,k,x,y; for (j=0; j < z->img_mcu_y; ++j) { for (i=0; i < z->img_mcu_x; ++i) { // scan an interleaved mcu... process scan_n components in order for (k=0; k < z->scan_n; ++k) { int n = z->order[k]; // scan out an mcu's worth of this component; that's just determined // by the basic H and V specified for the component for (y=0; y < z->img_comp[n].v; ++y) { for (x=0; x < z->img_comp[n].h; ++x) { int x2 = (i*z->img_comp[n].h + x); int y2 = (j*z->img_comp[n].v + y); short *data = z->img_comp[n].coeff + 64 * (x2 + y2 * z->img_comp[n].coeff_w); if (!stbi__jpeg_decode_block_prog_dc(z, data, &z->huff_dc[z->img_comp[n].hd], n)) return 0; } } } // after all interleaved components, that's an interleaved MCU, // so now count down the restart interval if (--z->todo <= 0) { if (z->code_bits < 24) stbi__grow_buffer_unsafe(z); if (!STBI__RESTART(z->marker)) return 1; stbi__jpeg_reset(z); } } } return 1; } } } static void stbi__jpeg_dequantize(short *data, stbi__uint16 *dequant) { int i; for (i=0; i < 64; ++i) data[i] *= dequant[i]; } static void stbi__jpeg_finish(stbi__jpeg *z) { if (z->progressive) { // dequantize and idct the data int i,j,n; for (n=0; n < z->s->img_n; ++n) { int w = (z->img_comp[n].x+7) >> 3; int h = (z->img_comp[n].y+7) >> 3; for (j=0; j < h; ++j) { for (i=0; i < w; ++i) { short *data = z->img_comp[n].coeff + 64 * (i + j * z->img_comp[n].coeff_w); stbi__jpeg_dequantize(data, z->dequant[z->img_comp[n].tq]); z->idct_block_kernel(z->img_comp[n].data+z->img_comp[n].w2*j*8+i*8, z->img_comp[n].w2, data); } } } } } static int stbi__process_marker(stbi__jpeg *z, int m) { int L; switch (m) { case STBI__MARKER_none: // no marker found return stbi__err("expected marker","Corrupt JPEG"); case 0xDD: // DRI - specify restart interval if (stbi__get16be(z->s) != 4) return stbi__err("bad DRI len","Corrupt JPEG"); z->restart_interval = stbi__get16be(z->s); return 1; case 0xDB: // DQT - define quantization table L = stbi__get16be(z->s)-2; while (L > 0) { int q = stbi__get8(z->s); int p = q >> 4, sixteen = (p != 0); int t = q & 15,i; if (p != 0 && p != 1) return stbi__err("bad DQT type","Corrupt JPEG"); if (t > 3) return stbi__err("bad DQT table","Corrupt JPEG"); for (i=0; i < 64; ++i) z->dequant[t][stbi__jpeg_dezigzag[i]] = (stbi__uint16)(sixteen ? stbi__get16be(z->s) : stbi__get8(z->s)); L -= (sixteen ? 129 : 65); } return L==0; case 0xC4: // DHT - define huffman table L = stbi__get16be(z->s)-2; while (L > 0) { stbi_uc *v; int sizes[16],i,n=0; int q = stbi__get8(z->s); int tc = q >> 4; int th = q & 15; if (tc > 1 || th > 3) return stbi__err("bad DHT header","Corrupt JPEG"); for (i=0; i < 16; ++i) { sizes[i] = stbi__get8(z->s); n += sizes[i]; } L -= 17; if (tc == 0) { if (!stbi__build_huffman(z->huff_dc+th, sizes)) return 0; v = z->huff_dc[th].values; } else { if (!stbi__build_huffman(z->huff_ac+th, sizes)) return 0; v = z->huff_ac[th].values; } for (i=0; i < n; ++i) v[i] = stbi__get8(z->s); if (tc != 0) stbi__build_fast_ac(z->fast_ac[th], z->huff_ac + th); L -= n; } return L==0; } // check for comment block or APP blocks if ((m >= 0xE0 && m <= 0xEF) || m == 0xFE) { L = stbi__get16be(z->s); if (L < 2) { if (m == 0xFE) return stbi__err("bad COM len","Corrupt JPEG"); else return stbi__err("bad APP len","Corrupt JPEG"); } L -= 2; if (m == 0xE0 && L >= 5) { // JFIF APP0 segment static const unsigned char tag[5] = {'J','F','I','F','\0'}; int ok = 1; int i; for (i=0; i < 5; ++i) if (stbi__get8(z->s) != tag[i]) ok = 0; L -= 5; if (ok) z->jfif = 1; } else if (m == 0xEE && L >= 12) { // Adobe APP14 segment static const unsigned char tag[6] = {'A','d','o','b','e','\0'}; int ok = 1; int i; for (i=0; i < 6; ++i) if (stbi__get8(z->s) != tag[i]) ok = 0; L -= 6; if (ok) { stbi__get8(z->s); // version stbi__get16be(z->s); // flags0 stbi__get16be(z->s); // flags1 z->app14_color_transform = stbi__get8(z->s); // color transform L -= 6; } } stbi__skip(z->s, L); return 1; } return stbi__err("unknown marker","Corrupt JPEG"); } // after we see SOS static int stbi__process_scan_header(stbi__jpeg *z) { int i; int Ls = stbi__get16be(z->s); z->scan_n = stbi__get8(z->s); if (z->scan_n < 1 || z->scan_n > 4 || z->scan_n > (int) z->s->img_n) return stbi__err("bad SOS component count","Corrupt JPEG"); if (Ls != 6+2*z->scan_n) return stbi__err("bad SOS len","Corrupt JPEG"); for (i=0; i < z->scan_n; ++i) { int id = stbi__get8(z->s), which; int q = stbi__get8(z->s); for (which = 0; which < z->s->img_n; ++which) if (z->img_comp[which].id == id) break; if (which == z->s->img_n) return 0; // no match z->img_comp[which].hd = q >> 4; if (z->img_comp[which].hd > 3) return stbi__err("bad DC huff","Corrupt JPEG"); z->img_comp[which].ha = q & 15; if (z->img_comp[which].ha > 3) return stbi__err("bad AC huff","Corrupt JPEG"); z->order[i] = which; } { int aa; z->spec_start = stbi__get8(z->s); z->spec_end = stbi__get8(z->s); // should be 63, but might be 0 aa = stbi__get8(z->s); z->succ_high = (aa >> 4); z->succ_low = (aa & 15); if (z->progressive) { if (z->spec_start > 63 || z->spec_end > 63 || z->spec_start > z->spec_end || z->succ_high > 13 || z->succ_low > 13) return stbi__err("bad SOS", "Corrupt JPEG"); } else { if (z->spec_start != 0) return stbi__err("bad SOS","Corrupt JPEG"); if (z->succ_high != 0 || z->succ_low != 0) return stbi__err("bad SOS","Corrupt JPEG"); z->spec_end = 63; } } return 1; } static int stbi__free_jpeg_components(stbi__jpeg *z, int ncomp, int why) { int i; for (i=0; i < ncomp; ++i) { if (z->img_comp[i].raw_data) { STBI_FREE(z->img_comp[i].raw_data); z->img_comp[i].raw_data = NULL; z->img_comp[i].data = NULL; } if (z->img_comp[i].raw_coeff) { STBI_FREE(z->img_comp[i].raw_coeff); z->img_comp[i].raw_coeff = 0; z->img_comp[i].coeff = 0; } if (z->img_comp[i].linebuf) { STBI_FREE(z->img_comp[i].linebuf); z->img_comp[i].linebuf = NULL; } } return why; } static int stbi__process_frame_header(stbi__jpeg *z, int scan) { stbi__context *s = z->s; int Lf,p,i,q, h_max=1,v_max=1,c; Lf = stbi__get16be(s); if (Lf < 11) return stbi__err("bad SOF len","Corrupt JPEG"); // JPEG p = stbi__get8(s); if (p != 8) return stbi__err("only 8-bit","JPEG format not supported: 8-bit only"); // JPEG baseline s->img_y = stbi__get16be(s); if (s->img_y == 0) return stbi__err("no header height", "JPEG format not supported: delayed height"); // Legal, but we don't handle it--but neither does IJG s->img_x = stbi__get16be(s); if (s->img_x == 0) return stbi__err("0 width","Corrupt JPEG"); // JPEG requires c = stbi__get8(s); if (c != 3 && c != 1 && c != 4) return stbi__err("bad component count","Corrupt JPEG"); s->img_n = c; for (i=0; i < c; ++i) { z->img_comp[i].data = NULL; z->img_comp[i].linebuf = NULL; } if (Lf != 8+3*s->img_n) return stbi__err("bad SOF len","Corrupt JPEG"); z->rgb = 0; for (i=0; i < s->img_n; ++i) { static const unsigned char rgb[3] = { 'R', 'G', 'B' }; z->img_comp[i].id = stbi__get8(s); if (s->img_n == 3 && z->img_comp[i].id == rgb[i]) ++z->rgb; q = stbi__get8(s); z->img_comp[i].h = (q >> 4); if (!z->img_comp[i].h || z->img_comp[i].h > 4) return stbi__err("bad H","Corrupt JPEG"); z->img_comp[i].v = q & 15; if (!z->img_comp[i].v || z->img_comp[i].v > 4) return stbi__err("bad V","Corrupt JPEG"); z->img_comp[i].tq = stbi__get8(s); if (z->img_comp[i].tq > 3) return stbi__err("bad TQ","Corrupt JPEG"); } if (scan != STBI__SCAN_load) return 1; if (!stbi__mad3sizes_valid(s->img_x, s->img_y, s->img_n, 0)) return stbi__err("too large", "Image too large to decode"); for (i=0; i < s->img_n; ++i) { if (z->img_comp[i].h > h_max) h_max = z->img_comp[i].h; if (z->img_comp[i].v > v_max) v_max = z->img_comp[i].v; } // compute interleaved mcu info z->img_h_max = h_max; z->img_v_max = v_max; z->img_mcu_w = h_max * 8; z->img_mcu_h = v_max * 8; // these sizes can't be more than 17 bits z->img_mcu_x = (s->img_x + z->img_mcu_w-1) / z->img_mcu_w; z->img_mcu_y = (s->img_y + z->img_mcu_h-1) / z->img_mcu_h; for (i=0; i < s->img_n; ++i) { // number of effective pixels (e.g. for non-interleaved MCU) z->img_comp[i].x = (s->img_x * z->img_comp[i].h + h_max-1) / h_max; z->img_comp[i].y = (s->img_y * z->img_comp[i].v + v_max-1) / v_max; // to simplify generation, we'll allocate enough memory to decode // the bogus oversized data from using interleaved MCUs and their // big blocks (e.g. a 16x16 iMCU on an image of width 33); we won't // discard the extra data until colorspace conversion // // img_mcu_x, img_mcu_y: <=17 bits; comp[i].h and .v are <=4 (checked earlier) // so these muls can't overflow with 32-bit ints (which we require) z->img_comp[i].w2 = z->img_mcu_x * z->img_comp[i].h * 8; z->img_comp[i].h2 = z->img_mcu_y * z->img_comp[i].v * 8; z->img_comp[i].coeff = 0; z->img_comp[i].raw_coeff = 0; z->img_comp[i].linebuf = NULL; z->img_comp[i].raw_data = stbi__malloc_mad2(z->img_comp[i].w2, z->img_comp[i].h2, 15); if (z->img_comp[i].raw_data == NULL) return stbi__free_jpeg_components(z, i+1, stbi__err("outofmem", "Out of memory")); // align blocks for idct using mmx/sse z->img_comp[i].data = (stbi_uc*) (((size_t) z->img_comp[i].raw_data + 15) & ~15); if (z->progressive) { // w2, h2 are multiples of 8 (see above) z->img_comp[i].coeff_w = z->img_comp[i].w2 / 8; z->img_comp[i].coeff_h = z->img_comp[i].h2 / 8; z->img_comp[i].raw_coeff = stbi__malloc_mad3(z->img_comp[i].w2, z->img_comp[i].h2, sizeof(short), 15); if (z->img_comp[i].raw_coeff == NULL) return stbi__free_jpeg_components(z, i+1, stbi__err("outofmem", "Out of memory")); z->img_comp[i].coeff = (short*) (((size_t) z->img_comp[i].raw_coeff + 15) & ~15); } } return 1; } // use comparisons since in some cases we handle more than one case (e.g. SOF) #define stbi__DNL(x) ((x) == 0xdc) #define stbi__SOI(x) ((x) == 0xd8) #define stbi__EOI(x) ((x) == 0xd9) #define stbi__SOF(x) ((x) == 0xc0 || (x) == 0xc1 || (x) == 0xc2) #define stbi__SOS(x) ((x) == 0xda) #define stbi__SOF_progressive(x) ((x) == 0xc2) static int stbi__decode_jpeg_header(stbi__jpeg *z, int scan) { int m; z->jfif = 0; z->app14_color_transform = -1; // valid values are 0,1,2 z->marker = STBI__MARKER_none; // initialize cached marker to empty m = stbi__get_marker(z); if (!stbi__SOI(m)) return stbi__err("no SOI","Corrupt JPEG"); if (scan == STBI__SCAN_type) return 1; m = stbi__get_marker(z); while (!stbi__SOF(m)) { if (!stbi__process_marker(z,m)) return 0; m = stbi__get_marker(z); while (m == STBI__MARKER_none) { // some files have extra padding after their blocks, so ok, we'll scan if (stbi__at_eof(z->s)) return stbi__err("no SOF", "Corrupt JPEG"); m = stbi__get_marker(z); } } z->progressive = stbi__SOF_progressive(m); if (!stbi__process_frame_header(z, scan)) return 0; return 1; } // decode image to YCbCr format static int stbi__decode_jpeg_image(stbi__jpeg *j) { int m; for (m = 0; m < 4; m++) { j->img_comp[m].raw_data = NULL; j->img_comp[m].raw_coeff = NULL; } j->restart_interval = 0; if (!stbi__decode_jpeg_header(j, STBI__SCAN_load)) return 0; m = stbi__get_marker(j); while (!stbi__EOI(m)) { if (stbi__SOS(m)) { if (!stbi__process_scan_header(j)) return 0; if (!stbi__parse_entropy_coded_data(j)) return 0; if (j->marker == STBI__MARKER_none ) { // handle 0s at the end of image data from IP Kamera 9060 while (!stbi__at_eof(j->s)) { int x = stbi__get8(j->s); if (x == 255) { j->marker = stbi__get8(j->s); break; } } // if we reach eof without hitting a marker, stbi__get_marker() below will fail and we'll eventually return 0 } } else if (stbi__DNL(m)) { int Ld = stbi__get16be(j->s); stbi__uint32 NL = stbi__get16be(j->s); if (Ld != 4) return stbi__err("bad DNL len", "Corrupt JPEG"); if (NL != j->s->img_y) return stbi__err("bad DNL height", "Corrupt JPEG"); } else { if (!stbi__process_marker(j, m)) return 0; } m = stbi__get_marker(j); } if (j->progressive) stbi__jpeg_finish(j); return 1; } // static jfif-centered resampling (across block boundaries) typedef stbi_uc *(*resample_row_func)(stbi_uc *out, stbi_uc *in0, stbi_uc *in1, int w, int hs); #define stbi__div4(x) ((stbi_uc) ((x) >> 2)) static stbi_uc *resample_row_1(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { STBI_NOTUSED(out); STBI_NOTUSED(in_far); STBI_NOTUSED(w); STBI_NOTUSED(hs); return in_near; } static stbi_uc* stbi__resample_row_v_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // need to generate two samples vertically for every one in input int i; STBI_NOTUSED(hs); for (i=0; i < w; ++i) out[i] = stbi__div4(3*in_near[i] + in_far[i] + 2); return out; } static stbi_uc* stbi__resample_row_h_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // need to generate two samples horizontally for every one in input int i; stbi_uc *input = in_near; if (w == 1) { // if only one sample, can't do any interpolation out[0] = out[1] = input[0]; return out; } out[0] = input[0]; out[1] = stbi__div4(input[0]*3 + input[1] + 2); for (i=1; i < w-1; ++i) { int n = 3*input[i]+2; out[i*2+0] = stbi__div4(n+input[i-1]); out[i*2+1] = stbi__div4(n+input[i+1]); } out[i*2+0] = stbi__div4(input[w-2]*3 + input[w-1] + 2); out[i*2+1] = input[w-1]; STBI_NOTUSED(in_far); STBI_NOTUSED(hs); return out; } #define stbi__div16(x) ((stbi_uc) ((x) >> 4)) static stbi_uc *stbi__resample_row_hv_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // need to generate 2x2 samples for every one in input int i,t0,t1; if (w == 1) { out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2); return out; } t1 = 3*in_near[0] + in_far[0]; out[0] = stbi__div4(t1+2); for (i=1; i < w; ++i) { t0 = t1; t1 = 3*in_near[i]+in_far[i]; out[i*2-1] = stbi__div16(3*t0 + t1 + 8); out[i*2 ] = stbi__div16(3*t1 + t0 + 8); } out[w*2-1] = stbi__div4(t1+2); STBI_NOTUSED(hs); return out; } #if defined(STBI_SSE2) || defined(STBI_NEON) static stbi_uc *stbi__resample_row_hv_2_simd(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // need to generate 2x2 samples for every one in input int i=0,t0,t1; if (w == 1) { out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2); return out; } t1 = 3*in_near[0] + in_far[0]; // process groups of 8 pixels for as long as we can. // note we can't handle the last pixel in a row in this loop // because we need to handle the filter boundary conditions. for (; i < ((w-1) & ~7); i += 8) { #if defined(STBI_SSE2) // load and perform the vertical filtering pass // this uses 3*x + y = 4*x + (y - x) __m128i zero = _mm_setzero_si128(); __m128i farb = _mm_loadl_epi64((__m128i *) (in_far + i)); __m128i nearb = _mm_loadl_epi64((__m128i *) (in_near + i)); __m128i farw = _mm_unpacklo_epi8(farb, zero); __m128i nearw = _mm_unpacklo_epi8(nearb, zero); __m128i diff = _mm_sub_epi16(farw, nearw); __m128i nears = _mm_slli_epi16(nearw, 2); __m128i curr = _mm_add_epi16(nears, diff); // current row // horizontal filter works the same based on shifted vers of current // row. "prev" is current row shifted right by 1 pixel; we need to // insert the previous pixel value (from t1). // "next" is current row shifted left by 1 pixel, with first pixel // of next block of 8 pixels added in. __m128i prv0 = _mm_slli_si128(curr, 2); __m128i nxt0 = _mm_srli_si128(curr, 2); __m128i prev = _mm_insert_epi16(prv0, t1, 0); __m128i next = _mm_insert_epi16(nxt0, 3*in_near[i+8] + in_far[i+8], 7); // horizontal filter, polyphase implementation since it's convenient: // even pixels = 3*cur + prev = cur*4 + (prev - cur) // odd pixels = 3*cur + next = cur*4 + (next - cur) // note the shared term. __m128i bias = _mm_set1_epi16(8); __m128i curs = _mm_slli_epi16(curr, 2); __m128i prvd = _mm_sub_epi16(prev, curr); __m128i nxtd = _mm_sub_epi16(next, curr); __m128i curb = _mm_add_epi16(curs, bias); __m128i even = _mm_add_epi16(prvd, curb); __m128i odd = _mm_add_epi16(nxtd, curb); // interleave even and odd pixels, then undo scaling. __m128i int0 = _mm_unpacklo_epi16(even, odd); __m128i int1 = _mm_unpackhi_epi16(even, odd); __m128i de0 = _mm_srli_epi16(int0, 4); __m128i de1 = _mm_srli_epi16(int1, 4); // pack and write output __m128i outv = _mm_packus_epi16(de0, de1); _mm_storeu_si128((__m128i *) (out + i*2), outv); #elif defined(STBI_NEON) // load and perform the vertical filtering pass // this uses 3*x + y = 4*x + (y - x) uint8x8_t farb = vld1_u8(in_far + i); uint8x8_t nearb = vld1_u8(in_near + i); int16x8_t diff = vreinterpretq_s16_u16(vsubl_u8(farb, nearb)); int16x8_t nears = vreinterpretq_s16_u16(vshll_n_u8(nearb, 2)); int16x8_t curr = vaddq_s16(nears, diff); // current row // horizontal filter works the same based on shifted vers of current // row. "prev" is current row shifted right by 1 pixel; we need to // insert the previous pixel value (from t1). // "next" is current row shifted left by 1 pixel, with first pixel // of next block of 8 pixels added in. int16x8_t prv0 = vextq_s16(curr, curr, 7); int16x8_t nxt0 = vextq_s16(curr, curr, 1); int16x8_t prev = vsetq_lane_s16(t1, prv0, 0); int16x8_t next = vsetq_lane_s16(3*in_near[i+8] + in_far[i+8], nxt0, 7); // horizontal filter, polyphase implementation since it's convenient: // even pixels = 3*cur + prev = cur*4 + (prev - cur) // odd pixels = 3*cur + next = cur*4 + (next - cur) // note the shared term. int16x8_t curs = vshlq_n_s16(curr, 2); int16x8_t prvd = vsubq_s16(prev, curr); int16x8_t nxtd = vsubq_s16(next, curr); int16x8_t even = vaddq_s16(curs, prvd); int16x8_t odd = vaddq_s16(curs, nxtd); // undo scaling and round, then store with even/odd phases interleaved uint8x8x2_t o; o.val[0] = vqrshrun_n_s16(even, 4); o.val[1] = vqrshrun_n_s16(odd, 4); vst2_u8(out + i*2, o); #endif // "previous" value for next iter t1 = 3*in_near[i+7] + in_far[i+7]; } t0 = t1; t1 = 3*in_near[i] + in_far[i]; out[i*2] = stbi__div16(3*t1 + t0 + 8); for (++i; i < w; ++i) { t0 = t1; t1 = 3*in_near[i]+in_far[i]; out[i*2-1] = stbi__div16(3*t0 + t1 + 8); out[i*2 ] = stbi__div16(3*t1 + t0 + 8); } out[w*2-1] = stbi__div4(t1+2); STBI_NOTUSED(hs); return out; } #endif static stbi_uc *stbi__resample_row_generic(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // resample with nearest-neighbor int i,j; STBI_NOTUSED(in_far); for (i=0; i < w; ++i) for (j=0; j < hs; ++j) out[i*hs+j] = in_near[i]; return out; } // this is a reduced-precision calculation of YCbCr-to-RGB introduced // to make sure the code produces the same results in both SIMD and scalar #define stbi__float2fixed(x) (((int) ((x) * 4096.0f + 0.5f)) << 8) static void stbi__YCbCr_to_RGB_row(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_uc *pcr, int count, int step) { int i; for (i=0; i < count; ++i) { int y_fixed = (y[i] << 20) + (1<<19); // rounding int r,g,b; int cr = pcr[i] - 128; int cb = pcb[i] - 128; r = y_fixed + cr* stbi__float2fixed(1.40200f); g = y_fixed + (cr*-stbi__float2fixed(0.71414f)) + ((cb*-stbi__float2fixed(0.34414f)) & 0xffff0000); b = y_fixed + cb* stbi__float2fixed(1.77200f); r >>= 20; g >>= 20; b >>= 20; if ((unsigned) r > 255) { if (r < 0) r = 0; else r = 255; } if ((unsigned) g > 255) { if (g < 0) g = 0; else g = 255; } if ((unsigned) b > 255) { if (b < 0) b = 0; else b = 255; } out[0] = (stbi_uc)r; out[1] = (stbi_uc)g; out[2] = (stbi_uc)b; out[3] = 255; out += step; } } #if defined(STBI_SSE2) || defined(STBI_NEON) static void stbi__YCbCr_to_RGB_simd(stbi_uc *out, stbi_uc const *y, stbi_uc const *pcb, stbi_uc const *pcr, int count, int step) { int i = 0; #ifdef STBI_SSE2 // step == 3 is pretty ugly on the final interleave, and i'm not convinced // it's useful in practice (you wouldn't use it for textures, for example). // so just accelerate step == 4 case. if (step == 4) { // this is a fairly straightforward implementation and not super-optimized. __m128i signflip = _mm_set1_epi8(-0x80); __m128i cr_const0 = _mm_set1_epi16( (short) ( 1.40200f*4096.0f+0.5f)); __m128i cr_const1 = _mm_set1_epi16( - (short) ( 0.71414f*4096.0f+0.5f)); __m128i cb_const0 = _mm_set1_epi16( - (short) ( 0.34414f*4096.0f+0.5f)); __m128i cb_const1 = _mm_set1_epi16( (short) ( 1.77200f*4096.0f+0.5f)); __m128i y_bias = _mm_set1_epi8((char) (unsigned char) 128); __m128i xw = _mm_set1_epi16(255); // alpha channel for (; i+7 < count; i += 8) { // load __m128i y_bytes = _mm_loadl_epi64((__m128i *) (y+i)); __m128i cr_bytes = _mm_loadl_epi64((__m128i *) (pcr+i)); __m128i cb_bytes = _mm_loadl_epi64((__m128i *) (pcb+i)); __m128i cr_biased = _mm_xor_si128(cr_bytes, signflip); // -128 __m128i cb_biased = _mm_xor_si128(cb_bytes, signflip); // -128 // unpack to short (and left-shift cr, cb by 8) __m128i yw = _mm_unpacklo_epi8(y_bias, y_bytes); __m128i crw = _mm_unpacklo_epi8(_mm_setzero_si128(), cr_biased); __m128i cbw = _mm_unpacklo_epi8(_mm_setzero_si128(), cb_biased); // color transform __m128i yws = _mm_srli_epi16(yw, 4); __m128i cr0 = _mm_mulhi_epi16(cr_const0, crw); __m128i cb0 = _mm_mulhi_epi16(cb_const0, cbw); __m128i cb1 = _mm_mulhi_epi16(cbw, cb_const1); __m128i cr1 = _mm_mulhi_epi16(crw, cr_const1); __m128i rws = _mm_add_epi16(cr0, yws); __m128i gwt = _mm_add_epi16(cb0, yws); __m128i bws = _mm_add_epi16(yws, cb1); __m128i gws = _mm_add_epi16(gwt, cr1); // descale __m128i rw = _mm_srai_epi16(rws, 4); __m128i bw = _mm_srai_epi16(bws, 4); __m128i gw = _mm_srai_epi16(gws, 4); // back to byte, set up for transpose __m128i brb = _mm_packus_epi16(rw, bw); __m128i gxb = _mm_packus_epi16(gw, xw); // transpose to interleave channels __m128i t0 = _mm_unpacklo_epi8(brb, gxb); __m128i t1 = _mm_unpackhi_epi8(brb, gxb); __m128i o0 = _mm_unpacklo_epi16(t0, t1); __m128i o1 = _mm_unpackhi_epi16(t0, t1); // store _mm_storeu_si128((__m128i *) (out + 0), o0); _mm_storeu_si128((__m128i *) (out + 16), o1); out += 32; } } #endif #ifdef STBI_NEON // in this version, step=3 support would be easy to add. but is there demand? if (step == 4) { // this is a fairly straightforward implementation and not super-optimized. uint8x8_t signflip = vdup_n_u8(0x80); int16x8_t cr_const0 = vdupq_n_s16( (short) ( 1.40200f*4096.0f+0.5f)); int16x8_t cr_const1 = vdupq_n_s16( - (short) ( 0.71414f*4096.0f+0.5f)); int16x8_t cb_const0 = vdupq_n_s16( - (short) ( 0.34414f*4096.0f+0.5f)); int16x8_t cb_const1 = vdupq_n_s16( (short) ( 1.77200f*4096.0f+0.5f)); for (; i+7 < count; i += 8) { // load uint8x8_t y_bytes = vld1_u8(y + i); uint8x8_t cr_bytes = vld1_u8(pcr + i); uint8x8_t cb_bytes = vld1_u8(pcb + i); int8x8_t cr_biased = vreinterpret_s8_u8(vsub_u8(cr_bytes, signflip)); int8x8_t cb_biased = vreinterpret_s8_u8(vsub_u8(cb_bytes, signflip)); // expand to s16 int16x8_t yws = vreinterpretq_s16_u16(vshll_n_u8(y_bytes, 4)); int16x8_t crw = vshll_n_s8(cr_biased, 7); int16x8_t cbw = vshll_n_s8(cb_biased, 7); // color transform int16x8_t cr0 = vqdmulhq_s16(crw, cr_const0); int16x8_t cb0 = vqdmulhq_s16(cbw, cb_const0); int16x8_t cr1 = vqdmulhq_s16(crw, cr_const1); int16x8_t cb1 = vqdmulhq_s16(cbw, cb_const1); int16x8_t rws = vaddq_s16(yws, cr0); int16x8_t gws = vaddq_s16(vaddq_s16(yws, cb0), cr1); int16x8_t bws = vaddq_s16(yws, cb1); // undo scaling, round, convert to byte uint8x8x4_t o; o.val[0] = vqrshrun_n_s16(rws, 4); o.val[1] = vqrshrun_n_s16(gws, 4); o.val[2] = vqrshrun_n_s16(bws, 4); o.val[3] = vdup_n_u8(255); // store, interleaving r/g/b/a vst4_u8(out, o); out += 8*4; } } #endif for (; i < count; ++i) { int y_fixed = (y[i] << 20) + (1<<19); // rounding int r,g,b; int cr = pcr[i] - 128; int cb = pcb[i] - 128; r = y_fixed + cr* stbi__float2fixed(1.40200f); g = y_fixed + cr*-stbi__float2fixed(0.71414f) + ((cb*-stbi__float2fixed(0.34414f)) & 0xffff0000); b = y_fixed + cb* stbi__float2fixed(1.77200f); r >>= 20; g >>= 20; b >>= 20; if ((unsigned) r > 255) { if (r < 0) r = 0; else r = 255; } if ((unsigned) g > 255) { if (g < 0) g = 0; else g = 255; } if ((unsigned) b > 255) { if (b < 0) b = 0; else b = 255; } out[0] = (stbi_uc)r; out[1] = (stbi_uc)g; out[2] = (stbi_uc)b; out[3] = 255; out += step; } } #endif // set up the kernels static void stbi__setup_jpeg(stbi__jpeg *j) { j->idct_block_kernel = stbi__idct_block; j->YCbCr_to_RGB_kernel = stbi__YCbCr_to_RGB_row; j->resample_row_hv_2_kernel = stbi__resample_row_hv_2; #ifdef STBI_SSE2 if (stbi__sse2_available()) { j->idct_block_kernel = stbi__idct_simd; j->YCbCr_to_RGB_kernel = stbi__YCbCr_to_RGB_simd; j->resample_row_hv_2_kernel = stbi__resample_row_hv_2_simd; } #endif #ifdef STBI_NEON j->idct_block_kernel = stbi__idct_simd; j->YCbCr_to_RGB_kernel = stbi__YCbCr_to_RGB_simd; j->resample_row_hv_2_kernel = stbi__resample_row_hv_2_simd; #endif } // clean up the temporary component buffers static void stbi__cleanup_jpeg(stbi__jpeg *j) { stbi__free_jpeg_components(j, j->s->img_n, 0); } typedef struct { resample_row_func resample; stbi_uc *line0,*line1; int hs,vs; // expansion factor in each axis int w_lores; // horizontal pixels pre-expansion int ystep; // how far through vertical expansion we are int ypos; // which pre-expansion row we're on } stbi__resample; // fast 0..255 * 0..255 => 0..255 rounded multiplication static stbi_uc stbi__blinn_8x8(stbi_uc x, stbi_uc y) { unsigned int t = x*y + 128; return (stbi_uc) ((t + (t >>8)) >> 8); } static stbi_uc *load_jpeg_image(stbi__jpeg *z, int *out_x, int *out_y, int *comp, int req_comp) { int n, decode_n, is_rgb; z->s->img_n = 0; // make stbi__cleanup_jpeg safe // validate req_comp if (req_comp < 0 || req_comp > 4) return stbi__errpuc("bad req_comp", "Internal error"); // load a jpeg image from whichever source, but leave in YCbCr format if (!stbi__decode_jpeg_image(z)) { stbi__cleanup_jpeg(z); return NULL; } // determine actual number of components to generate n = req_comp ? req_comp : z->s->img_n >= 3 ? 3 : 1; is_rgb = z->s->img_n == 3 && (z->rgb == 3 || (z->app14_color_transform == 0 && !z->jfif)); if (z->s->img_n == 3 && n < 3 && !is_rgb) decode_n = 1; else decode_n = z->s->img_n; // resample and color-convert { int k; unsigned int i,j; stbi_uc *output; stbi_uc *coutput[4]; stbi__resample res_comp[4]; for (k=0; k < decode_n; ++k) { stbi__resample *r = &res_comp[k]; // allocate line buffer big enough for upsampling off the edges // with upsample factor of 4 z->img_comp[k].linebuf = (stbi_uc *) stbi__malloc(z->s->img_x + 3); if (!z->img_comp[k].linebuf) { stbi__cleanup_jpeg(z); return stbi__errpuc("outofmem", "Out of memory"); } r->hs = z->img_h_max / z->img_comp[k].h; r->vs = z->img_v_max / z->img_comp[k].v; r->ystep = r->vs >> 1; r->w_lores = (z->s->img_x + r->hs-1) / r->hs; r->ypos = 0; r->line0 = r->line1 = z->img_comp[k].data; if (r->hs == 1 && r->vs == 1) r->resample = resample_row_1; else if (r->hs == 1 && r->vs == 2) r->resample = stbi__resample_row_v_2; else if (r->hs == 2 && r->vs == 1) r->resample = stbi__resample_row_h_2; else if (r->hs == 2 && r->vs == 2) r->resample = z->resample_row_hv_2_kernel; else r->resample = stbi__resample_row_generic; } // can't error after this so, this is safe output = (stbi_uc *) stbi__malloc_mad3(n, z->s->img_x, z->s->img_y, 1); if (!output) { stbi__cleanup_jpeg(z); return stbi__errpuc("outofmem", "Out of memory"); } // now go ahead and resample for (j=0; j < z->s->img_y; ++j) { stbi_uc *out = output + n * z->s->img_x * j; for (k=0; k < decode_n; ++k) { stbi__resample *r = &res_comp[k]; int y_bot = r->ystep >= (r->vs >> 1); coutput[k] = r->resample(z->img_comp[k].linebuf, y_bot ? r->line1 : r->line0, y_bot ? r->line0 : r->line1, r->w_lores, r->hs); if (++r->ystep >= r->vs) { r->ystep = 0; r->line0 = r->line1; if (++r->ypos < z->img_comp[k].y) r->line1 += z->img_comp[k].w2; } } if (n >= 3) { stbi_uc *y = coutput[0]; if (z->s->img_n == 3) { if (is_rgb) { for (i=0; i < z->s->img_x; ++i) { out[0] = y[i]; out[1] = coutput[1][i]; out[2] = coutput[2][i]; out[3] = 255; out += n; } } else { z->YCbCr_to_RGB_kernel(out, y, coutput[1], coutput[2], z->s->img_x, n); } } else if (z->s->img_n == 4) { if (z->app14_color_transform == 0) { // CMYK for (i=0; i < z->s->img_x; ++i) { stbi_uc m = coutput[3][i]; out[0] = stbi__blinn_8x8(coutput[0][i], m); out[1] = stbi__blinn_8x8(coutput[1][i], m); out[2] = stbi__blinn_8x8(coutput[2][i], m); out[3] = 255; out += n; } } else if (z->app14_color_transform == 2) { // YCCK z->YCbCr_to_RGB_kernel(out, y, coutput[1], coutput[2], z->s->img_x, n); for (i=0; i < z->s->img_x; ++i) { stbi_uc m = coutput[3][i]; out[0] = stbi__blinn_8x8(255 - out[0], m); out[1] = stbi__blinn_8x8(255 - out[1], m); out[2] = stbi__blinn_8x8(255 - out[2], m); out += n; } } else { // YCbCr + alpha? Ignore the fourth channel for now z->YCbCr_to_RGB_kernel(out, y, coutput[1], coutput[2], z->s->img_x, n); } } else for (i=0; i < z->s->img_x; ++i) { out[0] = out[1] = out[2] = y[i]; out[3] = 255; // not used if n==3 out += n; } } else { if (is_rgb) { if (n == 1) for (i=0; i < z->s->img_x; ++i) *out++ = stbi__compute_y(coutput[0][i], coutput[1][i], coutput[2][i]); else { for (i=0; i < z->s->img_x; ++i, out += 2) { out[0] = stbi__compute_y(coutput[0][i], coutput[1][i], coutput[2][i]); out[1] = 255; } } } else if (z->s->img_n == 4 && z->app14_color_transform == 0) { for (i=0; i < z->s->img_x; ++i) { stbi_uc m = coutput[3][i]; stbi_uc r = stbi__blinn_8x8(coutput[0][i], m); stbi_uc g = stbi__blinn_8x8(coutput[1][i], m); stbi_uc b = stbi__blinn_8x8(coutput[2][i], m); out[0] = stbi__compute_y(r, g, b); out[1] = 255; out += n; } } else if (z->s->img_n == 4 && z->app14_color_transform == 2) { for (i=0; i < z->s->img_x; ++i) { out[0] = stbi__blinn_8x8(255 - coutput[0][i], coutput[3][i]); out[1] = 255; out += n; } } else { stbi_uc *y = coutput[0]; if (n == 1) for (i=0; i < z->s->img_x; ++i) out[i] = y[i]; else for (i=0; i < z->s->img_x; ++i) *out++ = y[i], *out++ = 255; } } } stbi__cleanup_jpeg(z); *out_x = z->s->img_x; *out_y = z->s->img_y; if (comp) *comp = z->s->img_n >= 3 ? 3 : 1; // report original components, not output return output; } } static void *stbi__jpeg_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { unsigned char* result; stbi__jpeg* j = (stbi__jpeg*) stbi__malloc(sizeof(stbi__jpeg)); STBI_NOTUSED(ri); j->s = s; stbi__setup_jpeg(j); result = load_jpeg_image(j, x,y,comp,req_comp); STBI_FREE(j); return result; } static int stbi__jpeg_test(stbi__context *s) { int r; stbi__jpeg* j = (stbi__jpeg*)stbi__malloc(sizeof(stbi__jpeg)); j->s = s; stbi__setup_jpeg(j); r = stbi__decode_jpeg_header(j, STBI__SCAN_type); stbi__rewind(s); STBI_FREE(j); return r; } static int stbi__jpeg_info_raw(stbi__jpeg *j, int *x, int *y, int *comp) { if (!stbi__decode_jpeg_header(j, STBI__SCAN_header)) { stbi__rewind( j->s ); return 0; } if (x) *x = j->s->img_x; if (y) *y = j->s->img_y; if (comp) *comp = j->s->img_n >= 3 ? 3 : 1; return 1; } static int stbi__jpeg_info(stbi__context *s, int *x, int *y, int *comp) { int result; stbi__jpeg* j = (stbi__jpeg*) (stbi__malloc(sizeof(stbi__jpeg))); if (!j) { stbi__errpuc("outofmem", "Out of memory"); return 0; } j->s = s; result = stbi__jpeg_info_raw(j, x, y, comp); STBI_FREE(j); return result; } #endif // public domain zlib decode v0.2 Sean Barrett 2006-11-18 // simple implementation // - all input must be provided in an upfront buffer // - all output is written to a single output buffer (can malloc/realloc) // performance // - fast huffman #ifndef STBI_NO_ZLIB // fast-way is faster to check than jpeg huffman, but slow way is slower #define STBI__ZFAST_BITS 9 // accelerate all cases in default tables #define STBI__ZFAST_MASK ((1 << STBI__ZFAST_BITS) - 1) // zlib-style huffman encoding // (jpegs packs from left, zlib from right, so can't share code) typedef struct { stbi__uint16 fast[1 << STBI__ZFAST_BITS]; stbi__uint16 firstcode[16]; int maxcode[17]; stbi__uint16 firstsymbol[16]; stbi_uc size[288]; stbi__uint16 value[288]; } stbi__zhuffman; stbi_inline static int stbi__bitreverse16(int n) { n = ((n & 0xAAAA) >> 1) | ((n & 0x5555) << 1); n = ((n & 0xCCCC) >> 2) | ((n & 0x3333) << 2); n = ((n & 0xF0F0) >> 4) | ((n & 0x0F0F) << 4); n = ((n & 0xFF00) >> 8) | ((n & 0x00FF) << 8); return n; } stbi_inline static int stbi__bit_reverse(int v, int bits) { STBI_ASSERT(bits <= 16); // to bit reverse n bits, reverse 16 and shift // e.g. 11 bits, bit reverse and shift away 5 return stbi__bitreverse16(v) >> (16-bits); } static int stbi__zbuild_huffman(stbi__zhuffman *z, const stbi_uc *sizelist, int num) { int i,k=0; int code, next_code[16], sizes[17]; // DEFLATE spec for generating codes memset(sizes, 0, sizeof(sizes)); memset(z->fast, 0, sizeof(z->fast)); for (i=0; i < num; ++i) ++sizes[sizelist[i]]; sizes[0] = 0; for (i=1; i < 16; ++i) if (sizes[i] > (1 << i)) return stbi__err("bad sizes", "Corrupt PNG"); code = 0; for (i=1; i < 16; ++i) { next_code[i] = code; z->firstcode[i] = (stbi__uint16) code; z->firstsymbol[i] = (stbi__uint16) k; code = (code + sizes[i]); if (sizes[i]) if (code-1 >= (1 << i)) return stbi__err("bad codelengths","Corrupt PNG"); z->maxcode[i] = code << (16-i); // preshift for inner loop code <<= 1; k += sizes[i]; } z->maxcode[16] = 0x10000; // sentinel for (i=0; i < num; ++i) { int s = sizelist[i]; if (s) { int c = next_code[s] - z->firstcode[s] + z->firstsymbol[s]; stbi__uint16 fastv = (stbi__uint16) ((s << 9) | i); z->size [c] = (stbi_uc ) s; z->value[c] = (stbi__uint16) i; if (s <= STBI__ZFAST_BITS) { int j = stbi__bit_reverse(next_code[s],s); while (j < (1 << STBI__ZFAST_BITS)) { z->fast[j] = fastv; j += (1 << s); } } ++next_code[s]; } } return 1; } // zlib-from-memory implementation for PNG reading // because PNG allows splitting the zlib stream arbitrarily, // and it's annoying structurally to have PNG call ZLIB call PNG, // we require PNG read all the IDATs and combine them into a single // memory buffer typedef struct { stbi_uc *zbuffer, *zbuffer_end; int num_bits; stbi__uint32 code_buffer; char *zout; char *zout_start; char *zout_end; int z_expandable; stbi__zhuffman z_length, z_distance; } stbi__zbuf; stbi_inline static stbi_uc stbi__zget8(stbi__zbuf *z) { if (z->zbuffer >= z->zbuffer_end) return 0; return *z->zbuffer++; } static void stbi__fill_bits(stbi__zbuf *z) { do { STBI_ASSERT(z->code_buffer < (1U << z->num_bits)); z->code_buffer |= (unsigned int) stbi__zget8(z) << z->num_bits; z->num_bits += 8; } while (z->num_bits <= 24); } stbi_inline static unsigned int stbi__zreceive(stbi__zbuf *z, int n) { unsigned int k; if (z->num_bits < n) stbi__fill_bits(z); k = z->code_buffer & ((1 << n) - 1); z->code_buffer >>= n; z->num_bits -= n; return k; } static int stbi__zhuffman_decode_slowpath(stbi__zbuf *a, stbi__zhuffman *z) { int b,s,k; // not resolved by fast table, so compute it the slow way // use jpeg approach, which requires MSbits at top k = stbi__bit_reverse(a->code_buffer, 16); for (s=STBI__ZFAST_BITS+1; ; ++s) if (k < z->maxcode[s]) break; if (s == 16) return -1; // invalid code! // code size is s, so: b = (k >> (16-s)) - z->firstcode[s] + z->firstsymbol[s]; STBI_ASSERT(z->size[b] == s); a->code_buffer >>= s; a->num_bits -= s; return z->value[b]; } stbi_inline static int stbi__zhuffman_decode(stbi__zbuf *a, stbi__zhuffman *z) { int b,s; if (a->num_bits < 16) stbi__fill_bits(a); b = z->fast[a->code_buffer & STBI__ZFAST_MASK]; if (b) { s = b >> 9; a->code_buffer >>= s; a->num_bits -= s; return b & 511; } return stbi__zhuffman_decode_slowpath(a, z); } static int stbi__zexpand(stbi__zbuf *z, char *zout, int n) // need to make room for n bytes { char *q; int cur, limit, old_limit; z->zout = zout; if (!z->z_expandable) return stbi__err("output buffer limit","Corrupt PNG"); cur = (int) (z->zout - z->zout_start); limit = old_limit = (int) (z->zout_end - z->zout_start); while (cur + n > limit) limit *= 2; q = (char *) STBI_REALLOC_SIZED(z->zout_start, old_limit, limit); STBI_NOTUSED(old_limit); if (q == NULL) return stbi__err("outofmem", "Out of memory"); z->zout_start = q; z->zout = q + cur; z->zout_end = q + limit; return 1; } static const int stbi__zlength_base[31] = { 3,4,5,6,7,8,9,10,11,13, 15,17,19,23,27,31,35,43,51,59, 67,83,99,115,131,163,195,227,258,0,0 }; static const int stbi__zlength_extra[31]= { 0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0 }; static const int stbi__zdist_base[32] = { 1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193, 257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0}; static const int stbi__zdist_extra[32] = { 0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13}; static int stbi__parse_huffman_block(stbi__zbuf *a) { char *zout = a->zout; for(;;) { int z = stbi__zhuffman_decode(a, &a->z_length); if (z < 256) { if (z < 0) return stbi__err("bad huffman code","Corrupt PNG"); // error in huffman codes if (zout >= a->zout_end) { if (!stbi__zexpand(a, zout, 1)) return 0; zout = a->zout; } *zout++ = (char) z; } else { stbi_uc *p; int len,dist; if (z == 256) { a->zout = zout; return 1; } z -= 257; len = stbi__zlength_base[z]; if (stbi__zlength_extra[z]) len += stbi__zreceive(a, stbi__zlength_extra[z]); z = stbi__zhuffman_decode(a, &a->z_distance); if (z < 0) return stbi__err("bad huffman code","Corrupt PNG"); dist = stbi__zdist_base[z]; if (stbi__zdist_extra[z]) dist += stbi__zreceive(a, stbi__zdist_extra[z]); if (zout - a->zout_start < dist) return stbi__err("bad dist","Corrupt PNG"); if (zout + len > a->zout_end) { if (!stbi__zexpand(a, zout, len)) return 0; zout = a->zout; } p = (stbi_uc *) (zout - dist); if (dist == 1) { // run of one byte; common in images. stbi_uc v = *p; if (len) { do *zout++ = v; while (--len); } } else { if (len) { do *zout++ = *p++; while (--len); } } } } } static int stbi__compute_huffman_codes(stbi__zbuf *a) { static const stbi_uc length_dezigzag[19] = { 16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15 }; stbi__zhuffman z_codelength; stbi_uc lencodes[286+32+137];//padding for maximum single op stbi_uc codelength_sizes[19]; int i,n; int hlit = stbi__zreceive(a,5) + 257; int hdist = stbi__zreceive(a,5) + 1; int hclen = stbi__zreceive(a,4) + 4; int ntot = hlit + hdist; memset(codelength_sizes, 0, sizeof(codelength_sizes)); for (i=0; i < hclen; ++i) { int s = stbi__zreceive(a,3); codelength_sizes[length_dezigzag[i]] = (stbi_uc) s; } if (!stbi__zbuild_huffman(&z_codelength, codelength_sizes, 19)) return 0; n = 0; while (n < ntot) { int c = stbi__zhuffman_decode(a, &z_codelength); if (c < 0 || c >= 19) return stbi__err("bad codelengths", "Corrupt PNG"); if (c < 16) lencodes[n++] = (stbi_uc) c; else { stbi_uc fill = 0; if (c == 16) { c = stbi__zreceive(a,2)+3; if (n == 0) return stbi__err("bad codelengths", "Corrupt PNG"); fill = lencodes[n-1]; } else if (c == 17) c = stbi__zreceive(a,3)+3; else { STBI_ASSERT(c == 18); c = stbi__zreceive(a,7)+11; } if (ntot - n < c) return stbi__err("bad codelengths", "Corrupt PNG"); memset(lencodes+n, fill, c); n += c; } } if (n != ntot) return stbi__err("bad codelengths","Corrupt PNG"); if (!stbi__zbuild_huffman(&a->z_length, lencodes, hlit)) return 0; if (!stbi__zbuild_huffman(&a->z_distance, lencodes+hlit, hdist)) return 0; return 1; } static int stbi__parse_uncompressed_block(stbi__zbuf *a) { stbi_uc header[4]; int len,nlen,k; if (a->num_bits & 7) stbi__zreceive(a, a->num_bits & 7); // discard // drain the bit-packed data into header k = 0; while (a->num_bits > 0) { header[k++] = (stbi_uc) (a->code_buffer & 255); // suppress MSVC run-time check a->code_buffer >>= 8; a->num_bits -= 8; } STBI_ASSERT(a->num_bits == 0); // now fill header the normal way while (k < 4) header[k++] = stbi__zget8(a); len = header[1] * 256 + header[0]; nlen = header[3] * 256 + header[2]; if (nlen != (len ^ 0xffff)) return stbi__err("zlib corrupt","Corrupt PNG"); if (a->zbuffer + len > a->zbuffer_end) return stbi__err("read past buffer","Corrupt PNG"); if (a->zout + len > a->zout_end) if (!stbi__zexpand(a, a->zout, len)) return 0; memcpy(a->zout, a->zbuffer, len); a->zbuffer += len; a->zout += len; return 1; } static int stbi__parse_zlib_header(stbi__zbuf *a) { int cmf = stbi__zget8(a); int cm = cmf & 15; /* int cinfo = cmf >> 4; */ int flg = stbi__zget8(a); if ((cmf*256+flg) % 31 != 0) return stbi__err("bad zlib header","Corrupt PNG"); // zlib spec if (flg & 32) return stbi__err("no preset dict","Corrupt PNG"); // preset dictionary not allowed in png if (cm != 8) return stbi__err("bad compression","Corrupt PNG"); // DEFLATE required for png // window = 1 << (8 + cinfo)... but who cares, we fully buffer output return 1; } static const stbi_uc stbi__zdefault_length[288] = { 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8 }; static const stbi_uc stbi__zdefault_distance[32] = { 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5 }; /* Init algorithm: { int i; // use <= to match clearly with spec for (i=0; i <= 143; ++i) stbi__zdefault_length[i] = 8; for ( ; i <= 255; ++i) stbi__zdefault_length[i] = 9; for ( ; i <= 279; ++i) stbi__zdefault_length[i] = 7; for ( ; i <= 287; ++i) stbi__zdefault_length[i] = 8; for (i=0; i <= 31; ++i) stbi__zdefault_distance[i] = 5; } */ static int stbi__parse_zlib(stbi__zbuf *a, int parse_header) { int final, type; if (parse_header) if (!stbi__parse_zlib_header(a)) return 0; a->num_bits = 0; a->code_buffer = 0; do { final = stbi__zreceive(a,1); type = stbi__zreceive(a,2); if (type == 0) { if (!stbi__parse_uncompressed_block(a)) return 0; } else if (type == 3) { return 0; } else { if (type == 1) { // use fixed code lengths if (!stbi__zbuild_huffman(&a->z_length , stbi__zdefault_length , 288)) return 0; if (!stbi__zbuild_huffman(&a->z_distance, stbi__zdefault_distance, 32)) return 0; } else { if (!stbi__compute_huffman_codes(a)) return 0; } if (!stbi__parse_huffman_block(a)) return 0; } } while (!final); return 1; } static int stbi__do_zlib(stbi__zbuf *a, char *obuf, int olen, int exp, int parse_header) { a->zout_start = obuf; a->zout = obuf; a->zout_end = obuf + olen; a->z_expandable = exp; return stbi__parse_zlib(a, parse_header); } STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen) { stbi__zbuf a; char *p = (char *) stbi__malloc(initial_size); if (p == NULL) return NULL; a.zbuffer = (stbi_uc *) buffer; a.zbuffer_end = (stbi_uc *) buffer + len; if (stbi__do_zlib(&a, p, initial_size, 1, 1)) { if (outlen) *outlen = (int) (a.zout - a.zout_start); return a.zout_start; } else { STBI_FREE(a.zout_start); return NULL; } } STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) { return stbi_zlib_decode_malloc_guesssize(buffer, len, 16384, outlen); } STBIDEF char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header) { stbi__zbuf a; char *p = (char *) stbi__malloc(initial_size); if (p == NULL) return NULL; a.zbuffer = (stbi_uc *) buffer; a.zbuffer_end = (stbi_uc *) buffer + len; if (stbi__do_zlib(&a, p, initial_size, 1, parse_header)) { if (outlen) *outlen = (int) (a.zout - a.zout_start); return a.zout_start; } else { STBI_FREE(a.zout_start); return NULL; } } STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) { stbi__zbuf a; a.zbuffer = (stbi_uc *) ibuffer; a.zbuffer_end = (stbi_uc *) ibuffer + ilen; if (stbi__do_zlib(&a, obuffer, olen, 0, 1)) return (int) (a.zout - a.zout_start); else return -1; } STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) { stbi__zbuf a; char *p = (char *) stbi__malloc(16384); if (p == NULL) return NULL; a.zbuffer = (stbi_uc *) buffer; a.zbuffer_end = (stbi_uc *) buffer+len; if (stbi__do_zlib(&a, p, 16384, 1, 0)) { if (outlen) *outlen = (int) (a.zout - a.zout_start); return a.zout_start; } else { STBI_FREE(a.zout_start); return NULL; } } STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) { stbi__zbuf a; a.zbuffer = (stbi_uc *) ibuffer; a.zbuffer_end = (stbi_uc *) ibuffer + ilen; if (stbi__do_zlib(&a, obuffer, olen, 0, 0)) return (int) (a.zout - a.zout_start); else return -1; } #endif // public domain "baseline" PNG decoder v0.10 Sean Barrett 2006-11-18 // simple implementation // - only 8-bit samples // - no CRC checking // - allocates lots of intermediate memory // - avoids problem of streaming data between subsystems // - avoids explicit window management // performance // - uses stb_zlib, a PD zlib implementation with fast huffman decoding #ifndef STBI_NO_PNG typedef struct { stbi__uint32 length; stbi__uint32 type; } stbi__pngchunk; static stbi__pngchunk stbi__get_chunk_header(stbi__context *s) { stbi__pngchunk c; c.length = stbi__get32be(s); c.type = stbi__get32be(s); return c; } static int stbi__check_png_header(stbi__context *s) { static const stbi_uc png_sig[8] = { 137,80,78,71,13,10,26,10 }; int i; for (i=0; i < 8; ++i) if (stbi__get8(s) != png_sig[i]) return stbi__err("bad png sig","Not a PNG"); return 1; } typedef struct { stbi__context *s; stbi_uc *idata, *expanded, *out; int depth; } stbi__png; enum { STBI__F_none=0, STBI__F_sub=1, STBI__F_up=2, STBI__F_avg=3, STBI__F_paeth=4, // synthetic filters used for first scanline to avoid needing a dummy row of 0s STBI__F_avg_first, STBI__F_paeth_first }; static stbi_uc first_row_filter[5] = { STBI__F_none, STBI__F_sub, STBI__F_none, STBI__F_avg_first, STBI__F_paeth_first }; static int stbi__paeth(int a, int b, int c) { int p = a + b - c; int pa = abs(p-a); int pb = abs(p-b); int pc = abs(p-c); if (pa <= pb && pa <= pc) return a; if (pb <= pc) return b; return c; } static const stbi_uc stbi__depth_scale_table[9] = { 0, 0xff, 0x55, 0, 0x11, 0,0,0, 0x01 }; // create the png data from post-deflated data static int stbi__create_png_image_raw(stbi__png *a, stbi_uc *raw, stbi__uint32 raw_len, int out_n, stbi__uint32 x, stbi__uint32 y, int depth, int color) { int bytes = (depth == 16? 2 : 1); stbi__context *s = a->s; stbi__uint32 i,j,stride = x*out_n*bytes; stbi__uint32 img_len, img_width_bytes; int k; int img_n = s->img_n; // copy it into a local for later int output_bytes = out_n*bytes; int filter_bytes = img_n*bytes; int width = x; STBI_ASSERT(out_n == s->img_n || out_n == s->img_n+1); a->out = (stbi_uc *) stbi__malloc_mad3(x, y, output_bytes, 0); // extra bytes to write off the end into if (!a->out) return stbi__err("outofmem", "Out of memory"); if (!stbi__mad3sizes_valid(img_n, x, depth, 7)) return stbi__err("too large", "Corrupt PNG"); img_width_bytes = (((img_n * x * depth) + 7) >> 3); img_len = (img_width_bytes + 1) * y; // we used to check for exact match between raw_len and img_len on non-interlaced PNGs, // but issue #276 reported a PNG in the wild that had extra data at the end (all zeros), // so just check for raw_len < img_len always. if (raw_len < img_len) return stbi__err("not enough pixels","Corrupt PNG"); for (j=0; j < y; ++j) { stbi_uc *cur = a->out + stride*j; stbi_uc *prior; int filter = *raw++; if (filter > 4) return stbi__err("invalid filter","Corrupt PNG"); if (depth < 8) { STBI_ASSERT(img_width_bytes <= x); cur += x*out_n - img_width_bytes; // store output to the rightmost img_len bytes, so we can decode in place filter_bytes = 1; width = img_width_bytes; } prior = cur - stride; // bugfix: need to compute this after 'cur +=' computation above // if first row, use special filter that doesn't sample previous row if (j == 0) filter = first_row_filter[filter]; // handle first byte explicitly for (k=0; k < filter_bytes; ++k) { switch (filter) { case STBI__F_none : cur[k] = raw[k]; break; case STBI__F_sub : cur[k] = raw[k]; break; case STBI__F_up : cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; case STBI__F_avg : cur[k] = STBI__BYTECAST(raw[k] + (prior[k]>>1)); break; case STBI__F_paeth : cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(0,prior[k],0)); break; case STBI__F_avg_first : cur[k] = raw[k]; break; case STBI__F_paeth_first: cur[k] = raw[k]; break; } } if (depth == 8) { if (img_n != out_n) cur[img_n] = 255; // first pixel raw += img_n; cur += out_n; prior += out_n; } else if (depth == 16) { if (img_n != out_n) { cur[filter_bytes] = 255; // first pixel top byte cur[filter_bytes+1] = 255; // first pixel bottom byte } raw += filter_bytes; cur += output_bytes; prior += output_bytes; } else { raw += 1; cur += 1; prior += 1; } // this is a little gross, so that we don't switch per-pixel or per-component if (depth < 8 || img_n == out_n) { int nk = (width - 1)*filter_bytes; #define STBI__CASE(f) \ case f: \ for (k=0; k < nk; ++k) switch (filter) { // "none" filter turns into a memcpy here; make that explicit. case STBI__F_none: memcpy(cur, raw, nk); break; STBI__CASE(STBI__F_sub) { cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); } break; STBI__CASE(STBI__F_up) { cur[k] = STBI__BYTECAST(raw[k] + prior[k]); } break; STBI__CASE(STBI__F_avg) { cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); } break; STBI__CASE(STBI__F_paeth) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); } break; STBI__CASE(STBI__F_avg_first) { cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); } break; STBI__CASE(STBI__F_paeth_first) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); } break; } #undef STBI__CASE raw += nk; } else { STBI_ASSERT(img_n+1 == out_n); #define STBI__CASE(f) \ case f: \ for (i=x-1; i >= 1; --i, cur[filter_bytes]=255,raw+=filter_bytes,cur+=output_bytes,prior+=output_bytes) \ for (k=0; k < filter_bytes; ++k) switch (filter) { STBI__CASE(STBI__F_none) { cur[k] = raw[k]; } break; STBI__CASE(STBI__F_sub) { cur[k] = STBI__BYTECAST(raw[k] + cur[k- output_bytes]); } break; STBI__CASE(STBI__F_up) { cur[k] = STBI__BYTECAST(raw[k] + prior[k]); } break; STBI__CASE(STBI__F_avg) { cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k- output_bytes])>>1)); } break; STBI__CASE(STBI__F_paeth) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k- output_bytes],prior[k],prior[k- output_bytes])); } break; STBI__CASE(STBI__F_avg_first) { cur[k] = STBI__BYTECAST(raw[k] + (cur[k- output_bytes] >> 1)); } break; STBI__CASE(STBI__F_paeth_first) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k- output_bytes],0,0)); } break; } #undef STBI__CASE // the loop above sets the high byte of the pixels' alpha, but for // 16 bit png files we also need the low byte set. we'll do that here. if (depth == 16) { cur = a->out + stride*j; // start at the beginning of the row again for (i=0; i < x; ++i,cur+=output_bytes) { cur[filter_bytes+1] = 255; } } } } // we make a separate pass to expand bits to pixels; for performance, // this could run two scanlines behind the above code, so it won't // intefere with filtering but will still be in the cache. if (depth < 8) { for (j=0; j < y; ++j) { stbi_uc *cur = a->out + stride*j; stbi_uc *in = a->out + stride*j + x*out_n - img_width_bytes; // unpack 1/2/4-bit into a 8-bit buffer. allows us to keep the common 8-bit path optimal at minimal cost for 1/2/4-bit // png guarante byte alignment, if width is not multiple of 8/4/2 we'll decode dummy trailing data that will be skipped in the later loop stbi_uc scale = (color == 0) ? stbi__depth_scale_table[depth] : 1; // scale grayscale values to 0..255 range // note that the final byte might overshoot and write more data than desired. // we can allocate enough data that this never writes out of memory, but it // could also overwrite the next scanline. can it overwrite non-empty data // on the next scanline? yes, consider 1-pixel-wide scanlines with 1-bit-per-pixel. // so we need to explicitly clamp the final ones if (depth == 4) { for (k=x*img_n; k >= 2; k-=2, ++in) { *cur++ = scale * ((*in >> 4) ); *cur++ = scale * ((*in ) & 0x0f); } if (k > 0) *cur++ = scale * ((*in >> 4) ); } else if (depth == 2) { for (k=x*img_n; k >= 4; k-=4, ++in) { *cur++ = scale * ((*in >> 6) ); *cur++ = scale * ((*in >> 4) & 0x03); *cur++ = scale * ((*in >> 2) & 0x03); *cur++ = scale * ((*in ) & 0x03); } if (k > 0) *cur++ = scale * ((*in >> 6) ); if (k > 1) *cur++ = scale * ((*in >> 4) & 0x03); if (k > 2) *cur++ = scale * ((*in >> 2) & 0x03); } else if (depth == 1) { for (k=x*img_n; k >= 8; k-=8, ++in) { *cur++ = scale * ((*in >> 7) ); *cur++ = scale * ((*in >> 6) & 0x01); *cur++ = scale * ((*in >> 5) & 0x01); *cur++ = scale * ((*in >> 4) & 0x01); *cur++ = scale * ((*in >> 3) & 0x01); *cur++ = scale * ((*in >> 2) & 0x01); *cur++ = scale * ((*in >> 1) & 0x01); *cur++ = scale * ((*in ) & 0x01); } if (k > 0) *cur++ = scale * ((*in >> 7) ); if (k > 1) *cur++ = scale * ((*in >> 6) & 0x01); if (k > 2) *cur++ = scale * ((*in >> 5) & 0x01); if (k > 3) *cur++ = scale * ((*in >> 4) & 0x01); if (k > 4) *cur++ = scale * ((*in >> 3) & 0x01); if (k > 5) *cur++ = scale * ((*in >> 2) & 0x01); if (k > 6) *cur++ = scale * ((*in >> 1) & 0x01); } if (img_n != out_n) { int q; // insert alpha = 255 cur = a->out + stride*j; if (img_n == 1) { for (q=x-1; q >= 0; --q) { cur[q*2+1] = 255; cur[q*2+0] = cur[q]; } } else { STBI_ASSERT(img_n == 3); for (q=x-1; q >= 0; --q) { cur[q*4+3] = 255; cur[q*4+2] = cur[q*3+2]; cur[q*4+1] = cur[q*3+1]; cur[q*4+0] = cur[q*3+0]; } } } } } else if (depth == 16) { // force the image data from big-endian to platform-native. // this is done in a separate pass due to the decoding relying // on the data being untouched, but could probably be done // per-line during decode if care is taken. stbi_uc *cur = a->out; stbi__uint16 *cur16 = (stbi__uint16*)cur; for(i=0; i < x*y*out_n; ++i,cur16++,cur+=2) { *cur16 = (cur[0] << 8) | cur[1]; } } return 1; } static int stbi__create_png_image(stbi__png *a, stbi_uc *image_data, stbi__uint32 image_data_len, int out_n, int depth, int color, int interlaced) { int bytes = (depth == 16 ? 2 : 1); int out_bytes = out_n * bytes; stbi_uc *final; int p; if (!interlaced) return stbi__create_png_image_raw(a, image_data, image_data_len, out_n, a->s->img_x, a->s->img_y, depth, color); // de-interlacing final = (stbi_uc *) stbi__malloc_mad3(a->s->img_x, a->s->img_y, out_bytes, 0); for (p=0; p < 7; ++p) { int xorig[] = { 0,4,0,2,0,1,0 }; int yorig[] = { 0,0,4,0,2,0,1 }; int xspc[] = { 8,8,4,4,2,2,1 }; int yspc[] = { 8,8,8,4,4,2,2 }; int i,j,x,y; // pass1_x[4] = 0, pass1_x[5] = 1, pass1_x[12] = 1 x = (a->s->img_x - xorig[p] + xspc[p]-1) / xspc[p]; y = (a->s->img_y - yorig[p] + yspc[p]-1) / yspc[p]; if (x && y) { stbi__uint32 img_len = ((((a->s->img_n * x * depth) + 7) >> 3) + 1) * y; if (!stbi__create_png_image_raw(a, image_data, image_data_len, out_n, x, y, depth, color)) { STBI_FREE(final); return 0; } for (j=0; j < y; ++j) { for (i=0; i < x; ++i) { int out_y = j*yspc[p]+yorig[p]; int out_x = i*xspc[p]+xorig[p]; memcpy(final + out_y*a->s->img_x*out_bytes + out_x*out_bytes, a->out + (j*x+i)*out_bytes, out_bytes); } } STBI_FREE(a->out); a->out = NULL; image_data += img_len; image_data_len -= img_len; } } a->out = final; return 1; } static int stbi__compute_transparency(stbi__png *z, stbi_uc tc[3], int out_n) { stbi__context *s = z->s; stbi__uint32 i, pixel_count = s->img_x * s->img_y; stbi_uc *p = z->out; // compute color-based transparency, assuming we've // already got 255 as the alpha value in the output STBI_ASSERT(out_n == 2 || out_n == 4); if (out_n == 2) { for (i=0; i < pixel_count; ++i) { p[1] = (p[0] == tc[0] ? 0 : 255); p += 2; } } else { for (i=0; i < pixel_count; ++i) { if (p[0] == tc[0] && p[1] == tc[1] && p[2] == tc[2]) p[3] = 0; p += 4; } } return 1; } static int stbi__compute_transparency16(stbi__png *z, stbi__uint16 tc[3], int out_n) { stbi__context *s = z->s; stbi__uint32 i, pixel_count = s->img_x * s->img_y; stbi__uint16 *p = (stbi__uint16*) z->out; // compute color-based transparency, assuming we've // already got 65535 as the alpha value in the output STBI_ASSERT(out_n == 2 || out_n == 4); if (out_n == 2) { for (i = 0; i < pixel_count; ++i) { p[1] = (p[0] == tc[0] ? 0 : 65535); p += 2; } } else { for (i = 0; i < pixel_count; ++i) { if (p[0] == tc[0] && p[1] == tc[1] && p[2] == tc[2]) p[3] = 0; p += 4; } } return 1; } static int stbi__expand_png_palette(stbi__png *a, stbi_uc *palette, int len, int pal_img_n) { stbi__uint32 i, pixel_count = a->s->img_x * a->s->img_y; stbi_uc *p, *temp_out, *orig = a->out; p = (stbi_uc *) stbi__malloc_mad2(pixel_count, pal_img_n, 0); if (p == NULL) return stbi__err("outofmem", "Out of memory"); // between here and free(out) below, exitting would leak temp_out = p; if (pal_img_n == 3) { for (i=0; i < pixel_count; ++i) { int n = orig[i]*4; p[0] = palette[n ]; p[1] = palette[n+1]; p[2] = palette[n+2]; p += 3; } } else { for (i=0; i < pixel_count; ++i) { int n = orig[i]*4; p[0] = palette[n ]; p[1] = palette[n+1]; p[2] = palette[n+2]; p[3] = palette[n+3]; p += 4; } } STBI_FREE(a->out); a->out = temp_out; STBI_NOTUSED(len); return 1; } static int stbi__unpremultiply_on_load = 0; static int stbi__de_iphone_flag = 0; STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) { stbi__unpremultiply_on_load = flag_true_if_should_unpremultiply; } STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) { stbi__de_iphone_flag = flag_true_if_should_convert; } static void stbi__de_iphone(stbi__png *z) { stbi__context *s = z->s; stbi__uint32 i, pixel_count = s->img_x * s->img_y; stbi_uc *p = z->out; if (s->img_out_n == 3) { // convert bgr to rgb for (i=0; i < pixel_count; ++i) { stbi_uc t = p[0]; p[0] = p[2]; p[2] = t; p += 3; } } else { STBI_ASSERT(s->img_out_n == 4); if (stbi__unpremultiply_on_load) { // convert bgr to rgb and unpremultiply for (i=0; i < pixel_count; ++i) { stbi_uc a = p[3]; stbi_uc t = p[0]; if (a) { stbi_uc half = a / 2; p[0] = (p[2] * 255 + half) / a; p[1] = (p[1] * 255 + half) / a; p[2] = ( t * 255 + half) / a; } else { p[0] = p[2]; p[2] = t; } p += 4; } } else { // convert bgr to rgb for (i=0; i < pixel_count; ++i) { stbi_uc t = p[0]; p[0] = p[2]; p[2] = t; p += 4; } } } } #define STBI__PNG_TYPE(a,b,c,d) (((unsigned) (a) << 24) + ((unsigned) (b) << 16) + ((unsigned) (c) << 8) + (unsigned) (d)) static int stbi__parse_png_file(stbi__png *z, int scan, int req_comp) { stbi_uc palette[1024], pal_img_n=0; stbi_uc has_trans=0, tc[3]; stbi__uint16 tc16[3]; stbi__uint32 ioff=0, idata_limit=0, i, pal_len=0; int first=1,k,interlace=0, color=0, is_iphone=0; stbi__context *s = z->s; z->expanded = NULL; z->idata = NULL; z->out = NULL; if (!stbi__check_png_header(s)) return 0; if (scan == STBI__SCAN_type) return 1; for (;;) { stbi__pngchunk c = stbi__get_chunk_header(s); switch (c.type) { case STBI__PNG_TYPE('C','g','B','I'): is_iphone = 1; stbi__skip(s, c.length); break; case STBI__PNG_TYPE('I','H','D','R'): { int comp,filter; if (!first) return stbi__err("multiple IHDR","Corrupt PNG"); first = 0; if (c.length != 13) return stbi__err("bad IHDR len","Corrupt PNG"); s->img_x = stbi__get32be(s); if (s->img_x > (1 << 24)) return stbi__err("too large","Very large image (corrupt?)"); s->img_y = stbi__get32be(s); if (s->img_y > (1 << 24)) return stbi__err("too large","Very large image (corrupt?)"); z->depth = stbi__get8(s); if (z->depth != 1 && z->depth != 2 && z->depth != 4 && z->depth != 8 && z->depth != 16) return stbi__err("1/2/4/8/16-bit only","PNG not supported: 1/2/4/8/16-bit only"); color = stbi__get8(s); if (color > 6) return stbi__err("bad ctype","Corrupt PNG"); if (color == 3 && z->depth == 16) return stbi__err("bad ctype","Corrupt PNG"); if (color == 3) pal_img_n = 3; else if (color & 1) return stbi__err("bad ctype","Corrupt PNG"); comp = stbi__get8(s); if (comp) return stbi__err("bad comp method","Corrupt PNG"); filter= stbi__get8(s); if (filter) return stbi__err("bad filter method","Corrupt PNG"); interlace = stbi__get8(s); if (interlace>1) return stbi__err("bad interlace method","Corrupt PNG"); if (!s->img_x || !s->img_y) return stbi__err("0-pixel image","Corrupt PNG"); if (!pal_img_n) { s->img_n = (color & 2 ? 3 : 1) + (color & 4 ? 1 : 0); if ((1 << 30) / s->img_x / s->img_n < s->img_y) return stbi__err("too large", "Image too large to decode"); if (scan == STBI__SCAN_header) return 1; } else { // if paletted, then pal_n is our final components, and // img_n is # components to decompress/filter. s->img_n = 1; if ((1 << 30) / s->img_x / 4 < s->img_y) return stbi__err("too large","Corrupt PNG"); // if SCAN_header, have to scan to see if we have a tRNS } break; } case STBI__PNG_TYPE('P','L','T','E'): { if (first) return stbi__err("first not IHDR", "Corrupt PNG"); if (c.length > 256*3) return stbi__err("invalid PLTE","Corrupt PNG"); pal_len = c.length / 3; if (pal_len * 3 != c.length) return stbi__err("invalid PLTE","Corrupt PNG"); for (i=0; i < pal_len; ++i) { palette[i*4+0] = stbi__get8(s); palette[i*4+1] = stbi__get8(s); palette[i*4+2] = stbi__get8(s); palette[i*4+3] = 255; } break; } case STBI__PNG_TYPE('t','R','N','S'): { if (first) return stbi__err("first not IHDR", "Corrupt PNG"); if (z->idata) return stbi__err("tRNS after IDAT","Corrupt PNG"); if (pal_img_n) { if (scan == STBI__SCAN_header) { s->img_n = 4; return 1; } if (pal_len == 0) return stbi__err("tRNS before PLTE","Corrupt PNG"); if (c.length > pal_len) return stbi__err("bad tRNS len","Corrupt PNG"); pal_img_n = 4; for (i=0; i < c.length; ++i) palette[i*4+3] = stbi__get8(s); } else { if (!(s->img_n & 1)) return stbi__err("tRNS with alpha","Corrupt PNG"); if (c.length != (stbi__uint32) s->img_n*2) return stbi__err("bad tRNS len","Corrupt PNG"); has_trans = 1; if (z->depth == 16) { for (k = 0; k < s->img_n; ++k) tc16[k] = (stbi__uint16)stbi__get16be(s); // copy the values as-is } else { for (k = 0; k < s->img_n; ++k) tc[k] = (stbi_uc)(stbi__get16be(s) & 255) * stbi__depth_scale_table[z->depth]; // non 8-bit images will be larger } } break; } case STBI__PNG_TYPE('I','D','A','T'): { if (first) return stbi__err("first not IHDR", "Corrupt PNG"); if (pal_img_n && !pal_len) return stbi__err("no PLTE","Corrupt PNG"); if (scan == STBI__SCAN_header) { s->img_n = pal_img_n; return 1; } if ((int)(ioff + c.length) < (int)ioff) return 0; if (ioff + c.length > idata_limit) { stbi__uint32 idata_limit_old = idata_limit; stbi_uc *p; if (idata_limit == 0) idata_limit = c.length > 4096 ? c.length : 4096; while (ioff + c.length > idata_limit) idata_limit *= 2; STBI_NOTUSED(idata_limit_old); p = (stbi_uc *) STBI_REALLOC_SIZED(z->idata, idata_limit_old, idata_limit); if (p == NULL) return stbi__err("outofmem", "Out of memory"); z->idata = p; } if (!stbi__getn(s, z->idata+ioff,c.length)) return stbi__err("outofdata","Corrupt PNG"); ioff += c.length; break; } case STBI__PNG_TYPE('I','E','N','D'): { stbi__uint32 raw_len, bpl; if (first) return stbi__err("first not IHDR", "Corrupt PNG"); if (scan != STBI__SCAN_load) return 1; if (z->idata == NULL) return stbi__err("no IDAT","Corrupt PNG"); // initial guess for decoded data size to avoid unnecessary reallocs bpl = (s->img_x * z->depth + 7) / 8; // bytes per line, per component raw_len = bpl * s->img_y * s->img_n /* pixels */ + s->img_y /* filter mode per row */; z->expanded = (stbi_uc *) stbi_zlib_decode_malloc_guesssize_headerflag((char *) z->idata, ioff, raw_len, (int *) &raw_len, !is_iphone); if (z->expanded == NULL) return 0; // zlib should set error STBI_FREE(z->idata); z->idata = NULL; if ((req_comp == s->img_n+1 && req_comp != 3 && !pal_img_n) || has_trans) s->img_out_n = s->img_n+1; else s->img_out_n = s->img_n; if (!stbi__create_png_image(z, z->expanded, raw_len, s->img_out_n, z->depth, color, interlace)) return 0; if (has_trans) { if (z->depth == 16) { if (!stbi__compute_transparency16(z, tc16, s->img_out_n)) return 0; } else { if (!stbi__compute_transparency(z, tc, s->img_out_n)) return 0; } } if (is_iphone && stbi__de_iphone_flag && s->img_out_n > 2) stbi__de_iphone(z); if (pal_img_n) { // pal_img_n == 3 or 4 s->img_n = pal_img_n; // record the actual colors we had s->img_out_n = pal_img_n; if (req_comp >= 3) s->img_out_n = req_comp; if (!stbi__expand_png_palette(z, palette, pal_len, s->img_out_n)) return 0; } else if (has_trans) { // non-paletted image with tRNS -> source image has (constant) alpha ++s->img_n; } STBI_FREE(z->expanded); z->expanded = NULL; return 1; } default: // if critical, fail if (first) return stbi__err("first not IHDR", "Corrupt PNG"); if ((c.type & (1 << 29)) == 0) { #ifndef STBI_NO_FAILURE_STRINGS // not threadsafe static char invalid_chunk[] = "XXXX PNG chunk not known"; invalid_chunk[0] = STBI__BYTECAST(c.type >> 24); invalid_chunk[1] = STBI__BYTECAST(c.type >> 16); invalid_chunk[2] = STBI__BYTECAST(c.type >> 8); invalid_chunk[3] = STBI__BYTECAST(c.type >> 0); #endif return stbi__err(invalid_chunk, "PNG not supported: unknown PNG chunk type"); } stbi__skip(s, c.length); break; } // end of PNG chunk, read and skip CRC stbi__get32be(s); } } static void *stbi__do_png(stbi__png *p, int *x, int *y, int *n, int req_comp, stbi__result_info *ri) { void *result=NULL; if (req_comp < 0 || req_comp > 4) return stbi__errpuc("bad req_comp", "Internal error"); if (stbi__parse_png_file(p, STBI__SCAN_load, req_comp)) { if (p->depth < 8) ri->bits_per_channel = 8; else ri->bits_per_channel = p->depth; result = p->out; p->out = NULL; if (req_comp && req_comp != p->s->img_out_n) { if (ri->bits_per_channel == 8) result = stbi__convert_format((unsigned char *) result, p->s->img_out_n, req_comp, p->s->img_x, p->s->img_y); else result = stbi__convert_format16((stbi__uint16 *) result, p->s->img_out_n, req_comp, p->s->img_x, p->s->img_y); p->s->img_out_n = req_comp; if (result == NULL) return result; } *x = p->s->img_x; *y = p->s->img_y; if (n) *n = p->s->img_n; } STBI_FREE(p->out); p->out = NULL; STBI_FREE(p->expanded); p->expanded = NULL; STBI_FREE(p->idata); p->idata = NULL; return result; } static void *stbi__png_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { stbi__png p; p.s = s; return stbi__do_png(&p, x,y,comp,req_comp, ri); } static int stbi__png_test(stbi__context *s) { int r; r = stbi__check_png_header(s); stbi__rewind(s); return r; } static int stbi__png_info_raw(stbi__png *p, int *x, int *y, int *comp) { if (!stbi__parse_png_file(p, STBI__SCAN_header, 0)) { stbi__rewind( p->s ); return 0; } if (x) *x = p->s->img_x; if (y) *y = p->s->img_y; if (comp) *comp = p->s->img_n; return 1; } static int stbi__png_info(stbi__context *s, int *x, int *y, int *comp) { stbi__png p; p.s = s; return stbi__png_info_raw(&p, x, y, comp); } static int stbi__png_is16(stbi__context *s) { stbi__png p; p.s = s; if (!stbi__png_info_raw(&p, NULL, NULL, NULL)) return 0; if (p.depth != 16) { stbi__rewind(p.s); return 0; } return 1; } #endif // Microsoft/Windows BMP image #ifndef STBI_NO_BMP static int stbi__bmp_test_raw(stbi__context *s) { int r; int sz; if (stbi__get8(s) != 'B') return 0; if (stbi__get8(s) != 'M') return 0; stbi__get32le(s); // discard filesize stbi__get16le(s); // discard reserved stbi__get16le(s); // discard reserved stbi__get32le(s); // discard data offset sz = stbi__get32le(s); r = (sz == 12 || sz == 40 || sz == 56 || sz == 108 || sz == 124); return r; } static int stbi__bmp_test(stbi__context *s) { int r = stbi__bmp_test_raw(s); stbi__rewind(s); return r; } // returns 0..31 for the highest set bit static int stbi__high_bit(unsigned int z) { int n=0; if (z == 0) return -1; if (z >= 0x10000) n += 16, z >>= 16; if (z >= 0x00100) n += 8, z >>= 8; if (z >= 0x00010) n += 4, z >>= 4; if (z >= 0x00004) n += 2, z >>= 2; if (z >= 0x00002) n += 1, z >>= 1; return n; } static int stbi__bitcount(unsigned int a) { a = (a & 0x55555555) + ((a >> 1) & 0x55555555); // max 2 a = (a & 0x33333333) + ((a >> 2) & 0x33333333); // max 4 a = (a + (a >> 4)) & 0x0f0f0f0f; // max 8 per 4, now 8 bits a = (a + (a >> 8)); // max 16 per 8 bits a = (a + (a >> 16)); // max 32 per 8 bits return a & 0xff; } // extract an arbitrarily-aligned N-bit value (N=bits) // from v, and then make it 8-bits long and fractionally // extend it to full full range. static int stbi__shiftsigned(int v, int shift, int bits) { static unsigned int mul_table[9] = { 0, 0xff/*0b11111111*/, 0x55/*0b01010101*/, 0x49/*0b01001001*/, 0x11/*0b00010001*/, 0x21/*0b00100001*/, 0x41/*0b01000001*/, 0x81/*0b10000001*/, 0x01/*0b00000001*/, }; static unsigned int shift_table[9] = { 0, 0,0,1,0,2,4,6,0, }; if (shift < 0) v <<= -shift; else v >>= shift; STBI_ASSERT(v >= 0 && v < 256); v >>= (8-bits); STBI_ASSERT(bits >= 0 && bits <= 8); return (int) ((unsigned) v * mul_table[bits]) >> shift_table[bits]; } typedef struct { int bpp, offset, hsz; unsigned int mr,mg,mb,ma, all_a; } stbi__bmp_data; static void *stbi__bmp_parse_header(stbi__context *s, stbi__bmp_data *info) { int hsz; if (stbi__get8(s) != 'B' || stbi__get8(s) != 'M') return stbi__errpuc("not BMP", "Corrupt BMP"); stbi__get32le(s); // discard filesize stbi__get16le(s); // discard reserved stbi__get16le(s); // discard reserved info->offset = stbi__get32le(s); info->hsz = hsz = stbi__get32le(s); info->mr = info->mg = info->mb = info->ma = 0; if (hsz != 12 && hsz != 40 && hsz != 56 && hsz != 108 && hsz != 124) return stbi__errpuc("unknown BMP", "BMP type not supported: unknown"); if (hsz == 12) { s->img_x = stbi__get16le(s); s->img_y = stbi__get16le(s); } else { s->img_x = stbi__get32le(s); s->img_y = stbi__get32le(s); } if (stbi__get16le(s) != 1) return stbi__errpuc("bad BMP", "bad BMP"); info->bpp = stbi__get16le(s); if (hsz != 12) { int compress = stbi__get32le(s); if (compress == 1 || compress == 2) return stbi__errpuc("BMP RLE", "BMP type not supported: RLE"); stbi__get32le(s); // discard sizeof stbi__get32le(s); // discard hres stbi__get32le(s); // discard vres stbi__get32le(s); // discard colorsused stbi__get32le(s); // discard max important if (hsz == 40 || hsz == 56) { if (hsz == 56) { stbi__get32le(s); stbi__get32le(s); stbi__get32le(s); stbi__get32le(s); } if (info->bpp == 16 || info->bpp == 32) { if (compress == 0) { if (info->bpp == 32) { info->mr = 0xffu << 16; info->mg = 0xffu << 8; info->mb = 0xffu << 0; info->ma = 0xffu << 24; info->all_a = 0; // if all_a is 0 at end, then we loaded alpha channel but it was all 0 } else { info->mr = 31u << 10; info->mg = 31u << 5; info->mb = 31u << 0; } } else if (compress == 3) { info->mr = stbi__get32le(s); info->mg = stbi__get32le(s); info->mb = stbi__get32le(s); // not documented, but generated by photoshop and handled by mspaint if (info->mr == info->mg && info->mg == info->mb) { // ?!?!? return stbi__errpuc("bad BMP", "bad BMP"); } } else return stbi__errpuc("bad BMP", "bad BMP"); } } else { int i; if (hsz != 108 && hsz != 124) return stbi__errpuc("bad BMP", "bad BMP"); info->mr = stbi__get32le(s); info->mg = stbi__get32le(s); info->mb = stbi__get32le(s); info->ma = stbi__get32le(s); stbi__get32le(s); // discard color space for (i=0; i < 12; ++i) stbi__get32le(s); // discard color space parameters if (hsz == 124) { stbi__get32le(s); // discard rendering intent stbi__get32le(s); // discard offset of profile data stbi__get32le(s); // discard size of profile data stbi__get32le(s); // discard reserved } } } return (void *) 1; } static void *stbi__bmp_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { stbi_uc *out; unsigned int mr=0,mg=0,mb=0,ma=0, all_a; stbi_uc pal[256][4]; int psize=0,i,j,width; int flip_vertically, pad, target; stbi__bmp_data info; STBI_NOTUSED(ri); info.all_a = 255; if (stbi__bmp_parse_header(s, &info) == NULL) return NULL; // error code already set flip_vertically = ((int) s->img_y) > 0; s->img_y = abs((int) s->img_y); mr = info.mr; mg = info.mg; mb = info.mb; ma = info.ma; all_a = info.all_a; if (info.hsz == 12) { if (info.bpp < 24) psize = (info.offset - 14 - 24) / 3; } else { if (info.bpp < 16) psize = (info.offset - 14 - info.hsz) >> 2; } s->img_n = ma ? 4 : 3; if (req_comp && req_comp >= 3) // we can directly decode 3 or 4 target = req_comp; else target = s->img_n; // if they want monochrome, we'll post-convert // sanity-check size if (!stbi__mad3sizes_valid(target, s->img_x, s->img_y, 0)) return stbi__errpuc("too large", "Corrupt BMP"); out = (stbi_uc *) stbi__malloc_mad3(target, s->img_x, s->img_y, 0); if (!out) return stbi__errpuc("outofmem", "Out of memory"); if (info.bpp < 16) { int z=0; if (psize == 0 || psize > 256) { STBI_FREE(out); return stbi__errpuc("invalid", "Corrupt BMP"); } for (i=0; i < psize; ++i) { pal[i][2] = stbi__get8(s); pal[i][1] = stbi__get8(s); pal[i][0] = stbi__get8(s); if (info.hsz != 12) stbi__get8(s); pal[i][3] = 255; } stbi__skip(s, info.offset - 14 - info.hsz - psize * (info.hsz == 12 ? 3 : 4)); if (info.bpp == 1) width = (s->img_x + 7) >> 3; else if (info.bpp == 4) width = (s->img_x + 1) >> 1; else if (info.bpp == 8) width = s->img_x; else { STBI_FREE(out); return stbi__errpuc("bad bpp", "Corrupt BMP"); } pad = (-width)&3; if (info.bpp == 1) { for (j=0; j < (int) s->img_y; ++j) { int bit_offset = 7, v = stbi__get8(s); for (i=0; i < (int) s->img_x; ++i) { int color = (v>>bit_offset)&0x1; out[z++] = pal[color][0]; out[z++] = pal[color][1]; out[z++] = pal[color][2]; if((--bit_offset) < 0) { bit_offset = 7; v = stbi__get8(s); } } stbi__skip(s, pad); } } else { for (j=0; j < (int) s->img_y; ++j) { for (i=0; i < (int) s->img_x; i += 2) { int v=stbi__get8(s),v2=0; if (info.bpp == 4) { v2 = v & 15; v >>= 4; } out[z++] = pal[v][0]; out[z++] = pal[v][1]; out[z++] = pal[v][2]; if (target == 4) out[z++] = 255; if (i+1 == (int) s->img_x) break; v = (info.bpp == 8) ? stbi__get8(s) : v2; out[z++] = pal[v][0]; out[z++] = pal[v][1]; out[z++] = pal[v][2]; if (target == 4) out[z++] = 255; } stbi__skip(s, pad); } } } else { int rshift=0,gshift=0,bshift=0,ashift=0,rcount=0,gcount=0,bcount=0,acount=0; int z = 0; int easy=0; stbi__skip(s, info.offset - 14 - info.hsz); if (info.bpp == 24) width = 3 * s->img_x; else if (info.bpp == 16) width = 2*s->img_x; else /* bpp = 32 and pad = 0 */ width=0; pad = (-width) & 3; if (info.bpp == 24) { easy = 1; } else if (info.bpp == 32) { if (mb == 0xff && mg == 0xff00 && mr == 0x00ff0000 && ma == 0xff000000) easy = 2; } if (!easy) { if (!mr || !mg || !mb) { STBI_FREE(out); return stbi__errpuc("bad masks", "Corrupt BMP"); } // right shift amt to put high bit in position #7 rshift = stbi__high_bit(mr)-7; rcount = stbi__bitcount(mr); gshift = stbi__high_bit(mg)-7; gcount = stbi__bitcount(mg); bshift = stbi__high_bit(mb)-7; bcount = stbi__bitcount(mb); ashift = stbi__high_bit(ma)-7; acount = stbi__bitcount(ma); } for (j=0; j < (int) s->img_y; ++j) { if (easy) { for (i=0; i < (int) s->img_x; ++i) { unsigned char a; out[z+2] = stbi__get8(s); out[z+1] = stbi__get8(s); out[z+0] = stbi__get8(s); z += 3; a = (easy == 2 ? stbi__get8(s) : 255); all_a |= a; if (target == 4) out[z++] = a; } } else { int bpp = info.bpp; for (i=0; i < (int) s->img_x; ++i) { stbi__uint32 v = (bpp == 16 ? (stbi__uint32) stbi__get16le(s) : stbi__get32le(s)); unsigned int a; out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mr, rshift, rcount)); out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mg, gshift, gcount)); out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mb, bshift, bcount)); a = (ma ? stbi__shiftsigned(v & ma, ashift, acount) : 255); all_a |= a; if (target == 4) out[z++] = STBI__BYTECAST(a); } } stbi__skip(s, pad); } } // if alpha channel is all 0s, replace with all 255s if (target == 4 && all_a == 0) for (i=4*s->img_x*s->img_y-1; i >= 0; i -= 4) out[i] = 255; if (flip_vertically) { stbi_uc t; for (j=0; j < (int) s->img_y>>1; ++j) { stbi_uc *p1 = out + j *s->img_x*target; stbi_uc *p2 = out + (s->img_y-1-j)*s->img_x*target; for (i=0; i < (int) s->img_x*target; ++i) { t = p1[i], p1[i] = p2[i], p2[i] = t; } } } if (req_comp && req_comp != target) { out = stbi__convert_format(out, target, req_comp, s->img_x, s->img_y); if (out == NULL) return out; // stbi__convert_format frees input on failure } *x = s->img_x; *y = s->img_y; if (comp) *comp = s->img_n; return out; } #endif // Targa Truevision - TGA // by Jonathan Dummer #ifndef STBI_NO_TGA // returns STBI_rgb or whatever, 0 on error static int stbi__tga_get_comp(int bits_per_pixel, int is_grey, int* is_rgb16) { // only RGB or RGBA (incl. 16bit) or grey allowed if (is_rgb16) *is_rgb16 = 0; switch(bits_per_pixel) { case 8: return STBI_grey; case 16: if(is_grey) return STBI_grey_alpha; // fallthrough case 15: if(is_rgb16) *is_rgb16 = 1; return STBI_rgb; case 24: // fallthrough case 32: return bits_per_pixel/8; default: return 0; } } static int stbi__tga_info(stbi__context *s, int *x, int *y, int *comp) { int tga_w, tga_h, tga_comp, tga_image_type, tga_bits_per_pixel, tga_colormap_bpp; int sz, tga_colormap_type; stbi__get8(s); // discard Offset tga_colormap_type = stbi__get8(s); // colormap type if( tga_colormap_type > 1 ) { stbi__rewind(s); return 0; // only RGB or indexed allowed } tga_image_type = stbi__get8(s); // image type if ( tga_colormap_type == 1 ) { // colormapped (paletted) image if (tga_image_type != 1 && tga_image_type != 9) { stbi__rewind(s); return 0; } stbi__skip(s,4); // skip index of first colormap entry and number of entries sz = stbi__get8(s); // check bits per palette color entry if ( (sz != 8) && (sz != 15) && (sz != 16) && (sz != 24) && (sz != 32) ) { stbi__rewind(s); return 0; } stbi__skip(s,4); // skip image x and y origin tga_colormap_bpp = sz; } else { // "normal" image w/o colormap - only RGB or grey allowed, +/- RLE if ( (tga_image_type != 2) && (tga_image_type != 3) && (tga_image_type != 10) && (tga_image_type != 11) ) { stbi__rewind(s); return 0; // only RGB or grey allowed, +/- RLE } stbi__skip(s,9); // skip colormap specification and image x/y origin tga_colormap_bpp = 0; } tga_w = stbi__get16le(s); if( tga_w < 1 ) { stbi__rewind(s); return 0; // test width } tga_h = stbi__get16le(s); if( tga_h < 1 ) { stbi__rewind(s); return 0; // test height } tga_bits_per_pixel = stbi__get8(s); // bits per pixel stbi__get8(s); // ignore alpha bits if (tga_colormap_bpp != 0) { if((tga_bits_per_pixel != 8) && (tga_bits_per_pixel != 16)) { // when using a colormap, tga_bits_per_pixel is the size of the indexes // I don't think anything but 8 or 16bit indexes makes sense stbi__rewind(s); return 0; } tga_comp = stbi__tga_get_comp(tga_colormap_bpp, 0, NULL); } else { tga_comp = stbi__tga_get_comp(tga_bits_per_pixel, (tga_image_type == 3) || (tga_image_type == 11), NULL); } if(!tga_comp) { stbi__rewind(s); return 0; } if (x) *x = tga_w; if (y) *y = tga_h; if (comp) *comp = tga_comp; return 1; // seems to have passed everything } static int stbi__tga_test(stbi__context *s) { int res = 0; int sz, tga_color_type; stbi__get8(s); // discard Offset tga_color_type = stbi__get8(s); // color type if ( tga_color_type > 1 ) goto errorEnd; // only RGB or indexed allowed sz = stbi__get8(s); // image type if ( tga_color_type == 1 ) { // colormapped (paletted) image if (sz != 1 && sz != 9) goto errorEnd; // colortype 1 demands image type 1 or 9 stbi__skip(s,4); // skip index of first colormap entry and number of entries sz = stbi__get8(s); // check bits per palette color entry if ( (sz != 8) && (sz != 15) && (sz != 16) && (sz != 24) && (sz != 32) ) goto errorEnd; stbi__skip(s,4); // skip image x and y origin } else { // "normal" image w/o colormap if ( (sz != 2) && (sz != 3) && (sz != 10) && (sz != 11) ) goto errorEnd; // only RGB or grey allowed, +/- RLE stbi__skip(s,9); // skip colormap specification and image x/y origin } if ( stbi__get16le(s) < 1 ) goto errorEnd; // test width if ( stbi__get16le(s) < 1 ) goto errorEnd; // test height sz = stbi__get8(s); // bits per pixel if ( (tga_color_type == 1) && (sz != 8) && (sz != 16) ) goto errorEnd; // for colormapped images, bpp is size of an index if ( (sz != 8) && (sz != 15) && (sz != 16) && (sz != 24) && (sz != 32) ) goto errorEnd; res = 1; // if we got this far, everything's good and we can return 1 instead of 0 errorEnd: stbi__rewind(s); return res; } // read 16bit value and convert to 24bit RGB static void stbi__tga_read_rgb16(stbi__context *s, stbi_uc* out) { stbi__uint16 px = (stbi__uint16)stbi__get16le(s); stbi__uint16 fiveBitMask = 31; // we have 3 channels with 5bits each int r = (px >> 10) & fiveBitMask; int g = (px >> 5) & fiveBitMask; int b = px & fiveBitMask; // Note that this saves the data in RGB(A) order, so it doesn't need to be swapped later out[0] = (stbi_uc)((r * 255)/31); out[1] = (stbi_uc)((g * 255)/31); out[2] = (stbi_uc)((b * 255)/31); // some people claim that the most significant bit might be used for alpha // (possibly if an alpha-bit is set in the "image descriptor byte") // but that only made 16bit test images completely translucent.. // so let's treat all 15 and 16bit TGAs as RGB with no alpha. } static void *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { // read in the TGA header stuff int tga_offset = stbi__get8(s); int tga_indexed = stbi__get8(s); int tga_image_type = stbi__get8(s); int tga_is_RLE = 0; int tga_palette_start = stbi__get16le(s); int tga_palette_len = stbi__get16le(s); int tga_palette_bits = stbi__get8(s); int tga_x_origin = stbi__get16le(s); int tga_y_origin = stbi__get16le(s); int tga_width = stbi__get16le(s); int tga_height = stbi__get16le(s); int tga_bits_per_pixel = stbi__get8(s); int tga_comp, tga_rgb16=0; int tga_inverted = stbi__get8(s); // int tga_alpha_bits = tga_inverted & 15; // the 4 lowest bits - unused (useless?) // image data unsigned char *tga_data; unsigned char *tga_palette = NULL; int i, j; unsigned char raw_data[4] = {0}; int RLE_count = 0; int RLE_repeating = 0; int read_next_pixel = 1; STBI_NOTUSED(ri); // do a tiny bit of precessing if ( tga_image_type >= 8 ) { tga_image_type -= 8; tga_is_RLE = 1; } tga_inverted = 1 - ((tga_inverted >> 5) & 1); // If I'm paletted, then I'll use the number of bits from the palette if ( tga_indexed ) tga_comp = stbi__tga_get_comp(tga_palette_bits, 0, &tga_rgb16); else tga_comp = stbi__tga_get_comp(tga_bits_per_pixel, (tga_image_type == 3), &tga_rgb16); if(!tga_comp) // shouldn't really happen, stbi__tga_test() should have ensured basic consistency return stbi__errpuc("bad format", "Can't find out TGA pixelformat"); // tga info *x = tga_width; *y = tga_height; if (comp) *comp = tga_comp; if (!stbi__mad3sizes_valid(tga_width, tga_height, tga_comp, 0)) return stbi__errpuc("too large", "Corrupt TGA"); tga_data = (unsigned char*)stbi__malloc_mad3(tga_width, tga_height, tga_comp, 0); if (!tga_data) return stbi__errpuc("outofmem", "Out of memory"); // skip to the data's starting position (offset usually = 0) stbi__skip(s, tga_offset ); if ( !tga_indexed && !tga_is_RLE && !tga_rgb16 ) { for (i=0; i < tga_height; ++i) { int row = tga_inverted ? tga_height -i - 1 : i; stbi_uc *tga_row = tga_data + row*tga_width*tga_comp; stbi__getn(s, tga_row, tga_width * tga_comp); } } else { // do I need to load a palette? if ( tga_indexed) { // any data to skip? (offset usually = 0) stbi__skip(s, tga_palette_start ); // load the palette tga_palette = (unsigned char*)stbi__malloc_mad2(tga_palette_len, tga_comp, 0); if (!tga_palette) { STBI_FREE(tga_data); return stbi__errpuc("outofmem", "Out of memory"); } if (tga_rgb16) { stbi_uc *pal_entry = tga_palette; STBI_ASSERT(tga_comp == STBI_rgb); for (i=0; i < tga_palette_len; ++i) { stbi__tga_read_rgb16(s, pal_entry); pal_entry += tga_comp; } } else if (!stbi__getn(s, tga_palette, tga_palette_len * tga_comp)) { STBI_FREE(tga_data); STBI_FREE(tga_palette); return stbi__errpuc("bad palette", "Corrupt TGA"); } } // load the data for (i=0; i < tga_width * tga_height; ++i) { // if I'm in RLE mode, do I need to get a RLE stbi__pngchunk? if ( tga_is_RLE ) { if ( RLE_count == 0 ) { // yep, get the next byte as a RLE command int RLE_cmd = stbi__get8(s); RLE_count = 1 + (RLE_cmd & 127); RLE_repeating = RLE_cmd >> 7; read_next_pixel = 1; } else if ( !RLE_repeating ) { read_next_pixel = 1; } } else { read_next_pixel = 1; } // OK, if I need to read a pixel, do it now if ( read_next_pixel ) { // load however much data we did have if ( tga_indexed ) { // read in index, then perform the lookup int pal_idx = (tga_bits_per_pixel == 8) ? stbi__get8(s) : stbi__get16le(s); if ( pal_idx >= tga_palette_len ) { // invalid index pal_idx = 0; } pal_idx *= tga_comp; for (j = 0; j < tga_comp; ++j) { raw_data[j] = tga_palette[pal_idx+j]; } } else if(tga_rgb16) { STBI_ASSERT(tga_comp == STBI_rgb); stbi__tga_read_rgb16(s, raw_data); } else { // read in the data raw for (j = 0; j < tga_comp; ++j) { raw_data[j] = stbi__get8(s); } } // clear the reading flag for the next pixel read_next_pixel = 0; } // end of reading a pixel // copy data for (j = 0; j < tga_comp; ++j) tga_data[i*tga_comp+j] = raw_data[j]; // in case we're in RLE mode, keep counting down --RLE_count; } // do I need to invert the image? if ( tga_inverted ) { for (j = 0; j*2 < tga_height; ++j) { int index1 = j * tga_width * tga_comp; int index2 = (tga_height - 1 - j) * tga_width * tga_comp; for (i = tga_width * tga_comp; i > 0; --i) { unsigned char temp = tga_data[index1]; tga_data[index1] = tga_data[index2]; tga_data[index2] = temp; ++index1; ++index2; } } } // clear my palette, if I had one if ( tga_palette != NULL ) { STBI_FREE( tga_palette ); } } // swap RGB - if the source data was RGB16, it already is in the right order if (tga_comp >= 3 && !tga_rgb16) { unsigned char* tga_pixel = tga_data; for (i=0; i < tga_width * tga_height; ++i) { unsigned char temp = tga_pixel[0]; tga_pixel[0] = tga_pixel[2]; tga_pixel[2] = temp; tga_pixel += tga_comp; } } // convert to target component count if (req_comp && req_comp != tga_comp) tga_data = stbi__convert_format(tga_data, tga_comp, req_comp, tga_width, tga_height); // the things I do to get rid of an error message, and yet keep // Microsoft's C compilers happy... [8^( tga_palette_start = tga_palette_len = tga_palette_bits = tga_x_origin = tga_y_origin = 0; // OK, done return tga_data; } #endif // ************************************************************************************************* // Photoshop PSD loader -- PD by Thatcher Ulrich, integration by Nicolas Schulz, tweaked by STB #ifndef STBI_NO_PSD static int stbi__psd_test(stbi__context *s) { int r = (stbi__get32be(s) == 0x38425053); stbi__rewind(s); return r; } static int stbi__psd_decode_rle(stbi__context *s, stbi_uc *p, int pixelCount) { int count, nleft, len; count = 0; while ((nleft = pixelCount - count) > 0) { len = stbi__get8(s); if (len == 128) { // No-op. } else if (len < 128) { // Copy next len+1 bytes literally. len++; if (len > nleft) return 0; // corrupt data count += len; while (len) { *p = stbi__get8(s); p += 4; len--; } } else if (len > 128) { stbi_uc val; // Next -len+1 bytes in the dest are replicated from next source byte. // (Interpret len as a negative 8-bit int.) len = 257 - len; if (len > nleft) return 0; // corrupt data val = stbi__get8(s); count += len; while (len) { *p = val; p += 4; len--; } } } return 1; } static void *stbi__psd_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc) { int pixelCount; int channelCount, compression; int channel, i; int bitdepth; int w,h; stbi_uc *out; STBI_NOTUSED(ri); // Check identifier if (stbi__get32be(s) != 0x38425053) // "8BPS" return stbi__errpuc("not PSD", "Corrupt PSD image"); // Check file type version. if (stbi__get16be(s) != 1) return stbi__errpuc("wrong version", "Unsupported version of PSD image"); // Skip 6 reserved bytes. stbi__skip(s, 6 ); // Read the number of channels (R, G, B, A, etc). channelCount = stbi__get16be(s); if (channelCount < 0 || channelCount > 16) return stbi__errpuc("wrong channel count", "Unsupported number of channels in PSD image"); // Read the rows and columns of the image. h = stbi__get32be(s); w = stbi__get32be(s); // Make sure the depth is 8 bits. bitdepth = stbi__get16be(s); if (bitdepth != 8 && bitdepth != 16) return stbi__errpuc("unsupported bit depth", "PSD bit depth is not 8 or 16 bit"); // Make sure the color mode is RGB. // Valid options are: // 0: Bitmap // 1: Grayscale // 2: Indexed color // 3: RGB color // 4: CMYK color // 7: Multichannel // 8: Duotone // 9: Lab color if (stbi__get16be(s) != 3) return stbi__errpuc("wrong color format", "PSD is not in RGB color format"); // Skip the Mode Data. (It's the palette for indexed color; other info for other modes.) stbi__skip(s,stbi__get32be(s) ); // Skip the image resources. (resolution, pen tool paths, etc) stbi__skip(s, stbi__get32be(s) ); // Skip the reserved data. stbi__skip(s, stbi__get32be(s) ); // Find out if the data is compressed. // Known values: // 0: no compression // 1: RLE compressed compression = stbi__get16be(s); if (compression > 1) return stbi__errpuc("bad compression", "PSD has an unknown compression format"); // Check size if (!stbi__mad3sizes_valid(4, w, h, 0)) return stbi__errpuc("too large", "Corrupt PSD"); // Create the destination image. if (!compression && bitdepth == 16 && bpc == 16) { out = (stbi_uc *) stbi__malloc_mad3(8, w, h, 0); ri->bits_per_channel = 16; } else out = (stbi_uc *) stbi__malloc(4 * w*h); if (!out) return stbi__errpuc("outofmem", "Out of memory"); pixelCount = w*h; // Initialize the data to zero. //memset( out, 0, pixelCount * 4 ); // Finally, the image data. if (compression) { // RLE as used by .PSD and .TIFF // Loop until you get the number of unpacked bytes you are expecting: // Read the next source byte into n. // If n is between 0 and 127 inclusive, copy the next n+1 bytes literally. // Else if n is between -127 and -1 inclusive, copy the next byte -n+1 times. // Else if n is 128, noop. // Endloop // The RLE-compressed data is preceeded by a 2-byte data count for each row in the data, // which we're going to just skip. stbi__skip(s, h * channelCount * 2 ); // Read the RLE data by channel. for (channel = 0; channel < 4; channel++) { stbi_uc *p; p = out+channel; if (channel >= channelCount) { // Fill this channel with default data. for (i = 0; i < pixelCount; i++, p += 4) *p = (channel == 3 ? 255 : 0); } else { // Read the RLE data. if (!stbi__psd_decode_rle(s, p, pixelCount)) { STBI_FREE(out); return stbi__errpuc("corrupt", "bad RLE data"); } } } } else { // We're at the raw image data. It's each channel in order (Red, Green, Blue, Alpha, ...) // where each channel consists of an 8-bit (or 16-bit) value for each pixel in the image. // Read the data by channel. for (channel = 0; channel < 4; channel++) { if (channel >= channelCount) { // Fill this channel with default data. if (bitdepth == 16 && bpc == 16) { stbi__uint16 *q = ((stbi__uint16 *) out) + channel; stbi__uint16 val = channel == 3 ? 65535 : 0; for (i = 0; i < pixelCount; i++, q += 4) *q = val; } else { stbi_uc *p = out+channel; stbi_uc val = channel == 3 ? 255 : 0; for (i = 0; i < pixelCount; i++, p += 4) *p = val; } } else { if (ri->bits_per_channel == 16) { // output bpc stbi__uint16 *q = ((stbi__uint16 *) out) + channel; for (i = 0; i < pixelCount; i++, q += 4) *q = (stbi__uint16) stbi__get16be(s); } else { stbi_uc *p = out+channel; if (bitdepth == 16) { // input bpc for (i = 0; i < pixelCount; i++, p += 4) *p = (stbi_uc) (stbi__get16be(s) >> 8); } else { for (i = 0; i < pixelCount; i++, p += 4) *p = stbi__get8(s); } } } } } // remove weird white matte from PSD if (channelCount >= 4) { if (ri->bits_per_channel == 16) { for (i=0; i < w*h; ++i) { stbi__uint16 *pixel = (stbi__uint16 *) out + 4*i; if (pixel[3] != 0 && pixel[3] != 65535) { float a = pixel[3] / 65535.0f; float ra = 1.0f / a; float inv_a = 65535.0f * (1 - ra); pixel[0] = (stbi__uint16) (pixel[0]*ra + inv_a); pixel[1] = (stbi__uint16) (pixel[1]*ra + inv_a); pixel[2] = (stbi__uint16) (pixel[2]*ra + inv_a); } } } else { for (i=0; i < w*h; ++i) { unsigned char *pixel = out + 4*i; if (pixel[3] != 0 && pixel[3] != 255) { float a = pixel[3] / 255.0f; float ra = 1.0f / a; float inv_a = 255.0f * (1 - ra); pixel[0] = (unsigned char) (pixel[0]*ra + inv_a); pixel[1] = (unsigned char) (pixel[1]*ra + inv_a); pixel[2] = (unsigned char) (pixel[2]*ra + inv_a); } } } } // convert to desired output format if (req_comp && req_comp != 4) { if (ri->bits_per_channel == 16) out = (stbi_uc *) stbi__convert_format16((stbi__uint16 *) out, 4, req_comp, w, h); else out = stbi__convert_format(out, 4, req_comp, w, h); if (out == NULL) return out; // stbi__convert_format frees input on failure } if (comp) *comp = 4; *y = h; *x = w; return out; } #endif // ************************************************************************************************* // Softimage PIC loader // by Tom Seddon // // See http://softimage.wiki.softimage.com/index.php/INFO:_PIC_file_format // See http://ozviz.wasp.uwa.edu.au/~pbourke/dataformats/softimagepic/ #ifndef STBI_NO_PIC static int stbi__pic_is4(stbi__context *s,const char *str) { int i; for (i=0; i<4; ++i) if (stbi__get8(s) != (stbi_uc)str[i]) return 0; return 1; } static int stbi__pic_test_core(stbi__context *s) { int i; if (!stbi__pic_is4(s,"\x53\x80\xF6\x34")) return 0; for(i=0;i<84;++i) stbi__get8(s); if (!stbi__pic_is4(s,"PICT")) return 0; return 1; } typedef struct { stbi_uc size,type,channel; } stbi__pic_packet; static stbi_uc *stbi__readval(stbi__context *s, int channel, stbi_uc *dest) { int mask=0x80, i; for (i=0; i<4; ++i, mask>>=1) { if (channel & mask) { if (stbi__at_eof(s)) return stbi__errpuc("bad file","PIC file too short"); dest[i]=stbi__get8(s); } } return dest; } static void stbi__copyval(int channel,stbi_uc *dest,const stbi_uc *src) { int mask=0x80,i; for (i=0;i<4; ++i, mask>>=1) if (channel&mask) dest[i]=src[i]; } static stbi_uc *stbi__pic_load_core(stbi__context *s,int width,int height,int *comp, stbi_uc *result) { int act_comp=0,num_packets=0,y,chained; stbi__pic_packet packets[10]; // this will (should...) cater for even some bizarre stuff like having data // for the same channel in multiple packets. do { stbi__pic_packet *packet; if (num_packets==sizeof(packets)/sizeof(packets[0])) return stbi__errpuc("bad format","too many packets"); packet = &packets[num_packets++]; chained = stbi__get8(s); packet->size = stbi__get8(s); packet->type = stbi__get8(s); packet->channel = stbi__get8(s); act_comp |= packet->channel; if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (reading packets)"); if (packet->size != 8) return stbi__errpuc("bad format","packet isn't 8bpp"); } while (chained); *comp = (act_comp & 0x10 ? 4 : 3); // has alpha channel? for(y=0; y<height; ++y) { int packet_idx; for(packet_idx=0; packet_idx < num_packets; ++packet_idx) { stbi__pic_packet *packet = &packets[packet_idx]; stbi_uc *dest = result+y*width*4; switch (packet->type) { default: return stbi__errpuc("bad format","packet has bad compression type"); case 0: {//uncompressed int x; for(x=0;x<width;++x, dest+=4) if (!stbi__readval(s,packet->channel,dest)) return 0; break; } case 1://Pure RLE { int left=width, i; while (left>0) { stbi_uc count,value[4]; count=stbi__get8(s); if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (pure read count)"); if (count > left) count = (stbi_uc) left; if (!stbi__readval(s,packet->channel,value)) return 0; for(i=0; i<count; ++i,dest+=4) stbi__copyval(packet->channel,dest,value); left -= count; } } break; case 2: {//Mixed RLE int left=width; while (left>0) { int count = stbi__get8(s), i; if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (mixed read count)"); if (count >= 128) { // Repeated stbi_uc value[4]; if (count==128) count = stbi__get16be(s); else count -= 127; if (count > left) return stbi__errpuc("bad file","scanline overrun"); if (!stbi__readval(s,packet->channel,value)) return 0; for(i=0;i<count;++i, dest += 4) stbi__copyval(packet->channel,dest,value); } else { // Raw ++count; if (count>left) return stbi__errpuc("bad file","scanline overrun"); for(i=0;i<count;++i, dest+=4) if (!stbi__readval(s,packet->channel,dest)) return 0; } left-=count; } break; } } } } return result; } static void *stbi__pic_load(stbi__context *s,int *px,int *py,int *comp,int req_comp, stbi__result_info *ri) { stbi_uc *result; int i, x,y, internal_comp; STBI_NOTUSED(ri); if (!comp) comp = &internal_comp; for (i=0; i<92; ++i) stbi__get8(s); x = stbi__get16be(s); y = stbi__get16be(s); if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (pic header)"); if (!stbi__mad3sizes_valid(x, y, 4, 0)) return stbi__errpuc("too large", "PIC image too large to decode"); stbi__get32be(s); //skip `ratio' stbi__get16be(s); //skip `fields' stbi__get16be(s); //skip `pad' // intermediate buffer is RGBA result = (stbi_uc *) stbi__malloc_mad3(x, y, 4, 0); memset(result, 0xff, x*y*4); if (!stbi__pic_load_core(s,x,y,comp, result)) { STBI_FREE(result); result=0; } *px = x; *py = y; if (req_comp == 0) req_comp = *comp; result=stbi__convert_format(result,4,req_comp,x,y); return result; } static int stbi__pic_test(stbi__context *s) { int r = stbi__pic_test_core(s); stbi__rewind(s); return r; } #endif // ************************************************************************************************* // GIF loader -- public domain by Jean-Marc Lienher -- simplified/shrunk by stb #ifndef STBI_NO_GIF typedef struct { stbi__int16 prefix; stbi_uc first; stbi_uc suffix; } stbi__gif_lzw; typedef struct { int w,h; stbi_uc *out; // output buffer (always 4 components) stbi_uc *background; // The current "background" as far as a gif is concerned stbi_uc *history; int flags, bgindex, ratio, transparent, eflags; stbi_uc pal[256][4]; stbi_uc lpal[256][4]; stbi__gif_lzw codes[8192]; stbi_uc *color_table; int parse, step; int lflags; int start_x, start_y; int max_x, max_y; int cur_x, cur_y; int line_size; int delay; } stbi__gif; static int stbi__gif_test_raw(stbi__context *s) { int sz; if (stbi__get8(s) != 'G' || stbi__get8(s) != 'I' || stbi__get8(s) != 'F' || stbi__get8(s) != '8') return 0; sz = stbi__get8(s); if (sz != '9' && sz != '7') return 0; if (stbi__get8(s) != 'a') return 0; return 1; } static int stbi__gif_test(stbi__context *s) { int r = stbi__gif_test_raw(s); stbi__rewind(s); return r; } static void stbi__gif_parse_colortable(stbi__context *s, stbi_uc pal[256][4], int num_entries, int transp) { int i; for (i=0; i < num_entries; ++i) { pal[i][2] = stbi__get8(s); pal[i][1] = stbi__get8(s); pal[i][0] = stbi__get8(s); pal[i][3] = transp == i ? 0 : 255; } } static int stbi__gif_header(stbi__context *s, stbi__gif *g, int *comp, int is_info) { stbi_uc version; if (stbi__get8(s) != 'G' || stbi__get8(s) != 'I' || stbi__get8(s) != 'F' || stbi__get8(s) != '8') return stbi__err("not GIF", "Corrupt GIF"); version = stbi__get8(s); if (version != '7' && version != '9') return stbi__err("not GIF", "Corrupt GIF"); if (stbi__get8(s) != 'a') return stbi__err("not GIF", "Corrupt GIF"); stbi__g_failure_reason = ""; g->w = stbi__get16le(s); g->h = stbi__get16le(s); g->flags = stbi__get8(s); g->bgindex = stbi__get8(s); g->ratio = stbi__get8(s); g->transparent = -1; if (comp != 0) *comp = 4; // can't actually tell whether it's 3 or 4 until we parse the comments if (is_info) return 1; if (g->flags & 0x80) stbi__gif_parse_colortable(s,g->pal, 2 << (g->flags & 7), -1); return 1; } static int stbi__gif_info_raw(stbi__context *s, int *x, int *y, int *comp) { stbi__gif* g = (stbi__gif*) stbi__malloc(sizeof(stbi__gif)); if (!stbi__gif_header(s, g, comp, 1)) { STBI_FREE(g); stbi__rewind( s ); return 0; } if (x) *x = g->w; if (y) *y = g->h; STBI_FREE(g); return 1; } static void stbi__out_gif_code(stbi__gif *g, stbi__uint16 code) { stbi_uc *p, *c; int idx; // recurse to decode the prefixes, since the linked-list is backwards, // and working backwards through an interleaved image would be nasty if (g->codes[code].prefix >= 0) stbi__out_gif_code(g, g->codes[code].prefix); if (g->cur_y >= g->max_y) return; idx = g->cur_x + g->cur_y; p = &g->out[idx]; g->history[idx / 4] = 1; c = &g->color_table[g->codes[code].suffix * 4]; if (c[3] > 128) { // don't render transparent pixels; p[0] = c[2]; p[1] = c[1]; p[2] = c[0]; p[3] = c[3]; } g->cur_x += 4; if (g->cur_x >= g->max_x) { g->cur_x = g->start_x; g->cur_y += g->step; while (g->cur_y >= g->max_y && g->parse > 0) { g->step = (1 << g->parse) * g->line_size; g->cur_y = g->start_y + (g->step >> 1); --g->parse; } } } static stbi_uc *stbi__process_gif_raster(stbi__context *s, stbi__gif *g) { stbi_uc lzw_cs; stbi__int32 len, init_code; stbi__uint32 first; stbi__int32 codesize, codemask, avail, oldcode, bits, valid_bits, clear; stbi__gif_lzw *p; lzw_cs = stbi__get8(s); if (lzw_cs > 12) return NULL; clear = 1 << lzw_cs; first = 1; codesize = lzw_cs + 1; codemask = (1 << codesize) - 1; bits = 0; valid_bits = 0; for (init_code = 0; init_code < clear; init_code++) { g->codes[init_code].prefix = -1; g->codes[init_code].first = (stbi_uc) init_code; g->codes[init_code].suffix = (stbi_uc) init_code; } // support no starting clear code avail = clear+2; oldcode = -1; len = 0; for(;;) { if (valid_bits < codesize) { if (len == 0) { len = stbi__get8(s); // start new block if (len == 0) return g->out; } --len; bits |= (stbi__int32) stbi__get8(s) << valid_bits; valid_bits += 8; } else { stbi__int32 code = bits & codemask; bits >>= codesize; valid_bits -= codesize; // @OPTIMIZE: is there some way we can accelerate the non-clear path? if (code == clear) { // clear code codesize = lzw_cs + 1; codemask = (1 << codesize) - 1; avail = clear + 2; oldcode = -1; first = 0; } else if (code == clear + 1) { // end of stream code stbi__skip(s, len); while ((len = stbi__get8(s)) > 0) stbi__skip(s,len); return g->out; } else if (code <= avail) { if (first) { return stbi__errpuc("no clear code", "Corrupt GIF"); } if (oldcode >= 0) { p = &g->codes[avail++]; if (avail > 8192) { return stbi__errpuc("too many codes", "Corrupt GIF"); } p->prefix = (stbi__int16) oldcode; p->first = g->codes[oldcode].first; p->suffix = (code == avail) ? p->first : g->codes[code].first; } else if (code == avail) return stbi__errpuc("illegal code in raster", "Corrupt GIF"); stbi__out_gif_code(g, (stbi__uint16) code); if ((avail & codemask) == 0 && avail <= 0x0FFF) { codesize++; codemask = (1 << codesize) - 1; } oldcode = code; } else { return stbi__errpuc("illegal code in raster", "Corrupt GIF"); } } } } // this function is designed to support animated gifs, although stb_image doesn't support it // two back is the image from two frames ago, used for a very specific disposal format static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, int req_comp, stbi_uc *two_back) { int dispose; int first_frame; int pi; int pcount; // on first frame, any non-written pixels get the background colour (non-transparent) first_frame = 0; if (g->out == 0) { if (!stbi__gif_header(s, g, comp,0)) return 0; // stbi__g_failure_reason set by stbi__gif_header g->out = (stbi_uc *) stbi__malloc(4 * g->w * g->h); g->background = (stbi_uc *) stbi__malloc(4 * g->w * g->h); g->history = (stbi_uc *) stbi__malloc(g->w * g->h); if (g->out == 0) return stbi__errpuc("outofmem", "Out of memory"); // image is treated as "tranparent" at the start - ie, nothing overwrites the current background; // background colour is only used for pixels that are not rendered first frame, after that "background" // color refers to teh color that was there the previous frame. memset( g->out, 0x00, 4 * g->w * g->h ); memset( g->background, 0x00, 4 * g->w * g->h ); // state of the background (starts transparent) memset( g->history, 0x00, g->w * g->h ); // pixels that were affected previous frame first_frame = 1; } else { // second frame - how do we dispoase of the previous one? dispose = (g->eflags & 0x1C) >> 2; pcount = g->w * g->h; if ((dispose == 3) && (two_back == 0)) { dispose = 2; // if I don't have an image to revert back to, default to the old background } if (dispose == 3) { // use previous graphic for (pi = 0; pi < pcount; ++pi) { if (g->history[pi]) { memcpy( &g->out[pi * 4], &two_back[pi * 4], 4 ); } } } else if (dispose == 2) { // restore what was changed last frame to background before that frame; for (pi = 0; pi < pcount; ++pi) { if (g->history[pi]) { memcpy( &g->out[pi * 4], &g->background[pi * 4], 4 ); } } } else { // This is a non-disposal case eithe way, so just // leave the pixels as is, and they will become the new background // 1: do not dispose // 0: not specified. } // background is what out is after the undoing of the previou frame; memcpy( g->background, g->out, 4 * g->w * g->h ); } // clear my history; memset( g->history, 0x00, g->w * g->h ); // pixels that were affected previous frame for (;;) { int tag = stbi__get8(s); switch (tag) { case 0x2C: /* Image Descriptor */ { stbi__int32 x, y, w, h; stbi_uc *o; x = stbi__get16le(s); y = stbi__get16le(s); w = stbi__get16le(s); h = stbi__get16le(s); if (((x + w) > (g->w)) || ((y + h) > (g->h))) return stbi__errpuc("bad Image Descriptor", "Corrupt GIF"); g->line_size = g->w * 4; g->start_x = x * 4; g->start_y = y * g->line_size; g->max_x = g->start_x + w * 4; g->max_y = g->start_y + h * g->line_size; g->cur_x = g->start_x; g->cur_y = g->start_y; g->lflags = stbi__get8(s); if (g->lflags & 0x40) { g->step = 8 * g->line_size; // first interlaced spacing g->parse = 3; } else { g->step = g->line_size; g->parse = 0; } if (g->lflags & 0x80) { stbi__gif_parse_colortable(s,g->lpal, 2 << (g->lflags & 7), g->eflags & 0x01 ? g->transparent : -1); g->color_table = (stbi_uc *) g->lpal; } else if (g->flags & 0x80) { g->color_table = (stbi_uc *) g->pal; } else return stbi__errpuc("missing color table", "Corrupt GIF"); o = stbi__process_gif_raster(s, g); if (o == NULL) return NULL; // if this was the first frame, pcount = g->w * g->h; if (first_frame && (g->bgindex > 0)) { // if first frame, any pixel not drawn to gets the background color for (pi = 0; pi < pcount; ++pi) { if (g->history[pi] == 0) { g->pal[g->bgindex][3] = 255; // just in case it was made transparent, undo that; It will be reset next frame if need be; memcpy( &g->out[pi * 4], &g->pal[g->bgindex], 4 ); } } } return o; } case 0x21: // Comment Extension. { int len; int ext = stbi__get8(s); if (ext == 0xF9) { // Graphic Control Extension. len = stbi__get8(s); if (len == 4) { g->eflags = stbi__get8(s); g->delay = 10 * stbi__get16le(s); // delay - 1/100th of a second, saving as 1/1000ths. // unset old transparent if (g->transparent >= 0) { g->pal[g->transparent][3] = 255; } if (g->eflags & 0x01) { g->transparent = stbi__get8(s); if (g->transparent >= 0) { g->pal[g->transparent][3] = 0; } } else { // don't need transparent stbi__skip(s, 1); g->transparent = -1; } } else { stbi__skip(s, len); break; } } while ((len = stbi__get8(s)) != 0) { stbi__skip(s, len); } break; } case 0x3B: // gif stream termination code return (stbi_uc *) s; // using '1' causes warning on some compilers default: return stbi__errpuc("unknown code", "Corrupt GIF"); } } } static void *stbi__load_gif_main(stbi__context *s, int **delays, int *x, int *y, int *z, int *comp, int req_comp) { if (stbi__gif_test(s)) { int layers = 0; stbi_uc *u = 0; stbi_uc *out = 0; stbi_uc *two_back = 0; stbi__gif g; int stride; memset(&g, 0, sizeof(g)); if (delays) { *delays = 0; } do { u = stbi__gif_load_next(s, &g, comp, req_comp, two_back); if (u == (stbi_uc *) s) u = 0; // end of animated gif marker if (u) { *x = g.w; *y = g.h; ++layers; stride = g.w * g.h * 4; if (out) { out = (stbi_uc*) STBI_REALLOC( out, layers * stride ); if (delays) { *delays = (int*) STBI_REALLOC( *delays, sizeof(int) * layers ); } } else { out = (stbi_uc*)stbi__malloc( layers * stride ); if (delays) { *delays = (int*) stbi__malloc( layers * sizeof(int) ); } } memcpy( out + ((layers - 1) * stride), u, stride ); if (layers >= 2) { two_back = out - 2 * stride; } if (delays) { (*delays)[layers - 1U] = g.delay; } } } while (u != 0); // free temp buffer; STBI_FREE(g.out); STBI_FREE(g.history); STBI_FREE(g.background); // do the final conversion after loading everything; if (req_comp && req_comp != 4) out = stbi__convert_format(out, 4, req_comp, layers * g.w, g.h); *z = layers; return out; } else { return stbi__errpuc("not GIF", "Image was not as a gif type."); } } static void *stbi__gif_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { stbi_uc *u = 0; stbi__gif g; memset(&g, 0, sizeof(g)); u = stbi__gif_load_next(s, &g, comp, req_comp, 0); if (u == (stbi_uc *) s) u = 0; // end of animated gif marker if (u) { *x = g.w; *y = g.h; // moved conversion to after successful load so that the same // can be done for multiple frames. if (req_comp && req_comp != 4) u = stbi__convert_format(u, 4, req_comp, g.w, g.h); } // free buffers needed for multiple frame loading; STBI_FREE(g.history); STBI_FREE(g.background); return u; } static int stbi__gif_info(stbi__context *s, int *x, int *y, int *comp) { return stbi__gif_info_raw(s,x,y,comp); } #endif // ************************************************************************************************* // Radiance RGBE HDR loader // originally by Nicolas Schulz #ifndef STBI_NO_HDR static int stbi__hdr_test_core(stbi__context *s, const char *signature) { int i; for (i=0; signature[i]; ++i) if (stbi__get8(s) != signature[i]) return 0; stbi__rewind(s); return 1; } static int stbi__hdr_test(stbi__context* s) { int r = stbi__hdr_test_core(s, "#?RADIANCE\n"); stbi__rewind(s); if(!r) { r = stbi__hdr_test_core(s, "#?RGBE\n"); stbi__rewind(s); } return r; } #define STBI__HDR_BUFLEN 1024 static char *stbi__hdr_gettoken(stbi__context *z, char *buffer) { int len=0; char c = '\0'; c = (char) stbi__get8(z); while (!stbi__at_eof(z) && c != '\n') { buffer[len++] = c; if (len == STBI__HDR_BUFLEN-1) { // flush to end of line while (!stbi__at_eof(z) && stbi__get8(z) != '\n') ; break; } c = (char) stbi__get8(z); } buffer[len] = 0; return buffer; } static void stbi__hdr_convert(float *output, stbi_uc *input, int req_comp) { if ( input[3] != 0 ) { float f1; // Exponent f1 = (float) ldexp(1.0f, input[3] - (int)(128 + 8)); if (req_comp <= 2) output[0] = (input[0] + input[1] + input[2]) * f1 / 3; else { output[0] = input[0] * f1; output[1] = input[1] * f1; output[2] = input[2] * f1; } if (req_comp == 2) output[1] = 1; if (req_comp == 4) output[3] = 1; } else { switch (req_comp) { case 4: output[3] = 1; /* fallthrough */ case 3: output[0] = output[1] = output[2] = 0; break; case 2: output[1] = 1; /* fallthrough */ case 1: output[0] = 0; break; } } } static float *stbi__hdr_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { char buffer[STBI__HDR_BUFLEN]; char *token; int valid = 0; int width, height; stbi_uc *scanline; float *hdr_data; int len; unsigned char count, value; int i, j, k, c1,c2, z; const char *headerToken; STBI_NOTUSED(ri); // Check identifier headerToken = stbi__hdr_gettoken(s,buffer); if (strcmp(headerToken, "#?RADIANCE") != 0 && strcmp(headerToken, "#?RGBE") != 0) return stbi__errpf("not HDR", "Corrupt HDR image"); // Parse header for(;;) { token = stbi__hdr_gettoken(s,buffer); if (token[0] == 0) break; if (strcmp(token, "FORMAT=32-bit_rle_rgbe") == 0) valid = 1; } if (!valid) return stbi__errpf("unsupported format", "Unsupported HDR format"); // Parse width and height // can't use sscanf() if we're not using stdio! token = stbi__hdr_gettoken(s,buffer); if (strncmp(token, "-Y ", 3)) return stbi__errpf("unsupported data layout", "Unsupported HDR format"); token += 3; height = (int) strtol(token, &token, 10); while (*token == ' ') ++token; if (strncmp(token, "+X ", 3)) return stbi__errpf("unsupported data layout", "Unsupported HDR format"); token += 3; width = (int) strtol(token, NULL, 10); *x = width; *y = height; if (comp) *comp = 3; if (req_comp == 0) req_comp = 3; if (!stbi__mad4sizes_valid(width, height, req_comp, sizeof(float), 0)) return stbi__errpf("too large", "HDR image is too large"); // Read data hdr_data = (float *) stbi__malloc_mad4(width, height, req_comp, sizeof(float), 0); if (!hdr_data) return stbi__errpf("outofmem", "Out of memory"); // Load image data // image data is stored as some number of sca if ( width < 8 || width >= 32768) { // Read flat data for (j=0; j < height; ++j) { for (i=0; i < width; ++i) { stbi_uc rgbe[4]; main_decode_loop: stbi__getn(s, rgbe, 4); stbi__hdr_convert(hdr_data + j * width * req_comp + i * req_comp, rgbe, req_comp); } } } else { // Read RLE-encoded data scanline = NULL; for (j = 0; j < height; ++j) { c1 = stbi__get8(s); c2 = stbi__get8(s); len = stbi__get8(s); if (c1 != 2 || c2 != 2 || (len & 0x80)) { // not run-length encoded, so we have to actually use THIS data as a decoded // pixel (note this can't be a valid pixel--one of RGB must be >= 128) stbi_uc rgbe[4]; rgbe[0] = (stbi_uc) c1; rgbe[1] = (stbi_uc) c2; rgbe[2] = (stbi_uc) len; rgbe[3] = (stbi_uc) stbi__get8(s); stbi__hdr_convert(hdr_data, rgbe, req_comp); i = 1; j = 0; STBI_FREE(scanline); goto main_decode_loop; // yes, this makes no sense } len <<= 8; len |= stbi__get8(s); if (len != width) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("invalid decoded scanline length", "corrupt HDR"); } if (scanline == NULL) { scanline = (stbi_uc *) stbi__malloc_mad2(width, 4, 0); if (!scanline) { STBI_FREE(hdr_data); return stbi__errpf("outofmem", "Out of memory"); } } for (k = 0; k < 4; ++k) { int nleft; i = 0; while ((nleft = width - i) > 0) { count = stbi__get8(s); if (count > 128) { // Run value = stbi__get8(s); count -= 128; if (count > nleft) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("corrupt", "bad RLE data in HDR"); } for (z = 0; z < count; ++z) scanline[i++ * 4 + k] = value; } else { // Dump if (count > nleft) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("corrupt", "bad RLE data in HDR"); } for (z = 0; z < count; ++z) scanline[i++ * 4 + k] = stbi__get8(s); } } } for (i=0; i < width; ++i) stbi__hdr_convert(hdr_data+(j*width + i)*req_comp, scanline + i*4, req_comp); } if (scanline) STBI_FREE(scanline); } return hdr_data; } static int stbi__hdr_info(stbi__context *s, int *x, int *y, int *comp) { char buffer[STBI__HDR_BUFLEN]; char *token; int valid = 0; int dummy; if (!x) x = &dummy; if (!y) y = &dummy; if (!comp) comp = &dummy; if (stbi__hdr_test(s) == 0) { stbi__rewind( s ); return 0; } for(;;) { token = stbi__hdr_gettoken(s,buffer); if (token[0] == 0) break; if (strcmp(token, "FORMAT=32-bit_rle_rgbe") == 0) valid = 1; } if (!valid) { stbi__rewind( s ); return 0; } token = stbi__hdr_gettoken(s,buffer); if (strncmp(token, "-Y ", 3)) { stbi__rewind( s ); return 0; } token += 3; *y = (int) strtol(token, &token, 10); while (*token == ' ') ++token; if (strncmp(token, "+X ", 3)) { stbi__rewind( s ); return 0; } token += 3; *x = (int) strtol(token, NULL, 10); *comp = 3; return 1; } #endif // STBI_NO_HDR #ifndef STBI_NO_BMP static int stbi__bmp_info(stbi__context *s, int *x, int *y, int *comp) { void *p; stbi__bmp_data info; info.all_a = 255; p = stbi__bmp_parse_header(s, &info); stbi__rewind( s ); if (p == NULL) return 0; if (x) *x = s->img_x; if (y) *y = s->img_y; if (comp) *comp = info.ma ? 4 : 3; return 1; } #endif #ifndef STBI_NO_PSD static int stbi__psd_info(stbi__context *s, int *x, int *y, int *comp) { int channelCount, dummy, depth; if (!x) x = &dummy; if (!y) y = &dummy; if (!comp) comp = &dummy; if (stbi__get32be(s) != 0x38425053) { stbi__rewind( s ); return 0; } if (stbi__get16be(s) != 1) { stbi__rewind( s ); return 0; } stbi__skip(s, 6); channelCount = stbi__get16be(s); if (channelCount < 0 || channelCount > 16) { stbi__rewind( s ); return 0; } *y = stbi__get32be(s); *x = stbi__get32be(s); depth = stbi__get16be(s); if (depth != 8 && depth != 16) { stbi__rewind( s ); return 0; } if (stbi__get16be(s) != 3) { stbi__rewind( s ); return 0; } *comp = 4; return 1; } static int stbi__psd_is16(stbi__context *s) { int channelCount, depth; if (stbi__get32be(s) != 0x38425053) { stbi__rewind( s ); return 0; } if (stbi__get16be(s) != 1) { stbi__rewind( s ); return 0; } stbi__skip(s, 6); channelCount = stbi__get16be(s); if (channelCount < 0 || channelCount > 16) { stbi__rewind( s ); return 0; } (void) stbi__get32be(s); (void) stbi__get32be(s); depth = stbi__get16be(s); if (depth != 16) { stbi__rewind( s ); return 0; } return 1; } #endif #ifndef STBI_NO_PIC static int stbi__pic_info(stbi__context *s, int *x, int *y, int *comp) { int act_comp=0,num_packets=0,chained,dummy; stbi__pic_packet packets[10]; if (!x) x = &dummy; if (!y) y = &dummy; if (!comp) comp = &dummy; if (!stbi__pic_is4(s,"\x53\x80\xF6\x34")) { stbi__rewind(s); return 0; } stbi__skip(s, 88); *x = stbi__get16be(s); *y = stbi__get16be(s); if (stbi__at_eof(s)) { stbi__rewind( s); return 0; } if ( (*x) != 0 && (1 << 28) / (*x) < (*y)) { stbi__rewind( s ); return 0; } stbi__skip(s, 8); do { stbi__pic_packet *packet; if (num_packets==sizeof(packets)/sizeof(packets[0])) return 0; packet = &packets[num_packets++]; chained = stbi__get8(s); packet->size = stbi__get8(s); packet->type = stbi__get8(s); packet->channel = stbi__get8(s); act_comp |= packet->channel; if (stbi__at_eof(s)) { stbi__rewind( s ); return 0; } if (packet->size != 8) { stbi__rewind( s ); return 0; } } while (chained); *comp = (act_comp & 0x10 ? 4 : 3); return 1; } #endif // ************************************************************************************************* // Portable Gray Map and Portable Pixel Map loader // by Ken Miller // // PGM: http://netpbm.sourceforge.net/doc/pgm.html // PPM: http://netpbm.sourceforge.net/doc/ppm.html // // Known limitations: // Does not support comments in the header section // Does not support ASCII image data (formats P2 and P3) // Does not support 16-bit-per-channel #ifndef STBI_NO_PNM static int stbi__pnm_test(stbi__context *s) { char p, t; p = (char) stbi__get8(s); t = (char) stbi__get8(s); if (p != 'P' || (t != '5' && t != '6')) { stbi__rewind( s ); return 0; } return 1; } static void *stbi__pnm_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { stbi_uc *out; STBI_NOTUSED(ri); if (!stbi__pnm_info(s, (int *)&s->img_x, (int *)&s->img_y, (int *)&s->img_n)) return 0; *x = s->img_x; *y = s->img_y; if (comp) *comp = s->img_n; if (!stbi__mad3sizes_valid(s->img_n, s->img_x, s->img_y, 0)) return stbi__errpuc("too large", "PNM too large"); out = (stbi_uc *) stbi__malloc_mad3(s->img_n, s->img_x, s->img_y, 0); if (!out) return stbi__errpuc("outofmem", "Out of memory"); stbi__getn(s, out, s->img_n * s->img_x * s->img_y); if (req_comp && req_comp != s->img_n) { out = stbi__convert_format(out, s->img_n, req_comp, s->img_x, s->img_y); if (out == NULL) return out; // stbi__convert_format frees input on failure } return out; } static int stbi__pnm_isspace(char c) { return c == ' ' || c == '\t' || c == '\n' || c == '\v' || c == '\f' || c == '\r'; } static void stbi__pnm_skip_whitespace(stbi__context *s, char *c) { for (;;) { while (!stbi__at_eof(s) && stbi__pnm_isspace(*c)) *c = (char) stbi__get8(s); if (stbi__at_eof(s) || *c != '#') break; while (!stbi__at_eof(s) && *c != '\n' && *c != '\r' ) *c = (char) stbi__get8(s); } } static int stbi__pnm_isdigit(char c) { return c >= '0' && c <= '9'; } static int stbi__pnm_getinteger(stbi__context *s, char *c) { int value = 0; while (!stbi__at_eof(s) && stbi__pnm_isdigit(*c)) { value = value*10 + (*c - '0'); *c = (char) stbi__get8(s); } return value; } static int stbi__pnm_info(stbi__context *s, int *x, int *y, int *comp) { int maxv, dummy; char c, p, t; if (!x) x = &dummy; if (!y) y = &dummy; if (!comp) comp = &dummy; stbi__rewind(s); // Get identifier p = (char) stbi__get8(s); t = (char) stbi__get8(s); if (p != 'P' || (t != '5' && t != '6')) { stbi__rewind(s); return 0; } *comp = (t == '6') ? 3 : 1; // '5' is 1-component .pgm; '6' is 3-component .ppm c = (char) stbi__get8(s); stbi__pnm_skip_whitespace(s, &c); *x = stbi__pnm_getinteger(s, &c); // read width stbi__pnm_skip_whitespace(s, &c); *y = stbi__pnm_getinteger(s, &c); // read height stbi__pnm_skip_whitespace(s, &c); maxv = stbi__pnm_getinteger(s, &c); // read max value if (maxv > 255) return stbi__err("max value > 255", "PPM image not 8-bit"); else return 1; } #endif static int stbi__info_main(stbi__context *s, int *x, int *y, int *comp) { #ifndef STBI_NO_JPEG if (stbi__jpeg_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_PNG if (stbi__png_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_GIF if (stbi__gif_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_BMP if (stbi__bmp_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_PSD if (stbi__psd_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_PIC if (stbi__pic_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_PNM if (stbi__pnm_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_HDR if (stbi__hdr_info(s, x, y, comp)) return 1; #endif // test tga last because it's a crappy test! #ifndef STBI_NO_TGA if (stbi__tga_info(s, x, y, comp)) return 1; #endif return stbi__err("unknown image type", "Image not of any known type, or corrupt"); } static int stbi__is_16_main(stbi__context *s) { #ifndef STBI_NO_PNG if (stbi__png_is16(s)) return 1; #endif #ifndef STBI_NO_PSD if (stbi__psd_is16(s)) return 1; #endif return 0; } #ifndef STBI_NO_STDIO STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) { FILE *f = stbi__fopen(filename, "rb"); int result; if (!f) return stbi__err("can't fopen", "Unable to open file"); result = stbi_info_from_file(f, x, y, comp); fclose(f); return result; } STBIDEF int stbi_info_from_file(FILE *f, int *x, int *y, int *comp) { int r; stbi__context s; long pos = ftell(f); stbi__start_file(&s, f); r = stbi__info_main(&s,x,y,comp); if (pos >= 0) { if (fseek(f,pos,SEEK_SET) == -1) return stbi__err("fseek() error", "File Seek Fail"); } return r; } STBIDEF int stbi_is_16_bit(char const *filename) { FILE *f = stbi__fopen(filename, "rb"); int result; if (!f) return stbi__err("can't fopen", "Unable to open file"); result = stbi_is_16_bit_from_file(f); fclose(f); return result; } STBIDEF int stbi_is_16_bit_from_file(FILE *f) { int r; stbi__context s; long pos = ftell(f); stbi__start_file(&s, f); r = stbi__is_16_main(&s); if (pos >= 0) { if (fseek(f,pos,SEEK_SET) == -1) return stbi__err("fseek() error", "File Seek Fail"); } return r; } #endif // !STBI_NO_STDIO STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) { stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__info_main(&s,x,y,comp); } STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) { stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *) c, user); return stbi__info_main(&s,x,y,comp); } STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) { stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__is_16_main(&s); } STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) { stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *) c, user); return stbi__is_16_main(&s); } #endif // STB_IMAGE_IMPLEMENTATION /* revision history: 2.19 (2018-02-11) fix warning 2.18 (2018-01-30) fix warnings 2.17 (2018-01-29) change sbti__shiftsigned to avoid clang -O2 bug 1-bit BMP *_is_16_bit api avoid warnings 2.16 (2017-07-23) all functions have 16-bit variants; STBI_NO_STDIO works again; compilation fixes; fix rounding in unpremultiply; optimize vertical flip; disable raw_len validation; documentation fixes 2.15 (2017-03-18) fix png-1,2,4 bug; now all Imagenet JPGs decode; warning fixes; disable run-time SSE detection on gcc; uniform handling of optional "return" values; thread-safe initialization of zlib tables 2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs 2.13 (2016-11-29) add 16-bit API, only supported for PNG right now 2.12 (2016-04-02) fix typo in 2.11 PSD fix that caused crashes 2.11 (2016-04-02) allocate large structures on the stack remove white matting for transparent PSD fix reported channel count for PNG & BMP re-enable SSE2 in non-gcc 64-bit support RGB-formatted JPEG read 16-bit PNGs (only as 8-bit) 2.10 (2016-01-22) avoid warning introduced in 2.09 by STBI_REALLOC_SIZED 2.09 (2016-01-16) allow comments in PNM files 16-bit-per-pixel TGA (not bit-per-component) info() for TGA could break due to .hdr handling info() for BMP to shares code instead of sloppy parse can use STBI_REALLOC_SIZED if allocator doesn't support realloc code cleanup 2.08 (2015-09-13) fix to 2.07 cleanup, reading RGB PSD as RGBA 2.07 (2015-09-13) fix compiler warnings partial animated GIF support limited 16-bpc PSD support #ifdef unused functions bug with < 92 byte PIC,PNM,HDR,TGA 2.06 (2015-04-19) fix bug where PSD returns wrong '*comp' value 2.05 (2015-04-19) fix bug in progressive JPEG handling, fix warning 2.04 (2015-04-15) try to re-enable SIMD on MinGW 64-bit 2.03 (2015-04-12) extra corruption checking (mmozeiko) stbi_set_flip_vertically_on_load (nguillemot) fix NEON support; fix mingw support 2.02 (2015-01-19) fix incorrect assert, fix warning 2.01 (2015-01-17) fix various warnings; suppress SIMD on gcc 32-bit without -msse2 2.00b (2014-12-25) fix STBI_MALLOC in progressive JPEG 2.00 (2014-12-25) optimize JPG, including x86 SSE2 & NEON SIMD (ryg) progressive JPEG (stb) PGM/PPM support (Ken Miller) STBI_MALLOC,STBI_REALLOC,STBI_FREE GIF bugfix -- seemingly never worked STBI_NO_*, STBI_ONLY_* 1.48 (2014-12-14) fix incorrectly-named assert() 1.47 (2014-12-14) 1/2/4-bit PNG support, both direct and paletted (Omar Cornut & stb) optimize PNG (ryg) fix bug in interlaced PNG with user-specified channel count (stb) 1.46 (2014-08-26) fix broken tRNS chunk (colorkey-style transparency) in non-paletted PNG 1.45 (2014-08-16) fix MSVC-ARM internal compiler error by wrapping malloc 1.44 (2014-08-07) various warning fixes from Ronny Chevalier 1.43 (2014-07-15) fix MSVC-only compiler problem in code changed in 1.42 1.42 (2014-07-09) don't define _CRT_SECURE_NO_WARNINGS (affects user code) fixes to stbi__cleanup_jpeg path added STBI_ASSERT to avoid requiring assert.h 1.41 (2014-06-25) fix search&replace from 1.36 that messed up comments/error messages 1.40 (2014-06-22) fix gcc struct-initialization warning 1.39 (2014-06-15) fix to TGA optimization when req_comp != number of components in TGA; fix to GIF loading because BMP wasn't rewinding (whoops, no GIFs in my test suite) add support for BMP version 5 (more ignored fields) 1.38 (2014-06-06) suppress MSVC warnings on integer casts truncating values fix accidental rename of 'skip' field of I/O 1.37 (2014-06-04) remove duplicate typedef 1.36 (2014-06-03) convert to header file single-file library if de-iphone isn't set, load iphone images color-swapped instead of returning NULL 1.35 (2014-05-27) various warnings fix broken STBI_SIMD path fix bug where stbi_load_from_file no longer left file pointer in correct place fix broken non-easy path for 32-bit BMP (possibly never used) TGA optimization by Arseny Kapoulkine 1.34 (unknown) use STBI_NOTUSED in stbi__resample_row_generic(), fix one more leak in tga failure case 1.33 (2011-07-14) make stbi_is_hdr work in STBI_NO_HDR (as specified), minor compiler-friendly improvements 1.32 (2011-07-13) support for "info" function for all supported filetypes (SpartanJ) 1.31 (2011-06-20) a few more leak fixes, bug in PNG handling (SpartanJ) 1.30 (2011-06-11) added ability to load files via callbacks to accomidate custom input streams (Ben Wenger) removed deprecated format-specific test/load functions removed support for installable file formats (stbi_loader) -- would have been broken for IO callbacks anyway error cases in bmp and tga give messages and don't leak (Raymond Barbiero, grisha) fix inefficiency in decoding 32-bit BMP (David Woo) 1.29 (2010-08-16) various warning fixes from Aurelien Pocheville 1.28 (2010-08-01) fix bug in GIF palette transparency (SpartanJ) 1.27 (2010-08-01) cast-to-stbi_uc to fix warnings 1.26 (2010-07-24) fix bug in file buffering for PNG reported by SpartanJ 1.25 (2010-07-17) refix trans_data warning (Won Chun) 1.24 (2010-07-12) perf improvements reading from files on platforms with lock-heavy fgetc() minor perf improvements for jpeg deprecated type-specific functions so we'll get feedback if they're needed attempt to fix trans_data warning (Won Chun) 1.23 fixed bug in iPhone support 1.22 (2010-07-10) removed image *writing* support stbi_info support from Jetro Lauha GIF support from Jean-Marc Lienher iPhone PNG-extensions from James Brown warning-fixes from Nicolas Schulz and Janez Zemva (i.stbi__err. Janez (U+017D)emva) 1.21 fix use of 'stbi_uc' in header (reported by jon blow) 1.20 added support for Softimage PIC, by Tom Seddon 1.19 bug in interlaced PNG corruption check (found by ryg) 1.18 (2008-08-02) fix a threading bug (local mutable static) 1.17 support interlaced PNG 1.16 major bugfix - stbi__convert_format converted one too many pixels 1.15 initialize some fields for thread safety 1.14 fix threadsafe conversion bug header-file-only version (#define STBI_HEADER_FILE_ONLY before including) 1.13 threadsafe 1.12 const qualifiers in the API 1.11 Support installable IDCT, colorspace conversion routines 1.10 Fixes for 64-bit (don't use "unsigned long") optimized upsampling by Fabian "ryg" Giesen 1.09 Fix format-conversion for PSD code (bad global variables!) 1.08 Thatcher Ulrich's PSD code integrated by Nicolas Schulz 1.07 attempt to fix C++ warning/errors again 1.06 attempt to fix C++ warning/errors again 1.05 fix TGA loading to return correct *comp and use good luminance calc 1.04 default float alpha is 1, not 255; use 'void *' for stbi_image_free 1.03 bugfixes to STBI_NO_STDIO, STBI_NO_HDR 1.02 support for (subset of) HDR files, float interface for preferred access to them 1.01 fix bug: possible bug in handling right-side up bmps... not sure fix bug: the stbi__bmp_load() and stbi__tga_load() functions didn't work at all 1.00 interface to zlib that skips zlib header 0.99 correct handling of alpha in palette 0.98 TGA loader by lonesock; dynamically add loaders (untested) 0.97 jpeg errors on too large a file; also catch another malloc failure 0.96 fix detection of invalid v value - particleman@mollyrocket forum 0.95 during header scan, seek to markers in case of padding 0.94 STBI_NO_STDIO to disable stdio usage; rename all #defines the same 0.93 handle jpegtran output; verbose errors 0.92 read 4,8,16,24,32-bit BMP files of several formats 0.91 output 24-bit Windows 3.0 BMP files 0.90 fix a few more warnings; bump version number to approach 1.0 0.61 bugfixes due to Marc LeBlanc, Christopher Lloyd 0.60 fix compiling as c++ 0.59 fix warnings: merge Dave Moore's -Wall fixes 0.58 fix bug: zlib uncompressed mode len/nlen was wrong endian 0.57 fix bug: jpg last huffman symbol before marker was >9 bits but less than 16 available 0.56 fix bug: zlib uncompressed mode len vs. nlen 0.55 fix bug: restart_interval not initialized to 0 0.54 allow NULL for 'int *comp' 0.53 fix bug in png 3->4; speedup png decoding 0.52 png handles req_comp=3,4 directly; minor cleanup; jpeg comments 0.51 obey req_comp requests, 1-component jpegs return as 1-component, on 'test' only check type, not whether we support this variant 0.50 (2006-11-19) first released version */ /* ------------------------------------------------------------------------------ This software is available under 2 licenses -- choose whichever you prefer. ------------------------------------------------------------------------------ ALTERNATIVE A - MIT License Copyright (c) 2017 Sean Barrett Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ ALTERNATIVE B - Public Domain (www.unlicense.org) This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ */
261,660
stb_image
h
en
c
code
{"qsc_code_num_words": 39544, "qsc_code_num_chars": 261660.0, "qsc_code_mean_word_length": 3.55788489, "qsc_code_frac_words_unique": 0.06509205, "qsc_code_frac_chars_top_2grams": 0.01245265, "qsc_code_frac_chars_top_3grams": 0.00317713, "qsc_code_frac_chars_top_4grams": 0.00415088, "qsc_code_frac_chars_dupe_5grams": 0.45824597, "qsc_code_frac_chars_dupe_6grams": 0.39376515, "qsc_code_frac_chars_dupe_7grams": 0.33814049, "qsc_code_frac_chars_dupe_8grams": 0.29906961, "qsc_code_frac_chars_dupe_9grams": 0.26478929, "qsc_code_frac_chars_dupe_10grams": 0.24031046, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.05338126, "qsc_code_frac_chars_whitespace": 0.28442253, "qsc_code_size_file_byte": 261660.0, "qsc_code_num_lines": 7509.0, "qsc_code_num_chars_line_max": 210.0, "qsc_code_num_chars_line_mean": 34.84618458, "qsc_code_frac_chars_alphabet": 0.69803138, "qsc_code_frac_chars_comments": 0.24566231, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.30334335, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.02632992, "qsc_code_frac_chars_long_word_length": 0.00022292, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00323741, "qsc_code_frac_lines_prompt_comments": 0.00039952, "qsc_code_frac_lines_assert": 0.00507137, "qsc_codec_frac_lines_func_ratio": 0.10856499, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.00075131, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.1609692, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/esp_rlottie
rlottie/src/vector/stb/meson.build
source_file = ['stb_image.cpp'] if get_option('module') == true rlottie_image_loader_dir = get_option('moduledir') != '' ? get_option('moduledir') : get_option('libdir') rlottie_image_loader_lib = shared_module('rlottie-image-loader', source_file, include_directories : [include_directories('.'), config_dir], install : true, install_dir : rlottie_image_loader_dir, cpp_args : compiler_flags, gnu_symbol_visibility : 'hidden', ) cc = meson.get_compiler('cpp') stb_dep = cc.find_library('dl', required : false) else stb_dep = declare_dependency( include_directories : include_directories('.'), sources : source_file ) endif
1,028
meson
build
en
unknown
unknown
{}
0
{}
0015/esp_rlottie
rlottie/src/vector/freetype/v_ft_types.h
#ifndef V_FT_TYPES_H #define V_FT_TYPES_H /*************************************************************************/ /* */ /* <Type> */ /* SW_FT_Fixed */ /* */ /* <Description> */ /* This type is used to store 16.16 fixed-point values, like scaling */ /* values or matrix coefficients. */ /* */ typedef signed long SW_FT_Fixed; /*************************************************************************/ /* */ /* <Type> */ /* SW_FT_Int */ /* */ /* <Description> */ /* A typedef for the int type. */ /* */ typedef signed int SW_FT_Int; /*************************************************************************/ /* */ /* <Type> */ /* SW_FT_UInt */ /* */ /* <Description> */ /* A typedef for the unsigned int type. */ /* */ typedef unsigned int SW_FT_UInt; /*************************************************************************/ /* */ /* <Type> */ /* SW_FT_Long */ /* */ /* <Description> */ /* A typedef for signed long. */ /* */ typedef signed long SW_FT_Long; /*************************************************************************/ /* */ /* <Type> */ /* SW_FT_ULong */ /* */ /* <Description> */ /* A typedef for unsigned long. */ /* */ typedef unsigned long SW_FT_ULong; /*************************************************************************/ /* */ /* <Type> */ /* SW_FT_Short */ /* */ /* <Description> */ /* A typedef for signed short. */ /* */ typedef signed short SW_FT_Short; /*************************************************************************/ /* */ /* <Type> */ /* SW_FT_Byte */ /* */ /* <Description> */ /* A simple typedef for the _unsigned_ char type. */ /* */ typedef unsigned char SW_FT_Byte; /*************************************************************************/ /* */ /* <Type> */ /* SW_FT_Bool */ /* */ /* <Description> */ /* A typedef of unsigned char, used for simple booleans. As usual, */ /* values 1 and~0 represent true and false, respectively. */ /* */ typedef unsigned char SW_FT_Bool; /*************************************************************************/ /* */ /* <Type> */ /* SW_FT_Error */ /* */ /* <Description> */ /* The FreeType error code type. A value of~0 is always interpreted */ /* as a successful operation. */ /* */ typedef int SW_FT_Error; /*************************************************************************/ /* */ /* <Type> */ /* SW_FT_Pos */ /* */ /* <Description> */ /* The type SW_FT_Pos is used to store vectorial coordinates. Depending */ /* on the context, these can represent distances in integer font */ /* units, or 16.16, or 26.6 fixed-point pixel coordinates. */ /* */ typedef signed long SW_FT_Pos; /*************************************************************************/ /* */ /* <Struct> */ /* SW_FT_Vector */ /* */ /* <Description> */ /* A simple structure used to store a 2D vector; coordinates are of */ /* the SW_FT_Pos type. */ /* */ /* <Fields> */ /* x :: The horizontal coordinate. */ /* y :: The vertical coordinate. */ /* */ typedef struct SW_FT_Vector_ { SW_FT_Pos x; SW_FT_Pos y; } SW_FT_Vector; typedef long long int SW_FT_Int64; typedef unsigned long long int SW_FT_UInt64; typedef signed int SW_FT_Int32; typedef unsigned int SW_FT_UInt32; #define SW_FT_BOOL( x ) ( (SW_FT_Bool)( x ) ) #define SW_FT_SIZEOF_LONG 4 #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif #endif // V_FT_TYPES_H
8,325
v_ft_types
h
zh
c
code
{"qsc_code_num_words": 347, "qsc_code_num_chars": 8325.0, "qsc_code_mean_word_length": 4.27665706, "qsc_code_frac_words_unique": 0.26224784, "qsc_code_frac_chars_top_2grams": 0.0916442, "qsc_code_frac_chars_top_3grams": 0.05929919, "qsc_code_frac_chars_top_4grams": 0.07412399, "qsc_code_frac_chars_dupe_5grams": 0.22169811, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00909409, "qsc_code_frac_chars_whitespace": 0.65657658, "qsc_code_size_file_byte": 8325.0, "qsc_code_num_lines": 160.0, "qsc_code_num_chars_line_max": 79.0, "qsc_code_num_chars_line_mean": 52.03125, "qsc_code_frac_chars_alphabet": 0.50996852, "qsc_code_frac_chars_comments": 0.88948949, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.1, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.03333333, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.03333333, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 1, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/esp_rlottie
rlottie/src/vector/freetype/v_ft_stroker.h
#ifndef V_FT_STROKER_H #define V_FT_STROKER_H /***************************************************************************/ /* */ /* ftstroke.h */ /* */ /* FreeType path stroker (specification). */ /* */ /* Copyright 2002-2006, 2008, 2009, 2011-2012 by */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* */ /* This file is part of the FreeType project, and may only be used, */ /* modified, and distributed under the terms of the FreeType project */ /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ /* this file you indicate that you have read the license and */ /* understand and accept it fully. */ /* */ /***************************************************************************/ #include "v_ft_raster.h" /************************************************************** * * @type: * SW_FT_Stroker * * @description: * Opaque handler to a path stroker object. */ typedef struct SW_FT_StrokerRec_* SW_FT_Stroker; /************************************************************** * * @enum: * SW_FT_Stroker_LineJoin * * @description: * These values determine how two joining lines are rendered * in a stroker. * * @values: * SW_FT_STROKER_LINEJOIN_ROUND :: * Used to render rounded line joins. Circular arcs are used * to join two lines smoothly. * * SW_FT_STROKER_LINEJOIN_BEVEL :: * Used to render beveled line joins. The outer corner of * the joined lines is filled by enclosing the triangular * region of the corner with a straight line between the * outer corners of each stroke. * * SW_FT_STROKER_LINEJOIN_MITER_FIXED :: * Used to render mitered line joins, with fixed bevels if the * miter limit is exceeded. The outer edges of the strokes * for the two segments are extended until they meet at an * angle. If the segments meet at too sharp an angle (such * that the miter would extend from the intersection of the * segments a distance greater than the product of the miter * limit value and the border radius), then a bevel join (see * above) is used instead. This prevents long spikes being * created. SW_FT_STROKER_LINEJOIN_MITER_FIXED generates a miter * line join as used in PostScript and PDF. * * SW_FT_STROKER_LINEJOIN_MITER_VARIABLE :: * SW_FT_STROKER_LINEJOIN_MITER :: * Used to render mitered line joins, with variable bevels if * the miter limit is exceeded. The intersection of the * strokes is clipped at a line perpendicular to the bisector * of the angle between the strokes, at the distance from the * intersection of the segments equal to the product of the * miter limit value and the border radius. This prevents * long spikes being created. * SW_FT_STROKER_LINEJOIN_MITER_VARIABLE generates a mitered line * join as used in XPS. SW_FT_STROKER_LINEJOIN_MITER is an alias * for SW_FT_STROKER_LINEJOIN_MITER_VARIABLE, retained for * backwards compatibility. */ typedef enum SW_FT_Stroker_LineJoin_ { SW_FT_STROKER_LINEJOIN_ROUND = 0, SW_FT_STROKER_LINEJOIN_BEVEL = 1, SW_FT_STROKER_LINEJOIN_MITER_VARIABLE = 2, SW_FT_STROKER_LINEJOIN_MITER = SW_FT_STROKER_LINEJOIN_MITER_VARIABLE, SW_FT_STROKER_LINEJOIN_MITER_FIXED = 3 } SW_FT_Stroker_LineJoin; /************************************************************** * * @enum: * SW_FT_Stroker_LineCap * * @description: * These values determine how the end of opened sub-paths are * rendered in a stroke. * * @values: * SW_FT_STROKER_LINECAP_BUTT :: * The end of lines is rendered as a full stop on the last * point itself. * * SW_FT_STROKER_LINECAP_ROUND :: * The end of lines is rendered as a half-circle around the * last point. * * SW_FT_STROKER_LINECAP_SQUARE :: * The end of lines is rendered as a square around the * last point. */ typedef enum SW_FT_Stroker_LineCap_ { SW_FT_STROKER_LINECAP_BUTT = 0, SW_FT_STROKER_LINECAP_ROUND, SW_FT_STROKER_LINECAP_SQUARE } SW_FT_Stroker_LineCap; /************************************************************** * * @enum: * SW_FT_StrokerBorder * * @description: * These values are used to select a given stroke border * in @SW_FT_Stroker_GetBorderCounts and @SW_FT_Stroker_ExportBorder. * * @values: * SW_FT_STROKER_BORDER_LEFT :: * Select the left border, relative to the drawing direction. * * SW_FT_STROKER_BORDER_RIGHT :: * Select the right border, relative to the drawing direction. * * @note: * Applications are generally interested in the `inside' and `outside' * borders. However, there is no direct mapping between these and the * `left' and `right' ones, since this really depends on the glyph's * drawing orientation, which varies between font formats. * * You can however use @SW_FT_Outline_GetInsideBorder and * @SW_FT_Outline_GetOutsideBorder to get these. */ typedef enum SW_FT_StrokerBorder_ { SW_FT_STROKER_BORDER_LEFT = 0, SW_FT_STROKER_BORDER_RIGHT } SW_FT_StrokerBorder; /************************************************************** * * @function: * SW_FT_Stroker_New * * @description: * Create a new stroker object. * * @input: * library :: * FreeType library handle. * * @output: * astroker :: * A new stroker object handle. NULL in case of error. * * @return: * FreeType error code. 0~means success. */ SW_FT_Error SW_FT_Stroker_New( SW_FT_Stroker *astroker ); /************************************************************** * * @function: * SW_FT_Stroker_Set * * @description: * Reset a stroker object's attributes. * * @input: * stroker :: * The target stroker handle. * * radius :: * The border radius. * * line_cap :: * The line cap style. * * line_join :: * The line join style. * * miter_limit :: * The miter limit for the SW_FT_STROKER_LINEJOIN_MITER_FIXED and * SW_FT_STROKER_LINEJOIN_MITER_VARIABLE line join styles, * expressed as 16.16 fixed-point value. * * @note: * The radius is expressed in the same units as the outline * coordinates. */ void SW_FT_Stroker_Set( SW_FT_Stroker stroker, SW_FT_Fixed radius, SW_FT_Stroker_LineCap line_cap, SW_FT_Stroker_LineJoin line_join, SW_FT_Fixed miter_limit ); /************************************************************** * * @function: * SW_FT_Stroker_ParseOutline * * @description: * A convenience function used to parse a whole outline with * the stroker. The resulting outline(s) can be retrieved * later by functions like @SW_FT_Stroker_GetCounts and @SW_FT_Stroker_Export. * * @input: * stroker :: * The target stroker handle. * * outline :: * The source outline. * * * @return: * FreeType error code. 0~means success. * * @note: * If `opened' is~0 (the default), the outline is treated as a closed * path, and the stroker generates two distinct `border' outlines. * * * This function calls @SW_FT_Stroker_Rewind automatically. */ SW_FT_Error SW_FT_Stroker_ParseOutline( SW_FT_Stroker stroker, const SW_FT_Outline* outline); /************************************************************** * * @function: * SW_FT_Stroker_GetCounts * * @description: * Call this function once you have finished parsing your paths * with the stroker. It returns the number of points and * contours necessary to export all points/borders from the stroked * outline/path. * * @input: * stroker :: * The target stroker handle. * * @output: * anum_points :: * The number of points. * * anum_contours :: * The number of contours. * * @return: * FreeType error code. 0~means success. */ SW_FT_Error SW_FT_Stroker_GetCounts( SW_FT_Stroker stroker, SW_FT_UInt *anum_points, SW_FT_UInt *anum_contours ); /************************************************************** * * @function: * SW_FT_Stroker_Export * * @description: * Call this function after @SW_FT_Stroker_GetBorderCounts to * export all borders to your own @SW_FT_Outline structure. * * Note that this function appends the border points and * contours to your outline, but does not try to resize its * arrays. * * @input: * stroker :: * The target stroker handle. * * outline :: * The target outline handle. */ void SW_FT_Stroker_Export( SW_FT_Stroker stroker, SW_FT_Outline* outline ); /************************************************************** * * @function: * SW_FT_Stroker_Done * * @description: * Destroy a stroker object. * * @input: * stroker :: * A stroker handle. Can be NULL. */ void SW_FT_Stroker_Done( SW_FT_Stroker stroker ); #endif // V_FT_STROKER_H
10,128
v_ft_stroker
h
en
c
code
{"qsc_code_num_words": 1121, "qsc_code_num_chars": 10128.0, "qsc_code_mean_word_length": 4.74308653, "qsc_code_frac_words_unique": 0.26315789, "qsc_code_frac_chars_top_2grams": 0.0579274, "qsc_code_frac_chars_top_3grams": 0.12619898, "qsc_code_frac_chars_top_4grams": 0.07504232, "qsc_code_frac_chars_dupe_5grams": 0.35207824, "qsc_code_frac_chars_dupe_6grams": 0.24449878, "qsc_code_frac_chars_dupe_7grams": 0.15873613, "qsc_code_frac_chars_dupe_8grams": 0.13992853, "qsc_code_frac_chars_dupe_9grams": 0.08200113, "qsc_code_frac_chars_dupe_10grams": 0.08200113, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00543712, "qsc_code_frac_chars_whitespace": 0.30993286, "qsc_code_size_file_byte": 10128.0, "qsc_code_num_lines": 319.0, "qsc_code_num_chars_line_max": 83.0, "qsc_code_num_chars_line_mean": 31.7492163, "qsc_code_frac_chars_alphabet": 0.7553298, "qsc_code_frac_chars_comments": 0.83777646, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.13636364, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00791236, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.13636364, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 1.0, "qsc_codec_score_lines_no_logic": 0.15909091, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
007SKRN/crypto-portfolio-tracker
src/gui/components/portfolio_brief_frame.py
from src.utils import PrivacyManager, format_currency, format_percentage, get_profit_color, mask_sensitive_data import dearpygui.dearpygui as dpg class PortfolioBriefFrame: def __init__(self, tag, portfolio, portfolio_frame=None): self.tag = tag self.portfolio = portfolio self.portfolio_frame = portfolio_frame self.privacy_manager = PrivacyManager() self.setup_ui() self.update_brief() def setup_ui(self): with dpg.group(tag=self.tag): dpg.add_spacer(height=10) dpg.add_separator() dpg.add_spacer(height=10) with dpg.group(horizontal=True): dpg.add_text("Privacy Mode:") dpg.add_button( label="Toggle Privacy", callback=self.toggle_privacy, tag=f"{self.tag}_privacy_toggle" ) dpg.add_spacer(height=10) dpg.add_separator() dpg.add_spacer(height=10) with dpg.group(horizontal=True): with dpg.group(): dpg.add_text("Total Investment") dpg.add_text("$0.00", tag=f"{self.tag}_total_investment") dpg.add_spacer(width=20) with dpg.group(): dpg.add_text("Current Value") dpg.add_text("$0.00", tag=f"{self.tag}_current_value") dpg.add_spacer(width=20) with dpg.group(): dpg.add_text("Total Profit/Loss") dpg.add_text("$0.00 (0.00%)", tag=f"{self.tag}_total_profit") dpg.add_spacer(height=10) dpg.add_separator() dpg.add_spacer(height=10) def toggle_privacy(self): if self.privacy_manager.is_privacy_enabled(): self.show_password_modal() else: self.privacy_manager.toggle_privacy() self.update_brief() self.portfolio_frame.update_portfolio_view() def show_password_modal(self): with dpg.window(label="Enter Password", modal=True, tag="password_modal", width=300, height=180): dpg.add_text("Enter password to disable privacy mode:") dpg.add_spacer(height=10) dpg.add_input_text( tag="password_input", password=True, width=280 ) dpg.add_text( "Incorrect password!", tag="password_error_text", color=(255, 0, 0), show=False ) dpg.add_spacer(height=10) with dpg.group(horizontal=True): dpg.add_button( label="Submit", callback=self.verify_password, width=135 ) dpg.add_button( label="Cancel", callback=lambda: dpg.delete_item("password_modal"), width=135 ) def verify_password(self): password = dpg.get_value("password_input") if self.privacy_manager.toggle_privacy(password): dpg.delete_item("password_modal") self.update_brief() if self.portfolio_frame: self.portfolio_frame.update_portfolio_view() else: dpg.set_value("password_input", "") dpg.configure_item("password_error_text", show=True) def update_brief(self): portfolio_data = self.portfolio.get_portfolio_data() privacy_enabled = self.privacy_manager.is_privacy_enabled() total_investment = sum(coin["investment"] for coin in portfolio_data) current_value = sum(coin["current_value"] for coin in portfolio_data) total_profit = current_value - total_investment profit_percentage = (total_profit / total_investment * 100) if total_investment > 0 else 0 dpg.set_value( f"{self.tag}_total_investment", mask_sensitive_data(format_currency(total_investment), privacy_enabled) ) dpg.set_value( f"{self.tag}_current_value", mask_sensitive_data(format_currency(current_value), privacy_enabled) ) dpg.set_value( f"{self.tag}_total_profit", f"{mask_sensitive_data(format_currency(total_profit), privacy_enabled)} ({format_percentage(profit_percentage)})" ) dpg.configure_item( f"{self.tag}_total_profit", color=get_profit_color(total_profit) )
4,627
portfolio_brief_frame
py
en
python
code
{"qsc_code_num_words": 504, "qsc_code_num_chars": 4627.0, "qsc_code_mean_word_length": 4.92857143, "qsc_code_frac_words_unique": 0.18055556, "qsc_code_frac_chars_top_2grams": 0.06280193, "qsc_code_frac_chars_top_3grams": 0.04830918, "qsc_code_frac_chars_top_4grams": 0.05797101, "qsc_code_frac_chars_dupe_5grams": 0.43196457, "qsc_code_frac_chars_dupe_6grams": 0.32045089, "qsc_code_frac_chars_dupe_7grams": 0.23429952, "qsc_code_frac_chars_dupe_8grams": 0.18961353, "qsc_code_frac_chars_dupe_9grams": 0.16304348, "qsc_code_frac_chars_dupe_10grams": 0.14371981, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01854865, "qsc_code_frac_chars_whitespace": 0.33585477, "qsc_code_size_file_byte": 4627.0, "qsc_code_num_lines": 124.0, "qsc_code_num_chars_line_max": 126.0, "qsc_code_num_chars_line_mean": 37.31451613, "qsc_code_frac_chars_alphabet": 0.78978197, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.3364486, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.13637346, "qsc_code_frac_chars_long_word_length": 0.06202723, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.05607477, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.14953271, "qsc_codepython_frac_lines_import": 0.01869159, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.08411215, "qsc_codepython_frac_lines_print": 0.0}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 1, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_draw/lv_draw_label.h
/** * @file lv_draw_label.h * */ #ifndef LV_DRAW_LABEL_H #define LV_DRAW_LABEL_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_misc/lv_bidi.h" #include "../lv_misc/lv_txt.h" #include "../lv_core/lv_style.h" /********************* * DEFINES *********************/ #define LV_DRAW_LABEL_NO_TXT_SEL (0xFFFF) /********************** * TYPEDEFS **********************/ typedef struct { lv_color_t color; lv_color_t sel_color; const lv_font_t * font; lv_opa_t opa; lv_style_int_t line_space; lv_style_int_t letter_space; uint32_t sel_start; uint32_t sel_end; lv_coord_t ofs_x; lv_coord_t ofs_y; lv_bidi_dir_t bidi_dir; lv_txt_flag_t flag; lv_text_decor_t decor; lv_blend_mode_t blend_mode; } lv_draw_label_dsc_t; /** Store some info to speed up drawing of very large texts * It takes a lot of time to get the first visible character because * all the previous characters needs to be checked to calculate the positions. * This structure stores an earlier (e.g. at -1000 px) coordinate and the index of that line. * Therefore the calculations can start from here.*/ typedef struct { /** Index of the line at `y` coordinate*/ int32_t line_start; /** Give the `y` coordinate of the first letter at `line start` index. Relative to the label's coordinates*/ int32_t y; /** The 'y1' coordinate of the label when the hint was saved. * Used to invalidate the hint if the label has moved too much. */ int32_t coord_y; } lv_draw_label_hint_t; /********************** * GLOBAL PROTOTYPES **********************/ //! @cond Doxygen_Suppress LV_ATTRIBUTE_FAST_MEM void lv_draw_label_dsc_init(lv_draw_label_dsc_t * dsc); /** * Write a text * @param coords coordinates of the label * @param mask the label will be drawn only in this area * @param dsc pointer to draw descriptor * @param txt `\0` terminated text to write * @param hint pointer to a `lv_draw_label_hint_t` variable. * It is managed by the drawer to speed up the drawing of very long texts (thousands of lines). */ LV_ATTRIBUTE_FAST_MEM void lv_draw_label(const lv_area_t * coords, const lv_area_t * mask, const lv_draw_label_dsc_t * dsc, const char * txt, lv_draw_label_hint_t * hint); //! @endcond /*********************** * GLOBAL VARIABLES ***********************/ extern const uint8_t _lv_bpp2_opa_table[]; extern const uint8_t _lv_bpp3_opa_table[]; extern const uint8_t _lv_bpp1_opa_table[]; extern const uint8_t _lv_bpp4_opa_table[]; extern const uint8_t _lv_bpp8_opa_table[]; /********************** * MACROS **********************/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_DRAW_LABEL_H*/
2,851
lv_draw_label
h
en
c
code
{"qsc_code_num_words": 423, "qsc_code_num_chars": 2851.0, "qsc_code_mean_word_length": 3.94799054, "qsc_code_frac_words_unique": 0.37115839, "qsc_code_frac_chars_top_2grams": 0.04670659, "qsc_code_frac_chars_top_3grams": 0.08562874, "qsc_code_frac_chars_top_4grams": 0.0508982, "qsc_code_frac_chars_dupe_5grams": 0.20598802, "qsc_code_frac_chars_dupe_6grams": 0.1257485, "qsc_code_frac_chars_dupe_7grams": 0.10419162, "qsc_code_frac_chars_dupe_8grams": 0.03952096, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0118473, "qsc_code_frac_chars_whitespace": 0.20063136, "qsc_code_size_file_byte": 2851.0, "qsc_code_num_lines": 102.0, "qsc_code_num_chars_line_max": 113.0, "qsc_code_num_chars_line_mean": 27.95098039, "qsc_code_frac_chars_alphabet": 0.72093023, "qsc_code_frac_chars_comments": 0.52648194, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.1627907, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.04518519, "qsc_code_frac_chars_long_word_length": 0.01555556, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00444444, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.04651163, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.11627907, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_draw/lv_img_decoder.c
/** * @file lv_img_decoder.c * */ /********************* * INCLUDES *********************/ #include "lv_img_decoder.h" #include "../lv_misc/lv_debug.h" #include "../lv_draw/lv_draw_img.h" #include "../lv_misc/lv_ll.h" #include "../lv_misc/lv_color.h" #include "../lv_misc/lv_gc.h" #if defined(LV_GC_INCLUDE) #include LV_GC_INCLUDE #endif /* LV_ENABLE_GC */ /********************* * DEFINES *********************/ #define CF_BUILT_IN_FIRST LV_IMG_CF_TRUE_COLOR #define CF_BUILT_IN_LAST LV_IMG_CF_ALPHA_8BIT /********************** * TYPEDEFS **********************/ typedef struct { #if LV_USE_FILESYSTEM lv_fs_file_t * f; #endif lv_color_t * palette; lv_opa_t * opa; } lv_img_decoder_built_in_data_t; /********************** * STATIC PROTOTYPES **********************/ static lv_res_t lv_img_decoder_built_in_line_true_color(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf); static lv_res_t lv_img_decoder_built_in_line_alpha(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf); static lv_res_t lv_img_decoder_built_in_line_indexed(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf); /********************** * STATIC VARIABLES **********************/ /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Initialize the image decoder module * */ void _lv_img_decoder_init(void) { _lv_ll_init(&LV_GC_ROOT(_lv_img_defoder_ll), sizeof(lv_img_decoder_t)); lv_img_decoder_t * decoder; /*Create a decoder for the built in color format*/ decoder = lv_img_decoder_create(); if(decoder == NULL) { LV_LOG_WARN("lv_img_decoder_init: out of memory"); LV_ASSERT_MEM(decoder); return; } lv_img_decoder_set_info_cb(decoder, lv_img_decoder_built_in_info); lv_img_decoder_set_open_cb(decoder, lv_img_decoder_built_in_open); lv_img_decoder_set_read_line_cb(decoder, lv_img_decoder_built_in_read_line); lv_img_decoder_set_close_cb(decoder, lv_img_decoder_built_in_close); } /** * Get information about an image. * Try the created image decoder one by one. Once one is able to get info that info will be used. * @param src the image source. E.g. file name or variable. * @param header the image info will be stored here * @return LV_RES_OK: success; LV_RES_INV: wasn't able to get info about the image */ lv_res_t lv_img_decoder_get_info(const char * src, lv_img_header_t * header) { header->always_zero = 0; header->h = 0; header->w = 0; header->cf = LV_IMG_CF_UNKNOWN; lv_res_t res = LV_RES_INV; lv_img_decoder_t * d; _LV_LL_READ(LV_GC_ROOT(_lv_img_defoder_ll), d) { res = LV_RES_INV; if(d->info_cb) { res = d->info_cb(d, src, header); if(res == LV_RES_OK) break; } } return res; } /** * Open an image. * Try the created image decoder one by one. Once one is able to open the image that decoder is save in `dsc` * @param dsc describe a decoding session. Simply a pointer to an `lv_img_decoder_dsc_t` variable. * @param src the image source. Can be * 1) File name: E.g. "S:folder/img1.png" (The drivers needs to registered via `lv_fs_add_drv()`) * 2) Variable: Pointer to an `lv_img_dsc_t` variable * 3) Symbol: E.g. `LV_SYMBOL_OK` * @param color The color of the image with `LV_IMG_CF_ALPHA_...` * @return LV_RES_OK: opened the image. `dsc->img_data` and `dsc->header` are set. * LV_RES_INV: none of the registered image decoders were able to open the image. */ lv_res_t lv_img_decoder_open(lv_img_decoder_dsc_t * dsc, const void * src, lv_color_t color) { dsc->color = color; dsc->src_type = lv_img_src_get_type(src); dsc->user_data = NULL; if(dsc->src_type == LV_IMG_SRC_FILE) { size_t fnlen = strlen(src); dsc->src = lv_mem_alloc(fnlen + 1); strcpy((char *)dsc->src, src); } else { dsc->src = src; } lv_res_t res = LV_RES_INV; lv_img_decoder_t * d; _LV_LL_READ(LV_GC_ROOT(_lv_img_defoder_ll), d) { /*Info an Open callbacks are required*/ if(d->info_cb == NULL || d->open_cb == NULL) continue; res = d->info_cb(d, src, &dsc->header); if(res != LV_RES_OK) continue; dsc->error_msg = NULL; dsc->img_data = NULL; dsc->decoder = d; res = d->open_cb(d, dsc); /*Opened successfully. It is a good decoder to for this image source*/ if(res == LV_RES_OK) break; } return res; } /** * Read a line from an opened image * @param dsc pointer to `lv_img_decoder_dsc_t` used in `lv_img_decoder_open` * @param x start X coordinate (from left) * @param y start Y coordinate (from top) * @param len number of pixels to read * @param buf store the data here * @return LV_RES_OK: success; LV_RES_INV: an error occurred */ lv_res_t lv_img_decoder_read_line(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf) { lv_res_t res = LV_RES_INV; if(dsc->decoder->read_line_cb) res = dsc->decoder->read_line_cb(dsc->decoder, dsc, x, y, len, buf); return res; } /** * Close a decoding session * @param dsc pointer to `lv_img_decoder_dsc_t` used in `lv_img_decoder_open` */ void lv_img_decoder_close(lv_img_decoder_dsc_t * dsc) { if(dsc->decoder) { if(dsc->decoder->close_cb) dsc->decoder->close_cb(dsc->decoder, dsc); if(dsc->src_type == LV_IMG_SRC_FILE) { lv_mem_free(dsc->src); dsc->src = NULL; } } } /** * Create a new image decoder * @return pointer to the new image decoder */ lv_img_decoder_t * lv_img_decoder_create(void) { lv_img_decoder_t * decoder; decoder = _lv_ll_ins_head(&LV_GC_ROOT(_lv_img_defoder_ll)); LV_ASSERT_MEM(decoder); if(decoder == NULL) return NULL; _lv_memset_00(decoder, sizeof(lv_img_decoder_t)); return decoder; } /** * Delete an image decoder * @param decoder pointer to an image decoder */ void lv_img_decoder_delete(lv_img_decoder_t * decoder) { _lv_ll_remove(&LV_GC_ROOT(_lv_img_defoder_ll), decoder); lv_mem_free(decoder); } /** * Set a callback to get information about the image * @param decoder pointer to an image decoder * @param info_cb a function to collect info about an image (fill an `lv_img_header_t` struct) */ void lv_img_decoder_set_info_cb(lv_img_decoder_t * decoder, lv_img_decoder_info_f_t info_cb) { decoder->info_cb = info_cb; } /** * Set a callback to open an image * @param decoder pointer to an image decoder * @param open_cb a function to open an image */ void lv_img_decoder_set_open_cb(lv_img_decoder_t * decoder, lv_img_decoder_open_f_t open_cb) { decoder->open_cb = open_cb; } /** * Set a callback to a decoded line of an image * @param decoder pointer to an image decoder * @param read_line_cb a function to read a line of an image */ void lv_img_decoder_set_read_line_cb(lv_img_decoder_t * decoder, lv_img_decoder_read_line_f_t read_line_cb) { decoder->read_line_cb = read_line_cb; } /** * Set a callback to close a decoding session. E.g. close files and free other resources. * @param decoder pointer to an image decoder * @param close_cb a function to close a decoding session */ void lv_img_decoder_set_close_cb(lv_img_decoder_t * decoder, lv_img_decoder_close_f_t close_cb) { decoder->close_cb = close_cb; } /** * Get info about a built-in image * @param decoder the decoder where this function belongs * @param src the image source: pointer to an `lv_img_dsc_t` variable, a file path or a symbol * @param header store the image data here * @return LV_RES_OK: the info is successfully stored in `header`; LV_RES_INV: unknown format or other error. */ lv_res_t lv_img_decoder_built_in_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header) { (void)decoder; /*Unused*/ lv_img_src_t src_type = lv_img_src_get_type(src); if(src_type == LV_IMG_SRC_VARIABLE) { lv_img_cf_t cf = ((lv_img_dsc_t *)src)->header.cf; if(cf < CF_BUILT_IN_FIRST || cf > CF_BUILT_IN_LAST) return LV_RES_INV; header->w = ((lv_img_dsc_t *)src)->header.w; header->h = ((lv_img_dsc_t *)src)->header.h; header->cf = ((lv_img_dsc_t *)src)->header.cf; } #if LV_USE_FILESYSTEM else if(src_type == LV_IMG_SRC_FILE) { lv_fs_file_t file; lv_fs_res_t res; uint32_t rn; res = lv_fs_open(&file, src, LV_FS_MODE_RD); if(res == LV_FS_RES_OK) { res = lv_fs_read(&file, header, sizeof(lv_img_header_t), &rn); lv_fs_close(&file); if(res != LV_FS_RES_OK || rn != sizeof(lv_img_header_t)) { LV_LOG_WARN("Image get info get read file header"); return LV_RES_INV; } } if(header->cf < CF_BUILT_IN_FIRST || header->cf > CF_BUILT_IN_LAST) return LV_RES_INV; } #endif else if(src_type == LV_IMG_SRC_SYMBOL) { /*The size depend on the font but it is unknown here. It should be handled outside of the * function*/ header->w = 1; header->h = 1; /* Symbols always have transparent parts. Important because of cover check in the design * function. The actual value doesn't matter because lv_draw_label will draw it*/ header->cf = LV_IMG_CF_ALPHA_1BIT; } else { LV_LOG_WARN("Image get info found unknown src type"); return LV_RES_INV; } return LV_RES_OK; } /** * Open a built in image * @param decoder the decoder where this function belongs * @param dsc pointer to decoder descriptor. `src`, `style` are already initialized in it. * @return LV_RES_OK: the info is successfully stored in `header`; LV_RES_INV: unknown format or other error. */ lv_res_t lv_img_decoder_built_in_open(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc) { /*Open the file if it's a file*/ if(dsc->src_type == LV_IMG_SRC_FILE) { #if LV_USE_FILESYSTEM /*Support only "*.bin" files*/ if(strcmp(lv_fs_get_ext(dsc->src), "bin")) return LV_RES_INV; lv_fs_file_t f; lv_fs_res_t res = lv_fs_open(&f, dsc->src, LV_FS_MODE_RD); if(res != LV_FS_RES_OK) { LV_LOG_WARN("Built-in image decoder can't open the file"); return LV_RES_INV; } /*If the file was open successfully save the file descriptor*/ if(dsc->user_data == NULL) { dsc->user_data = lv_mem_alloc(sizeof(lv_img_decoder_built_in_data_t)); LV_ASSERT_MEM(dsc->user_data); if(dsc->user_data == NULL) { LV_LOG_ERROR("img_decoder_built_in_open: out of memory"); return LV_RES_INV; } _lv_memset_00(dsc->user_data, sizeof(lv_img_decoder_built_in_data_t)); } lv_img_decoder_built_in_data_t * user_data = dsc->user_data; user_data->f = lv_mem_alloc(sizeof(f)); LV_ASSERT_MEM(user_data->f); if(user_data->f == NULL) { LV_LOG_ERROR("img_decoder_built_in_open: out of memory"); lv_img_decoder_built_in_close(decoder, dsc); return LV_RES_INV; } _lv_memcpy_small(user_data->f, &f, sizeof(f)); #else LV_LOG_WARN("Image built-in decoder cannot read file because LV_USE_FILESYSTEM = 0"); return LV_RES_INV; #endif } else if(dsc->src_type == LV_IMG_SRC_VARIABLE) { /*The variables should have valid data*/ if(((lv_img_dsc_t *)dsc->src)->data == NULL) { return LV_RES_INV; } } lv_img_cf_t cf = dsc->header.cf; /*Process true color formats*/ if(cf == LV_IMG_CF_TRUE_COLOR || cf == LV_IMG_CF_TRUE_COLOR_ALPHA || cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED) { if(dsc->src_type == LV_IMG_SRC_VARIABLE) { /* In case of uncompressed formats the image stored in the ROM/RAM. * So simply give its pointer*/ dsc->img_data = ((lv_img_dsc_t *)dsc->src)->data; return LV_RES_OK; } else { /*If it's a file it need to be read line by line later*/ dsc->img_data = NULL; return LV_RES_OK; } } /*Process indexed images. Build a palette*/ else if(cf == LV_IMG_CF_INDEXED_1BIT || cf == LV_IMG_CF_INDEXED_2BIT || cf == LV_IMG_CF_INDEXED_4BIT || cf == LV_IMG_CF_INDEXED_8BIT) { #if LV_IMG_CF_INDEXED uint8_t px_size = lv_img_cf_get_px_size(cf); uint32_t palette_size = 1 << px_size; /*Allocate the palette*/ if(dsc->user_data == NULL) { dsc->user_data = lv_mem_alloc(sizeof(lv_img_decoder_built_in_data_t)); LV_ASSERT_MEM(dsc->user_data); if(dsc->user_data == NULL) { LV_LOG_ERROR("img_decoder_built_in_open: out of memory"); lv_img_decoder_built_in_close(decoder, dsc); return LV_RES_INV; } _lv_memset_00(dsc->user_data, sizeof(lv_img_decoder_built_in_data_t)); } lv_img_decoder_built_in_data_t * user_data = dsc->user_data; user_data->palette = lv_mem_alloc(palette_size * sizeof(lv_color_t)); LV_ASSERT_MEM(user_data->palette); user_data->opa = lv_mem_alloc(palette_size * sizeof(lv_opa_t)); LV_ASSERT_MEM(user_data->opa); if(user_data->palette == NULL || user_data->opa == NULL) { LV_LOG_ERROR("img_decoder_built_in_open: out of memory"); lv_img_decoder_built_in_close(decoder, dsc); return LV_RES_INV; } if(dsc->src_type == LV_IMG_SRC_FILE) { /*Read the palette from file*/ #if LV_USE_FILESYSTEM lv_fs_seek(user_data->f, 4); /*Skip the header*/ lv_color32_t cur_color; uint32_t i; for(i = 0; i < palette_size; i++) { lv_fs_read(user_data->f, &cur_color, sizeof(lv_color32_t), NULL); user_data->palette[i] = lv_color_make(cur_color.ch.red, cur_color.ch.green, cur_color.ch.blue); user_data->opa[i] = cur_color.ch.alpha; } #else LV_LOG_WARN("Image built-in decoder can read the palette because LV_USE_FILESYSTEM = 0"); return LV_RES_INV; #endif } else { /*The palette begins in the beginning of the image data. Just point to it.*/ lv_color32_t * palette_p = (lv_color32_t *)((lv_img_dsc_t *)dsc->src)->data; uint32_t i; for(i = 0; i < palette_size; i++) { user_data->palette[i] = lv_color_make(palette_p[i].ch.red, palette_p[i].ch.green, palette_p[i].ch.blue); user_data->opa[i] = palette_p[i].ch.alpha; } } dsc->img_data = NULL; return LV_RES_OK; #else LV_LOG_WARN("Indexed (palette) images are not enabled in lv_conf.h. See LV_IMG_CF_INDEXED"); return LV_RES_INV; #endif } /*Alpha indexed images. */ else if(cf == LV_IMG_CF_ALPHA_1BIT || cf == LV_IMG_CF_ALPHA_2BIT || cf == LV_IMG_CF_ALPHA_4BIT || cf == LV_IMG_CF_ALPHA_8BIT) { #if LV_IMG_CF_ALPHA dsc->img_data = NULL; return LV_RES_OK; /*Nothing to process*/ #else LV_LOG_WARN("Alpha indexed images are not enabled in lv_conf.h. See LV_IMG_CF_ALPHA"); return LV_RES_INV; #endif } /*Unknown format. Can't decode it.*/ else { /*Free the potentially allocated memories*/ lv_img_decoder_built_in_close(decoder, dsc); LV_LOG_WARN("Image decoder open: unknown color format") return LV_RES_INV; } } /** * Decode `len` pixels starting from the given `x`, `y` coordinates and store them in `buf`. * Required only if the "open" function can't return with the whole decoded pixel array. * @param decoder pointer to the decoder the function associated with * @param dsc pointer to decoder descriptor * @param x start x coordinate * @param y start y coordinate * @param len number of pixels to decode * @param buf a buffer to store the decoded pixels * @return LV_RES_OK: ok; LV_RES_INV: failed */ lv_res_t lv_img_decoder_built_in_read_line(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf) { (void)decoder; /*Unused*/ lv_res_t res = LV_RES_INV; if(dsc->header.cf == LV_IMG_CF_TRUE_COLOR || dsc->header.cf == LV_IMG_CF_TRUE_COLOR_ALPHA || dsc->header.cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED) { /* For TRUE_COLOR images read line required only for files. * For variables the image data was returned in `open`*/ if(dsc->src_type == LV_IMG_SRC_FILE) { res = lv_img_decoder_built_in_line_true_color(dsc, x, y, len, buf); } } else if(dsc->header.cf == LV_IMG_CF_ALPHA_1BIT || dsc->header.cf == LV_IMG_CF_ALPHA_2BIT || dsc->header.cf == LV_IMG_CF_ALPHA_4BIT || dsc->header.cf == LV_IMG_CF_ALPHA_8BIT) { res = lv_img_decoder_built_in_line_alpha(dsc, x, y, len, buf); } else if(dsc->header.cf == LV_IMG_CF_INDEXED_1BIT || dsc->header.cf == LV_IMG_CF_INDEXED_2BIT || dsc->header.cf == LV_IMG_CF_INDEXED_4BIT || dsc->header.cf == LV_IMG_CF_INDEXED_8BIT) { res = lv_img_decoder_built_in_line_indexed(dsc, x, y, len, buf); } else { LV_LOG_WARN("Built-in image decoder read not supports the color format"); return LV_RES_INV; } return res; } /** * Close the pending decoding. Free resources etc. * @param decoder pointer to the decoder the function associated with * @param dsc pointer to decoder descriptor */ void lv_img_decoder_built_in_close(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc) { (void)decoder; /*Unused*/ lv_img_decoder_built_in_data_t * user_data = dsc->user_data; if(user_data) { #if LV_USE_FILESYSTEM if(user_data->f) { lv_fs_close(user_data->f); lv_mem_free(user_data->f); } #endif if(user_data->palette) lv_mem_free(user_data->palette); if(user_data->opa) lv_mem_free(user_data->opa); lv_mem_free(user_data); dsc->user_data = NULL; } } /********************** * STATIC FUNCTIONS **********************/ static lv_res_t lv_img_decoder_built_in_line_true_color(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf) { #if LV_USE_FILESYSTEM lv_img_decoder_built_in_data_t * user_data = dsc->user_data; lv_fs_res_t res; uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf); uint32_t pos = ((y * dsc->header.w + x) * px_size) >> 3; pos += 4; /*Skip the header*/ res = lv_fs_seek(user_data->f, pos); if(res != LV_FS_RES_OK) { LV_LOG_WARN("Built-in image decoder seek failed"); return LV_RES_INV; } uint32_t btr = len * (px_size >> 3); uint32_t br = 0; res = lv_fs_read(user_data->f, buf, btr, &br); if(res != LV_FS_RES_OK || btr != br) { LV_LOG_WARN("Built-in image decoder read failed"); return LV_RES_INV; } return LV_RES_OK; #else LV_UNUSED(dsc); LV_UNUSED(x); LV_UNUSED(y); LV_UNUSED(len); LV_UNUSED(buf); LV_LOG_WARN("Image built-in decoder cannot read file because LV_USE_FILESYSTEM = 0"); return LV_RES_INV; #endif } static lv_res_t lv_img_decoder_built_in_line_alpha(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf) { #if LV_IMG_CF_ALPHA const lv_opa_t alpha1_opa_table[2] = {0, 255}; /*Opacity mapping with bpp = 1 (Just for compatibility)*/ const lv_opa_t alpha2_opa_table[4] = {0, 85, 170, 255}; /*Opacity mapping with bpp = 2*/ const lv_opa_t alpha4_opa_table[16] = {0, 17, 34, 51, /*Opacity mapping with bpp = 4*/ 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255 }; /*Simply fill the buffer with the color. Later only the alpha value will be modified.*/ lv_color_t bg_color = dsc->color; lv_coord_t i; for(i = 0; i < len; i++) { #if LV_COLOR_DEPTH == 8 || LV_COLOR_DEPTH == 1 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = bg_color.full; #elif LV_COLOR_DEPTH == 16 /*Because of Alpha byte 16 bit color can start on odd address which can cause crash*/ buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = bg_color.full & 0xFF; buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE + 1] = (bg_color.full >> 8) & 0xFF; #elif LV_COLOR_DEPTH == 32 *((uint32_t *)&buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE]) = bg_color.full; #else #error "Invalid LV_COLOR_DEPTH. Check it in lv_conf.h" #endif } const lv_opa_t * opa_table = NULL; uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf); uint16_t mask = (1 << px_size) - 1; /*E.g. px_size = 2; mask = 0x03*/ lv_coord_t w = 0; uint32_t ofs = 0; int8_t pos = 0; switch(dsc->header.cf) { case LV_IMG_CF_ALPHA_1BIT: w = (dsc->header.w >> 3); /*E.g. w = 20 -> w = 2 + 1*/ if(dsc->header.w & 0x7) w++; ofs += w * y + (x >> 3); /*First pixel*/ pos = 7 - (x & 0x7); opa_table = alpha1_opa_table; break; case LV_IMG_CF_ALPHA_2BIT: w = (dsc->header.w >> 2); /*E.g. w = 13 -> w = 3 + 1 (bytes)*/ if(dsc->header.w & 0x3) w++; ofs += w * y + (x >> 2); /*First pixel*/ pos = 6 - ((x & 0x3) * 2); opa_table = alpha2_opa_table; break; case LV_IMG_CF_ALPHA_4BIT: w = (dsc->header.w >> 1); /*E.g. w = 13 -> w = 6 + 1 (bytes)*/ if(dsc->header.w & 0x1) w++; ofs += w * y + (x >> 1); /*First pixel*/ pos = 4 - ((x & 0x1) * 4); opa_table = alpha4_opa_table; break; case LV_IMG_CF_ALPHA_8BIT: w = dsc->header.w; /*E.g. x = 7 -> w = 7 (bytes)*/ ofs += w * y + x; /*First pixel*/ pos = 0; break; } #if LV_USE_FILESYSTEM lv_img_decoder_built_in_data_t * user_data = dsc->user_data; uint8_t * fs_buf = _lv_mem_buf_get(w); #endif const uint8_t * data_tmp = NULL; if(dsc->src_type == LV_IMG_SRC_VARIABLE) { const lv_img_dsc_t * img_dsc = dsc->src; data_tmp = img_dsc->data + ofs; } else { #if LV_USE_FILESYSTEM lv_fs_seek(user_data->f, ofs + 4); /*+4 to skip the header*/ lv_fs_read(user_data->f, fs_buf, w, NULL); data_tmp = fs_buf; #else LV_LOG_WARN("Image built-in alpha line reader can't read file because LV_USE_FILESYSTEM = 0"); data_tmp = NULL; /*To avoid warnings*/ return LV_RES_INV; #endif } for(i = 0; i < len; i++) { uint8_t val_act = (*data_tmp & (mask << pos)) >> pos; buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE + LV_IMG_PX_SIZE_ALPHA_BYTE - 1] = dsc->header.cf == LV_IMG_CF_ALPHA_8BIT ? val_act : opa_table[val_act]; pos -= px_size; if(pos < 0) { pos = 8 - px_size; data_tmp++; } } #if LV_USE_FILESYSTEM _lv_mem_buf_release(fs_buf); #endif return LV_RES_OK; #else LV_LOG_WARN("Image built-in alpha line reader failed because LV_IMG_CF_ALPHA is 0 in lv_conf.h"); return LV_RES_INV; #endif } static lv_res_t lv_img_decoder_built_in_line_indexed(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf) { #if LV_IMG_CF_INDEXED uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf); uint16_t mask = (1 << px_size) - 1; /*E.g. px_size = 2; mask = 0x03*/ lv_coord_t w = 0; int8_t pos = 0; uint32_t ofs = 0; switch(dsc->header.cf) { case LV_IMG_CF_INDEXED_1BIT: w = (dsc->header.w >> 3); /*E.g. w = 20 -> w = 2 + 1*/ if(dsc->header.w & 0x7) w++; ofs += w * y + (x >> 3); /*First pixel*/ ofs += 8; /*Skip the palette*/ pos = 7 - (x & 0x7); break; case LV_IMG_CF_INDEXED_2BIT: w = (dsc->header.w >> 2); /*E.g. w = 13 -> w = 3 + 1 (bytes)*/ if(dsc->header.w & 0x3) w++; ofs += w * y + (x >> 2); /*First pixel*/ ofs += 16; /*Skip the palette*/ pos = 6 - ((x & 0x3) * 2); break; case LV_IMG_CF_INDEXED_4BIT: w = (dsc->header.w >> 1); /*E.g. w = 13 -> w = 6 + 1 (bytes)*/ if(dsc->header.w & 0x1) w++; ofs += w * y + (x >> 1); /*First pixel*/ ofs += 64; /*Skip the palette*/ pos = 4 - ((x & 0x1) * 4); break; case LV_IMG_CF_INDEXED_8BIT: w = dsc->header.w; /*E.g. x = 7 -> w = 7 (bytes)*/ ofs += w * y + x; /*First pixel*/ ofs += 1024; /*Skip the palette*/ pos = 0; break; } lv_img_decoder_built_in_data_t * user_data = dsc->user_data; #if LV_USE_FILESYSTEM uint8_t * fs_buf = _lv_mem_buf_get(w); #endif const uint8_t * data_tmp = NULL; if(dsc->src_type == LV_IMG_SRC_VARIABLE) { const lv_img_dsc_t * img_dsc = dsc->src; data_tmp = img_dsc->data + ofs; } else { #if LV_USE_FILESYSTEM lv_fs_seek(user_data->f, ofs + 4); /*+4 to skip the header*/ lv_fs_read(user_data->f, fs_buf, w, NULL); data_tmp = fs_buf; #else LV_LOG_WARN("Image built-in indexed line reader can't read file because LV_USE_FILESYSTEM = 0"); data_tmp = NULL; /*To avoid warnings*/ return LV_RES_INV; #endif } lv_coord_t i; for(i = 0; i < len; i++) { uint8_t val_act = (*data_tmp & (mask << pos)) >> pos; lv_color_t color = user_data->palette[val_act]; #if LV_COLOR_DEPTH == 8 || LV_COLOR_DEPTH == 1 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = color.full; #elif LV_COLOR_DEPTH == 16 /*Because of Alpha byte 16 bit color can start on odd address which can cause crash*/ buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = color.full & 0xFF; buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE + 1] = (color.full >> 8) & 0xFF; #elif LV_COLOR_DEPTH == 32 *((uint32_t *)&buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE]) = color.full; #else #error "Invalid LV_COLOR_DEPTH. Check it in lv_conf.h" #endif buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE + LV_IMG_PX_SIZE_ALPHA_BYTE - 1] = user_data->opa[val_act]; pos -= px_size; if(pos < 0) { pos = 8 - px_size; data_tmp++; } } #if LV_USE_FILESYSTEM _lv_mem_buf_release(fs_buf); #endif return LV_RES_OK; #else LV_LOG_WARN("Image built-in indexed line reader failed because LV_IMG_CF_INDEXED is 0 in lv_conf.h"); return LV_RES_INV; #endif }
27,447
lv_img_decoder
c
en
c
code
{"qsc_code_num_words": 4339, "qsc_code_num_chars": 27447.0, "qsc_code_mean_word_length": 3.51071676, "qsc_code_frac_words_unique": 0.08342936, "qsc_code_frac_chars_top_2grams": 0.06105166, "qsc_code_frac_chars_top_3grams": 0.06932318, "qsc_code_frac_chars_top_4grams": 0.04017593, "qsc_code_frac_chars_dupe_5grams": 0.70235673, "qsc_code_frac_chars_dupe_6grams": 0.62489332, "qsc_code_frac_chars_dupe_7grams": 0.55563579, "qsc_code_frac_chars_dupe_8grams": 0.50128012, "qsc_code_frac_chars_dupe_9grams": 0.43175999, "qsc_code_frac_chars_dupe_10grams": 0.3919123, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01584463, "qsc_code_frac_chars_whitespace": 0.26647721, "qsc_code_size_file_byte": 27447.0, "qsc_code_num_lines": 785.0, "qsc_code_num_chars_line_max": 121.0, "qsc_code_num_chars_line_mean": 34.96433121, "qsc_code_frac_chars_alphabet": 0.74077385, "qsc_code_frac_chars_comments": 0.24024484, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.46800731, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.06545821, "qsc_code_frac_chars_long_word_length": 0.0081523, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00249365, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.01279707, "qsc_codec_frac_lines_func_ratio": 0.08775137, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.16270567, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.11882998}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
007SKRN/crypto-portfolio-tracker
src/gui/components/edit_coin_frame.py
import dearpygui.dearpygui as dpg class EditCoinFrame: def __init__(self, portfolio, db_id, refresh_callback): self.portfolio = portfolio self.db_id = db_id self.coin_data = portfolio.get_coin(db_id) self.refresh_callback = refresh_callback self.show() def show(self): with dpg.window( label=f"Edit {self.coin_data['name']}", modal=True, tag="edit_window", width=500, height=200, pos=[dpg.get_viewport_width() // 2 - 200, dpg.get_viewport_height() // 2 - 150] ): with dpg.group(): dpg.add_input_text( label="Name", default_value=self.coin_data["name"], tag="edit_name", width=350 ) dpg.add_input_text( label="CoinMarketCap ID", default_value=self.coin_data["id"], tag="edit_id", width=350 ) dpg.add_input_float( label="Average Price ($)", default_value=self.coin_data["avg_price"], tag="edit_price", width=350, format="%.8g" ) dpg.add_input_float( label="Amount", default_value=self.coin_data["amount"], tag="edit_amount", width=350, format="%.8g" ) dpg.add_input_text( label="Target Prices ($)", default_value=",".join(map(str, self.coin_data["targets"])), tag="edit_targets", width=350 ) dpg.add_spacer(height=20) with dpg.group(horizontal=True): dpg.add_button( label="Save", callback=self.save_changes, width=170 ) dpg.add_spacer(width=10) dpg.add_button( label="Cancel", callback=lambda: dpg.delete_item("edit_window"), width=170 ) def save_changes(self): try: name = dpg.get_value("edit_name") coin_id = dpg.get_value("edit_id") avg_price = dpg.get_value("edit_price") amount = dpg.get_value("edit_amount") targets_text = dpg.get_value("edit_targets") if not all([name, coin_id, avg_price, amount]): raise ValueError("All fields except Target Prices are required") # Targets are optional targets = [] if targets_text: targets = [float(t.strip()) for t in targets_text.split(",")] self.portfolio.update_coin(self.db_id, name, coin_id, avg_price, amount, targets) self.refresh_callback() dpg.delete_item("edit_window") except ValueError as e: self.show_error("Invalid input. Please check your values.") def show_error(self, message): with dpg.window(label="Error", modal=True, tag="error_window", width=300, height=100): dpg.add_text(message) dpg.add_spacer(height=20) dpg.add_button( label="OK", callback=lambda: dpg.delete_item("error_window"), width=280 )
3,615
edit_coin_frame
py
en
python
code
{"qsc_code_num_words": 362, "qsc_code_num_chars": 3615.0, "qsc_code_mean_word_length": 4.49723757, "qsc_code_frac_words_unique": 0.2679558, "qsc_code_frac_chars_top_2grams": 0.04422604, "qsc_code_frac_chars_top_3grams": 0.05159705, "qsc_code_frac_chars_top_4grams": 0.0460688, "qsc_code_frac_chars_dupe_5grams": 0.25859951, "qsc_code_frac_chars_dupe_6grams": 0.06265356, "qsc_code_frac_chars_dupe_7grams": 0.03316953, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.025, "qsc_code_frac_chars_whitespace": 0.42461964, "qsc_code_size_file_byte": 3615.0, "qsc_code_num_lines": 100.0, "qsc_code_num_chars_line_max": 95.0, "qsc_code_num_chars_line_mean": 36.15, "qsc_code_frac_chars_alphabet": 0.75769231, "qsc_code_frac_chars_comments": 0.0055325, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.21348315, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.10659616, "qsc_code_frac_chars_long_word_length": 0.00667965, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.04494382, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.01123596, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.06741573, "qsc_codepython_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
007SKRN/crypto-portfolio-tracker
src/gui/components/portfolio_frame.py
from src.utils import mask_sensitive_data, show_confirmation, show_error, PrivacyManager from src.gui.components import EditCoinFrame from src.models import TableColumns import dearpygui.dearpygui as dpg class PortfolioFrame: def __init__(self, tag, portfolio, portfolio_brief_frame=None): self.tag = tag self.portfolio = portfolio self.portfolio_brief_frame = portfolio_brief_frame self.privacy_manager = PrivacyManager() self.column_ids = None self.current_sort = None self.setup_ui() self.current_sort = (self.column_ids["profit"], -1) self.update_portfolio_view() def setup_ui(self): with dpg.group(tag=self.tag): with dpg.group(horizontal=True): dpg.add_text("Portfolio Overview", tag=f"{self.tag}_title") dpg.add_spacer(width=10) dpg.add_button(label="Refresh", callback=self.update_portfolio_view) with dpg.table(header_row=True, resizable=True, policy=dpg.mvTable_SizingStretchProp, borders_innerH=True, borders_outerH=True, borders_innerV=True, borders_outerV=True, sortable=True, callback=self.sort_callback, tag=f"{self.tag}_table"): self.column_ids = { "name": dpg.add_table_column(label=TableColumns.NAME.label, init_width_or_weight=TableColumns.NAME.width), "current_price": dpg.add_table_column(label=TableColumns.CURRENT_PRICE.label, init_width_or_weight=TableColumns.CURRENT_PRICE.width), "avg_price": dpg.add_table_column(label=TableColumns.AVG_PRICE.label, init_width_or_weight=TableColumns.AVG_PRICE.width), "amount": dpg.add_table_column(label=TableColumns.AMOUNT.label, init_width_or_weight=TableColumns.AMOUNT.width), "investment": dpg.add_table_column(label=TableColumns.INVESTMENT.label, init_width_or_weight=TableColumns.INVESTMENT.width), "current_value": dpg.add_table_column(label=TableColumns.CURRENT_VALUE.label, init_width_or_weight=TableColumns.CURRENT_VALUE.width), "profit": dpg.add_table_column(label=TableColumns.PROFIT.label, init_width_or_weight=TableColumns.PROFIT.width, default_sort=True, prefer_sort_descending=True), "portfolio_percentage": dpg.add_table_column(label=TableColumns.PORTFOLIO_PERCENTAGE.label, init_width_or_weight=TableColumns.PORTFOLIO_PERCENTAGE.width), "changes": dpg.add_table_column(label=TableColumns.CHANGES.label, init_width_or_weight=TableColumns.CHANGES.width), "volume": dpg.add_table_column(label=TableColumns.VOLUME.label, init_width_or_weight=TableColumns.VOLUME.width), "targets": dpg.add_table_column(label=TableColumns.TARGETS.label, init_width_or_weight=TableColumns.TARGETS.width, no_sort=True), "actions": dpg.add_table_column(label=TableColumns.ACTIONS.label, init_width_or_weight=TableColumns.ACTIONS.width, no_sort=True) } def update_portfolio_view(self): self.sort_callback(None, None) def sort_callback(self, sender, sort_specs): if sort_specs is None and not self.current_sort: return if sort_specs: self.current_sort = (sort_specs[0][0], sort_specs[0][1]) rows = self.portfolio.get_portfolio_data() column_id = self.current_sort[0] reverse = self.current_sort[1] < 0 sort_keys = { self.column_ids["name"]: lambda x: x["name"], self.column_ids["current_price"]: lambda x: x["current_price"], self.column_ids["avg_price"]: lambda x: x["avg_price"], self.column_ids["amount"]: lambda x: float(x["amount"]), self.column_ids["investment"]: lambda x: x["investment"], self.column_ids["current_value"]: lambda x: x["current_value"], self.column_ids["profit"]: lambda x: x["profit"], self.column_ids["portfolio_percentage"]: lambda x: x["portfolio_percentage"], self.column_ids["changes"]: lambda x: x["changes"]["24h"], self.column_ids["volume"]: lambda x: x["volume"]["change_24h"], self.column_ids["targets"]: lambda x: len(x["targets"]), } if column_id in sort_keys: rows.sort(key=sort_keys[column_id], reverse=reverse) self.update_table_with_data(rows) def update_table_with_data(self, rows): privacy_enabled = self.privacy_manager.is_privacy_enabled() table_tag = f"{self.tag}_table" dpg.delete_item(table_tag, children_only=True, slot=1) for coin_data in rows: with dpg.table_row(parent=table_tag): dpg.add_text(coin_data["name"]) dpg.add_text(TableColumns.CURRENT_PRICE.format.format(coin_data['current_price'])) dpg.add_text(TableColumns.AVG_PRICE.format.format(coin_data['avg_price'])) dpg.add_text(mask_sensitive_data( TableColumns.AMOUNT.format.format(coin_data['amount']), privacy_enabled )) dpg.add_text(mask_sensitive_data( TableColumns.INVESTMENT.format.format(coin_data['investment']), privacy_enabled )) dpg.add_text(mask_sensitive_data( TableColumns.CURRENT_VALUE.format.format(coin_data['current_value']), privacy_enabled )) profit_color = (0, 255, 0) if coin_data['profit'] >= 0 else (255, 0, 0) dpg.add_text( TableColumns.PROFIT.format.format(f"{mask_sensitive_data(f"${coin_data['profit']:,.2f}", privacy_enabled)}\n({f"{coin_data['profit_percentage']:,.2f}%"})"), color=profit_color, ) dpg.add_text(TableColumns.PORTFOLIO_PERCENTAGE.format.format(coin_data['portfolio_percentage'])) with dpg.group(): periods = [("24h", "24H"), ("7d", "7D"), ("30d", "30D")] for period_key, period_label in periods: change = coin_data["changes"][period_key] change_color = (0, 255, 0) if change >= 0 else (255, 0, 0) dpg.add_text( f"{period_label}: {change:.2f}%", color=change_color ) with dpg.group(): volume_change = coin_data["volume"]["change_24h"] volume_change_color = (0, 255, 0) if volume_change >= 0 else (255, 0, 0) dpg.add_text( f"{volume_change:.2f}%", color=volume_change_color ) with dpg.group(): for i, target in enumerate(coin_data["targets"], start=1): target_price = target['price'] is_achieved = coin_data['current_price'] >= target_price dpg.add_text( f"T{i}- {target_price:,.8g}", color=(0, 255, 0) if is_achieved else (255, 255, 255) ) if not privacy_enabled: with dpg.group(horizontal=True): dpg.add_button( label="Edit", callback=lambda s, a, u: self.edit_coin(u), user_data=coin_data["db_id"] ) dpg.add_button( label="Delete", callback=lambda s, a, u: self.delete_coin(u, coin_data["name"]), user_data=coin_data["db_id"] ) def edit_coin(self, coin_name): EditCoinFrame(self.portfolio, coin_name, self.update_portfolio_view) def delete_coin(self, coin_id, coin_name): def on_confirm(): self.portfolio.remove_coin(coin_id) self.update_portfolio_view() self.portfolio_brief_frame.update_brief() dpg.delete_item("confirm_window") show_confirmation( f"Are you sure you want to delete {coin_name}?", on_confirm ) def show_error(self, message): show_error(message)
8,731
portfolio_frame
py
en
python
code
{"qsc_code_num_words": 979, "qsc_code_num_chars": 8731.0, "qsc_code_mean_word_length": 4.87334014, "qsc_code_frac_words_unique": 0.15321757, "qsc_code_frac_chars_top_2grams": 0.03521274, "qsc_code_frac_chars_top_3grams": 0.03814714, "qsc_code_frac_chars_top_4grams": 0.04275833, "qsc_code_frac_chars_dupe_5grams": 0.3150283, "qsc_code_frac_chars_dupe_6grams": 0.26514358, "qsc_code_frac_chars_dupe_7grams": 0.11213582, "qsc_code_frac_chars_dupe_8grams": 0.03772794, "qsc_code_frac_chars_dupe_9grams": 0.03353595, "qsc_code_frac_chars_dupe_10grams": 0.01131838, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01339809, "qsc_code_frac_chars_whitespace": 0.31611499, "qsc_code_size_file_byte": 8731.0, "qsc_code_num_lines": 169.0, "qsc_code_num_chars_line_max": 181.0, "qsc_code_num_chars_line_mean": 51.66272189, "qsc_code_frac_chars_alphabet": 0.78563055, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.16551724, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.08863949, "qsc_code_frac_chars_long_word_length": 0.00503894, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 0.0, "qsc_codepython_frac_lines_func_ratio": null, "qsc_codepython_cate_var_zero": null, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.02758621, "qsc_codepython_frac_lines_simplefunc": null, "qsc_codepython_score_lines_no_logic": null, "qsc_codepython_frac_lines_print": 0.0}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 1, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_draw/lv_draw_mask.c
/** * @file lv_mask.c * */ /********************* * INCLUDES *********************/ #include "lv_draw_mask.h" #include "../lv_misc/lv_math.h" #include "../lv_misc/lv_log.h" #include "../lv_misc/lv_debug.h" #include "../lv_misc/lv_gc.h" #if defined(LV_GC_INCLUDE) #include LV_GC_INCLUDE #endif /* LV_ENABLE_GC */ /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_line(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_line_param_t * param); LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_radius(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_radius_param_t * param); LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_angle(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_angle_param_t * param); LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_fade(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_fade_param_t * param); LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_map(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_map_param_t * param); LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t line_mask_flat(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_line_param_t * p); LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t line_mask_steep(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_line_param_t * p); LV_ATTRIBUTE_FAST_MEM static inline lv_opa_t mask_mix(lv_opa_t mask_act, lv_opa_t mask_new); LV_ATTRIBUTE_FAST_MEM static inline void sqrt_approx(lv_sqrt_res_t * q, lv_sqrt_res_t * ref, uint32_t x); /********************** * STATIC VARIABLES **********************/ /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Add a draw mask. Everything drawn after it (until removing the mask) will be affected by the mask. * @param param an initialized mask parameter. Only the pointer is saved. * @param custom_id a custom pointer to identify the mask. Used in `lv_draw_mask_remove_custom`. * @return the an integer, the ID of the mask. Can be used in `lv_draw_mask_remove_id`. */ int16_t lv_draw_mask_add(void * param, void * custom_id) { /*Look for a free entry*/ uint8_t i; for(i = 0; i < _LV_MASK_MAX_NUM; i++) { if(LV_GC_ROOT(_lv_draw_mask_list[i]).param == NULL) break; } if(i >= _LV_MASK_MAX_NUM) { LV_LOG_WARN("lv_mask_add: no place to add the mask"); return LV_MASK_ID_INV; } LV_GC_ROOT(_lv_draw_mask_list[i]).param = param; LV_GC_ROOT(_lv_draw_mask_list[i]).custom_id = custom_id; return i; } /** * Apply the added buffers on a line. Used internally by the library's drawing routines. * @param mask_buf store the result mask here. Has to be `len` byte long. Should be initialized with `0xFF`. * @param abs_x absolute X coordinate where the line to calculate start * @param abs_y absolute Y coordinate where the line to calculate start * @param len length of the line to calculate (in pixel count) * @return One of these values: * - `LV_DRAW_MASK_RES_FULL_TRANSP`: the whole line is transparent. `mask_buf` is not set to zero * - `LV_DRAW_MASK_RES_FULL_COVER`: the whole line is fully visible. `mask_buf` is unchanged * - `LV_DRAW_MASK_RES_CHANGED`: `mask_buf` has changed, it shows the desired opacity of each pixel in the given line */ LV_ATTRIBUTE_FAST_MEM lv_draw_mask_res_t lv_draw_mask_apply(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len) { bool changed = false; lv_draw_mask_common_dsc_t * dsc; _lv_draw_mask_saved_t * m = LV_GC_ROOT(_lv_draw_mask_list); while(m->param) { dsc = m->param; lv_draw_mask_res_t res = LV_DRAW_MASK_RES_FULL_COVER; res = dsc->cb(mask_buf, abs_x, abs_y, len, (void *)m->param); if(res == LV_DRAW_MASK_RES_TRANSP) return LV_DRAW_MASK_RES_TRANSP; else if(res == LV_DRAW_MASK_RES_CHANGED) changed = true; m++; } return changed ? LV_DRAW_MASK_RES_CHANGED : LV_DRAW_MASK_RES_FULL_COVER; } /** * Remove a mask with a given ID * @param id the ID of the mask. Returned by `lv_draw_mask_add` * @return the parameter of the removed mask. * If more masks have `custom_id` ID then the last mask's parameter will be returned */ void * lv_draw_mask_remove_id(int16_t id) { void * p = NULL; if(id != LV_MASK_ID_INV) { p = LV_GC_ROOT(_lv_draw_mask_list[id]).param; LV_GC_ROOT(_lv_draw_mask_list[id]).param = NULL; LV_GC_ROOT(_lv_draw_mask_list[id]).custom_id = NULL; } return p; } /** * Remove all mask with a given custom ID * @param custom_id a pointer used in `lv_draw_mask_add` * @return return the parameter of the removed mask. * If more masks have `custom_id` ID then the last mask's parameter will be returned */ void * lv_draw_mask_remove_custom(void * custom_id) { void * p = NULL; uint8_t i; for(i = 0; i < _LV_MASK_MAX_NUM; i++) { if(LV_GC_ROOT(_lv_draw_mask_list[i]).custom_id == custom_id) { p = LV_GC_ROOT(_lv_draw_mask_list[i]).param; LV_GC_ROOT(_lv_draw_mask_list[i]).param = NULL; LV_GC_ROOT(_lv_draw_mask_list[i]).custom_id = NULL; } } return p; } /** * Count the currently added masks * @return number of active masks */ LV_ATTRIBUTE_FAST_MEM uint8_t lv_draw_mask_get_cnt(void) { uint8_t cnt = 0; uint8_t i; for(i = 0; i < _LV_MASK_MAX_NUM; i++) { if(LV_GC_ROOT(_lv_draw_mask_list[i]).param) cnt++; } return cnt; } /** *Initialize a line mask from two points. * @param param pointer to a `lv_draw_mask_param_t` to initialize * @param p1x X coordinate of the first point of the line * @param p1y Y coordinate of the first point of the line * @param p2x X coordinate of the second point of the line * @param p2y y coordinate of the second point of the line * @param side and element of `lv_draw_mask_line_side_t` to describe which side to keep. * With `LV_DRAW_MASK_LINE_SIDE_LEFT/RIGHT` and horizontal line all pixels are kept * With `LV_DRAW_MASK_LINE_SIDE_TOP/BOTTOM` and vertical line all pixels are kept */ void lv_draw_mask_line_points_init(lv_draw_mask_line_param_t * param, lv_coord_t p1x, lv_coord_t p1y, lv_coord_t p2x, lv_coord_t p2y, lv_draw_mask_line_side_t side) { _lv_memset_00(param, sizeof(lv_draw_mask_line_param_t)); if(p1y > p2y) { lv_coord_t t; t = p2x; p2x = p1x; p1x = t; t = p2y; p2y = p1y; p1y = t; } param->cfg.p1.x = p1x; param->cfg.p1.y = p1y; param->cfg.p2.x = p2x; param->cfg.p2.y = p2y; param->cfg.side = side; param->origo.x = p1x; param->origo.y = p1y; param->flat = (LV_MATH_ABS(p2x - p1x) > LV_MATH_ABS(p2y - p1y)) ? 1 : 0; param->yx_steep = 0; param->xy_steep = 0; param->dsc.cb = (lv_draw_mask_xcb_t)lv_draw_mask_line; param->dsc.type = LV_DRAW_MASK_TYPE_LINE; int32_t dx = p2x - p1x; int32_t dy = p2y - p1y; if(param->flat) { /*Normalize the steep. Delta x should be relative to delta x = 1024*/ int32_t m; if(dx) { m = (1 << 20) / dx; /*m is multiplier to normalize y (upscaled by 1024)*/ param->yx_steep = (m * dy) >> 10; } if(dy) { m = (1 << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ param->xy_steep = (m * dx) >> 10; } param->steep = param->yx_steep; } else { /*Normalize the steep. Delta y should be relative to delta x = 1024*/ int32_t m; if(dy) { m = (1 << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ param->xy_steep = (m * dx) >> 10; } if(dx) { m = (1 << 20) / dx; /*m is multiplier to normalize x (upscaled by 1024)*/ param->yx_steep = (m * dy) >> 10; } param->steep = param->xy_steep; } if(param->cfg.side == LV_DRAW_MASK_LINE_SIDE_LEFT) param->inv = 0; else if(param->cfg.side == LV_DRAW_MASK_LINE_SIDE_RIGHT) param->inv = 1; else if(param->cfg.side == LV_DRAW_MASK_LINE_SIDE_TOP) { if(param->steep > 0) param->inv = 1; else param->inv = 0; } else if(param->cfg.side == LV_DRAW_MASK_LINE_SIDE_BOTTOM) { if(param->steep > 0) param->inv = 0; else param->inv = 1; } param->spx = param->steep >> 2; if(param->steep < 0) param->spx = -param->spx; } /** *Initialize a line mask from a point and an angle. * @param param pointer to a `lv_draw_mask_param_t` to initialize * @param px X coordinate of a point of the line * @param py X coordinate of a point of the line * @param angle right 0 deg, bottom: 90 * @param side and element of `lv_draw_mask_line_side_t` to describe which side to keep. * With `LV_DRAW_MASK_LINE_SIDE_LEFT/RIGHT` and horizontal line all pixels are kept * With `LV_DRAW_MASK_LINE_SIDE_TOP/BOTTOM` and vertical line all pixels are kept */ void lv_draw_mask_line_angle_init(lv_draw_mask_line_param_t * param, lv_coord_t p1x, lv_coord_t py, int16_t angle, lv_draw_mask_line_side_t side) { /* Find an optimal degree. * lv_mask_line_points_init will swap the points to keep the smaller y in p1 * Theoretically a line with `angle` or `angle+180` is the same only the points are swapped * Find the degree which keeps the origo in place */ if(angle > 180) angle -= 180; /*> 180 will swap the origo*/ int32_t p2x; int32_t p2y; p2x = (_lv_trigo_sin(angle + 90) >> 5) + p1x; p2y = (_lv_trigo_sin(angle) >> 5) + py; lv_draw_mask_line_points_init(param, p1x, py, p2x, p2y, side); } /** * Initialize an angle mask. * @param param pointer to a `lv_draw_mask_param_t` to initialize * @param vertex_x X coordinate of the angle vertex (absolute coordinates) * @param vertex_y Y coordinate of the angle vertex (absolute coordinates) * @param start_angle start angle in degrees. 0 deg on the right, 90 deg, on the bottom * @param end_angle end angle */ void lv_draw_mask_angle_init(lv_draw_mask_angle_param_t * param, lv_coord_t vertex_x, lv_coord_t vertex_y, lv_coord_t start_angle, lv_coord_t end_angle) { lv_draw_mask_line_side_t start_side; lv_draw_mask_line_side_t end_side; /* Constrain the input angles */ if(start_angle < 0) start_angle = 0; else if(start_angle > 359) start_angle = 359; if(end_angle < 0) end_angle = 0; else if(end_angle > 359) end_angle = 359; if(end_angle < start_angle) { param->delta_deg = 360 - start_angle + end_angle; } else { param->delta_deg = LV_MATH_ABS(end_angle - start_angle); } param->cfg.start_angle = start_angle; param->cfg.end_angle = end_angle; param->cfg.vertex_p.x = vertex_x; param->cfg.vertex_p.y = vertex_y; param->dsc.cb = (lv_draw_mask_xcb_t)lv_draw_mask_angle; param->dsc.type = LV_DRAW_MASK_TYPE_ANGLE; if(start_angle >= 0 && start_angle < 180) { start_side = LV_DRAW_MASK_LINE_SIDE_LEFT; } else if(start_angle >= 180 && start_angle < 360) { start_side = LV_DRAW_MASK_LINE_SIDE_RIGHT; } else { LV_DEBUG_ASSERT(false, "Unexpected start_angle", start_angle); return; } if(end_angle >= 0 && end_angle < 180) { end_side = LV_DRAW_MASK_LINE_SIDE_RIGHT; } else if(end_angle >= 180 && end_angle < 360) { end_side = LV_DRAW_MASK_LINE_SIDE_LEFT; } else { LV_DEBUG_ASSERT(false, "Unexpected end_angle", end_angle); return; } lv_draw_mask_line_angle_init(&param->start_line, vertex_x, vertex_y, start_angle, start_side); lv_draw_mask_line_angle_init(&param->end_line, vertex_x, vertex_y, end_angle, end_side); } /** * Initialize a fade mask. * @param param param pointer to a `lv_draw_mask_param_t` to initialize * @param rect coordinates of the rectangle to affect (absolute coordinates) * @param radius radius of the rectangle * @param inv: true: keep the pixels inside the rectangle; keep the pixels outside of the rectangle */ void lv_draw_mask_radius_init(lv_draw_mask_radius_param_t * param, const lv_area_t * rect, lv_coord_t radius, bool inv) { lv_coord_t w = lv_area_get_width(rect); lv_coord_t h = lv_area_get_height(rect); int32_t short_side = LV_MATH_MIN(w, h); if(radius > short_side >> 1) radius = short_side >> 1; lv_area_copy(&param->cfg.rect, rect); param->cfg.radius = radius; param->cfg.outer = inv ? 1 : 0; param->dsc.cb = (lv_draw_mask_xcb_t)lv_draw_mask_radius; param->dsc.type = LV_DRAW_MASK_TYPE_RADIUS; param->y_prev = INT32_MIN; param->y_prev_x.f = 0; param->y_prev_x.i = 0; } /** * Initialize a fade mask. * @param param pointer to a `lv_draw_mask_param_t` to initialize * @param coords coordinates of the area to affect (absolute coordinates) * @param opa_top opacity on the top * @param y_top at which coordinate start to change to opacity to `opa_bottom` * @param opa_bottom opacity at the bottom * @param y_bottom at which coordinate reach `opa_bottom`. */ void lv_draw_mask_fade_init(lv_draw_mask_fade_param_t * param, const lv_area_t * coords, lv_opa_t opa_top, lv_coord_t y_top, lv_opa_t opa_bottom, lv_coord_t y_bottom) { lv_area_copy(&param->cfg.coords, coords); param->cfg.opa_top = opa_top; param->cfg.opa_bottom = opa_bottom; param->cfg.y_top = y_top; param->cfg.y_bottom = y_bottom; param->dsc.cb = (lv_draw_mask_xcb_t)lv_draw_mask_fade; param->dsc.type = LV_DRAW_MASK_TYPE_FADE; } /** * Initialize a map mask. * @param param pointer to a `lv_draw_mask_param_t` to initialize * @param coords coordinates of the map (absolute coordinates) * @param map array of bytes with the mask values */ void lv_draw_mask_map_init(lv_draw_mask_map_param_t * param, const lv_area_t * coords, const lv_opa_t * map) { lv_area_copy(&param->cfg.coords, coords); param->cfg.map = map; param->dsc.cb = (lv_draw_mask_xcb_t)lv_draw_mask_map; param->dsc.type = LV_DRAW_MASK_TYPE_MAP; } /********************** * STATIC FUNCTIONS **********************/ LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_line(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_line_param_t * p) { /*Make to points relative to the vertex*/ abs_y -= p->origo.y; abs_x -= p->origo.x; /*Handle special cases*/ if(p->steep == 0) { /*Horizontal*/ if(p->flat) { /*Non sense: Can't be on the right/left of a horizontal line*/ if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_LEFT || p->cfg.side == LV_DRAW_MASK_LINE_SIDE_RIGHT) return LV_DRAW_MASK_RES_FULL_COVER; else if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_TOP && abs_y + 1 < 0) return LV_DRAW_MASK_RES_FULL_COVER; else if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_BOTTOM && abs_y > 0) return LV_DRAW_MASK_RES_FULL_COVER; else { return LV_DRAW_MASK_RES_TRANSP; } } /*Vertical*/ else { /*Non sense: Can't be on the top/bottom of a vertical line*/ if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_TOP || p->cfg.side == LV_DRAW_MASK_LINE_SIDE_BOTTOM) return LV_DRAW_MASK_RES_FULL_COVER; else if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_RIGHT && abs_x > 0) return LV_DRAW_MASK_RES_FULL_COVER; else if(p->cfg.side == LV_DRAW_MASK_LINE_SIDE_LEFT) { if(abs_x + len < 0) return LV_DRAW_MASK_RES_FULL_COVER; else { int32_t k = - abs_x; if(k < 0) return LV_DRAW_MASK_RES_TRANSP; if(k >= 0 && k < len) _lv_memset_00(&mask_buf[k], len - k); return LV_DRAW_MASK_RES_CHANGED; } } else { if(abs_x + len < 0) return LV_DRAW_MASK_RES_TRANSP; else { int32_t k = - abs_x; if(k < 0) k = 0; if(k >= len) return LV_DRAW_MASK_RES_TRANSP; else if(k >= 0 && k < len) _lv_memset_00(&mask_buf[0], k); return LV_DRAW_MASK_RES_CHANGED; } } } } lv_draw_mask_res_t res; if(p->flat) { res = line_mask_flat(mask_buf, abs_x, abs_y, len, p); } else { res = line_mask_steep(mask_buf, abs_x, abs_y, len, p); } return res; } LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t line_mask_flat(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_line_param_t * p) { int32_t y_at_x; y_at_x = (int32_t)((int32_t)p->yx_steep * abs_x) >> 10; if(p->yx_steep > 0) { if(y_at_x > abs_y) { if(p->inv) { return LV_DRAW_MASK_RES_FULL_COVER; } else { return LV_DRAW_MASK_RES_TRANSP; } } } else { if(y_at_x < abs_y) { if(p->inv) { return LV_DRAW_MASK_RES_FULL_COVER; } else { return LV_DRAW_MASK_RES_TRANSP; } } } /* At the end of the mask if the limit line is smaller then the mask's y. * Then the mask is in the "good" area*/ y_at_x = (int32_t)((int32_t)p->yx_steep * (abs_x + len)) >> 10; if(p->yx_steep > 0) { if(y_at_x < abs_y) { if(p->inv) { return LV_DRAW_MASK_RES_TRANSP; } else { return LV_DRAW_MASK_RES_FULL_COVER; } } } else { if(y_at_x > abs_y) { if(p->inv) { return LV_DRAW_MASK_RES_TRANSP; } else { return LV_DRAW_MASK_RES_FULL_COVER; } } } int32_t xe; if(p->yx_steep > 0) xe = ((abs_y << 8) * p->xy_steep) >> 10; else xe = (((abs_y + 1) << 8) * p->xy_steep) >> 10; int32_t xei = xe >> 8; int32_t xef = xe & 0xFF; int32_t px_h; if(xef == 0) px_h = 255; else px_h = 255 - (((255 - xef) * p->spx) >> 8); int32_t k = xei - abs_x; lv_opa_t m; if(xef) { if(k >= 0 && k < len) { m = 255 - (((255 - xef) * (255 - px_h)) >> 9); if(p->inv) m = 255 - m; mask_buf[k] = mask_mix(mask_buf[k], m); } k++; } while(px_h > p->spx) { if(k >= 0 && k < len) { m = px_h - (p->spx >> 1); if(p->inv) m = 255 - m; mask_buf[k] = mask_mix(mask_buf[k], m); } px_h -= p->spx; k++; if(k >= len) break; } if(k < len && k >= 0) { int32_t x_inters = (px_h * p->xy_steep) >> 10; m = (x_inters * px_h) >> 9; if(p->yx_steep < 0) m = 255 - m; if(p->inv) m = 255 - m; mask_buf[k] = mask_mix(mask_buf[k], m); } if(p->inv) { k = xei - abs_x; if(k > len) { return LV_DRAW_MASK_RES_TRANSP; } if(k >= 0) { _lv_memset_00(&mask_buf[0], k); } } else { k++; if(k < 0) { return LV_DRAW_MASK_RES_TRANSP; } if(k <= len) { _lv_memset_00(&mask_buf[k], len - k); } } return LV_DRAW_MASK_RES_CHANGED; } LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t line_mask_steep(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_line_param_t * p) { int32_t k; int32_t x_at_y; /* At the beginning of the mask if the limit line is greater then the mask's y. * Then the mask is in the "wrong" area*/ x_at_y = (int32_t)((int32_t)p->xy_steep * abs_y) >> 10; if(p->xy_steep > 0) x_at_y++; if(x_at_y < abs_x) { if(p->inv) { return LV_DRAW_MASK_RES_FULL_COVER; } else { return LV_DRAW_MASK_RES_TRANSP; } } /* At the end of the mask if the limit line is smaller then the mask's y. * Then the mask is in the "good" area*/ x_at_y = (int32_t)((int32_t)p->xy_steep * (abs_y)) >> 10; if(x_at_y > abs_x + len) { if(p->inv) { return LV_DRAW_MASK_RES_TRANSP; } else { return LV_DRAW_MASK_RES_FULL_COVER; } } /*X start*/ int32_t xs = ((abs_y << 8) * p->xy_steep) >> 10; int32_t xsi = xs >> 8; int32_t xsf = xs & 0xFF; /*X end*/ int32_t xe = (((abs_y + 1) << 8) * p->xy_steep) >> 10; int32_t xei = xe >> 8; int32_t xef = xe & 0xFF; lv_opa_t m; k = xsi - abs_x; if(xsi != xei && (p->xy_steep < 0 && xsf == 0)) { xsf = 0xFF; xsi = xei; k--; } if(xsi == xei) { if(k >= 0 && k < len) { m = (xsf + xef) >> 1; if(p->inv) m = 255 - m; mask_buf[k] = mask_mix(mask_buf[k], m); } k++; if(p->inv) { k = xsi - abs_x; if(k >= len) { return LV_DRAW_MASK_RES_TRANSP; } if(k >= 0) _lv_memset_00(&mask_buf[0], k); } else { if(k > len) k = len; if(k == 0) return LV_DRAW_MASK_RES_TRANSP; else if(k > 0) _lv_memset_00(&mask_buf[k], len - k); } } else { int32_t y_inters; if(p->xy_steep < 0) { y_inters = (xsf * (-p->yx_steep)) >> 10; if(k >= 0 && k < len) { m = (y_inters * xsf) >> 9; if(p->inv) m = 255 - m; mask_buf[k] = mask_mix(mask_buf[k], m); } k--; int32_t x_inters = ((255 - y_inters) * (-p->xy_steep)) >> 10; if(k >= 0 && k < len) { m = 255 - (((255 - y_inters) * x_inters) >> 9); if(p->inv) m = 255 - m; mask_buf[k] = mask_mix(mask_buf[k], m); } k += 2; if(p->inv) { k = xsi - abs_x - 1; if(k > len) k = len; else if(k > 0) _lv_memset_00(&mask_buf[0], k); } else { if(k > len) return LV_DRAW_MASK_RES_FULL_COVER; if(k >= 0) _lv_memset_00(&mask_buf[k], len - k); } } else { y_inters = ((255 - xsf) * p->yx_steep) >> 10; if(k >= 0 && k < len) { m = 255 - ((y_inters * (255 - xsf)) >> 9); if(p->inv) m = 255 - m; mask_buf[k] = mask_mix(mask_buf[k], m); } k++; int32_t x_inters = ((255 - y_inters) * p->xy_steep) >> 10; if(k >= 0 && k < len) { m = ((255 - y_inters) * x_inters) >> 9; if(p->inv) m = 255 - m; mask_buf[k] = mask_mix(mask_buf[k], m); } k++; if(p->inv) { k = xsi - abs_x; if(k > len) return LV_DRAW_MASK_RES_TRANSP; if(k >= 0) _lv_memset_00(&mask_buf[0], k); } else { if(k > len) k = len; if(k == 0) return LV_DRAW_MASK_RES_TRANSP; else if(k > 0) _lv_memset_00(&mask_buf[k], len - k); } } } return LV_DRAW_MASK_RES_CHANGED; } LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_angle(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_angle_param_t * p) { int32_t rel_y = abs_y - p->cfg.vertex_p.y; int32_t rel_x = abs_x - p->cfg.vertex_p.x; if(p->cfg.start_angle < 180 && p->cfg.end_angle < 180 && p->cfg.start_angle != 0 && p->cfg.end_angle != 0 && p->cfg.start_angle > p->cfg.end_angle) { if(abs_y < p->cfg.vertex_p.y) { return LV_DRAW_MASK_RES_FULL_COVER; } /*Start angle mask can work only from the end of end angle mask */ int32_t end_angle_first = (rel_y * p->end_line.xy_steep) >> 10; int32_t start_angle_last = ((rel_y + 1) * p->start_line.xy_steep) >> 10; /*Do not let the line end cross the vertex else it will affect the opposite part*/ if(p->cfg.start_angle > 270 && p->cfg.start_angle <= 359 && start_angle_last < 0) start_angle_last = 0; else if(p->cfg.start_angle > 0 && p->cfg.start_angle <= 90 && start_angle_last < 0) start_angle_last = 0; else if(p->cfg.start_angle > 90 && p->cfg.start_angle < 270 && start_angle_last > 0) start_angle_last = 0; if(p->cfg.end_angle > 270 && p->cfg.end_angle <= 359 && start_angle_last < 0) start_angle_last = 0; else if(p->cfg.end_angle > 0 && p->cfg.end_angle <= 90 && start_angle_last < 0) start_angle_last = 0; else if(p->cfg.end_angle > 90 && p->cfg.end_angle < 270 && start_angle_last > 0) start_angle_last = 0; int32_t dist = (end_angle_first - start_angle_last) >> 1; lv_draw_mask_res_t res1 = LV_DRAW_MASK_RES_FULL_COVER; lv_draw_mask_res_t res2 = LV_DRAW_MASK_RES_FULL_COVER; int32_t tmp = start_angle_last + dist - rel_x; if(tmp > len) tmp = len; if(tmp > 0) { res1 = lv_draw_mask_line(&mask_buf[0], abs_x, abs_y, tmp, &p->start_line); if(res1 == LV_DRAW_MASK_RES_TRANSP) { _lv_memset_00(&mask_buf[0], tmp); } } if(tmp > len) tmp = len; if(tmp < 0) tmp = 0; res2 = lv_draw_mask_line(&mask_buf[tmp], abs_x + tmp, abs_y, len - tmp, &p->end_line); if(res2 == LV_DRAW_MASK_RES_TRANSP) { _lv_memset_00(&mask_buf[tmp], len - tmp); } if(res1 == res2) return res1; else return LV_DRAW_MASK_RES_CHANGED; } else if(p->cfg.start_angle > 180 && p->cfg.end_angle > 180 && p->cfg.start_angle > p->cfg.end_angle) { if(abs_y > p->cfg.vertex_p.y) { return LV_DRAW_MASK_RES_FULL_COVER; } /*Start angle mask can work only from the end of end angle mask */ int32_t end_angle_first = (rel_y * p->end_line.xy_steep) >> 10; int32_t start_angle_last = ((rel_y + 1) * p->start_line.xy_steep) >> 10; /*Do not let the line end cross the vertex else it will affect the opposite part*/ if(p->cfg.start_angle > 270 && p->cfg.start_angle <= 359 && start_angle_last < 0) start_angle_last = 0; else if(p->cfg.start_angle > 0 && p->cfg.start_angle <= 90 && start_angle_last < 0) start_angle_last = 0; else if(p->cfg.start_angle > 90 && p->cfg.start_angle < 270 && start_angle_last > 0) start_angle_last = 0; if(p->cfg.end_angle > 270 && p->cfg.end_angle <= 359 && start_angle_last < 0) start_angle_last = 0; else if(p->cfg.end_angle > 0 && p->cfg.end_angle <= 90 && start_angle_last < 0) start_angle_last = 0; else if(p->cfg.end_angle > 90 && p->cfg.end_angle < 270 && start_angle_last > 0) start_angle_last = 0; int32_t dist = (end_angle_first - start_angle_last) >> 1; lv_draw_mask_res_t res1 = LV_DRAW_MASK_RES_FULL_COVER; lv_draw_mask_res_t res2 = LV_DRAW_MASK_RES_FULL_COVER; int32_t tmp = start_angle_last + dist - rel_x; if(tmp > len) tmp = len; if(tmp > 0) { res1 = lv_draw_mask_line(&mask_buf[0], abs_x, abs_y, tmp, (lv_draw_mask_line_param_t *)&p->end_line); if(res1 == LV_DRAW_MASK_RES_TRANSP) { _lv_memset_00(&mask_buf[0], tmp); } } if(tmp > len) tmp = len; if(tmp < 0) tmp = 0; res2 = lv_draw_mask_line(&mask_buf[tmp], abs_x + tmp, abs_y, len - tmp, (lv_draw_mask_line_param_t *)&p->start_line); if(res2 == LV_DRAW_MASK_RES_TRANSP) { _lv_memset_00(&mask_buf[tmp], len - tmp); } if(res1 == res2) return res1; else return LV_DRAW_MASK_RES_CHANGED; } else { lv_draw_mask_res_t res1 = LV_DRAW_MASK_RES_FULL_COVER; lv_draw_mask_res_t res2 = LV_DRAW_MASK_RES_FULL_COVER; if(p->cfg.start_angle == 180) { if(abs_y < p->cfg.vertex_p.y) res1 = LV_DRAW_MASK_RES_FULL_COVER; else res1 = LV_DRAW_MASK_RES_UNKNOWN; } else if(p->cfg.start_angle == 0) { if(abs_y < p->cfg.vertex_p.y) res1 = LV_DRAW_MASK_RES_UNKNOWN; else res1 = LV_DRAW_MASK_RES_FULL_COVER; } else if((p->cfg.start_angle < 180 && abs_y < p->cfg.vertex_p.y) || (p->cfg.start_angle > 180 && abs_y >= p->cfg.vertex_p.y)) { res1 = LV_DRAW_MASK_RES_UNKNOWN; } else { res1 = lv_draw_mask_line(mask_buf, abs_x, abs_y, len, &p->start_line); } if(p->cfg.end_angle == 180) { if(abs_y < p->cfg.vertex_p.y) res2 = LV_DRAW_MASK_RES_UNKNOWN; else res2 = LV_DRAW_MASK_RES_FULL_COVER; } else if(p->cfg.end_angle == 0) { if(abs_y < p->cfg.vertex_p.y) res2 = LV_DRAW_MASK_RES_FULL_COVER; else res2 = LV_DRAW_MASK_RES_UNKNOWN; } else if((p->cfg.end_angle < 180 && abs_y < p->cfg.vertex_p.y) || (p->cfg.end_angle > 180 && abs_y >= p->cfg.vertex_p.y)) { res2 = LV_DRAW_MASK_RES_UNKNOWN; } else { res2 = lv_draw_mask_line(mask_buf, abs_x, abs_y, len, &p->end_line); } if(res1 == LV_DRAW_MASK_RES_TRANSP || res2 == LV_DRAW_MASK_RES_TRANSP) return LV_DRAW_MASK_RES_TRANSP; else if(res1 == LV_DRAW_MASK_RES_UNKNOWN && res2 == LV_DRAW_MASK_RES_UNKNOWN) return LV_DRAW_MASK_RES_TRANSP; else if(res1 == LV_DRAW_MASK_RES_FULL_COVER && res2 == LV_DRAW_MASK_RES_FULL_COVER) return LV_DRAW_MASK_RES_FULL_COVER; else return LV_DRAW_MASK_RES_CHANGED; } } LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_radius(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_radius_param_t * p) { bool outer = p->cfg.outer; int32_t radius = p->cfg.radius; lv_area_t rect; lv_area_copy(&rect, &p->cfg.rect); if(outer == false) { if(abs_y < rect.y1 || abs_y > rect.y2) { return LV_DRAW_MASK_RES_TRANSP; } } else { if(abs_y < rect.y1 || abs_y > rect.y2) { return LV_DRAW_MASK_RES_FULL_COVER; } } if((abs_x >= rect.x1 + radius && abs_x + len <= rect.x2 - radius) || (abs_y >= rect.y1 + radius && abs_y <= rect.y2 - radius)) { if(outer == false) { /*Remove the edges*/ int32_t last = rect.x1 - abs_x; if(last > len) return LV_DRAW_MASK_RES_TRANSP; if(last >= 0) { _lv_memset_00(&mask_buf[0], last); } int32_t first = rect.x2 - abs_x + 1; if(first <= 0) return LV_DRAW_MASK_RES_TRANSP; else if(first < len) { _lv_memset_00(&mask_buf[first], len - first); } if(last == 0 && first == len) return LV_DRAW_MASK_RES_FULL_COVER; else return LV_DRAW_MASK_RES_CHANGED; } else { int32_t first = rect.x1 - abs_x; if(first < 0) first = 0; if(first <= len) { int32_t last = rect.x2 - abs_x - first + 1; if(first + last > len) last = len - first; if(last >= 0) { _lv_memset_00(&mask_buf[first], last); } } } return LV_DRAW_MASK_RES_CHANGED; } int32_t k = rect.x1 - abs_x; /*First relevant coordinate on the of the mask*/ int32_t w = lv_area_get_width(&rect); int32_t h = lv_area_get_height(&rect); abs_x -= rect.x1; abs_y -= rect.y1; uint32_t r2 = p->cfg.radius * p->cfg.radius; /*Handle corner areas*/ if(abs_y < radius || abs_y > h - radius - 1) { uint32_t sqrt_mask; if(radius <= 32) sqrt_mask = 0x200; if(radius <= 256) sqrt_mask = 0x800; else sqrt_mask = 0x8000; lv_sqrt_res_t x0; lv_sqrt_res_t x1; /* y = 0 should mean the top of the circle */ int32_t y; if(abs_y < radius) { y = radius - abs_y; /* Get the x intersection points for `abs_y` and `abs_y-1` * Use the circle's equation x = sqrt(r^2 - y^2) * Try to use the values from the previous run*/ if(y == p->y_prev) { x0.f = p->y_prev_x.f; x0.i = p->y_prev_x.i; } else { _lv_sqrt(r2 - (y * y), &x0, sqrt_mask); } _lv_sqrt(r2 - ((y - 1) * (y - 1)), &x1, sqrt_mask); p->y_prev = y - 1; p->y_prev_x.f = x1.f; p->y_prev_x.i = x1.i; } else { y = radius - (h - abs_y) + 1; /* Get the x intersection points for `abs_y` and `abs_y-1` * Use the circle's equation x = sqrt(r^2 - y^2) * Try to use the values from the previous run*/ if((y - 1) == p->y_prev) { x1.f = p->y_prev_x.f; x1.i = p->y_prev_x.i; } else { _lv_sqrt(r2 - ((y - 1) * (y - 1)), &x1, sqrt_mask); } _lv_sqrt(r2 - (y * y), &x0, sqrt_mask); p->y_prev = y; p->y_prev_x.f = x0.f; p->y_prev_x.i = x0.i; } /* If x1 is on the next round coordinate (e.g. x0: 3.5, x1:4.0) * then treat x1 as x1: 3.99 to handle them as they were on the same pixel*/ if(x0.i == x1.i - 1 && x1.f == 0) { x1.i--; x1.f = 0xFF; } /*If the two x intersections are on the same x then just get average of the fractions*/ if(x0.i == x1.i) { lv_opa_t m = (x0.f + x1.f) >> 1; if(outer) m = 255 - m; int32_t ofs = radius - x0.i - 1; /*Left corner*/ int32_t kl = k + ofs; if(kl >= 0 && kl < len) { mask_buf[kl] = mask_mix(mask_buf[kl], m); } /*Right corner*/ int32_t kr = k + (w - ofs - 1); if(kr >= 0 && kr < len) { mask_buf[kr] = mask_mix(mask_buf[kr], m); } /*Clear the unused parts*/ if(outer == false) { kr++; if(kl > len) { return LV_DRAW_MASK_RES_TRANSP; } if(kl >= 0) { _lv_memset_00(&mask_buf[0], kl); } if(kr < 0) { return LV_DRAW_MASK_RES_TRANSP; } if(kr <= len) { _lv_memset_00(&mask_buf[kr], len - kr); } } else { kl++; int32_t first = kl; if(first < 0) first = 0; int32_t len_tmp = kr - first; if(len_tmp + first > len) len_tmp = len - first; if(first < len && len_tmp >= 0) { _lv_memset_00(&mask_buf[first], len_tmp); } } } /*Multiple pixels are affected. Get y intersection of the pixels*/ else { int32_t ofs = radius - (x0.i + 1); int32_t kl = k + ofs; int32_t kr = k + (w - ofs - 1); if(outer) { int32_t first = kl + 1; if(first < 0) first = 0; int32_t len_tmp = kr - first; if(len_tmp + first > len) len_tmp = len - first; if(first < len && len_tmp >= 0) { _lv_memset_00(&mask_buf[first], len_tmp); } } uint32_t i = x0.i + 1; lv_opa_t m; lv_sqrt_res_t y_prev; lv_sqrt_res_t y_next; _lv_sqrt(r2 - (x0.i * x0.i), &y_prev, sqrt_mask); if(y_prev.f == 0) { y_prev.i--; y_prev.f = 0xFF; } /*The first y intersection is special as it might be in the previous line*/ if(y_prev.i >= y) { _lv_sqrt(r2 - (i * i), &y_next, sqrt_mask); m = 255 - (((255 - x0.f) * (255 - y_next.f)) >> 9); if(outer) m = 255 - m; if(kl >= 0 && kl < len) mask_buf[kl] = mask_mix(mask_buf[kl], m); if(kr >= 0 && kr < len) mask_buf[kr] = mask_mix(mask_buf[kr], m); kl--; kr++; y_prev.f = y_next.f; i++; } /*Set all points which are crossed by the circle*/ for(; i <= x1.i; i++) { /* These values are very close to each other. It's enough to approximate sqrt * The non-approximated version is lv_sqrt(r2 - (i * i), &y_next, sqrt_mask); */ sqrt_approx(&y_next, &y_prev, r2 - (i * i)); m = (y_prev.f + y_next.f) >> 1; if(outer) m = 255 - m; if(kl >= 0 && kl < len) mask_buf[kl] = mask_mix(mask_buf[kl], m); if(kr >= 0 && kr < len) mask_buf[kr] = mask_mix(mask_buf[kr], m); kl--; kr++; y_prev.f = y_next.f; } /*If the last pixel was left in its middle therefore * the circle still has parts on the next one*/ if(y_prev.f) { m = (y_prev.f * x1.f) >> 9; if(outer) m = 255 - m; if(kl >= 0 && kl < len) mask_buf[kl] = mask_mix(mask_buf[kl], m); if(kr >= 0 && kr < len) mask_buf[kr] = mask_mix(mask_buf[kr], m); kl--; kr++; } if(outer == 0) { kl++; if(kl > len) { return LV_DRAW_MASK_RES_TRANSP; } if(kl >= 0) _lv_memset_00(&mask_buf[0], kl); if(kr < 0) { return LV_DRAW_MASK_RES_TRANSP; } if(kr < len) _lv_memset_00(&mask_buf[kr], len - kr); } } } return LV_DRAW_MASK_RES_CHANGED; } LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_fade(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_fade_param_t * p) { if(abs_y < p->cfg.coords.y1) return LV_DRAW_MASK_RES_FULL_COVER; if(abs_y > p->cfg.coords.y2) return LV_DRAW_MASK_RES_FULL_COVER; if(abs_x + len < p->cfg.coords.x1) return LV_DRAW_MASK_RES_FULL_COVER; if(abs_x > p->cfg.coords.x2) return LV_DRAW_MASK_RES_FULL_COVER; if(abs_x + len > p->cfg.coords.x2) len -= abs_x + len - p->cfg.coords.x2 - 1; if(abs_x < p->cfg.coords.x1) { int32_t x_ofs = 0; x_ofs = p->cfg.coords.x1 - abs_x; len -= x_ofs; mask_buf += x_ofs; } int32_t i; if(abs_y <= p->cfg.y_top) { for(i = 0; i < len; i++) { mask_buf[i] = mask_mix(mask_buf[i], p->cfg.opa_top); } return LV_DRAW_MASK_RES_CHANGED; } else if(abs_y >= p->cfg.y_bottom) { for(i = 0; i < len; i++) { mask_buf[i] = mask_mix(mask_buf[i], p->cfg.opa_bottom); } return LV_DRAW_MASK_RES_CHANGED; } else { /*Calculate the opa proportionally*/ int16_t opa_diff = p->cfg.opa_bottom - p->cfg.opa_top; int32_t y_diff = p->cfg.y_bottom - p->cfg.y_top + 1; lv_opa_t opa_act = (int32_t)((int32_t)(abs_y - p->cfg.y_top) * opa_diff) / y_diff; opa_act += p->cfg.opa_top; for(i = 0; i < len; i++) { mask_buf[i] = mask_mix(mask_buf[i], opa_act); } return LV_DRAW_MASK_RES_CHANGED; } } LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_map(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t abs_y, lv_coord_t len, lv_draw_mask_map_param_t * p) { /*Handle out of the mask cases*/ if(abs_y < p->cfg.coords.y1) return LV_DRAW_MASK_RES_FULL_COVER; if(abs_y > p->cfg.coords.y2) return LV_DRAW_MASK_RES_FULL_COVER; if(abs_x + len < p->cfg.coords.x1) return LV_DRAW_MASK_RES_FULL_COVER; if(abs_x > p->cfg.coords.x2) return LV_DRAW_MASK_RES_FULL_COVER; /*Got to the current row in the map*/ const lv_opa_t * map_tmp = p->cfg.map; map_tmp += (abs_y - p->cfg.coords.y1) * lv_area_get_width(&p->cfg.coords); if(abs_x + len > p->cfg.coords.x2) len -= abs_x + len - p->cfg.coords.x2 - 1; if(abs_x < p->cfg.coords.x1) { int32_t x_ofs = 0; x_ofs = p->cfg.coords.x1 - abs_x; len -= x_ofs; mask_buf += x_ofs; } else { map_tmp += (abs_x - p->cfg.coords.x1); } int32_t i; for(i = 0; i < len; i++) { mask_buf[i] = mask_mix(mask_buf[i], map_tmp[i]); } return LV_DRAW_MASK_RES_CHANGED; } LV_ATTRIBUTE_FAST_MEM static inline lv_opa_t mask_mix(lv_opa_t mask_act, lv_opa_t mask_new) { if(mask_new >= LV_OPA_MAX) return mask_act; if(mask_new <= LV_OPA_MIN) return 0; return LV_MATH_UDIV255(mask_act * mask_new);// >> 8); } /** * Approximate the sqrt near to an already calculated value * @param q store the result here * @param ref the reference point (already calculated sqrt) * @param x the value which sqrt should be approximated */ LV_ATTRIBUTE_FAST_MEM static inline void sqrt_approx(lv_sqrt_res_t * q, lv_sqrt_res_t * ref, uint32_t x) { x = x << 8; /*Upscale for extra precision*/ uint32_t raw = (ref->i << 4) + (ref->f >> 4); uint32_t raw2 = raw * raw; int32_t d = x - raw2; d = (int32_t)d / (int32_t)(2 * raw) + raw; q->i = d >> 4; q->f = (d & 0xF) << 4; }
44,332
lv_draw_mask
c
en
c
code
{"qsc_code_num_words": 6743, "qsc_code_num_chars": 44332.0, "qsc_code_mean_word_length": 3.22497405, "qsc_code_frac_words_unique": 0.05798606, "qsc_code_frac_chars_top_2grams": 0.08939575, "qsc_code_frac_chars_top_3grams": 0.11128483, "qsc_code_frac_chars_top_4grams": 0.07353076, "qsc_code_frac_chars_dupe_5grams": 0.72298354, "qsc_code_frac_chars_dupe_6grams": 0.68398786, "qsc_code_frac_chars_dupe_7grams": 0.65299365, "qsc_code_frac_chars_dupe_8grams": 0.61569944, "qsc_code_frac_chars_dupe_9grams": 0.57854318, "qsc_code_frac_chars_dupe_10grams": 0.537984, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03223056, "qsc_code_frac_chars_whitespace": 0.33862673, "qsc_code_size_file_byte": 44332.0, "qsc_code_num_lines": 1255.0, "qsc_code_num_chars_line_max": 129.0, "qsc_code_num_chars_line_mean": 35.32430279, "qsc_code_frac_chars_alphabet": 0.70944748, "qsc_code_frac_chars_comments": 0.17797528, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.36101883, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0046929, "qsc_code_frac_chars_long_word_length": 0.00057632, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00118009, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.00221484, "qsc_codec_frac_lines_func_ratio": 0.07087486, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.12292359, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.00885936}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_draw/lv_draw_triangle.c
/** * @file lv_draw_triangle.c * */ /********************* * INCLUDES *********************/ #include "lv_draw_triangle.h" #include "../lv_misc/lv_math.h" #include "../lv_misc/lv_mem.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ /********************** * STATIC VARIABLES **********************/ /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Draw a triangle * @param points pointer to an array with 3 points * @param clip_area the triangle will be drawn only in this area * @param draw_dsc pointer to an initialized `lv_draw_rect_dsc_t` variable */ void lv_draw_triangle(const lv_point_t points[], const lv_area_t * clip_area, const lv_draw_rect_dsc_t * draw_dsc) { lv_draw_polygon(points, 3, clip_area, draw_dsc); } /** * Draw a polygon. Only convex polygons are supported * @param points an array of points * @param point_cnt number of points * @param clip_area polygon will be drawn only in this area * @param draw_dsc pointer to an initialized `lv_draw_rect_dsc_t` variable */ void lv_draw_polygon(const lv_point_t points[], uint16_t point_cnt, const lv_area_t * clip_area, const lv_draw_rect_dsc_t * draw_dsc) { if(point_cnt < 3) return; if(points == NULL) return; int16_t i; lv_area_t poly_coords = {.x1 = LV_COORD_MAX, .y1 = LV_COORD_MAX, .x2 = LV_COORD_MIN, .y2 = LV_COORD_MIN}; for(i = 0; i < point_cnt; i++) { poly_coords.x1 = LV_MATH_MIN(poly_coords.x1, points[i].x); poly_coords.y1 = LV_MATH_MIN(poly_coords.y1, points[i].y); poly_coords.x2 = LV_MATH_MAX(poly_coords.x2, points[i].x); poly_coords.y2 = LV_MATH_MAX(poly_coords.y2, points[i].y); } bool is_common; lv_area_t poly_mask; is_common = _lv_area_intersect(&poly_mask, &poly_coords, clip_area); if(!is_common) return; /*Find the lowest point*/ lv_coord_t y_min = points[0].y; int16_t y_min_i = 0; for(i = 1; i < point_cnt; i++) { if(points[i].y < y_min) { y_min = points[i].y; y_min_i = i; } } lv_draw_mask_line_param_t * mp = _lv_mem_buf_get(sizeof(lv_draw_mask_line_param_t) * point_cnt); lv_draw_mask_line_param_t * mp_next = mp; int32_t i_prev_left = y_min_i; int32_t i_prev_right = y_min_i; int32_t i_next_left; int32_t i_next_right; uint32_t mask_cnt = 0; /* Check if the order of points is inverted or not. * The normal case is when the left point is on `y_min_i - 1`*/ i_next_left = y_min_i - 1; if(i_next_left < 0) i_next_left = point_cnt + i_next_left; i_next_right = y_min_i + 1; if(i_next_right > point_cnt - 1) i_next_right = 0; bool inv = false; if(points[i_next_left].x > points[i_next_right].x && points[i_next_left].y < points[i_next_right].y) inv = true; do { if(!inv) { i_next_left = i_prev_left - 1; if(i_next_left < 0) i_next_left = point_cnt + i_next_left; i_next_right = i_prev_right + 1; if(i_next_right > point_cnt - 1) i_next_right = 0; } else { i_next_left = i_prev_left + 1; if(i_next_left > point_cnt - 1) i_next_left = 0; i_next_right = i_prev_right - 1; if(i_next_right < 0) i_next_right = point_cnt + i_next_right; } if(points[i_next_left].y >= points[i_prev_left].y) { if(points[i_next_left].y != points[i_prev_left].y && points[i_next_left].x != points[i_prev_left].x) { lv_draw_mask_line_points_init(mp_next, points[i_prev_left].x, points[i_prev_left].y, points[i_next_left].x, points[i_next_left].y, LV_DRAW_MASK_LINE_SIDE_RIGHT); lv_draw_mask_add(mp_next, mp); mp_next++; } mask_cnt++; i_prev_left = i_next_left; } if(mask_cnt == point_cnt) break; if(points[i_next_right].y >= points[i_prev_right].y) { if(points[i_next_right].y != points[i_prev_right].y && points[i_next_right].x != points[i_prev_right].x) { lv_draw_mask_line_points_init(mp_next, points[i_prev_right].x, points[i_prev_right].y, points[i_next_right].x, points[i_next_right].y, LV_DRAW_MASK_LINE_SIDE_LEFT); lv_draw_mask_add(mp_next, mp); mp_next++; } mask_cnt++; i_prev_right = i_next_right; } } while(mask_cnt < point_cnt); lv_draw_rect(&poly_coords, clip_area, draw_dsc); lv_draw_mask_remove_custom(mp); _lv_mem_buf_release(mp); } /********************** * STATIC FUNCTIONS **********************/
5,103
lv_draw_triangle
c
en
c
code
{"qsc_code_num_words": 750, "qsc_code_num_chars": 5103.0, "qsc_code_mean_word_length": 3.41333333, "qsc_code_frac_words_unique": 0.15066667, "qsc_code_frac_chars_top_2grams": 0.07617188, "qsc_code_frac_chars_top_3grams": 0.0703125, "qsc_code_frac_chars_top_4grams": 0.03828125, "qsc_code_frac_chars_dupe_5grams": 0.56640625, "qsc_code_frac_chars_dupe_6grams": 0.46875, "qsc_code_frac_chars_dupe_7grams": 0.4203125, "qsc_code_frac_chars_dupe_8grams": 0.39453125, "qsc_code_frac_chars_dupe_9grams": 0.37421875, "qsc_code_frac_chars_dupe_10grams": 0.37421875, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01397098, "qsc_code_frac_chars_whitespace": 0.27062512, "qsc_code_size_file_byte": 5103.0, "qsc_code_num_lines": 165.0, "qsc_code_num_chars_line_max": 117.0, "qsc_code_num_chars_line_mean": 30.92727273, "qsc_code_frac_chars_alphabet": 0.67383127, "qsc_code_frac_chars_comments": 0.23515579, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.11363636, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01460415, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.02272727, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.06818182, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.03409091}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_draw/lv_img_decoder.h
/** * @file lv_img_decoder.h * */ #ifndef LV_IMG_DEOCER_H #define LV_IMG_DEOCER_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #include <stdint.h> #include "lv_img_buf.h" #include "../lv_misc/lv_fs.h" #include "../lv_misc/lv_types.h" #include "../lv_misc/lv_area.h" #include "../lv_core/lv_style.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /** * Source of image. */ enum { LV_IMG_SRC_VARIABLE, /** Binary/C variable */ LV_IMG_SRC_FILE, /** File in filesystem */ LV_IMG_SRC_SYMBOL, /** Symbol (@ref lv_symbol_def.h) */ LV_IMG_SRC_UNKNOWN, /** Unknown source */ }; typedef uint8_t lv_img_src_t; /* Decoder function definitions */ struct _lv_img_decoder; struct _lv_img_decoder_dsc; /** * Get info from an image and store in the `header` * @param src the image source. Can be a pointer to a C array or a file name (Use * `lv_img_src_get_type` to determine the type) * @param header store the info here * @return LV_RES_OK: info written correctly; LV_RES_INV: failed */ typedef lv_res_t (*lv_img_decoder_info_f_t)(struct _lv_img_decoder * decoder, const void * src, lv_img_header_t * header); /** * Open an image for decoding. Prepare it as it is required to read it later * @param decoder pointer to the decoder the function associated with * @param dsc pointer to decoder descriptor. `src`, `style` are already initialized in it. */ typedef lv_res_t (*lv_img_decoder_open_f_t)(struct _lv_img_decoder * decoder, struct _lv_img_decoder_dsc * dsc); /** * Decode `len` pixels starting from the given `x`, `y` coordinates and store them in `buf`. * Required only if the "open" function can't return with the whole decoded pixel array. * @param decoder pointer to the decoder the function associated with * @param dsc pointer to decoder descriptor * @param x start x coordinate * @param y start y coordinate * @param len number of pixels to decode * @param buf a buffer to store the decoded pixels * @return LV_RES_OK: ok; LV_RES_INV: failed */ typedef lv_res_t (*lv_img_decoder_read_line_f_t)(struct _lv_img_decoder * decoder, struct _lv_img_decoder_dsc * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf); /** * Close the pending decoding. Free resources etc. * @param decoder pointer to the decoder the function associated with * @param dsc pointer to decoder descriptor */ typedef void (*lv_img_decoder_close_f_t)(struct _lv_img_decoder * decoder, struct _lv_img_decoder_dsc * dsc); typedef struct _lv_img_decoder { lv_img_decoder_info_f_t info_cb; lv_img_decoder_open_f_t open_cb; lv_img_decoder_read_line_f_t read_line_cb; lv_img_decoder_close_f_t close_cb; #if LV_USE_USER_DATA lv_img_decoder_user_data_t user_data; #endif } lv_img_decoder_t; /**Describe an image decoding session. Stores data about the decoding*/ typedef struct _lv_img_decoder_dsc { /**The decoder which was able to open the image source*/ lv_img_decoder_t * decoder; /**The image source. A file path like "S:my_img.png" or pointer to an `lv_img_dsc_t` variable*/ const void * src; /**Style to draw the image.*/ lv_color_t color; /**Type of the source: file or variable. Can be set in `open` function if required*/ lv_img_src_t src_type; /**Info about the opened image: color format, size, etc. MUST be set in `open` function*/ lv_img_header_t header; /** Pointer to a buffer where the image's data (pixels) are stored in a decoded, plain format. * MUST be set in `open` function*/ const uint8_t * img_data; /** How much time did it take to open the image. [ms] * If not set `lv_img_cache` will measure and set the time to open*/ uint32_t time_to_open; /**A text to display instead of the image when the image can't be opened. * Can be set in `open` function or set NULL. */ const char * error_msg; /**Store any custom data here is required*/ void * user_data; } lv_img_decoder_dsc_t; /********************** * GLOBAL PROTOTYPES **********************/ /** * Initialize the image decoder module */ void _lv_img_decoder_init(void); /** * Get information about an image. * Try the created image decoder one by one. Once one is able to get info that info will be used. * @param src the image source. Can be * 1) File name: E.g. "S:folder/img1.png" (The drivers needs to registered via `lv_fs_add_drv()`) * 2) Variable: Pointer to an `lv_img_dsc_t` variable * 3) Symbol: E.g. `LV_SYMBOL_OK` * @param header the image info will be stored here * @return LV_RES_OK: success; LV_RES_INV: wasn't able to get info about the image */ lv_res_t lv_img_decoder_get_info(const char * src, lv_img_header_t * header); /** * Open an image. * Try the created image decoder one by one. Once one is able to open the image that decoder is save in `dsc` * @param dsc describe a decoding session. Simply a pointer to an `lv_img_decoder_dsc_t` variable. * @param src the image source. Can be * 1) File name: E.g. "S:folder/img1.png" (The drivers needs to registered via `lv_fs_add_drv()`) * 2) Variable: Pointer to an `lv_img_dsc_t` variable * 3) Symbol: E.g. `LV_SYMBOL_OK` * @param color The color of the image with `LV_IMG_CF_ALPHA_...` * @return LV_RES_OK: opened the image. `dsc->img_data` and `dsc->header` are set. * LV_RES_INV: none of the registered image decoders were able to open the image. */ lv_res_t lv_img_decoder_open(lv_img_decoder_dsc_t * dsc, const void * src, lv_color_t color); /** * Read a line from an opened image * @param dsc pointer to `lv_img_decoder_dsc_t` used in `lv_img_decoder_open` * @param x start X coordinate (from left) * @param y start Y coordinate (from top) * @param len number of pixels to read * @param buf store the data here * @return LV_RES_OK: success; LV_RES_INV: an error occurred */ lv_res_t lv_img_decoder_read_line(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf); /** * Close a decoding session * @param dsc pointer to `lv_img_decoder_dsc_t` used in `lv_img_decoder_open` */ void lv_img_decoder_close(lv_img_decoder_dsc_t * dsc); /** * Create a new image decoder * @return pointer to the new image decoder */ lv_img_decoder_t * lv_img_decoder_create(void); /** * Delete an image decoder * @param decoder pointer to an image decoder */ void lv_img_decoder_delete(lv_img_decoder_t * decoder); /** * Set a callback to get information about the image * @param decoder pointer to an image decoder * @param info_cb a function to collect info about an image (fill an `lv_img_header_t` struct) */ void lv_img_decoder_set_info_cb(lv_img_decoder_t * decoder, lv_img_decoder_info_f_t info_cb); /** * Set a callback to open an image * @param decoder pointer to an image decoder * @param open_cb a function to open an image */ void lv_img_decoder_set_open_cb(lv_img_decoder_t * decoder, lv_img_decoder_open_f_t open_cb); /** * Set a callback to a decoded line of an image * @param decoder pointer to an image decoder * @param read_line_cb a function to read a line of an image */ void lv_img_decoder_set_read_line_cb(lv_img_decoder_t * decoder, lv_img_decoder_read_line_f_t read_line_cb); /** * Set a callback to close a decoding session. E.g. close files and free other resources. * @param decoder pointer to an image decoder * @param close_cb a function to close a decoding session */ void lv_img_decoder_set_close_cb(lv_img_decoder_t * decoder, lv_img_decoder_close_f_t close_cb); /** * Get info about a built-in image * @param decoder the decoder where this function belongs * @param src the image source: pointer to an `lv_img_dsc_t` variable, a file path or a symbol * @param header store the image data here * @return LV_RES_OK: the info is successfully stored in `header`; LV_RES_INV: unknown format or other error. */ lv_res_t lv_img_decoder_built_in_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header); /** * Open a built in image * @param decoder the decoder where this function belongs * @param dsc pointer to decoder descriptor. `src`, `style` are already initialized in it. * @return LV_RES_OK: the info is successfully stored in `header`; LV_RES_INV: unknown format or other error. */ lv_res_t lv_img_decoder_built_in_open(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc); /** * Decode `len` pixels starting from the given `x`, `y` coordinates and store them in `buf`. * Required only if the "open" function can't return with the whole decoded pixel array. * @param decoder pointer to the decoder the function associated with * @param dsc pointer to decoder descriptor * @param x start x coordinate * @param y start y coordinate * @param len number of pixels to decode * @param buf a buffer to store the decoded pixels * @return LV_RES_OK: ok; LV_RES_INV: failed */ lv_res_t lv_img_decoder_built_in_read_line(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf); /** * Close the pending decoding. Free resources etc. * @param decoder pointer to the decoder the function associated with * @param dsc pointer to decoder descriptor */ void lv_img_decoder_built_in_close(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc); /********************** * MACROS **********************/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_TEMPL_H*/
9,741
lv_img_decoder
h
en
c
code
{"qsc_code_num_words": 1620, "qsc_code_num_chars": 9741.0, "qsc_code_mean_word_length": 3.97222222, "qsc_code_frac_words_unique": 0.13395062, "qsc_code_frac_chars_top_2grams": 0.06604507, "qsc_code_frac_chars_top_3grams": 0.11934732, "qsc_code_frac_chars_top_4grams": 0.03496503, "qsc_code_frac_chars_dupe_5grams": 0.67101787, "qsc_code_frac_chars_dupe_6grams": 0.57933178, "qsc_code_frac_chars_dupe_7grams": 0.54498834, "qsc_code_frac_chars_dupe_8grams": 0.51903652, "qsc_code_frac_chars_dupe_9grams": 0.47505828, "qsc_code_frac_chars_dupe_10grams": 0.42719503, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00189633, "qsc_code_frac_chars_whitespace": 0.18796838, "qsc_code_size_file_byte": 9741.0, "qsc_code_num_lines": 270.0, "qsc_code_num_chars_line_max": 117.0, "qsc_code_num_chars_line_mean": 36.07777778, "qsc_code_frac_chars_alphabet": 0.81163085, "qsc_code_frac_chars_comments": 0.66666667, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.08823529, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.03510933, "qsc_code_frac_chars_long_word_length": 0.01940253, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.22058824, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.32352941, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
00ffcc/conRWKV
README.md
<h1 align="center">conRWKV</h1> <div align="center"> 本项目旨在提供一个高并发的 RWKV 云端推理引擎,以方便后续基于 RWKV 的应用。 </div> ### News - 4.24 fla版本切换至主线 (可能产生性能差异,测试中) - ~3.2 部署了一个免费的 RWKV v7 2.9B API!地址 1.92.129.93(域名备案中),欢迎来玩!~ 暂时没了 - 3.3 用 API 测了大海捞针,结果很有意思:) ### Feature - 支持 continuous batching,确保高吞吐量。 - prefill 使用[fla(flash linear attention)](https://github.com/fla-org/flash-linear-attention/),使用tensor core加速prefill,降低TTFT(Time to First Token)。 - 兼容 OpenAI API。 - 支持 RWKV v7。 - 极简安装部署 ### Install & Deploy ```bash pip install git+https://github.com/00ffcc/conRWKV.git@master conRWKV --model /path/to/pth ``` ### Benchmark 这里展示了与 [RWKV-Runner](https://github.com/josStorer/RWKV-Runner) 的比较。 由于服务器上没有 vulkan 环境,暂时无法测试 [Ai00](https://github.com/Ai00-X/ai00_server);由于 [RWKV-Infer](https://github.com/OpenMOSE/RWKV-Infer) 不支持文本补全,也暂时无法测试。有测试的方法请戳我。 | RPS | Num prompts | Engine | Successful requests | Median E2E Latency | Median TTFT | Median ITL | | ---- | ----------- | ----------- | ------------------- | ------------------ | ----------- | ---------- | | 2 | 1200 | conRWKV | **1200** | 7750.72 | **115.76** | 56.33 | | 2 | 1200 | RWKV-Runner | **189**[^1] | 3746.53 | **2176.03** | 16.29 | | 4 | 1200 | conRWKV | **1200** | 10469.67 | **145.69** | 77.45 | | 4 | 1200 | RWKV-Runner | **119**[^1] | 4484.30 | **1633.34** | 15.78 | [^1]: RWKV-Runner 是逐个处理请求,并发时失败概率较大。 **测试环境:** RTX4090D x1, fp16 **测试命令:** ```bash conRWKV --model /path/to/pth python -m conRWKV.benchmark.benchmark --model rwkv --backend conRWKV --request-rate 2 --num-prompts 1200 python -m conRWKV.benchmark.benchmark --model rwkv --backend conRWKV --request-rate 4 --num-prompts 1200 ``` ```bash python ./backend-python/main.py curl http://127.0.0.1:8000/switch-model -X POST -H "Content-Type: application/json" -d '{"model":"/path/to/pth","strategy":"cuda fp16","deploy":"true"}' python -m conRWKV.benchmark.benchmark --model rwkv --backend RWKV-Runner --request-rate 2 --num-prompts 1200 python -m conRWKV.benchmark.benchmark --model rwkv --backend RWKV-Runner --request-rate 4 --num-prompts 1200 ``` ### 支持的参数 支持 OpenAI api 协议中的常用参数。 - **model**: 填什么都行,并没有什么意义。 - **messages/prompt**: messages 用于 chat 模式,prompt 用于续写模式。为了方便起见使用同一个 url。 - **frequency_penalty**: 频率惩罚。 - **max_completion_tokens/max_tokens**: 最多生成的 token 数量,优先使用 max_completion_tokens。 - **n**: 目前只支持 n=1。 - **best_of**: 目前只支持 best_of=1。 - **seed**: 尚未实现。 - **stop**: 默认为 `['\n\nUser', '\n\nUser:', 'User:']`,因为 rwkv v7 容易忘记在 `User:` 前加入 `\n\n`。(SFT 的问题?) - **stream**: 是否流式返回。 - **temperature**: 温度,用于采样。 - **top_p**: 用于采样。 - **ignore_eos**: 是否忽略 stop, 用于 benchmark 测试。 - **include_stop_str_in_output**: 是否在输出中包含 stop 里的内容。 - **add_generation_prompt**: 是否要加上 `\n\nAssistant:` ### ToDoList - 正确性验证 - 缩短 ITL, TPOP - 支持更多参数 ### Acknowledgement sonta 老师、Zhiyuan Li 老师的 fla 太强了 感谢 PENG bo老师的 RWKV-v7, 期待更大的 v7 和 v8 模型
3,019
README
md
zh
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.00066247, "qsc_doc_frac_words_redpajama_stop": null, "qsc_doc_num_sentences": 66.0, "qsc_doc_num_words": 539, "qsc_doc_num_chars": 3019.0, "qsc_doc_num_lines": 87.0, "qsc_doc_mean_word_length": 3.432282, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.5528757, "qsc_doc_entropy_unigram": 5.3516616, "qsc_doc_frac_words_all_caps": 0.03106796, "qsc_doc_frac_lines_dupe_lines": 0.12307692, "qsc_doc_frac_chars_dupe_lines": 0.02937158, "qsc_doc_frac_chars_top_2grams": 0.03783784, "qsc_doc_frac_chars_top_3grams": 0.03783784, "qsc_doc_frac_chars_top_4grams": 0.04972973, "qsc_doc_frac_chars_dupe_5grams": 0.20108108, "qsc_doc_frac_chars_dupe_6grams": 0.17837838, "qsc_doc_frac_chars_dupe_7grams": 0.16216216, "qsc_doc_frac_chars_dupe_8grams": 0.16216216, "qsc_doc_frac_chars_dupe_9grams": 0.16216216, "qsc_doc_frac_chars_dupe_10grams": 0.16216216, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 1.0, "qsc_doc_num_chars_sentence_length_mean": 22.96825397, "qsc_doc_frac_chars_hyperlink_html_tag": 0.07386552, "qsc_doc_frac_chars_alphabet": null, "qsc_doc_frac_chars_digital": 0.07030936, "qsc_doc_frac_chars_whitespace": 0.17555482, "qsc_doc_frac_chars_hex_words": 0.0}
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_full_bracket": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0}
00ec454/Ask
example/src/main/java/com/vistrav/example/MainActivity.java
package com.vistrav.example; import android.Manifest; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Toast; import com.vistrav.ask.Ask; import com.vistrav.ask.annotations.AskDenied; import com.vistrav.ask.annotations.AskGranted; @SuppressWarnings("unused") public class MainActivity extends AppCompatActivity { private static final String TAG = MainActivity.class.getSimpleName(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Ask.on(this) .debug(true) .id(123) .forPermissions(Manifest.permission.ACCESS_COARSE_LOCATION , Manifest.permission.WRITE_EXTERNAL_STORAGE) .withRationales("Location permission need for map to work properly", "In order to save file you will need to grant storage permission") //optional .go(); } //optional @AskGranted(Manifest.permission.WRITE_EXTERNAL_STORAGE) public void fileAccessGranted() { Log.i(TAG, "FILE GRANTED"); } //optional @AskDenied(Manifest.permission.WRITE_EXTERNAL_STORAGE) public void fileAccessDenied() { Log.i(TAG, "FILE DENiED"); } //optional @AskGranted(Manifest.permission.ACCESS_COARSE_LOCATION) public void mapAccessGranted(int id) { Toast.makeText(getBaseContext(), "Permission for :: " + id, Toast.LENGTH_LONG).show(); Log.i(TAG, "MAP GRANTED ===>" + id); } //optional @AskDenied(Manifest.permission.ACCESS_COARSE_LOCATION) public void mapAccessDenied(int id) { Log.i(TAG, "MAP DENIED" + id); } public void jumpToAnotherActivity(View view) { startActivity(new Intent(this, AnotherActivity.class)); } }
1,983
MainActivity
java
en
java
code
{"qsc_code_num_words": 207, "qsc_code_num_chars": 1983.0, "qsc_code_mean_word_length": 6.41545894, "qsc_code_frac_words_unique": 0.45410628, "qsc_code_frac_chars_top_2grams": 0.0685241, "qsc_code_frac_chars_top_3grams": 0.02108434, "qsc_code_frac_chars_top_4grams": 0.04292169, "qsc_code_frac_chars_dupe_5grams": 0.24698795, "qsc_code_frac_chars_dupe_6grams": 0.14457831, "qsc_code_frac_chars_dupe_7grams": 0.14457831, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.002589, "qsc_code_frac_chars_whitespace": 0.22087746, "qsc_code_size_file_byte": 1983.0, "qsc_code_num_lines": 62.0, "qsc_code_num_chars_line_max": 102.0, "qsc_code_num_chars_line_mean": 31.98387097, "qsc_code_frac_chars_alphabet": 0.85695793, "qsc_code_frac_chars_comments": 0.02521432, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.09674082, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codejava_cate_var_zero": 0.0, "qsc_codejava_frac_lines_func_ratio": 0.125, "qsc_codejava_score_lines_no_logic": 0.35416667, "qsc_codejava_frac_words_no_modifier": 0.85714286, "qsc_codejava_frac_words_legal_var_name": 1.0, "qsc_codejava_frac_words_legal_func_name": 1.0, "qsc_codejava_frac_words_legal_class_name": 1.0, "qsc_codejava_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codejava_cate_var_zero": 0, "qsc_codejava_frac_lines_func_ratio": 0, "qsc_codejava_score_lines_no_logic": 0, "qsc_codejava_frac_lines_print": 0}
00ffcc/chunkRWKV6
continous_chunk.py
import os import torch from torch.utils.cpp_extension import load from einops import rearrange, reduce, repeat import math class continousChunkRWKV6(torch.autograd.Function): # 将所有序列拼在一起,batch_size=1 # seq_idx: 每个位置是属于哪个序列的 @staticmethod def forward(ctx, B, T, C, H, state, r, k, v, w, u, seq_idx, HEAD_SIZE, chunk_size=2048): with torch.no_grad(): # r,k,v,w (B, T, C) assert B == 1, "batch_size must be 1 for continous_chunk_rwkv6" assert state.dtype == torch.float32 assert w.dtype == torch.float32 assert u.dtype == torch.float32 assert C == H*HEAD_SIZE, "C must be equal to H*HEAD_SIZE" nc = math.ceil(T/chunk_size) # num_chunks cs = chunk_size # chunk_size cnt = seq_idx[0, -1].item() + 1 # 总的state的个数 [0,cnt) if nc*cs > T: # fill seq_idx with -1 if T is not divisible by chunk_size seq_idx = torch.cat([seq_idx, torch.full((B, nc*cs-T), -1, device=seq_idx.device, dtype=torch.int32)], dim=1) end_state_idx = torch.tensor([i for i in range(cnt)], dtype=torch.int32, device=state.device) seq_idx = rearrange(seq_idx, 'b (nc cs) -> b nc cs', nc=nc, cs=cs) state_idx = seq_idx.clone() # 对应的state的编号 for i in range(1, nc): if seq_idx[0, i, 0] == seq_idx[0, i-1, -1]: state_idx[0, i] = torch.where(state_idx[0, i] == state_idx[0, i, 0], cnt, state_idx[0, i]) end_state_idx[seq_idx[0, i, 0].item()] = cnt cnt += 1 if cnt-state.shape[0] > 0: state = torch.cat([state, torch.zeros((cnt-state.shape[0], H, HEAD_SIZE, HEAD_SIZE), device=state.device, dtype=state.dtype)], dim=0).contiguous() # (cnt, H, HEAD_SIZE, HEAD_SIZE) lengths = torch.sum(seq_idx[0, :, :]==seq_idx[0, :, 0].unsqueeze(1), dim=1,dtype=torch.int32) w_orig = torch.zeros((nc, H, HEAD_SIZE), device=w.device, dtype=torch.float32) assert r.is_contiguous() assert k.is_contiguous() assert v.is_contiguous() assert w.is_contiguous() assert u.is_contiguous() assert state.is_contiguous() # 块内计算 # y = torch.empty((B, nc, cs, H, HEAD_SIZE), device=w.device, dtype=r.dtype, memory_format=torch.contiguous_format) # result y = torch.empty((B, T, C), device=w.device, dtype=torch.float32, memory_format=torch.contiguous_format) # result if r.dtype == torch.bfloat16: torch.ops.continous_chunk_rwkv6.forward_bf16(B*nc, cs, C, H, T, state, state_idx, r, k, v, w, w_orig, u, y) elif r.dtype == torch.float16: torch.ops.continous_chunk_rwkv6.forward_fp16(B*nc, cs, C, H, T, state, state_idx, r, k, v, w, w_orig, u, y) elif r.dtype == torch.float32: torch.ops.continous_chunk_rwkv6.forward_fp32(B*nc, cs, C, H, T, state, state_idx, r, k, v, w, w_orig, u, y) # 计算块间的贡献 if nc > 1: for j in range(1, nc): # TODO 优化 if seq_idx[0, j, 0] == seq_idx[0, j-1, -1]: state[state_idx[0, j, 0]] += torch.einsum('h i j, h j -> h i j', state[state_idx[0, j-1, -1]], w_orig[j]) if r.dtype == torch.bfloat16: torch.ops.continous_chunk_rwkv6.Inter_fwd_bf16(B, cs, C, H, nc, state, state_idx, lengths, r, w, y) elif r.dtype == torch.float16: torch.ops.continous_chunk_rwkv6.Inter_fwd_fp16(B, cs, C, H, nc, state, state_idx, lengths, r, w, y) elif r.dtype == torch.float32: torch.ops.continous_chunk_rwkv6.Inter_fwd_fp32(B, cs, C, H, nc, state, state_idx, lengths, r, w, y) state = state[end_state_idx, :, :, :] return y, state if __name__ == '__main__': dir_path = os.path.dirname(os.path.abspath(__file__)) HEAD_SIZE=64 # 每个head的大小 if torch.version.cuda is not None: continous_chunk_rwkv6 = load(name="continous_chunk_rwkv6", sources=[f"{dir_path}/cuda/continous_rwkv6_op.cpp", f"{dir_path}/cuda/continous_rwkv6.cu", f"{dir_path}/cuda/continous_inter.cu"], # cuda verbose=True, extra_cuda_cflags=["-res-usage", "--use_fast_math", "-O3", "--extra-device-vectorization", f"-D_N_={HEAD_SIZE}", f"-D_T_={4096}"]) elif torch.version.hip is not None: continous_chunk_rwkv6 = load(name="continous_chunk_rwkv6", sources=[f"{dir_path}/cuda/continous_rwkv6_op.cpp", f"{dir_path}/cuda/continous_rwkv6.cu", f"{dir_path}/cuda/continous_inter.cu"], # rocm verbose=True, extra_cuda_cflags=["-O3", f"-D_N_={HEAD_SIZE}", f"-D_T_={4096}"]) else: raise NotImplementedError("Only support CUDA and ROCm") TS = [20,40,120,305] B, T, H = 1, sum(TS), 1 C = H*HEAD_SIZE state = torch.randn(len(TS), H, HEAD_SIZE, HEAD_SIZE, device='cuda', dtype=torch.float32) r = torch.randn(B, T, C, device='cuda', dtype=torch.float16) k = torch.randn(B, T, C, device='cuda', dtype=torch.float16) v = torch.randn(B, T, C, device='cuda', dtype=torch.float16) w = torch.randn(B, T, C, device='cuda', dtype=torch.float32) u = torch.randn(C, device='cuda', dtype=torch.float32) seq_idx = torch.zeros((B, T), device='cuda', dtype=torch.int32) for i in range(len(TS)): seq_idx[0, sum(TS[:i]):sum(TS[:i+1])] = i state1 = state.clone() import chunk y1=[] for i in range(len(TS)): r1, k1, v1, w1, u1 = r[0, sum(TS[:i]):sum(TS[:i+1]), :], k[0, sum(TS[:i]):sum(TS[:i+1]), :], v[0, sum(TS[:i]):sum(TS[:i+1]), :], w[0, sum(TS[:i]):sum(TS[:i+1]), :], u y1.append(chunk.vanillaRWKV6.apply(B, TS[i], C, H, state1[i:i+1], r1, k1, v1, w1, u1)) y1 = torch.cat(y1, dim=1) y2, state2 = continousChunkRWKV6.apply(B, T, C, H, state, r, k, v, w, u, seq_idx, HEAD_SIZE, 32) print(torch.max((y1-y2).abs()).item()) print(torch.max((y1-y2).abs(),dim=-1)) # print(y1-y2) # print((state1-state2).abs().max().item()) # print(torch.max((state1-state2).abs(),dim=0))
6,381
continous_chunk
py
en
python
code
{"qsc_code_num_words": 986, "qsc_code_num_chars": 6381.0, "qsc_code_mean_word_length": 3.52129817, "qsc_code_frac_words_unique": 0.17241379, "qsc_code_frac_chars_top_2grams": 0.06048387, "qsc_code_frac_chars_top_3grams": 0.06019585, "qsc_code_frac_chars_top_4grams": 0.04032258, "qsc_code_frac_chars_dupe_5grams": 0.46947005, "qsc_code_frac_chars_dupe_6grams": 0.42137097, "qsc_code_frac_chars_dupe_7grams": 0.33669355, "qsc_code_frac_chars_dupe_8grams": 0.31422811, "qsc_code_frac_chars_dupe_9grams": 0.29406682, "qsc_code_frac_chars_dupe_10grams": 0.27419355, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.04075032, "qsc_code_frac_chars_whitespace": 0.27315468, "qsc_code_size_file_byte": 6381.0, "qsc_code_num_lines": 123.0, "qsc_code_num_chars_line_max": 205.0, "qsc_code_num_chars_line_mean": 51.87804878, "qsc_code_frac_chars_alphabet": 0.70784821, "qsc_code_frac_chars_comments": 0.07428303, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.10989011, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0931181, "qsc_code_frac_chars_long_word_length": 0.05148683, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.00813008, "qsc_code_frac_lines_assert": 0.12087912, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.01098901, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.06593407, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.0989011, "qsc_codepython_frac_lines_print": 0.02197802}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
00ffcc/conRWKV
conRWKV/main.py
import asyncio import time from typing import List, Optional, Union, Dict import json import torch from fastapi import FastAPI, Request, HTTPException from fastapi.middleware import Middleware from fastapi.middleware.cors import CORSMiddleware from fastapi.responses import StreamingResponse from conRWKV.utils import ChatCompletionRequest, generate_logits_processor, output_buffer, log from transformers.generation.logits_process import LogitsProcessorList from contextlib import asynccontextmanager from conRWKV.config import config # 导入 config 对象 @asynccontextmanager async def lifespan(app: FastAPI): global background_task, request_queue request_queue = asyncio.Queue(maxsize=config.max_queue_size) load_model() background_task = asyncio.create_task(process_request_queue()) yield if background_task: background_task.cancel() await background_task app = FastAPI(title="LLM Backend with Continuous Batching", description="A backend for serving LLMs with continuous batching using Hugging Face models and OpenAI-compatible API.", version="0.1.0", middleware=[ Middleware( CORSMiddleware, allow_origins=["*"], # Adjust as needed allow_credentials=True, allow_methods=["*"], allow_headers=["*"], ), ], lifespan=lifespan, ) # Global variables model = None tokenizer = None request_queue = None background_task = None device = None # args = None from conRWKV.models.v7.model_fla import RWKV from conRWKV.tokenizer.tokenization_rwkv_world import RWKVWorldTokenizer def load_model(): global model, tokenizer, device device = config.device import os dir_path = os.path.dirname(os.path.abspath(__file__)) tokenizer=RWKVWorldTokenizer(vocab_file=rf"{dir_path}/tokenizer/rwkv_vocab_v20230424.txt") model = RWKV.from_pretrained(config.model, device=device) model.eval() # Background task for processing requests from the queue async def process_request_queue(): while True: try: batch = [] # input_ids的总长度不能超过args.max_seq_len for _ in range(config.max_batch_size): try: request_item = await asyncio.wait_for(request_queue.get(), timeout=0.01) # Non-blocking get with timeout sum_len = sum(len(request_item["input_ids"][0]) for request_item in batch) if sum_len + len(request_item["input_ids"][0]) > config.max_seq_len: request_item["next_input_ids"] = request_item["input_ids"][:, config.max_seq_len-sum_len:] request_item["input_ids"] = request_item["input_ids"][:, :config.max_seq_len-sum_len] batch.append(request_item) if sum_len + len(request_item["input_ids"][0]) == config.max_seq_len: break except asyncio.TimeoutError: break # No more requests in the queue if not batch: await asyncio.sleep(0.03) # Avoid busy-waiting if the queue is empty continue log.info(f"processing batch of {len(batch)} requests...") # 1. Prepare the batch input_ids, states = prepare_batch(batch) log.info("batch prepared") # 2. Inference Step (Continuous Batching) try: with torch.no_grad(): logits, states = model(input_ids, state=states) except Exception as e: # Handle model inference errors. Important to catch and log. log.error(f"Inference error: {e}") for request_item in batch: request_item["exception"] = e continue log.info("inference done") # 3. Sampling Step (Token Generation) and Post-processing for i, request_item in enumerate(batch): request_item['all_ids'] = torch.cat([request_item['all_ids'], request_item['input_ids']], dim=1) new_input_ids, completions = sample_and_postprocess(logits, batch) log.info("sampling done") # 4. Handle Streaming and Re-enqueue unfinished requests # states = states.to('cpu') TODO: state offload to cpu, offload的话很慢,不offload的话会爆显存 for i, request_item in enumerate(batch): if request_item["next_input_ids"] is not None: # chunk处理,仍然处于prefill阶段 request_item["input_ids"] = request_item["next_input_ids"] request_item["next_input_ids"] = None request_item["state"] = states[:, i:i+1] request_queue.put_nowait(request_item) else: # Stream and re-enqueue if_stop = request_item['buffer'].update(completions[i], new_input_ids[i][0, 0].item()) if not if_stop: # Update input_ids and re-enqueue request_item["input_ids"] = new_input_ids[i] request_item["state"] = states[:, i:i+1] request_queue.put_nowait(request_item) log.info("requests processed") except Exception as e: log.error(f"Error: {e}") raise e def prepare_batch(batch: List[Dict]): input_ids = [request_item["input_ids"] for request_item in batch] states = torch.cat([request_item.get("state", model.empty_state(1, device=device)).to(device) for request_item in batch], dim=1) # move states from cpu to gpu return input_ids, states def sample_and_postprocess(logits: torch.Tensor, batch: List[Dict]): new_input_ids = [None] * len(batch) completions = [""] * len(batch) for i in range(len(batch)): request_item = batch[i] next_token = sample(logits[i], request_item['all_ids'], batch[i]['logits_processor']) # Decode the new token new_token = tokenizer.decode(next_token.squeeze(0)) # rwkv tokenizer only support dim=1 # Update the completion completions[i] = new_token new_input_ids[i] = next_token return new_input_ids, completions def sample(logits: torch.Tensor, input_ids: torch.Tensor, logits_processor: LogitsProcessorList) -> torch.Tensor: # Apply logits processors (temperature, top_p, frequency_penalty, etc.) logits.unsqueeze_(0) # Add a batch dimension processed_logits = logits_processor(input_ids, logits) logits.squeeze_(0) # Remove the batch dimension # Sample the next token probs = torch.softmax(processed_logits, dim=-1) next_token = torch.multinomial(probs, num_samples=1) return next_token # API Endpoint @app.post("/v1/chat/completions") @app.post("/v1/completions") async def chat_completions(request: ChatCompletionRequest, fastapi_request: Request): log.critical(request.model_dump_json()) if request.messages: # Prepare the prompt chat_mode = True prompt = tokenizer.apply_chat_template(request.messages, tokenize=False, add_generation_prompt=request.add_generation_prompt) else: chat_mode = False prompt = request.prompt # Tokenize the input input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(device) async def stream_generator(): stream_queue:asyncio.Queue = asyncio.Queue() request_item = { "request": request, "input_ids": input_ids, "next_input_ids": None, # 用于分chunk处理 "all_ids": torch.empty((1, 0), dtype=torch.int32, device=device), # 用于sample "logits_processor": generate_logits_processor(request), "buffer": output_buffer( stop=request.stop, max_completion_tokens=request.max_completion_tokens, include_stop_str_in_output = request.include_stop_str_in_output, stream_queue=stream_queue), } try: request_queue.put_nowait(request_item) except asyncio.QueueFull: raise HTTPException(status_code=503, detail="Server busy, try again later") if request.stream: while True: try: completion = await stream_queue.get() if completion is None: yield "data: [DONE]".encode('utf-8') break data = json.dumps({ 'id': 'cmpl-' + str(time.time()), 'object': 'chat.completion.chunk' if chat_mode else 'text_completion', 'created': int(time.time()), 'model': request.model, 'choices': [( { 'delta': {'content': completion}, 'index': 0, 'finish_reason': None, } if chat_mode else { 'text': completion, 'index': 0, 'finish_reason': None, } )], }) yield (f"data: {data}\n\n").encode('utf-8') except asyncio.CancelledError: break else: final_completion = '' while True: try: completion = await stream_queue.get() if completion is None: break final_completion += completion except asyncio.CancelledError: break yield json.dumps({ 'id': 'cmpl-' + str(time.time()), 'object': 'chat.completion.chunk' if chat_mode else 'text_completion', 'created': int(time.time()), 'model': request.model, 'choices': [( { 'message': {'role': 'assistant', 'content': final_completion}, 'index': 0, 'finish_reason': None, } if chat_mode else { 'text': final_completion, 'index': 0, 'finish_reason': None, } )], }).encode('utf-8') return StreamingResponse(stream_generator(), media_type="text/event-stream") def main(): # global args import uvicorn from argparse import ArgumentParser parser = ArgumentParser() parser.add_argument("--port", type=int, default=8000, help="Port to run the server on") parser.add_argument("--device", type=str, default="cuda:0", help="Device to run the model on") parser.add_argument("--max_seq_len", type=int, default=int(1e6), help="Max sequence length for input_ids") parser.add_argument("--max_batch_size", type=int, default=int(1e6), help="Max batch size for inference, to avoid OOM") parser.add_argument("--max_queue_size", type=int, default=int(1e6), help="Max queue size for requests, to avoid OOM") parser.add_argument("--max_completion_tokens", type=int, default=1024, help="Max number of tokens to generate") parser.add_argument("--model", type=str, default=r"./weights/v7-1.5b.pth", help="path to model weights") parsed_args = parser.parse_args() config.update(parsed_args) # 更新 config torch.cuda.set_device(config.device) # 使用 config uvicorn.run(app, host="0.0.0.0", port=config.port, log_level="info") if __name__ == "__main__": main()
12,300
main
py
en
python
code
{"qsc_code_num_words": 1316, "qsc_code_num_chars": 12300.0, "qsc_code_mean_word_length": 5.07978723, "qsc_code_frac_words_unique": 0.23708207, "qsc_code_frac_chars_top_2grams": 0.05759162, "qsc_code_frac_chars_top_3grams": 0.02393418, "qsc_code_frac_chars_top_4grams": 0.02842184, "qsc_code_frac_chars_dupe_5grams": 0.2092745, "qsc_code_frac_chars_dupe_6grams": 0.18339566, "qsc_code_frac_chars_dupe_7grams": 0.16798803, "qsc_code_frac_chars_dupe_8grams": 0.12326103, "qsc_code_frac_chars_dupe_9grams": 0.11398654, "qsc_code_frac_chars_dupe_10grams": 0.11398654, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00937924, "qsc_code_frac_chars_whitespace": 0.34121951, "qsc_code_size_file_byte": 12300.0, "qsc_code_num_lines": 286.0, "qsc_code_num_chars_line_max": 163.0, "qsc_code_num_chars_line_mean": 43.00699301, "qsc_code_frac_chars_alphabet": 0.81562384, "qsc_code_frac_chars_comments": 0.0801626, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.25110132, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.11817376, "qsc_code_frac_chars_long_word_length": 0.01161348, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0034965, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.02202643, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.07929515, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.11894273, "qsc_codepython_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
00jacs/sveltekit-ultrafast
README.md
# sveltekit-ultrafast ⚡️ The `sveltekit-ultrafast` is a boilerplate for rapid prototyping of web applications which is easily deployable to Vercel or other effortless platforms. ## Why sveltekit-ultrafast? ⚡️ super fast application development 💸 effortless, cheap (or even free) deployment & maintenance 🧪 quick prototype = fast reitaration = quick idea validation 💨 highly performant app (Svelte drastically faster than React) ❤️‍🔥 developer-friendly, pleasant stack --- With this boilerplate you can create (and effortlessly deploy) a fully-functioning MVP for which you can charge $ within days or even hours (depends on the idea). Why waste more time on creating something no one will use and purchase? [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fgillbatesdev%2Fsveltekit-ultrafast) ## Contribution guide In case you have any suggestions, feel free to create an issue on this repository or create a pull request for the changes that you'd like to see. Also, if you love this work and it helped you make money, you can follow me on [Twitter](https://x.com/gillbatesdev) for more. And, please, share your story! I'd love to hear success/failure stories about your apps. ## Documentation Each of the features have a `docs.md` file with setup guide: - **blog**: `src/routes/blog/docs.md` - **auth**: `src/routes/auth/docs.md` - **analytics**: `src/routes/analytics/docs.md` - **database**: `src/routes/database-example/docs.md` - **payment**: `src/routes/payment/docs.md` Additionally, documentation can be found here: [sveltekit-ultrafast.com/docs](https://sveltekit-ultrafast.com/docs). --- ## Technologies ### Main - **TypeScript** (optional) - you can use TypeScript (recommended for type safety), but you don't have to; no errors will be thrown if you use both JavaScript and TypeScript in this app - **SvelteKit** - fastest, easiest, cleanest front-end framework with SSR ### Styling - **Tailwind CSS** - definitely fastest for rapid prototyping - **DaisyUI** - most popular UI kit for Tailwind CSS, great components and nice UI - **Custom UI component** - I've included `/lib/components/common` directory with "component wrappers" for DaisyUI which makes it really easy to modify the components globally; also, their design and functionality is being improved ### Database For database, we use [Supabase](https://supabase.com/database) which provides hussle-free ways of utilizing PostgreSQL databases into web apps. ### Payments Using Stripe for handling payments - most effortless to set up, it literally takes 5 minutes. -- ## Setup ### 1. Adjust prettier/eslint settings (optional) If the prefer a different prettier/eslint configuration, feel free to adjust it: - `.eslintrc.cjs` to update all the eslint rules - `.prettierrc` for all the prettier code formatting rules ### 2. Update VSCode settings for optimal development experience (recommended) Paste this in your `settings.json` in VSCode: ```JSON "editor.formatOnSave": true, "prettier.documentSelectors": ["**/*.svelte"], "[svelte]": { "editor.defaultFormatter": "svelte.svelte-vscode", "editor.formatOnSave": true }, ``` This will automatically take care of the Prettier formatting based on the specified `.prettierrc` configuration. This will make sure that all the code throughout your application is properly formatted so that you don't have to worry about that and make the entire development process much faster. ### 3. Install all the dependencies Run `npm i` when in the `sveltekit-asap-boilerplate` directory. ### 4. Create a supabase project Register your project on [Supabase](https://supabase.com/) if you plan to have authentication & database-related features. Create an `.env` file and fill this with: `SUPABASE_PROJECT_URL, SUPABASE_PROJECT_API_KEY` which you can easily get after you create a free project on Supabase. ### 5. Next steps Depending on your list of features, you can follow the `docs.md` files in each of the `/routes` directory or the [docs page](https://sveltekit-ultrafast.com/docs) to get started with this boilerplate. ### 6. Add your favicon You can either add `favicon.[svg/png]` in your `static` directory and then add: ```HTML <link rel="icon" href="%sveltekit.assets%favicon.png" /> ``` or, for simplicity, you can replace the current emoji to set the emoji of your choice as your favicon. ```HTML <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{PASTE YOUR EMOJI HERE}</text></svg>" /> ```
4,654
README
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.00085948, "qsc_doc_frac_words_redpajama_stop": 0.23512195, "qsc_doc_num_sentences": 60.0, "qsc_doc_num_words": 692, "qsc_doc_num_chars": 4654.0, "qsc_doc_num_lines": 121.0, "qsc_doc_mean_word_length": 5.03901734, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.47543353, "qsc_doc_entropy_unigram": 5.41687163, "qsc_doc_frac_words_all_caps": 0.0195122, "qsc_doc_frac_lines_dupe_lines": 0.09722222, "qsc_doc_frac_chars_dupe_lines": 0.00643158, "qsc_doc_frac_chars_top_2grams": 0.01376541, "qsc_doc_frac_chars_top_3grams": 0.01806711, "qsc_doc_frac_chars_top_4grams": 0.02150846, "qsc_doc_frac_chars_dupe_5grams": 0.03556065, "qsc_doc_frac_chars_dupe_6grams": 0.0, "qsc_doc_frac_chars_dupe_7grams": 0.0, "qsc_doc_frac_chars_dupe_8grams": 0.0, "qsc_doc_frac_chars_dupe_9grams": 0.0, "qsc_doc_frac_chars_dupe_10grams": 0.0, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 1.0, "qsc_doc_num_chars_sentence_length_mean": 24.57692308, "qsc_doc_frac_chars_hyperlink_html_tag": 0.1009884, "qsc_doc_frac_chars_alphabet": 0.86426593, "qsc_doc_frac_chars_digital": 0.01108033, "qsc_doc_frac_chars_whitespace": 0.14675548, "qsc_doc_frac_chars_hex_words": 0.0}
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_all_caps": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0}
008chen/InterpolatorShow
gradlew
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. DEFAULT_JVM_OPTS="" APP_NAME="Gradle" APP_BASE_NAME=`basename "$0"` # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD="maximum" warn ( ) { echo "$*" } die ( ) { echo echo "$*" echo exit 1 } # OS specific support (must be 'true' or 'false'). cygwin=false msys=false darwin=false case "`uname`" in CYGWIN* ) cygwin=true ;; Darwin* ) darwin=true ;; MINGW* ) msys=true ;; esac # Attempt to set APP_HOME # Resolve links: $0 may be a link PRG="$0" # Need this for relative symlinks. while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`"/$link" fi done SAVED="`pwd`" cd "`dirname \"$PRG\"`/" >/dev/null APP_HOME="`pwd -P`" cd "$SAVED" >/dev/null CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar # Determine the Java command to use to start the JVM. if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then # IBM's JDK on AIX uses strange locations for the executables JAVACMD="$JAVA_HOME/jre/sh/java" else JAVACMD="$JAVA_HOME/bin/java" fi if [ ! -x "$JAVACMD" ] ; then die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME Please set the JAVA_HOME variable in your environment to match the location of your Java installation." fi else JAVACMD="java" which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." fi # Increase the maximum file descriptors if we can. if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then MAX_FD_LIMIT=`ulimit -H -n` if [ $? -eq 0 ] ; then if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then MAX_FD="$MAX_FD_LIMIT" fi ulimit -n $MAX_FD if [ $? -ne 0 ] ; then warn "Could not set maximum file descriptor limit: $MAX_FD" fi else warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" fi fi # For Darwin, add options to specify how the application appears in the dock if $darwin; then GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" fi # For Cygwin, switch paths to Windows format before running java if $cygwin ; then APP_HOME=`cygpath --path --mixed "$APP_HOME"` CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` JAVACMD=`cygpath --unix "$JAVACMD"` # We build the pattern for arguments to be converted via cygpath ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` SEP="" for dir in $ROOTDIRSRAW ; do ROOTDIRS="$ROOTDIRS$SEP$dir" SEP="|" done OURCYGPATTERN="(^($ROOTDIRS))" # Add a user-defined pattern to the cygpath arguments if [ "$GRADLE_CYGPATTERN" != "" ] ; then OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" fi # Now convert the arguments - kludge to limit ourselves to /bin/sh i=0 for arg in "$@" ; do CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` else eval `echo args$i`="\"$arg\"" fi i=$((i+1)) done case $i in (0) set -- ;; (1) set -- "$args0" ;; (2) set -- "$args0" "$args1" ;; (3) set -- "$args0" "$args1" "$args2" ;; (4) set -- "$args0" "$args1" "$args2" "$args3" ;; (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; esac fi # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules function splitJvmOpts() { JVM_OPTS=("$@") } eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
4,971
gradlew
en
shell
code
{"qsc_code_num_words": 661, "qsc_code_num_chars": 4971.0, "qsc_code_mean_word_length": 4.22087746, "qsc_code_frac_words_unique": 0.33736762, "qsc_code_frac_chars_top_2grams": 0.01792115, "qsc_code_frac_chars_top_3grams": 0.03727599, "qsc_code_frac_chars_top_4grams": 0.04516129, "qsc_code_frac_chars_dupe_5grams": 0.18422939, "qsc_code_frac_chars_dupe_6grams": 0.15089606, "qsc_code_frac_chars_dupe_7grams": 0.11863799, "qsc_code_frac_chars_dupe_8grams": 0.10681004, "qsc_code_frac_chars_dupe_9grams": 0.09318996, "qsc_code_frac_chars_dupe_10grams": 0.06236559, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01937367, "qsc_code_frac_chars_whitespace": 0.24200362, "qsc_code_size_file_byte": 4971.0, "qsc_code_num_lines": 160.0, "qsc_code_num_chars_line_max": 118.0, "qsc_code_num_chars_line_mean": 31.06875, "qsc_code_frac_chars_alphabet": 0.72107219, "qsc_code_frac_chars_comments": 0.24180245, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.27731092, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.23003449, "qsc_code_frac_chars_long_word_length": 0.03024675, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0}
00jacs/sveltekit-ultrafast
src/hooks.server.ts
import { createServerClient } from '@supabase/ssr'; import { type Handle, redirect } from '@sveltejs/kit'; import { sequence } from '@sveltejs/kit/hooks'; import { PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY } from '$env/static/public'; const supabase: Handle = async ({ event, resolve }) => { /** * Creates a Supabase client specific to this server request. * * The Supabase client gets the Auth token from the request cookies. */ event.locals.supabase = createServerClient( PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY, { cookies: { get: (key) => event.cookies.get(key), /** * SvelteKit's cookies API requires `path` to be explicitly set in * the cookie options. Setting `path` to `/` replicates previous/ * standard behavior. */ set: (key, value, options) => { event.cookies.set(key, value, { ...options, path: '/' }); }, remove: (key, options) => { event.cookies.delete(key, { ...options, path: '/' }); } } } ); /** * Unlike `supabase.auth.getSession()`, which returns the session _without_ * validating the JWT, this function also calls `getUser()` to validate the * JWT before returning the session. */ event.locals.safeGetSession = async () => { const { data: { session } } = await event.locals.supabase.auth.getSession(); if (!session) { return { session: null, user: null }; } const { data: { user }, error } = await event.locals.supabase.auth.getUser(); if (error) { // JWT validation has failed return { session: null, user: null }; } return { session, user }; }; return resolve(event, { filterSerializedResponseHeaders(name) { /** * Supabase libraries use the `content-range` and `x-supabase-api-version` * headers, so we need to tell SvelteKit to pass it through. */ return name === 'content-range' || name === 'x-supabase-api-version'; } }); }; const authGuard: Handle = async ({ event, resolve }) => { const { session, user } = await event.locals.safeGetSession(); event.locals.session = session; event.locals.user = user; if (!event.locals.session && event.url.pathname.startsWith('/private')) { return redirect(303, '/auth'); } if (event.locals.session && event.url.pathname === '/auth') { return redirect(303, '/private'); } return resolve(event); }; export const handle: Handle = sequence(supabase, authGuard);
2,408
hooks.server
ts
en
typescript
code
{"qsc_code_num_words": 276, "qsc_code_num_chars": 2408.0, "qsc_code_mean_word_length": 5.61231884, "qsc_code_frac_words_unique": 0.38043478, "qsc_code_frac_chars_top_2grams": 0.0639122, "qsc_code_frac_chars_top_3grams": 0.03679793, "qsc_code_frac_chars_top_4grams": 0.02969658, "qsc_code_frac_chars_dupe_5grams": 0.16397676, "qsc_code_frac_chars_dupe_6grams": 0.09554551, "qsc_code_frac_chars_dupe_7grams": 0.09554551, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00312175, "qsc_code_frac_chars_whitespace": 0.20182724, "qsc_code_size_file_byte": 2408.0, "qsc_code_num_lines": 88.0, "qsc_code_num_chars_line_max": 84.0, "qsc_code_num_chars_line_mean": 27.36363636, "qsc_code_frac_chars_alphabet": 0.80280957, "qsc_code_frac_chars_comments": 0.29194352, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.12727273, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.07390029, "qsc_code_frac_chars_long_word_length": 0.01290323, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0}
00ffcc/conRWKV
conRWKV/utils.py
from pydantic import BaseModel, field_validator, model_validator from typing import List, Optional, Union, Dict from sympy import im from transformers.generation.logits_process import ( LogitsProcessorList, TemperatureLogitsWarper, TopPLogitsWarper, RepetitionPenaltyLogitsProcessor ) import asyncio import logging from logging import handlers from conRWKV.config import config log = logging.getLogger('conRWKV') log.setLevel(logging.INFO) fmt = logging.Formatter('%(asctime)s:%(levelname)s:%(funcName)s:%(message)s') sh = logging.StreamHandler() sh.setLevel(logging.INFO) sh.setFormatter(fmt) log.addHandler(sh) fh = handlers.TimedRotatingFileHandler(filename='conRWKV.log',when='D') fh.setLevel(logging.INFO) fh.setFormatter(fmt) log.addHandler(fh) # Request Data Model (OpenAI API format) class ChatCompletionRequest(BaseModel): model: str messages: Optional[List[Dict[str, str]]] = None # [{"role": "user", "content": "..."}] prompt: Optional[str] = None frequency_penalty: Optional[float] = 0.0 max_completion_tokens: Optional[int] = None max_tokens: Optional[int] = None # if max_completion_tokens is not set, max_tokens is used for completion n: Optional[int] = 1 best_of: Optional[int] = 1 seed: Optional[int] = None # Could be useful for reproducibility. Not implemented here. stop: Optional[Union[str, List[str]]] = None stream: Optional[bool] = False temperature: Optional[float] = 1.0 top_p: Optional[float] = 1.0 ignore_eos: Optional[bool] = False include_stop_str_in_output: Optional[bool] = False add_generation_prompt: Optional[bool] = True # add validation so user can't set temperature and top_p to 0 at the same time @field_validator("temperature") @classmethod def check_temperature(cls, value, values): if value == 0.0 and values.data.get("top_p") == 0.0: raise ValueError("temperature and top_p cannot both be 0") return value @field_validator("top_p") @classmethod def check_top_p(cls, value, values): if value == 0.0 and values.data.get("temperature") == 0.0: raise ValueError("temperature and top_p cannot both be 0") return value # add validation so user can't set both messages and prompt or neither @model_validator(mode='after') def check_messages_prompt(self): if self.messages is not None and self.prompt is not None: raise ValueError("Both messages and prompt cannot be set at the same time") if self.messages is None and self.prompt is None: raise ValueError("Either messages or prompt must be set") return self # n>1 or best_of>1 is not supported yet @model_validator(mode='after') def check_n_best_of(self): if self.n > 1 or self.best_of > 1: raise ValueError("n>1 or best_of>1 is not supported yet") return self # 如果max_completion_tokens没有设置,则使用max_tokens作为最大的生成长度 @model_validator(mode='after') def check_max_completion_tokens(self): if self.max_completion_tokens is None and self.max_tokens is not None: self.max_completion_tokens = self.max_tokens if self.max_completion_tokens is None: # from conRWKV.main import args self.max_completion_tokens = config.max_completion_tokens return self # 如果stop是str,则转为list。如果为None,则设置为[] 或 ['\n\nUser'](根据是否是chat模式) @model_validator(mode='after') def check_stop(self): if isinstance(self.stop, str): self.stop = [self.stop] if self.stop is None: self.stop = [] if self.prompt is not None else ['\n\nUser', '\n\nUser:', 'User:', 'Q: '] if self.ignore_eos: self.stop = [] return self def generate_logits_processor(request: ChatCompletionRequest): logits_processors = [ TemperatureLogitsWarper(request.temperature) if request.temperature > 0 else None, TopPLogitsWarper(request.top_p) if request.top_p > 0 else None, RepetitionPenaltyLogitsProcessor(request.frequency_penalty) if request.frequency_penalty > 0 else None, ] # Filter out None values logits_processors = [processor for processor in logits_processors if processor is not None] logits_processor = LogitsProcessorList(logits_processors) return logits_processor class output_buffer: # 缓冲输出,防止输出stop中的内容 def __init__(self, stop: List[str], max_completion_tokens: int, include_stop_str_in_output: bool, stream_queue:asyncio.Queue): self.stop = stop self.max_completion_tokens = max_completion_tokens self.max_buffer_size = max(len(i) for i in stop)-1 if stop else 0 self.include_stop_str_in_output = include_stop_str_in_output self.buffer: List[str] = [] self.generated_ids = [] self.stream_queue = stream_queue def update(self, token_str: str, token_id: int): self.buffer.append(token_str) self.generated_ids.append(token_id) # check stop criteria if any(stop_seq in ''.join(self.buffer) for stop_seq in self.stop): # 需要停止 stop_string = None for stop_seq in self.stop: if stop_seq in ''.join(self.buffer): stop_string = stop_seq break if not self.include_stop_str_in_output: # 去掉stop_string buf = ''.join(self.buffer) self.buffer = [buf[:len(buf) - len(stop_string)]] # 输出缓冲区内容 self.stream_queue.put_nowait(''.join(self.buffer)) self.stream_queue.put_nowait(None) # 停止信号 return True # 停止 if len(self.generated_ids) >= self.max_completion_tokens: # 总长度够了 self.stream_queue.put_nowait(''.join(self.buffer)) self.stream_queue.put_nowait(None) # 停止信号 return True # 停止 while len(''.join(self.buffer)) > self.max_buffer_size: # 缓冲区满了 self.stream_queue.put_nowait(self.buffer.pop(0)) # 弹出最早的元素 return False # 继续
6,153
utils
py
en
python
code
{"qsc_code_num_words": 806, "qsc_code_num_chars": 6153.0, "qsc_code_mean_word_length": 4.92679901, "qsc_code_frac_words_unique": 0.23076923, "qsc_code_frac_chars_top_2grams": 0.03928481, "qsc_code_frac_chars_top_3grams": 0.05741627, "qsc_code_frac_chars_top_4grams": 0.03475195, "qsc_code_frac_chars_dupe_5grams": 0.25132209, "qsc_code_frac_chars_dupe_6grams": 0.19944598, "qsc_code_frac_chars_dupe_7grams": 0.13346764, "qsc_code_frac_chars_dupe_8grams": 0.10475951, "qsc_code_frac_chars_dupe_9grams": 0.10475951, "qsc_code_frac_chars_dupe_10grams": 0.10475951, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00661827, "qsc_code_frac_chars_whitespace": 0.23874533, "qsc_code_size_file_byte": 6153.0, "qsc_code_num_lines": 159.0, "qsc_code_num_chars_line_max": 131.0, "qsc_code_num_chars_line_mean": 38.69811321, "qsc_code_frac_chars_alphabet": 0.8411614, "qsc_code_frac_chars_comments": 0.10710223, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.16528926, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.06416819, "qsc_code_frac_chars_long_word_length": 0.00914077, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.07438017, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.0661157, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.37190083, "qsc_codepython_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
00ec454/Ask
example/src/main/java/com/vistrav/example/AnotherActivity.java
package com.vistrav.example; import android.Manifest; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import com.vistrav.ask.Ask; import com.vistrav.ask.annotations.AskDenied; import com.vistrav.ask.annotations.AskGranted; @SuppressWarnings("unused") public class AnotherActivity extends AppCompatActivity { private static final String TAG = AnotherActivity.class.getSimpleName(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_another); Ask.on(this).debug(true) .forPermissions(Manifest.permission.ACCESS_COARSE_LOCATION , Manifest.permission.WRITE_EXTERNAL_STORAGE).id(22222) .withRationales("Location permission need for map to work properly", "In order to save file you will need to grant storage permission") //optional .go(); } //optional @AskGranted(value=Manifest.permission.WRITE_EXTERNAL_STORAGE) public void fileAccessGranted() { Log.i(TAG, "FILE GRANTED"); } //optional @AskDenied(value=Manifest.permission.WRITE_EXTERNAL_STORAGE) public void fileAccessDenied() { Log.i(TAG, "FILE DENiED"); } //optional @AskGranted(value=Manifest.permission.ACCESS_COARSE_LOCATION) public void mapAccessGranted(int id) { Log.i(TAG, "MAP GRANTED====>"+id); } //optional @AskDenied(value=Manifest.permission.ACCESS_COARSE_LOCATION) public void mapAccessDenied() { Log.i(TAG, "MAP DENIED"); } }
1,668
AnotherActivity
java
en
java
code
{"qsc_code_num_words": 175, "qsc_code_num_chars": 1668.0, "qsc_code_mean_word_length": 6.48571429, "qsc_code_frac_words_unique": 0.46285714, "qsc_code_frac_chars_top_2grams": 0.09515419, "qsc_code_frac_chars_top_3grams": 0.08105727, "qsc_code_frac_chars_top_4grams": 0.05022026, "qsc_code_frac_chars_dupe_5grams": 0.36828194, "qsc_code_frac_chars_dupe_6grams": 0.18678414, "qsc_code_frac_chars_dupe_7grams": 0.18678414, "qsc_code_frac_chars_dupe_8grams": 0.18678414, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00455235, "qsc_code_frac_chars_whitespace": 0.20983213, "qsc_code_size_file_byte": 1668.0, "qsc_code_num_lines": 52.0, "qsc_code_num_chars_line_max": 102.0, "qsc_code_num_chars_line_mean": 32.07692308, "qsc_code_frac_chars_alphabet": 0.85660091, "qsc_code_frac_chars_comments": 0.02997602, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.10444994, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codejava_cate_var_zero": 0.0, "qsc_codejava_frac_lines_func_ratio": 0.12820513, "qsc_codejava_score_lines_no_logic": 0.33333333, "qsc_codejava_frac_words_no_modifier": 0.83333333, "qsc_codejava_frac_words_legal_var_name": 1.0, "qsc_codejava_frac_words_legal_func_name": 1.0, "qsc_codejava_frac_words_legal_class_name": 1.0, "qsc_codejava_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codejava_cate_var_zero": 0, "qsc_codejava_frac_lines_func_ratio": 0, "qsc_codejava_score_lines_no_logic": 0, "qsc_codejava_frac_lines_print": 0}
00ffcc/chunkRWKV6
chunk.py
import os import torch from torch.utils.cpp_extension import load from einops import rearrange, reduce, repeat dir_path = os.path.dirname(os.path.abspath(__file__)) HEAD_SIZE=64 # 每个head的大小 if torch.version.cuda is not None: rwkv6 = load(name="rwkv6", sources=[f"{dir_path}/cuda/rwkv6_op.cpp", f"{dir_path}/cuda/rwkv6.cu", f"{dir_path}/cuda/inter.cu"], # cuda verbose=True, extra_cuda_cflags=["-res-usage", "--use_fast_math", "-O3", "--extra-device-vectorization", f"-D_N_={HEAD_SIZE}", f"-D_T_={4096}"]) elif torch.version.hip is not None: rwkv6 = load(name="rwkv6", sources=[f"{dir_path}/cuda/rwkv6_op.cpp", f"{dir_path}/cuda/rwkv6.cu", f"{dir_path}/cuda/inter.cu"], # rocm verbose=True, extra_cuda_cflags=["-O3", f"-D_N_={HEAD_SIZE}", f"-D_T_={4096}"]) else: raise NotImplementedError("Only support CUDA and ROCm") class vanillaRWKV6(torch.autograd.Function): @staticmethod def forward(ctx, B, T, C, H, state, r, k, v, w, u): with torch.no_grad(): assert state.dtype == torch.float32 assert w.dtype == torch.float32 assert r.is_contiguous() assert k.is_contiguous() assert v.is_contiguous() assert w.is_contiguous() assert u.is_contiguous() assert state.is_contiguous() eew = torch.exp(-torch.exp(w.float())).contiguous() y = torch.empty((B, T, C), device=w.device, dtype=torch.float32, memory_format=torch.contiguous_format) if r.dtype == torch.bfloat16: rwkv6.forward_bf16(B, T, C, H, state, r, k, v, eew, u, y) elif r.dtype == torch.float16: rwkv6.forward_fp16(B, T, C, H, state, r, k, v, eew, u, y) elif r.dtype == torch.float32: rwkv6.forward_fp32(B, T, C, H, state, r, k, v, eew, u, y) return y class chunkRWKV6(torch.autograd.Function): @staticmethod def forward(ctx, B, T, C, H, state, r, k, v, w, u, chunk_size=32): with torch.no_grad(): # r,k,v,w (B, T, C) assert state.dtype == torch.float32 assert w.dtype == torch.float32 assert T % chunk_size == 0, "T must be divisible by chunk_size" assert C == H*HEAD_SIZE, "C must be equal to H*HEAD_SIZE" nc=T//chunk_size # num_chunks cs=chunk_size # chunk_size w = -torch.exp(w) w_orig = w.clone() w_orig = rearrange(w_orig, 'b (nc cs) (h hs) -> b nc cs h hs', nc=nc, cs=cs, h=H, hs=HEAD_SIZE) w_orig = w_orig.cumsum(dim=2) w = torch.exp(w) # time_decay TODO 优化 r = rearrange(r, 'b (nc cs) c -> b nc cs c', nc=nc, cs=cs) k = rearrange(k, 'b (nc cs) c -> b nc cs c', nc=nc, cs=cs) v = rearrange(v, 'b (nc cs) c -> b nc cs c', nc=nc, cs=cs) w = rearrange(w, 'b (nc cs) c -> b nc cs c', nc=nc, cs=cs) state = torch.stack([torch.cat([state[i:i+1], torch.zeros((nc-1, H, HEAD_SIZE, HEAD_SIZE), device=state.device, dtype=state.dtype)]).contiguous() for i in range(B)], dim=0) # (B*nc, H, HEAD_SIZE, HEAD_SIZE) assert r.is_contiguous() assert k.is_contiguous() assert v.is_contiguous() assert w.is_contiguous() assert u.is_contiguous() assert state.is_contiguous() # 块内计算 y = torch.empty((B, nc, cs, H, HEAD_SIZE), device=w.device, dtype=torch.float32, memory_format=torch.contiguous_format) # result if r.dtype == torch.bfloat16: rwkv6.forward_bf16(B*nc, cs, C, H, state, r, k, v, w, u, y) elif r.dtype == torch.float16: rwkv6.forward_fp16(B*nc, cs, C, H, state, r, k, v, w, u, y) elif r.dtype == torch.float32: rwkv6.forward_fp32(B*nc, cs, C, H, state, r, k, v, w, u, y) if nc > 1: # 计算块间的贡献 r = rearrange(r, 'b nc cs (h hs) -> b nc cs h hs', h=H, hs=HEAD_SIZE) for j in range(1, nc): # TODO 优化 state[:, j, :, :, :] += torch.einsum('b h i j, b h j -> b h i j', state[:, j-1, :, :, :], torch.exp(w_orig[:, j, -1, :, :])) if r.dtype == torch.bfloat16: rwkv6.Inter_fwd_bf16(B, cs, C, H, nc, state, r, w, y) elif r.dtype == torch.float16: rwkv6.Inter_fwd_fp16(B, cs, C, H, nc, state, r, w, y) elif r.dtype == torch.float32: rwkv6.Inter_fwd_fp32(B, cs, C, H, nc, state, r, w, y) state = state[:, -1, :, :, :] # 取最后一个块的状态 # 输出 y = rearrange(y, 'b nc cs h hs -> b (nc cs) (h hs)') return y, state if __name__ == '__main__': B, T, H = 2, 64, 1 C = H*HEAD_SIZE state = torch.zeros(B, H, HEAD_SIZE, HEAD_SIZE, device='cuda', dtype=torch.float32) r = torch.randn(B, T, C, device='cuda', dtype=torch.float16) k = torch.randn(B, T, C, device='cuda', dtype=torch.float16) v = torch.randn(B, T, C, device='cuda', dtype=torch.float16) w = torch.randn(B, T, C, device='cuda', dtype=torch.float32) u = torch.randn(C, device='cuda', dtype=torch.float16) state1 = state.clone() y1 = vanillaRWKV6.apply(B, T, C, H, state1, r, k, v, w, u) y2, state2 = chunkRWKV6.apply(B, T, C, H, state, r, k, v, w, u) print(torch.max((y1-y2).abs())) print(y1-y2) print((state1-state2).abs().max())
5,734
chunk
py
en
python
code
{"qsc_code_num_words": 865, "qsc_code_num_chars": 5734.0, "qsc_code_mean_word_length": 3.39190751, "qsc_code_frac_words_unique": 0.16878613, "qsc_code_frac_chars_top_2grams": 0.03135651, "qsc_code_frac_chars_top_3grams": 0.03067485, "qsc_code_frac_chars_top_4grams": 0.02249489, "qsc_code_frac_chars_dupe_5grams": 0.61451943, "qsc_code_frac_chars_dupe_6grams": 0.566803, "qsc_code_frac_chars_dupe_7grams": 0.52522154, "qsc_code_frac_chars_dupe_8grams": 0.51704158, "qsc_code_frac_chars_dupe_9grams": 0.51704158, "qsc_code_frac_chars_dupe_10grams": 0.46319018, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0307377, "qsc_code_frac_chars_whitespace": 0.31914894, "qsc_code_size_file_byte": 5734.0, "qsc_code_num_lines": 126.0, "qsc_code_num_chars_line_max": 163.0, "qsc_code_num_chars_line_mean": 45.50793651, "qsc_code_frac_chars_alphabet": 0.72079918, "qsc_code_frac_chars_comments": 0.02633415, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.31, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.11045259, "qsc_code_frac_chars_long_word_length": 0.03232759, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.00793651, "qsc_code_frac_lines_assert": 0.18, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.02, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.04, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.1, "qsc_codepython_frac_lines_print": 0.03}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
00ffcc/chunkRWKV6
request_manager.py
import torch from typing import Dict, List, Optional, Union,Tuple import time from tokenizer.tokenization_rwkv_world import RWKVWorldTokenizer from model import RWKV6 from queue import Queue from einops import rearrange from functools import partial import asyncio import os from sample.sample import sample def make_async(func: Callable[..., T]) -> Callable[..., Awaitable[T]]: """ from https://github.com/vllm-project/vllm/blob/main/vllm/utils.py Take a blocking function, and run it on in an executor thread. This function prevents the blocking function from blocking the asyncio event loop. The code in this function needs to be thread safe. """ def _async_wrapper(*args, **kwargs) -> asyncio.Future: loop = asyncio.get_event_loop() p_func = partial(func, *args, **kwargs) return loop.run_in_executor(executor=None, func=p_func) return _async_wrapper class request_manager: def __init__(self, device): self.device = device self.tokenizer = RWKVWorldTokenizer(vocab_file=r"D:\rwkv_input\tokenizer\rwkv_vocab_v20230424.txt") self.model = RWKV6.from_pretrained(r"D:\rwkv_input\model\rwkv6\RWKV-x060-World-1B6-v2.1-20240328-ctx4096.pth",dtype=torch.float16) self.queue = Queue() async def generate(self, prompt, sampling_params): # prefill state = self.model.empty_states(1, device=torch.cpu) input_ids = self.tokenizer.encode(prompt, return_tensors="pt") loop=asyncio.get_running_loop() fut=loop.create_future() self.queue.put((fut,(input_ids,state))) words = [[]] await fut # generate while True: logprobs, states = fut.result() words, states = sample(logprobs, states, words, sampling_params) def shedule(self, maxSeqLen = -1): input_idss = torch.zeros((1,0), dtype=torch.long, device=torch.cpu) states = [] seq_idx = [] seq_idx_top = 0 fut_map = {} while self.queue.qsize(): fut, (input_ids, state) = self.queue.get() if maxSeqLen != -1 and input_idss.shape[0]+input_ids.shape[0]*input_ids.shape[1] > maxSeqLen: break self.queue.pop() for i in range(input_ids.shape[0]): seq_idx += [seq_idx_top]*input_ids.shape[1] fut_map[fut] = fut_map.get(fut, []) + [seq_idx_top] seq_idx_top += 1 states.append(state) input_ids = rearrange(input_ids, 'b s -> (b s)') input_idss = torch.cat([input_idss, input_ids], dim=0) states=[torch.cat([j[i] for j in states], dim=0, device=self.device) for i in range(3)] seq_idx = torch.tensor(seq_idx, device=self.device).unsqueeze(0) input_idss = input_idss.to(self.device).unsqueeze(0) return input_idss, states, fut_map, seq_idx async def run(self): input_idss, states, fut_map, seq_idx = self.shedule() with torch.no_grad(): logits, states = make_async(self.model)(input_idss, seq_idx, states) logprobs = torch.nn.functional.log_softmax(logits, dim=-1) for fut, idxs in fut_map.items(): fut.set_result(logprobs[idxs], states[idxs]) async def run_loop(self): if self.seq_queue.qsize(): self.run() await asyncio.sleep(0)
3,393
request_manager
py
en
python
code
{"qsc_code_num_words": 465, "qsc_code_num_chars": 3393.0, "qsc_code_mean_word_length": 4.51612903, "qsc_code_frac_words_unique": 0.33548387, "qsc_code_frac_chars_top_2grams": 0.03142857, "qsc_code_frac_chars_top_3grams": 0.01714286, "qsc_code_frac_chars_top_4grams": 0.01047619, "qsc_code_frac_chars_dupe_5grams": 0.05571429, "qsc_code_frac_chars_dupe_6grams": 0.02571429, "qsc_code_frac_chars_dupe_7grams": 0.02571429, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01985208, "qsc_code_frac_chars_whitespace": 0.24285293, "qsc_code_size_file_byte": 3393.0, "qsc_code_num_lines": 82.0, "qsc_code_num_chars_line_max": 139.0, "qsc_code_num_chars_line_mean": 41.37804878, "qsc_code_frac_chars_alphabet": 0.79758661, "qsc_code_frac_chars_comments": 0.08281757, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.01492537, "qsc_code_frac_chars_string_length": 0.04320988, "qsc_code_frac_chars_long_word_length": 0.03866147, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.05970149, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.1641791, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.28358209, "qsc_codepython_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
00ffcc/chunkRWKV6
accuracy_test.py
from chunk import chunkRWKV6,vanillaRWKV6,HEAD_SIZE import time import torch import matplotlib.pyplot as plt from fla.ops.rwkv6 import chunk_rwkv6, fused_recurrent_rwkv6 from einops import rearrange DEVICE = "cuda:0" B, H = 1, 32 C = H*HEAD_SIZE T = 64 r = torch.randn(B, T, C, device=DEVICE, dtype=torch.float32) k = torch.randn(B, T, C, device=DEVICE, dtype=torch.float32) v = torch.randn(B, T, C, device=DEVICE, dtype=torch.float32) w = torch.randn(B, T, C, device=DEVICE, dtype=torch.float32) u = torch.randn(C, device=DEVICE, dtype=torch.float32) state = torch.zeros(B, H, HEAD_SIZE, HEAD_SIZE, device=DEVICE, dtype=torch.float32) state1 = state.clone() y1 = vanillaRWKV6.apply(B, T, C, H, state1, r, k, v, w, u) r = rearrange(r, 'b t (h c) -> b h t c', h=H) k = rearrange(k, 'b t (h c) -> b h t c', h=H) v = rearrange(v, 'b t (h c) -> b h t c', h=H) w = rearrange(w, 'b t (h c) -> b h t c', h=H) u = rearrange(u, '(h c) ->h c', h=H) # w = -torch.exp(w) w = torch.nn.functional.logsigmoid(w) y2, state2 = chunk_rwkv6(r,k,v,w,u) y3, state3 = fused_recurrent_rwkv6(r,k,v,w,u) y2 = rearrange(y2, 'b h t c -> b t (h c)', h=H) y3 = rearrange(y3, 'b h t c -> b t (h c)', h=H) print((y2-y3).abs().max()) # print((state1-state2).abs().max())
1,246
accuracy_test
py
en
python
code
{"qsc_code_num_words": 252, "qsc_code_num_chars": 1246.0, "qsc_code_mean_word_length": 3.17857143, "qsc_code_frac_words_unique": 0.21825397, "qsc_code_frac_chars_top_2grams": 0.02746567, "qsc_code_frac_chars_top_3grams": 0.02621723, "qsc_code_frac_chars_top_4grams": 0.16479401, "qsc_code_frac_chars_dupe_5grams": 0.38951311, "qsc_code_frac_chars_dupe_6grams": 0.34706617, "qsc_code_frac_chars_dupe_7grams": 0.28464419, "qsc_code_frac_chars_dupe_8grams": 0.28464419, "qsc_code_frac_chars_dupe_9grams": 0.28464419, "qsc_code_frac_chars_dupe_10grams": 0.28464419, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03927203, "qsc_code_frac_chars_whitespace": 0.16211878, "qsc_code_size_file_byte": 1246.0, "qsc_code_num_lines": 39.0, "qsc_code_num_chars_line_max": 84.0, "qsc_code_num_chars_line_mean": 31.94871795, "qsc_code_frac_chars_alphabet": 0.72796935, "qsc_code_frac_chars_comments": 0.04173355, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.11493289, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.0, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.20689655, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.20689655, "qsc_codepython_frac_lines_print": 0.03448276}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
00ffcc/chunkRWKV6
README.md
# chunk_RWKV6 使用分块并行优化RWKV的prefill和训练速度, 并支持continous batching. 相比官方的cuda kernel最高提速5倍, 相比fla最高提速3倍. # benchmark 在3090上测试,batch_size=1, head_num=32, head_size=64, channel=2048, 与RWKV6-1.6b设置相同. 由于[flash-linear-attention(fla)](https://github.com/sustcsonglin/flash-linear-attention/tree/main)使用了tensor core, chunk_RWKV6在 `fp32`(tensor core不支持)的情况下远快于fla, 在 `fp16&bf16` 且有tensor core的情况下速度相近. ![](img/fp32.png) <h5 align="center">图1: fp32</h5> ![](img/fp16.png) <h5 align="center">图2: fp16</h5> # Todolist - 优化速度 🤔 - 增加反向传播 🕊 - 与continous batching结合 🆗 - 支持continous batching的后端推理引擎 (正在做) # 参考 [flash-linear-attention](https://github.com/sustcsonglin/flash-linear-attention/tree/main) [ChatRWKV](https://github.com/BlinkDL/ChatRWKV/tree/main) # 柿子 forward: 每个block负责一个batch的一个head,每个thread负责一个channel,从0推到t $$X=V\otimes K^T$$ $$S'=S*W+X$$ $$Y=(X*U+S)\otimes R$$ $$X_{t,h,i,j}=V_{t,h,i}K_{t,h,j}$$ $$S_{t,h,i,j}=S_{t-1,h,i,j}W_{t,h,j}+X_{t,h,i,j}$$ $$Y_{t,h,i}=\sum_{j}R_{t,h,j}(U_{h,j}X_{t,h,i,j}+S_{t-1,h,i,j})$$ $$Y_{t_1,h,i}=\sum_j R_{t_1,h,j}(U_{h,j}V_{t_1,h,i}K_{t_1,h,j}+\sum_{t_2=0}^{t_1-1}V_{t_2,h,i}K_{t_2,h,j}\prod_{t=t_2+1}^{t_1-1}W_{t,h,j}+S_{-1,h,i,j}\prod_{t=0}^{t_1-1}W_{t,h,j})$$ 分块计算 $$w_{orig,i}=\sum_{0}^{i-1}w_j$$ $$\sum_{a-1}^{b-1}w_j=w_{orig,b}-w_{orig,a}$$ 其实中间可以写成矩阵乘的形式,看[这里](https://zhuanlan.zhihu.com/p/699927630),这样就可以用上tensor core了,有空改改 backword: $$\frac{\partial Loss}{\partial R_{t,h,j}}=\sum_i\frac{\partial Loss}{\partial Y_{t,h,i}}(U_{h,j}X_{t,h,i,j}+S_{t-1,h,i,j})$$ $$\frac{\partial Loss}{\partial U_{h,j}}=\sum_t\sum_i \frac{\partial Loss}{\partial Y_{t,h,i}}R_{t,h,j}X_{t,h,i,j}$$ $$\frac{\partial Loss}{\partial V_{t_1,h,i}}=\frac{\partial Loss}{\partial Y_{t_1,h,i}}\sum_{j}U_{h,j}R_{t_1,h,j}K_{t_1,h,j}+\sum_{t_2=t_1+1}\frac{\partial Loss}{\partial Y_{t_2,h,i}}\sum_{j}R_{t_2,h,j}K_{t_1,h,j}(\prod_{t_3=t_1+1}^{t_2-1}W_{t_3,h,j})$$ $$=\frac{\partial Loss}{\partial Y_{t_1,h,i}}\sum_{j}U_{h,j}R_{t_1,h,j}K_{t_1,h,j}+\sum_{j}K_{t_1,h,j}\sum_{t_2=t_1+1}\frac{\partial Loss}{\partial Y_{t_2,h,i}}R_{t_2,h,j}(\prod_{t_3=t_1+1}^{t_2-1}W_{t_3,h,j})$$ 令 $S_{t,h,j}=S_{t+1,h,j}W_{t,h,j}+\frac{\partial Loss}{\partial Y_{t,h,j}}R_{t,h,j}$ $$\frac{\partial Loss}{\partial V_{t_1,h,i}}=\sum_{j}(\frac{\partial Loss}{\partial Y_{t_1,h,i}}R_{t_1,h,j}U_{h,j}+S_{t+1,h,j})K_{t_1,h,j}$$ $K$ 同理 $$\frac{\partial Loss}{\partial W_{t_1,h,j}}=\sum_{t_2=t_1}\sum_{t_3=0}^{t_1-1}\sum_i \frac{\partial Loss}{\partial Y_{t_2,h,i}}R_{t_2,h,j}V_{t_3,h,i}K_{t_3,h,j}\prod_{t=t_3+1}^{t_1-1}W_{t,h,j}\prod_{t=t_1+1}^{t_2-1}W_{t,h,j}+\sum_{t_2=t_1}\sum_i \frac{\partial Loss}{\partial Y_{t_2,h,i}}R_{t_2,h,j}S_{-1,h,i,j}\prod_{t=0}^{t_1-1}W_{t,h,j}\prod_{t=t_1+1}^{t_2-1}W_{t,h,j}$$ $$W_{t_1,h,j}=\exp(-\exp(w_{t_1,h,j}))$$ 其实要求的是 $w$ 的梯度 $$\frac{\partial Loss}{\partial w_{t_1,h,j}}=\frac{\partial Loss}{\partial W_{t_1,h,j}}\times \exp(-\exp(w_{t_1,h,j}))\times (-\exp(w_{t_1,h,j}))$$ 正好把中间挖掉的一项补上了 $$\frac{\partial Loss}{\partial w_{t_1,h,j}}=(\sum_{t_2=t_1}\sum_{t_3=0}^{t_1-1}(\sum_i \frac{\partial Loss}{\partial Y_{t_2,h,i}}R_{t_2,h,j}V_{t_3,h,i}K_{t_3,h,j}\prod_{t=t_3+1}^{t_2-1}W_{t,h,j})+\sum_{t_2=t_1}\sum_i \frac{\partial Loss}{\partial Y_{t_2,h,i}}R_{t_2,h,j}S_{-1,h,i,j}\prod_{t=0}^{t_2-1}W_{t,h,j})\times (-\exp(w_{t_1,h,j}))$$ 这样,中间的括号里为 $t_2,t_3$ 的函数,总的减掉 $t_2,t_3$ 在 $t_1$ 同一侧的即可.
3,350
README
md
zh
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.10328358, "qsc_doc_frac_words_redpajama_stop": null, "qsc_doc_num_sentences": 14.0, "qsc_doc_num_words": 943, "qsc_doc_num_chars": 3350.0, "qsc_doc_num_lines": 91.0, "qsc_doc_mean_word_length": 2.0583245, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.17391304, "qsc_doc_entropy_unigram": 3.79361804, "qsc_doc_frac_words_all_caps": 0.04623209, "qsc_doc_frac_lines_dupe_lines": 0.0, "qsc_doc_frac_chars_dupe_lines": 0.0, "qsc_doc_frac_chars_top_2grams": 0.05770222, "qsc_doc_frac_chars_top_3grams": 0.04791345, "qsc_doc_frac_chars_top_4grams": 0.04327666, "qsc_doc_frac_chars_dupe_5grams": 0.62132921, "qsc_doc_frac_chars_dupe_6grams": 0.58784132, "qsc_doc_frac_chars_dupe_7grams": 0.57444616, "qsc_doc_frac_chars_dupe_8grams": 0.53477589, "qsc_doc_frac_chars_dupe_9grams": 0.49716641, "qsc_doc_frac_chars_dupe_10grams": 0.39361154, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 1.0, "qsc_doc_num_chars_sentence_length_mean": 30.31775701, "qsc_doc_frac_chars_hyperlink_html_tag": 0.07970149, "qsc_doc_frac_chars_alphabet": null, "qsc_doc_frac_chars_digital": 0.05629349, "qsc_doc_frac_chars_whitespace": 0.0561194, "qsc_doc_frac_chars_hex_words": 0.0}
0
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 1, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_full_bracket": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0}
00ffcc/chunkRWKV6
api_server.py
import argparse import json from typing import AsyncGenerator from fastapi import FastAPI, Request from fastapi.responses import JSONResponse, Response, StreamingResponse import uvicorn import main import asyncio import time import torch from vllm.sampling_params import SamplingParams TIMEOUT_KEEP_ALIVE = 5 # seconds. app = FastAPI() engine = None @app.get("/health") async def health() -> Response: """Health check.""" return Response(status_code=200) @app.post("/generate") async def generate(request: Request) -> Response: """Generate completion for the request. The request should be a JSON object with the following fields: - prompt: the prompt to use for the generation. - stream: whether to stream the results or not. - other fields: the sampling parameters (See `SamplingParams` for details). """ request_dict = await request.json() prompt = request_dict.pop("prompt") stream = request_dict.pop("stream", False) sampling_params = SamplingParams(**request_dict) assert engine is not None results_generator = engine.generate(prompt, sampling_params) # Streaming case async def stream_results() -> AsyncGenerator[bytes, None]: async for request_output in results_generator: prompt = request_output.prompt text_outputs = [ prompt + output.text for output in request_output.outputs ] ret = {"text": text_outputs} yield (json.dumps(ret) + "\0").encode("utf-8") if stream: return StreamingResponse(stream_results()) # Non-streaming case final_output = None async for request_output in results_generator: if await request.is_disconnected(): # Abort the request if the client disconnects. await engine.abort(request_id) return Response(status_code=499) final_output = request_output assert final_output is not None prompt = final_output.prompt text_outputs = [prompt + output.text for output in final_output.outputs] ret = {"text": text_outputs} return JSONResponse(ret) if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("--host", type=str, default=None) parser.add_argument("--port", type=int, default=1111) parser.add_argument("--ssl-keyfile", type=str, default=None) parser.add_argument("--ssl-certfile", type=str, default=None) parser.add_argument( "--root-path", type=str, default=None, help="FastAPI root_path when app is behind a path based routing proxy") args = parser.parse_args() manager=main.request_manager(abbr="首字母",model_type='rwkv6',num_beams=40,dtype=torch.bfloat16) app.root_path = args.root_path uvicorn.run(app, host=args.host, port=args.port, log_level="debug", timeout_keep_alive=TIMEOUT_KEEP_ALIVE, ssl_keyfile=args.ssl_keyfile, ssl_certfile=args.ssl_certfile)
3,046
api_server
py
en
python
code
{"qsc_code_num_words": 373, "qsc_code_num_chars": 3046.0, "qsc_code_mean_word_length": 5.36461126, "qsc_code_frac_words_unique": 0.3538874, "qsc_code_frac_chars_top_2grams": 0.03248376, "qsc_code_frac_chars_top_3grams": 0.04247876, "qsc_code_frac_chars_top_4grams": 0.03598201, "qsc_code_frac_chars_dupe_5grams": 0.17641179, "qsc_code_frac_chars_dupe_6grams": 0.17641179, "qsc_code_frac_chars_dupe_7grams": 0.14542729, "qsc_code_frac_chars_dupe_8grams": 0.09295352, "qsc_code_frac_chars_dupe_9grams": 0.04997501, "qsc_code_frac_chars_dupe_10grams": 0.04997501, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00766284, "qsc_code_frac_chars_whitespace": 0.22882469, "qsc_code_size_file_byte": 3046.0, "qsc_code_num_lines": 92.0, "qsc_code_num_chars_line_max": 98.0, "qsc_code_num_chars_line_mean": 33.10869565, "qsc_code_frac_chars_alphabet": 0.84418902, "qsc_code_frac_chars_comments": 0.02856205, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.05970149, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.06714719, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.02985075, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.0, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.1641791, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.2238806, "qsc_codepython_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
00ffcc/chunkRWKV6
model.py
######################################################################################################## # The RWKV Language Model - https://github.com/BlinkDL/RWKV-LM # only for inference, no training code ######################################################################################################## import os, math, gc, importlib import torch # torch._C._jit_set_profiling_executor(True) # torch._C._jit_set_profiling_mode(True) import torch.nn as nn from torch.nn import functional as F import types from typing import List, Optional, Tuple, Union os.environ["RWKV_JIT_ON"]='0' os.environ["HF_ENDPOINT"]="https://hf-mirror.com" try: print('RWKV_MY_TESTING', os.environ["RWKV_MY_TESTING"]) except: os.environ["RWKV_MY_TESTING"] = '' def __nop(ob): return ob MyModule = nn.Module MyFunction = __nop if os.environ["RWKV_JIT_ON"] == "1": MyModule = torch.jit.ScriptModule MyFunction = torch.jit.script_method ######################################################################################################## # CUDA Kernel ######################################################################################################## from torch.utils.cpp_extension import load continous_chunk_rwkv6 = None HEAD_SIZE = None from continous_chunk import continousChunkRWKV6 class RWKV_Tmix_x060(MyModule): def __init__(self, config, layer_id, dtype=torch.float32): super().__init__() self.config = config self.layer_id = layer_id self.head_size = config.head_size_a self.n_head = config.dim_att // self.head_size assert config.dim_att % self.n_head == 0 with torch.no_grad(): self.time_maa_x = nn.Parameter(torch.zeros(1, 1, config.n_embd, dtype=dtype)) self.time_maa_w = nn.Parameter(torch.zeros(1, 1, config.n_embd, dtype=dtype)) self.time_maa_k = nn.Parameter(torch.zeros(1, 1, config.n_embd, dtype=dtype)) self.time_maa_v = nn.Parameter(torch.zeros(1, 1, config.n_embd, dtype=dtype)) self.time_maa_r = nn.Parameter(torch.zeros(1, 1, config.n_embd, dtype=dtype)) self.time_maa_g = nn.Parameter(torch.zeros(1, 1, config.n_embd, dtype=dtype)) TIME_MIX_EXTRA_DIM = 32 # generate TIME_MIX for w,k,v,r,g self.time_maa_w1 = nn.Parameter(torch.zeros(config.n_embd, TIME_MIX_EXTRA_DIM*5, dtype=dtype)) self.time_maa_w2 = nn.Parameter(torch.zeros(5, TIME_MIX_EXTRA_DIM, config.n_embd, dtype=dtype)) self.time_decay = nn.Parameter(torch.zeros(1, 1, config.dim_att, dtype=torch.float32)) TIME_DECAY_EXTRA_DIM = 64 self.time_decay_w1 = nn.Parameter(torch.zeros(config.n_embd, TIME_DECAY_EXTRA_DIM, dtype=dtype)) self.time_decay_w2 = nn.Parameter(torch.zeros(TIME_DECAY_EXTRA_DIM, config.dim_att, dtype=dtype)) self.time_faaaa = nn.Parameter(torch.zeros(self.n_head, self.head_size, dtype=torch.float32)) self.time_shift = nn.ZeroPad2d((0, 0, 1, -1)) self.receptance = nn.Linear(config.n_embd, config.dim_att, bias=False, dtype=dtype) self.key = nn.Linear(config.n_embd, config.dim_att, bias=False, dtype=dtype) self.value = nn.Linear(config.n_embd, config.dim_att, bias=False, dtype=dtype) self.output = nn.Linear(config.dim_att, config.n_embd, bias=False, dtype=dtype) self.gate = nn.Linear(config.n_embd, config.dim_att, bias=False, dtype=dtype) self.ln_x = nn.GroupNorm(self.n_head, config.dim_att, eps=(1e-5)*(config.head_size_divisor**2), dtype=torch.float32) @MyFunction def jit_func(self, x, start_pos, state): B, T, C = x.size() shifted = self.time_shift(x) for ids,i in enumerate(start_pos): # TODO 优化 shifted[0, i, :] = state[0][ids, :, self.layer_id] xx = shifted - x xxx = x + xx * self.time_maa_x xxx = torch.tanh(xxx @ self.time_maa_w1).view(B*T, 5, -1).transpose(0, 1) xxx = torch.bmm(xxx, self.time_maa_w2).view(5, B, T, -1) mw, mk, mv, mr, mg = xxx.unbind(dim=0) xw = x + xx * (self.time_maa_w + mw) xk = x + xx * (self.time_maa_k + mk) xv = x + xx * (self.time_maa_v + mv) xr = x + xx * (self.time_maa_r + mr) xg = x + xx * (self.time_maa_g + mg) r = self.receptance(xr) k = self.key(xk) v = self.value(xv) g = F.silu(self.gate(xg)) ww = torch.tanh(xw @ self.time_decay_w1) @ self.time_decay_w2 w = self.time_decay + ww for ids in range(len(start_pos)): # TODO 优化 if ids == len(start_pos)-1: state[0][ids, :, self.layer_id] = x[0, -1, :] else: state[0][ids, :, self.layer_id] = x[0, start_pos[ids+1]-1, :] return r, k, v, g, w def forward(self, x, seq_idx, start_pos, state): B, T, C = x.size() H = self.n_head dtype = x.dtype r, k, v, g, w = self.jit_func(x, start_pos, state) layer_state = state[1][:, :, :, :,self.layer_id].contiguous() x, state[1][:, :, :, :,self.layer_id] = continousChunkRWKV6.apply(B, T, C, H, layer_state,r, k, v, w, self.time_faaaa, seq_idx, HEAD_SIZE) x = x.view(B * T, C) x = self.ln_x(x).view(B, T, C).to(dtype) x = self.output(x * g) return x ######################################################################################################## class RWKV_CMix_x060(MyModule): def __init__(self, config, layer_id, dtype=torch.float32): super().__init__() self.config = config self.layer_id = layer_id self.time_shift = nn.ZeroPad2d((0, 0, 1, -1)) with torch.no_grad(): # fancy init of time_mix self.time_maa_k = nn.Parameter(torch.zeros(1, 1, config.n_embd,dtype=dtype)) self.time_maa_r = nn.Parameter(torch.zeros(1, 1, config.n_embd,dtype=dtype)) self.key = nn.Linear(config.n_embd, config.dim_ffn, bias=False,dtype=dtype) self.receptance = nn.Linear(config.n_embd, config.n_embd, bias=False,dtype=dtype) self.value = nn.Linear(config.dim_ffn, config.n_embd, bias=False,dtype=dtype) @MyFunction def forward(self, x, start_pos, state): shifted = self.time_shift(x) for ids,i in enumerate(start_pos): # TODO 优化 shifted[0, i, :] = state[2][ids, :, self.layer_id] xx = shifted - x xk = x + xx * self.time_maa_k xr = x + xx * self.time_maa_r k = self.key(xk) k = torch.relu(k) ** 2 kv = self.value(k) for ids in range(len(start_pos)): # TODO 优化 if ids == len(start_pos)-1: state[2][ids, :, self.layer_id] = x[0, -1, :] else: state[2][ids, :, self.layer_id] = x[0, start_pos[ids+1]-1, :] return torch.sigmoid(self.receptance(xr)) * kv ######################################################################################################## # The RWKV Model with our blocks ######################################################################################################## class Block(nn.Module): def __init__(self, config, layer_id,dtype=torch.float32): super().__init__() self.config = config self.layer_id = layer_id self.ln1 = nn.LayerNorm(config.n_embd, dtype=dtype) self.ln2 = nn.LayerNorm(config.n_embd, dtype=dtype) if self.layer_id == 0: self.ln0 = nn.LayerNorm(config.n_embd, dtype=dtype) self.att = RWKV_Tmix_x060(config, layer_id, dtype=dtype) self.ffn = RWKV_CMix_x060(config, layer_id, dtype=dtype) def forward(self, x, seq_idx, start_pos, states): if self.layer_id == 0: x = self.ln0(x) x = x + self.att(self.ln1(x), seq_idx, start_pos, states) x = x + self.ffn(self.ln2(x), start_pos, states) return x class RWKV6(nn.Module): def __init__(self, config,device,dtype=torch.bfloat16): super().__init__() self.config = config self.dtype=dtype self.device=device assert config.n_embd % 32 == 0 assert config.dim_att % 32 == 0 assert config.dim_ffn % 32 == 0 self.emb = nn.Embedding(config.vocab_size, config.n_embd, dtype=dtype) self.blocks = nn.ModuleList([Block(config, i, dtype=dtype) for i in range(config.n_layer)]) self.ln_out = nn.LayerNorm(config.n_embd, dtype=dtype) self.head = nn.Linear(config.n_embd, config.vocab_size, bias=False, dtype=dtype) global HEAD_SIZE HEAD_SIZE = config.head_size_a global continous_chunk_rwkv6 dir_path = os.path.dirname(os.path.abspath(__file__)) if torch.version.cuda is not None: continous_chunk_rwkv6 = load(name="continous_chunk_rwkv6", sources=[f"{dir_path}/cuda/continous_rwkv6_op.cpp", f"{dir_path}/cuda/continous_rwkv6.cu", f"{dir_path}/cuda/continous_inter.cu"], # cuda verbose=True, extra_cuda_cflags=["-res-usage", "--use_fast_math", "-O3", "--extra-device-vectorization", f"-D_N_={HEAD_SIZE}", f"-D_T_={4096}"]) elif torch.version.hip is not None: continous_chunk_rwkv6 = load(name="continous_chunk_rwkv6", sources=[f"{dir_path}/cuda/continous_rwkv6_op.cpp", f"{dir_path}/cuda/continous_rwkv6.cu", f"{dir_path}/cuda/continous_inter.cu"], # rocm verbose=True, extra_cuda_cflags=["-O3", f"-D_N_={HEAD_SIZE}", f"-D_T_={4096}"]) else: raise NotImplementedError("Only support CUDA and ROCm") def empty_states(self,B=1): state = [] state.append( torch.zeros( (B, self.config.n_embd, self.config.n_layer), dtype=self.dtype, requires_grad=False, device=self.device, ).contiguous() ) state.append( torch.zeros( ( B, self.config.dim_att // self.config.head_size_a, self.config.head_size_a, self.config.head_size_a, self.config.n_layer,# 不连续会有问题 ), dtype=torch.float32, requires_grad=False, device=self.device, ).contiguous() ) state.append( torch.zeros( (B, self.config.n_embd, self.config.n_layer), dtype=self.dtype, requires_grad=False, device=self.device, ).contiguous() ) return state def forward(self, input_ids, seq_idx, state): # seq_idx: 每个位置属于哪个序列 # state定义与hf的rwkv5一致 # 训练时不用cache B, T = input_ids.size() assert B == 1, "Batch size should be 1 in continous batching mode" x = self.emb(input_ids) start_pos = [] for ids in range(seq_idx.shape[1]): if ids == 0: start_pos.append(0) elif seq_idx[0,ids] != seq_idx[0,ids-1]: start_pos.append(ids) for i,block in enumerate(self.blocks): x = block(x, seq_idx, start_pos, state) if self.config.RESCALE_LAYER>0 and (i+1)%self.config.RESCALE_LAYER==0: x=x/2 x = self.ln_out(x) x = self.head(x) out_x = [] for ids in range(len(start_pos)): if ids == len(start_pos)-1: out_x.append(x[0, -1, :]) else: out_x.append(x[0, start_pos[ids+1]-1, :]) out_x = torch.stack(out_x,dim=0) re = types.SimpleNamespace() re.logits = out_x re.state = state return re @staticmethod def from_pretrained(model_path, device="cuda",dtype=torch.bfloat16): w = torch.load(model_path, map_location="cpu") config = types.SimpleNamespace() config.vocab_size = w['emb.weight'].shape[0] config.n_embd = w['emb.weight'].shape[1] config.dim_ffn = w['blocks.0.ffn.key.weight'].shape[0] config.head_size_a = w['blocks.0.att.time_faaaa'].shape[1] config.n_layer = 0 config.dim_att = w['blocks.0.att.receptance.weight'].shape[1] config.head_size_divisor = 8 # default value in https://github.com/BlinkDL/RWKV-LM/blob/main/RWKV-v5/train.py config.RESCALE_LAYER = 6 if dtype==torch.float16 else 0 # Rescale for fp16 mode: set x = x/2 every X layer (to avoid fp16 overflow) # TODO:转换 assert '_strategy' not in w,"应使用未经转化的模型" for x in list(w.keys()): w[x].requires_grad = False layer_id = int(x.split('.')[1]) if ('blocks.' in x) else 0 config.n_layer = max(config.n_layer,layer_id+1) if config.RESCALE_LAYER > 0: if 'att.output.weight' in x: w[x] = w[x] / (2 ** int(layer_id // config.RESCALE_LAYER)) if 'ffn.value.weight' in x: w[x] = w[x] / (2 ** int(layer_id // config.RESCALE_LAYER)) model = RWKV6(config,device=device,dtype=dtype) model.load_state_dict(w) model.to(model.device) return model if __name__ == '__main__': prompt_parts = [ [ "何为指令集调度", "通过调整重排指令集的执行(顺序),提升指令的并行性", "避免非法或者模糊语义的操作,保证正确性(如相关等)", ], [ "指令集调度实现", "静态调度-编译器优化(如分支)", "动态调度-硬件实现(记分牌、Tomasulo)", ], [ "Superscalar: 每个时钟周期发射2条指令,1条FP指令和1条其他指令", "每个时钟周期取64位; 左边为Int , 右边为FP 只有第一条指令发射了,才能发射第二条 需要更多的寄存器端口,因为如果两条指令中第一条指令是对FP的", "load操作(通过整数部件完成),另一条指令为浮点操作指令,则都会有对浮点寄存器文件的操作", ], ] prompts = [] for parts in prompt_parts: prompt = "" for part in parts: prompt += part prompts.append(prompt) from tokenizer.tokenization_rwkv_world import RWKVWorldTokenizer tokenizer = RWKVWorldTokenizer(vocab_file=r"D:\rwkv_input\tokenizer\rwkv_vocab_v20230424.txt") model = RWKV6.from_pretrained(r"D:\rwkv_input\model\rwkv6\RWKV-x060-World-1B6-v2.1-20240328-ctx4096.pth",dtype=torch.float16) states = model.empty_states(B=len(prompts)) with torch.no_grad(): for i in range(len(prompt_parts[0])): prompt = [j[i] for j in prompt_parts] input_ids, seq_idx = tokenizer.continous_encode(prompt) re = model(input_ids.to(model.device), seq_idx.to(model.device), states) log1 = re.logits model = None torch.cuda.empty_cache() from rwkv.model import RWKV model = RWKV(model=r"D:\rwkv_input\model\rwkv6\RWKV-x060-World-1B6-v2.1-20240328-ctx4096.pth", strategy='cuda fp16') log2 = [] with torch.no_grad(): for i,prompt in enumerate(prompts): input_ids = tokenizer.encode(prompt) out, state = model.forward(input_ids, None) print((out-log1[i]).abs().max())
15,029
model
py
de
python
code
{"qsc_code_num_words": 2050, "qsc_code_num_chars": 15029.0, "qsc_code_mean_word_length": 3.96243902, "qsc_code_frac_words_unique": 0.15609756, "qsc_code_frac_chars_top_2grams": 0.03188477, "qsc_code_frac_chars_top_3grams": 0.04062538, "qsc_code_frac_chars_top_4grams": 0.03619352, "qsc_code_frac_chars_dupe_5grams": 0.48627354, "qsc_code_frac_chars_dupe_6grams": 0.41942632, "qsc_code_frac_chars_dupe_7grams": 0.36649021, "qsc_code_frac_chars_dupe_8grams": 0.33263573, "qsc_code_frac_chars_dupe_9grams": 0.29619599, "qsc_code_frac_chars_dupe_10grams": 0.26381879, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0231681, "qsc_code_frac_chars_whitespace": 0.25903254, "qsc_code_size_file_byte": 15029.0, "qsc_code_num_lines": 366.0, "qsc_code_num_chars_line_max": 209.0, "qsc_code_num_chars_line_mean": 41.06284153, "qsc_code_frac_chars_alphabet": 0.70626796, "qsc_code_frac_chars_comments": 0.03579746, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.2662116, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.00682594, "qsc_code_frac_chars_string_length": 0.08588064, "qsc_code_frac_chars_long_word_length": 0.05254731, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.00273224, "qsc_code_frac_lines_assert": 0.02047782, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.04095563, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.03412969, "qsc_codepython_frac_lines_simplefunc": 0.0034129692832764505, "qsc_codepython_score_lines_no_logic": 0.11604096, "qsc_codepython_frac_lines_print": 0.00682594}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
00jacs/sveltekit-ultrafast
src/routes/+layout.ts
import type { LayoutLoad } from './$types'; import { createBrowserClient, createServerClient, isBrowser, parse } from '@supabase/ssr'; import { PUBLIC_SUPABASE_ANON_KEY, PUBLIC_SUPABASE_URL } from '$env/static/public'; export const load: LayoutLoad = async ({ data, depends, fetch }) => { /** * Declare a dependency so the layout can be invalidated, for example, on * session refresh. */ depends('supabase:auth'); /** * Creates a Supabase client specific to this server request. * The Supabase client gets the Auth token from the request cookies. */ const supabase = isBrowser() ? createBrowserClient(PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY, { global: { fetch }, cookies: { get(key) { const cookie = parse(document.cookie); return cookie[key]; } } }) : createServerClient(PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY, { global: { fetch }, cookies: { get() { return JSON.stringify(data.session); } } }); /** * It's fine to use `getSession` here, because on the client, `getSession` is * safe, and on the server, it reads `session` from the `LayoutData`, which * safely checked the session using `safeGetSession`. */ const { data: { session } } = await supabase.auth.getSession(); const { data: { user } } = await supabase.auth.getUser(); return { session, supabase, user, theme: data.theme }; };
1,431
+layout
ts
en
typescript
code
{"qsc_code_num_words": 163, "qsc_code_num_chars": 1431.0, "qsc_code_mean_word_length": 5.6993865, "qsc_code_frac_words_unique": 0.47239264, "qsc_code_frac_chars_top_2grams": 0.09041981, "qsc_code_frac_chars_top_3grams": 0.05812702, "qsc_code_frac_chars_top_4grams": 0.06781485, "qsc_code_frac_chars_dupe_5grams": 0.1270183, "qsc_code_frac_chars_dupe_6grams": 0.1270183, "qsc_code_frac_chars_dupe_7grams": 0.1270183, "qsc_code_frac_chars_dupe_8grams": 0.1270183, "qsc_code_frac_chars_dupe_9grams": 0.1270183, "qsc_code_frac_chars_dupe_10grams": 0.1270183, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0, "qsc_code_frac_chars_whitespace": 0.21942697, "qsc_code_size_file_byte": 1431.0, "qsc_code_num_lines": 53.0, "qsc_code_num_chars_line_max": 91.0, "qsc_code_num_chars_line_mean": 27.0, "qsc_code_frac_chars_alphabet": 0.83169203, "qsc_code_frac_chars_comments": 0.32424878, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.22857143, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.05377456, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_tileview.h
/** * @file lv_tileview.h * */ #ifndef LV_TILEVIEW_H #define LV_TILEVIEW_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #if LV_USE_TILEVIEW != 0 #include "../lv_widgets/lv_page.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /*Data of tileview*/ typedef struct { lv_page_ext_t page; /*New data for this type */ const lv_point_t * valid_pos; uint16_t valid_pos_cnt; #if LV_USE_ANIMATION uint16_t anim_time; #endif lv_point_t act_id; uint8_t drag_top_en : 1; uint8_t drag_bottom_en : 1; uint8_t drag_left_en : 1; uint8_t drag_right_en : 1; } lv_tileview_ext_t; /*Parts of the Tileview*/ enum { LV_TILEVIEW_PART_BG = LV_PAGE_PART_BG, LV_TILEVIEW_PART_SCROLLBAR = LV_PAGE_PART_SCROLLBAR, LV_TILEVIEW_PART_EDGE_FLASH = LV_PAGE_PART_EDGE_FLASH, _LV_TILEVIEW_PART_VIRTUAL_LAST = _LV_PAGE_PART_VIRTUAL_LAST, _LV_TILEVIEW_PART_REAL_LAST = _LV_PAGE_PART_REAL_LAST }; /********************** * GLOBAL PROTOTYPES **********************/ /** * Create a tileview objects * @param par pointer to an object, it will be the parent of the new tileview * @param copy pointer to a tileview object, if not NULL then the new object will be copied from it * @return pointer to the created tileview */ lv_obj_t * lv_tileview_create(lv_obj_t * par, const lv_obj_t * copy); /*====================== * Add/remove functions *=====================*/ /** * Register an object on the tileview. The register object will able to slide the tileview * @param tileview pointer to a Tileview object * @param element pointer to an object */ void lv_tileview_add_element(lv_obj_t * tileview, lv_obj_t * element); /*===================== * Setter functions *====================*/ /** * Set the valid position's indices. The scrolling will be possible only to these positions. * @param tileview pointer to a Tileview object * @param valid_pos array width the indices. E.g. `lv_point_t p[] = {{0,0}, {1,0}, {1,1}`. * Only the pointer is saved so can't be a local variable. * @param valid_pos_cnt number of elements in `valid_pos` array */ void lv_tileview_set_valid_positions(lv_obj_t * tileview, const lv_point_t valid_pos[], uint16_t valid_pos_cnt); /** * Set the tile to be shown * @param tileview pointer to a tileview object * @param x column id (0, 1, 2...) * @param y line id (0, 1, 2...) * @param anim LV_ANIM_ON: set the value with an animation; LV_ANIM_OFF: change the value immediately */ void lv_tileview_set_tile_act(lv_obj_t * tileview, lv_coord_t x, lv_coord_t y, lv_anim_enable_t anim); /** * Enable the edge flash effect. (Show an arc when the an edge is reached) * @param tileview pointer to a Tileview * @param en true or false to enable/disable end flash */ static inline void lv_tileview_set_edge_flash(lv_obj_t * tileview, bool en) { lv_page_set_edge_flash(tileview, en); } /** * Set the animation time for the Tile view * @param tileview pointer to a page object * @param anim_time animation time in milliseconds */ static inline void lv_tileview_set_anim_time(lv_obj_t * tileview, uint16_t anim_time) { lv_page_set_anim_time(tileview, anim_time); } /*===================== * Getter functions *====================*/ /** * Get the tile to be shown * @param tileview pointer to a tileview object * @param x column id (0, 1, 2...) * @param y line id (0, 1, 2...) */ void lv_tileview_get_tile_act(lv_obj_t * tileview, lv_coord_t * x, lv_coord_t * y); /** * Get the scroll propagation property * @param tileview pointer to a Tileview * @return true or false */ static inline bool lv_tileview_get_edge_flash(lv_obj_t * tileview) { return lv_page_get_edge_flash(tileview); } /** * Get the animation time for the Tile view * @param tileview pointer to a page object * @return animation time in milliseconds */ static inline uint16_t lv_tileview_get_anim_time(lv_obj_t * tileview) { return lv_page_get_anim_time(tileview); } /*===================== * Other functions *====================*/ /********************** * MACROS **********************/ #endif /*LV_USE_TILEVIEW*/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_TILEVIEW_H*/
4,353
lv_tileview
h
en
c
code
{"qsc_code_num_words": 649, "qsc_code_num_chars": 4353.0, "qsc_code_mean_word_length": 4.09707242, "qsc_code_frac_words_unique": 0.23882897, "qsc_code_frac_chars_top_2grams": 0.07145543, "qsc_code_frac_chars_top_3grams": 0.02707785, "qsc_code_frac_chars_top_4grams": 0.0661903, "qsc_code_frac_chars_dupe_5grams": 0.36780745, "qsc_code_frac_chars_dupe_6grams": 0.3166604, "qsc_code_frac_chars_dupe_7grams": 0.22339225, "qsc_code_frac_chars_dupe_8grams": 0.22339225, "qsc_code_frac_chars_dupe_9grams": 0.16998872, "qsc_code_frac_chars_dupe_10grams": 0.16998872, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01024647, "qsc_code_frac_chars_whitespace": 0.17045716, "qsc_code_size_file_byte": 4353.0, "qsc_code_num_lines": 164.0, "qsc_code_num_chars_line_max": 113.0, "qsc_code_num_chars_line_mean": 26.54268293, "qsc_code_frac_chars_alphabet": 0.72611465, "qsc_code_frac_chars_comments": 0.58189754, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.12962963, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.02472527, "qsc_code_frac_chars_long_word_length": 0.02417582, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.2037037, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.24074074, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_canvas.c
/** * @file lv_canvas.c * */ /********************* * INCLUDES *********************/ #include <stdlib.h> #include "lv_canvas.h" #include "../lv_misc/lv_debug.h" #include "../lv_misc/lv_math.h" #include "../lv_draw/lv_draw.h" #include "../lv_core/lv_refr.h" #include "../lv_themes/lv_theme.h" #if LV_USE_CANVAS != 0 /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_canvas" /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_res_t lv_canvas_signal(lv_obj_t * canvas, lv_signal_t sign, void * param); static void set_set_px_cb(lv_disp_drv_t * disp_drv, lv_img_cf_t cf); static void set_px_true_color_alpha(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa); static void set_px_cb_alpha1(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa); static void set_px_cb_alpha2(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa); static void set_px_cb_alpha4(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa); static void set_px_cb_alpha8(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa); static void set_px_alpha_generic(lv_img_dsc_t * d, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa); /********************** * STATIC VARIABLES **********************/ static lv_signal_cb_t ancestor_signal; static lv_design_cb_t ancestor_design; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a canvas object * @param par pointer to an object, it will be the parent of the new canvas * @param copy pointer to a canvas object, if not NULL then the new object will be copied from it * @return pointer to the created canvas */ lv_obj_t * lv_canvas_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("canvas create started"); /*Create the ancestor of canvas*/ lv_obj_t * new_canvas = lv_img_create(par, copy); LV_ASSERT_MEM(new_canvas); if(new_canvas == NULL) return NULL; /*Allocate the canvas type specific extended data*/ lv_canvas_ext_t * ext = lv_obj_allocate_ext_attr(new_canvas, sizeof(lv_canvas_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(new_canvas); return NULL; } if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(new_canvas); if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(new_canvas); /*Initialize the allocated 'ext' */ ext->dsc.header.always_zero = 0; ext->dsc.header.cf = LV_IMG_CF_TRUE_COLOR; ext->dsc.header.h = 0; ext->dsc.header.w = 0; ext->dsc.data_size = 0; ext->dsc.data = NULL; lv_img_set_src(new_canvas, &ext->dsc); /*The signal and design functions are not copied so set them here*/ lv_obj_set_signal_cb(new_canvas, lv_canvas_signal); /*Init the new canvas canvas*/ if(copy == NULL) { lv_theme_apply(new_canvas, LV_THEME_CANVAS); } /*Copy an existing canvas*/ else { /*Do not copy the image data because each canvas needs it's own buffer*/ } LV_LOG_INFO("canvas created"); return new_canvas; } /*===================== * Setter functions *====================*/ /** * Set a buffer for the canvas. * @param buf a buffer where the content of the canvas will be. * The required size is (lv_img_color_format_get_px_size(cf) * w * h) / 8) * It can be allocated with `lv_mem_alloc()` or * it can be statically allocated array (e.g. static lv_color_t buf[100*50]) or * it can be an address in RAM or external SRAM * @param canvas pointer to a canvas object * @param w width of the canvas * @param h height of the canvas * @param cf color format. The following formats are supported: * LV_IMG_CF_TRUE_COLOR, LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED, LV_IMG_CF_INDEXES_1/2/4/8BIT * */ void lv_canvas_set_buffer(lv_obj_t * canvas, void * buf, lv_coord_t w, lv_coord_t h, lv_img_cf_t cf) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); LV_ASSERT_NULL(buf); lv_canvas_ext_t * ext = lv_obj_get_ext_attr(canvas); ext->dsc.header.cf = cf; ext->dsc.header.w = w; ext->dsc.header.h = h; ext->dsc.data = buf; lv_img_set_src(canvas, &ext->dsc); } /** * Set the color of a pixel on the canvas * @param canvas pointer to canvas object * @param x x coordinate of the point to set * @param y x coordinate of the point to set * @param c color of the point */ void lv_canvas_set_px(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_color_t c) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_canvas_ext_t * ext = lv_obj_get_ext_attr(canvas); lv_img_buf_set_px_color(&ext->dsc, x, y, c); lv_obj_invalidate(canvas); } /** * Set the palette color of a canvas with index format. Valid only for `LV_IMG_CF_INDEXED1/2/4/8` * @param canvas pointer to canvas object * @param id the palette color to set: * - for `LV_IMG_CF_INDEXED1`: 0..1 * - for `LV_IMG_CF_INDEXED2`: 0..3 * - for `LV_IMG_CF_INDEXED4`: 0..15 * - for `LV_IMG_CF_INDEXED8`: 0..255 * @param c the color to set */ void lv_canvas_set_palette(lv_obj_t * canvas, uint8_t id, lv_color_t c) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_canvas_ext_t * ext = lv_obj_get_ext_attr(canvas); lv_img_buf_set_palette(&ext->dsc, id, c); lv_obj_invalidate(canvas); } /*===================== * Getter functions *====================*/ /** * Get the color of a pixel on the canvas * @param canvas * @param x x coordinate of the point to set * @param y x coordinate of the point to set * @return color of the point */ lv_color_t lv_canvas_get_px(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_canvas_ext_t * ext = lv_obj_get_ext_attr(canvas); lv_color_t color = lv_obj_get_style_image_recolor(canvas, LV_CANVAS_PART_MAIN); return lv_img_buf_get_px_color(&ext->dsc, x, y, color); } /** * Get the image of the canvas as a pointer to an `lv_img_dsc_t` variable. * @param canvas pointer to a canvas object * @return pointer to the image descriptor. */ lv_img_dsc_t * lv_canvas_get_img(lv_obj_t * canvas) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_canvas_ext_t * ext = lv_obj_get_ext_attr(canvas); return &ext->dsc; } /*===================== * Other functions *====================*/ /** * Copy a buffer to the canvas * @param canvas pointer to a canvas object * @param to_copy buffer to copy. The color format has to match with the canvas's buffer color * format * @param w width of the buffer to copy * @param h height of the buffer to copy * @param x left side of the destination position * @param y top side of the destination position */ void lv_canvas_copy_buf(lv_obj_t * canvas, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); LV_ASSERT_NULL(to_copy); lv_canvas_ext_t * ext = lv_obj_get_ext_attr(canvas); if(x + w >= (lv_coord_t)ext->dsc.header.w || y + h >= (lv_coord_t)ext->dsc.header.h) { LV_LOG_WARN("lv_canvas_copy_buf: x or y out of the canvas"); return; } uint32_t px_size = lv_img_cf_get_px_size(ext->dsc.header.cf) >> 3; uint32_t px = ext->dsc.header.w * y * px_size + x * px_size; uint8_t * to_copy8 = (uint8_t *)to_copy; lv_coord_t i; for(i = 0; i < h; i++) { _lv_memcpy((void *)&ext->dsc.data[px], to_copy8, w * px_size); px += ext->dsc.header.w * px_size; to_copy8 += w * px_size; } } /** * Transform and image and store the result on a canvas. * @param canvas pointer to a canvas object to store the result of the transformation. * @param img pointer to an image descriptor to transform. * Can be the image descriptor of an other canvas too (`lv_canvas_get_img()`). * @param angle the angle of rotation (0..3600), 0.1 deg resolution * @param zoom zoom factor (256 no zoom); * @param offset_x offset X to tell where to put the result data on destination canvas * @param offset_y offset X to tell where to put the result data on destination canvas * @param pivot_x pivot X of rotation. Relative to the source canvas * Set to `source width / 2` to rotate around the center * @param pivot_y pivot Y of rotation. Relative to the source canvas * Set to `source height / 2` to rotate around the center * @param antialias apply anti-aliasing during the transformation. Looks better but slower. */ void lv_canvas_transform(lv_obj_t * canvas, lv_img_dsc_t * img, int16_t angle, uint16_t zoom, lv_coord_t offset_x, lv_coord_t offset_y, int32_t pivot_x, int32_t pivot_y, bool antialias) { #if LV_USE_IMG_TRANSFORM LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); LV_ASSERT_NULL(img); lv_canvas_ext_t * ext_dst = lv_obj_get_ext_attr(canvas); lv_color_t color = lv_obj_get_style_image_recolor(canvas, LV_CANVAS_PART_MAIN); int32_t dest_width = ext_dst->dsc.header.w; int32_t dest_height = ext_dst->dsc.header.h; int32_t x; int32_t y; bool ret; lv_img_transform_dsc_t dsc; dsc.cfg.angle = angle; dsc.cfg.zoom = zoom; dsc.cfg.src = img->data; dsc.cfg.src_w = img->header.w; dsc.cfg.src_h = img->header.h; dsc.cfg.cf = img->header.cf; dsc.cfg.pivot_x = pivot_x; dsc.cfg.pivot_y = pivot_y; dsc.cfg.color = color; dsc.cfg.antialias = antialias; _lv_img_buf_transform_init(&dsc); for(y = -offset_y; y < dest_height - offset_y; y++) { for(x = -offset_x; x < dest_width - offset_x; x++) { ret = _lv_img_buf_transform(&dsc, x, y); if(ret == false) continue; if(x + offset_x >= 0 && x + offset_x < dest_width && y + offset_y >= 0 && y + offset_y < dest_height) { /*If the image has no alpha channel just simple set the result color on the canvas*/ if(lv_img_cf_has_alpha(img->header.cf) == false) { lv_img_buf_set_px_color(&ext_dst->dsc, x + offset_x, y + offset_y, dsc.res.color); } else { lv_color_t bg_color = lv_img_buf_get_px_color(&ext_dst->dsc, x + offset_x, y + offset_y, dsc.cfg.color); /*If the canvas has no alpha but the image has mix the image's color with * canvas*/ if(lv_img_cf_has_alpha(ext_dst->dsc.header.cf) == false) { if(dsc.res.opa < LV_OPA_MAX) dsc.res.color = lv_color_mix(dsc.res.color, bg_color, dsc.res.opa); lv_img_buf_set_px_color(&ext_dst->dsc, x + offset_x, y + offset_y, dsc.res.color); } /*Both the image and canvas has alpha channel. Some extra calculation is required*/ else { lv_opa_t bg_opa = lv_img_buf_get_px_alpha(&ext_dst->dsc, x + offset_x, y + offset_y); /* Pick the foreground if it's fully opaque or the Background is fully * transparent*/ if(dsc.res.opa >= LV_OPA_MAX || bg_opa <= LV_OPA_MIN) { lv_img_buf_set_px_color(&ext_dst->dsc, x + offset_x, y + offset_y, dsc.res.color); lv_img_buf_set_px_alpha(&ext_dst->dsc, x + offset_x, y + offset_y, dsc.res.opa); } /*Opaque background: use simple mix*/ else if(bg_opa >= LV_OPA_MAX) { lv_img_buf_set_px_color(&ext_dst->dsc, x + offset_x, y + offset_y, lv_color_mix(dsc.res.color, bg_color, dsc.res.opa)); } /*Both colors have alpha. Expensive calculation need to be applied*/ else { /*Info: * https://en.wikipedia.org/wiki/Alpha_compositing#Analytical_derivation_of_the_over_operator*/ lv_opa_t opa_res_2 = 255 - ((uint16_t)((uint16_t)(255 - dsc.res.opa) * (255 - bg_opa)) >> 8); if(opa_res_2 == 0) { opa_res_2 = 1; /*never happens, just to be sure*/ } lv_opa_t ratio = (uint16_t)((uint16_t)dsc.res.opa * 255) / opa_res_2; lv_img_buf_set_px_color(&ext_dst->dsc, x + offset_x, y + offset_y, lv_color_mix(dsc.res.color, bg_color, ratio)); lv_img_buf_set_px_alpha(&ext_dst->dsc, x + offset_x, y + offset_y, opa_res_2); } } } } } } lv_obj_invalidate(canvas); #else LV_UNUSED(canvas); LV_UNUSED(img); LV_UNUSED(angle); LV_UNUSED(zoom); LV_UNUSED(offset_x); LV_UNUSED(offset_y); LV_UNUSED(pivot_x); LV_UNUSED(pivot_y); LV_UNUSED(antialias); LV_LOG_WARN("LV_USE_IMG_TRANSFORM is disabled in lv_conf.h"); #endif } /** * Apply horizontal blur on the canvas * @param canvas pointer to a canvas object * @param area the area to blur. If `NULL` the whole canvas will be blurred. * @param r radius of the blur */ void lv_canvas_blur_hor(lv_obj_t * canvas, const lv_area_t * area, uint16_t r) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); if(r == 0) return; lv_canvas_ext_t * ext = lv_obj_get_ext_attr(canvas); lv_area_t a; if(area) { lv_area_copy(&a, area); if(a.x1 < 0) a.x1 = 0; if(a.y1 < 0) a.y1 = 0; if(a.x2 > ext->dsc.header.w - 1) a.x2 = ext->dsc.header.w - 1; if(a.y2 > ext->dsc.header.h - 1) a.y2 = ext->dsc.header.h - 1; } else { a.x1 = 0; a.y1 = 0; a.x2 = ext->dsc.header.w - 1; a.y2 = ext->dsc.header.h - 1; } lv_color_t color = lv_obj_get_style_image_recolor(canvas, LV_CANVAS_PART_MAIN); uint16_t r_back = r / 2; uint16_t r_front = r / 2; if((r & 0x1) == 0) r_back--; bool has_alpha = lv_img_cf_has_alpha(ext->dsc.header.cf); lv_coord_t line_w = lv_img_buf_get_img_size(ext->dsc.header.w, 1, ext->dsc.header.cf); uint8_t * line_buf = _lv_mem_buf_get(line_w); lv_img_dsc_t line_img; line_img.data = line_buf; line_img.header.always_zero = 0; line_img.header.w = ext->dsc.header.w; line_img.header.h = 1; line_img.header.cf = ext->dsc.header.cf; lv_coord_t x; lv_coord_t y; lv_coord_t x_safe; for(y = a.y1; y <= a.y2; y++) { uint32_t asum = 0; uint32_t rsum = 0; uint32_t gsum = 0; uint32_t bsum = 0; lv_color_t c; lv_opa_t opa = LV_OPA_TRANSP; _lv_memcpy(line_buf, &ext->dsc.data[y * line_w], line_w); for(x = a.x1 - r_back; x <= a.x1 + r_front; x++) { x_safe = x < 0 ? 0 : x; x_safe = x_safe > ext->dsc.header.w - 1 ? ext->dsc.header.w - 1 : x_safe; c = lv_img_buf_get_px_color(&line_img, x_safe, 0, color); if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); rsum += c.ch.red; #if LV_COLOR_DEPTH == 16 && LV_COLOR_16_SWAP gsum += (c.ch.green_h << 3) + c.ch.green_l; #else gsum += c.ch.green; #endif bsum += c.ch.blue; if(has_alpha) asum += opa; } /*Just to indicate that the px is visible*/ if(has_alpha == false) asum = LV_OPA_COVER; for(x = a.x1; x <= a.x2; x++) { if(asum) { c.ch.red = rsum / r; #if LV_COLOR_DEPTH == 16 && LV_COLOR_16_SWAP uint8_t gtmp = gsum / r; c.ch.green_h = gtmp >> 3; c.ch.green_l = gtmp & 0x7; #else c.ch.green = gsum / r; #endif c.ch.blue = bsum / r; if(has_alpha) opa = asum / r; lv_img_buf_set_px_color(&ext->dsc, x, y, c); } if(has_alpha) lv_img_buf_set_px_alpha(&ext->dsc, x, y, opa); x_safe = x - r_back; x_safe = x_safe < 0 ? 0 : x_safe; c = lv_img_buf_get_px_color(&line_img, x_safe, 0, color); if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); rsum -= c.ch.red; #if LV_COLOR_DEPTH == 16 && LV_COLOR_16_SWAP gsum -= (c.ch.green_h << 3) + c.ch.green_l; #else gsum -= c.ch.green; #endif bsum -= c.ch.blue; if(has_alpha) asum -= opa; x_safe = x + 1 + r_front; x_safe = x_safe > ext->dsc.header.w - 1 ? ext->dsc.header.w - 1 : x_safe; c = lv_img_buf_get_px_color(&line_img, x_safe, 0, LV_COLOR_RED); if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); rsum += c.ch.red; #if LV_COLOR_DEPTH == 16 && LV_COLOR_16_SWAP gsum += (c.ch.green_h << 3) + c.ch.green_l; #else gsum += c.ch.green; #endif bsum += c.ch.blue; if(has_alpha) asum += opa; } } lv_obj_invalidate(canvas); _lv_mem_buf_release(line_buf); } /** * Apply vertical blur on the canvas * @param canvas pointer to a canvas object * @param area the area to blur. If `NULL` the whole canvas will be blurred. * @param r radius of the blur */ void lv_canvas_blur_ver(lv_obj_t * canvas, const lv_area_t * area, uint16_t r) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); if(r == 0) return; lv_canvas_ext_t * ext = lv_obj_get_ext_attr(canvas); lv_area_t a; if(area) { lv_area_copy(&a, area); if(a.x1 < 0) a.x1 = 0; if(a.y1 < 0) a.y1 = 0; if(a.x2 > ext->dsc.header.w - 1) a.x2 = ext->dsc.header.w - 1; if(a.y2 > ext->dsc.header.h - 1) a.y2 = ext->dsc.header.h - 1; } else { a.x1 = 0; a.y1 = 0; a.x2 = ext->dsc.header.w - 1; a.y2 = ext->dsc.header.h - 1; } lv_color_t color = lv_obj_get_style_image_recolor(canvas, LV_CANVAS_PART_MAIN); uint16_t r_back = r / 2; uint16_t r_front = r / 2; if((r & 0x1) == 0) r_back--; bool has_alpha = lv_img_cf_has_alpha(ext->dsc.header.cf); lv_coord_t col_w = lv_img_buf_get_img_size(1, ext->dsc.header.h, ext->dsc.header.cf); uint8_t * col_buf = _lv_mem_buf_get(col_w); lv_img_dsc_t line_img; line_img.data = col_buf; line_img.header.always_zero = 0; line_img.header.w = 1; line_img.header.h = ext->dsc.header.h; line_img.header.cf = ext->dsc.header.cf; lv_coord_t x; lv_coord_t y; lv_coord_t y_safe; for(x = a.x1; x <= a.x2; x++) { uint32_t asum = 0; uint32_t rsum = 0; uint32_t gsum = 0; uint32_t bsum = 0; lv_color_t c; lv_opa_t opa = LV_OPA_COVER; for(y = a.y1 - r_back; y <= a.y1 + r_front; y++) { y_safe = y < 0 ? 0 : y; y_safe = y_safe > ext->dsc.header.h - 1 ? ext->dsc.header.h - 1 : y_safe; c = lv_img_buf_get_px_color(&ext->dsc, x, y_safe, color); if(has_alpha) opa = lv_img_buf_get_px_alpha(&ext->dsc, x, y_safe); lv_img_buf_set_px_color(&line_img, 0, y_safe, c); if(has_alpha) lv_img_buf_set_px_alpha(&line_img, 0, y_safe, opa); rsum += c.ch.red; #if LV_COLOR_DEPTH == 16 && LV_COLOR_16_SWAP gsum += (c.ch.green_h << 3) + c.ch.green_l; #else gsum += c.ch.green; #endif bsum += c.ch.blue; if(has_alpha) asum += opa; } /*Just to indicate that the px is visible*/ if(has_alpha == false) asum = LV_OPA_COVER; for(y = a.y1; y <= a.y2; y++) { if(asum) { c.ch.red = rsum / r; #if LV_COLOR_DEPTH == 16 && LV_COLOR_16_SWAP uint8_t gtmp = gsum / r; c.ch.green_h = gtmp >> 3; c.ch.green_l = gtmp & 0x7; #else c.ch.green = gsum / r; #endif c.ch.blue = bsum / r; if(has_alpha) opa = asum / r; lv_img_buf_set_px_color(&ext->dsc, x, y, c); } if(has_alpha) lv_img_buf_set_px_alpha(&ext->dsc, x, y, opa); y_safe = y - r_back; y_safe = y_safe < 0 ? 0 : y_safe; c = lv_img_buf_get_px_color(&line_img, 0, y_safe, color); if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, 0, y_safe); rsum -= c.ch.red; #if LV_COLOR_DEPTH == 16 && LV_COLOR_16_SWAP gsum -= (c.ch.green_h << 3) + c.ch.green_l; #else gsum -= c.ch.green; #endif bsum -= c.ch.blue; if(has_alpha) asum -= opa; y_safe = y + 1 + r_front; y_safe = y_safe > ext->dsc.header.h - 1 ? ext->dsc.header.h - 1 : y_safe; c = lv_img_buf_get_px_color(&ext->dsc, x, y_safe, color); if(has_alpha) opa = lv_img_buf_get_px_alpha(&ext->dsc, x, y_safe); lv_img_buf_set_px_color(&line_img, 0, y_safe, c); if(has_alpha) lv_img_buf_set_px_alpha(&line_img, 0, y_safe, opa); rsum += c.ch.red; #if LV_COLOR_DEPTH == 16 && LV_COLOR_16_SWAP gsum += (c.ch.green_h << 3) + c.ch.green_l; #else gsum += c.ch.green; #endif bsum += c.ch.blue; if(has_alpha) asum += opa; } } lv_obj_invalidate(canvas); _lv_mem_buf_release(col_buf); } /** * Fill the canvas with color * @param canvas pointer to a canvas * @param color the background color * @param opa the desired opacity */ void lv_canvas_fill_bg(lv_obj_t * canvas, lv_color_t color, lv_opa_t opa) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); if(dsc->header.cf == LV_IMG_CF_INDEXED_1BIT) { uint32_t row_byte_cnt = (dsc->header.w + 7) >> 3; /*+8 skip the palette*/ _lv_memset((uint8_t *)dsc->data + 8, color.full ? 0xff : 0x00, row_byte_cnt * dsc->header.h); } else if(dsc->header.cf == LV_IMG_CF_ALPHA_1BIT) { uint32_t row_byte_cnt = (dsc->header.w + 7) >> 3; _lv_memset((uint8_t *)dsc->data, opa > LV_OPA_50 ? 0xff : 0x00, row_byte_cnt * dsc->header.h); } else { uint32_t x; uint32_t y; for(y = 0; y < dsc->header.h; y++) { for(x = 0; x < dsc->header.w; x++) { lv_img_buf_set_px_color(dsc, x, y, color); lv_img_buf_set_px_alpha(dsc, x, y, opa); } } } lv_obj_invalidate(canvas); } /** * Draw a rectangle on the canvas * @param canvas pointer to a canvas object * @param x left coordinate of the rectangle * @param y top coordinate of the rectangle * @param w width of the rectangle * @param h height of the rectangle * @param rect_dsc descriptor of the rectangle */ void lv_canvas_draw_rect(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h, const lv_draw_rect_dsc_t * rect_dsc) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); if(dsc->header.cf >= LV_IMG_CF_INDEXED_1BIT && dsc->header.cf <= LV_IMG_CF_INDEXED_8BIT) { LV_LOG_WARN("lv_canvas_draw_rect: can't raw to LV_IMG_CF_INDEXED canvas"); return; } /* Create a dummy display to fool the lv_draw function. * It will think it draws to real screen. */ lv_area_t mask; mask.x1 = 0; mask.x2 = dsc->header.w - 1; mask.y1 = 0; mask.y2 = dsc->header.h - 1; lv_area_t coords; coords.x1 = x; coords.y1 = y; coords.x2 = x + w - 1; coords.y2 = y + h - 1; lv_disp_t disp; _lv_memset_00(&disp, sizeof(lv_disp_t)); lv_disp_buf_t disp_buf; lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); lv_area_copy(&disp_buf.area, &mask); lv_disp_drv_init(&disp.driver); disp.driver.buffer = &disp_buf; disp.driver.hor_res = dsc->header.w; disp.driver.ver_res = dsc->header.h; set_set_px_cb(&disp.driver, dsc->header.cf); #if LV_ANTIALIAS /*Disable anti-aliasing if drawing with transparent color to chroma keyed canvas*/ lv_color_t ctransp = LV_COLOR_TRANSP; if(dsc->header.cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED && rect_dsc->bg_color.full == ctransp.full) { disp.driver.antialiasing = 0; } #endif lv_disp_t * refr_ori = _lv_refr_get_disp_refreshing(); _lv_refr_set_disp_refreshing(&disp); lv_draw_rect(&coords, &mask, rect_dsc); _lv_refr_set_disp_refreshing(refr_ori); lv_obj_invalidate(canvas); } /** * Draw a text on the canvas. * @param canvas pointer to a canvas object * @param x left coordinate of the text * @param y top coordinate of the text * @param max_w max width of the text. The text will be wrapped to fit into this size * @param label_draw_dsc pointer to a valid label descriptor `lv_draw_label_dsc_t` * @param txt text to display * @param align align of the text (`LV_LABEL_ALIGN_LEFT/RIGHT/CENTER`) */ void lv_canvas_draw_text(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t max_w, lv_draw_label_dsc_t * label_draw_dsc, const char * txt, lv_label_align_t align) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); if(dsc->header.cf >= LV_IMG_CF_INDEXED_1BIT && dsc->header.cf <= LV_IMG_CF_INDEXED_8BIT) { LV_LOG_WARN("lv_canvas_draw_text: can't raw to LV_IMG_CF_INDEXED canvas"); return; } /* Create a dummy display to fool the lv_draw function. * It will think it draws to real screen. */ lv_area_t mask; mask.x1 = 0; mask.x2 = dsc->header.w - 1; mask.y1 = 0; mask.y2 = dsc->header.h - 1; lv_area_t coords; coords.x1 = x; coords.y1 = y; coords.x2 = x + max_w - 1; coords.y2 = dsc->header.h - 1; lv_disp_t disp; _lv_memset_00(&disp, sizeof(lv_disp_t)); lv_disp_buf_t disp_buf; lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); lv_area_copy(&disp_buf.area, &mask); lv_disp_drv_init(&disp.driver); disp.driver.buffer = &disp_buf; disp.driver.hor_res = dsc->header.w; disp.driver.ver_res = dsc->header.h; set_set_px_cb(&disp.driver, dsc->header.cf); lv_disp_t * refr_ori = _lv_refr_get_disp_refreshing(); _lv_refr_set_disp_refreshing(&disp); lv_txt_flag_t flag; switch(align) { case LV_LABEL_ALIGN_LEFT: flag = LV_TXT_FLAG_NONE; break; case LV_LABEL_ALIGN_RIGHT: flag = LV_TXT_FLAG_RIGHT; break; case LV_LABEL_ALIGN_CENTER: flag = LV_TXT_FLAG_CENTER; break; default: flag = LV_TXT_FLAG_NONE; break; } label_draw_dsc->flag = flag; lv_draw_label(&coords, &mask, label_draw_dsc, txt, NULL); _lv_refr_set_disp_refreshing(refr_ori); lv_obj_invalidate(canvas); } /** * Draw an image on the canvas * @param canvas pointer to a canvas object * @param src image source. Can be a pointer an `lv_img_dsc_t` variable or a path an image. * @param img_draw_dsc pointer to a valid label descriptor `lv_draw_img_dsc_t` */ void lv_canvas_draw_img(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, const void * src, const lv_draw_img_dsc_t * img_draw_dsc) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); if(dsc->header.cf >= LV_IMG_CF_INDEXED_1BIT && dsc->header.cf <= LV_IMG_CF_INDEXED_8BIT) { LV_LOG_WARN("lv_canvas_draw_img: can't raw to LV_IMG_CF_INDEXED canvas"); return; } /* Create a dummy display to fool the lv_draw function. * It will think it draws to real screen. */ lv_area_t mask; mask.x1 = 0; mask.x2 = dsc->header.w - 1; mask.y1 = 0; mask.y2 = dsc->header.h - 1; lv_img_header_t header; lv_res_t res = lv_img_decoder_get_info(src, &header); if(res != LV_RES_OK) { LV_LOG_WARN("lv_canvas_draw_img: Couldn't get the image data."); return; } lv_area_t coords; coords.x1 = x; coords.y1 = y; coords.x2 = x + header.w - 1; coords.y2 = y + header.h - 1; lv_disp_t disp; _lv_memset_00(&disp, sizeof(lv_disp_t)); lv_disp_buf_t disp_buf; lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); lv_area_copy(&disp_buf.area, &mask); lv_disp_drv_init(&disp.driver); disp.driver.buffer = &disp_buf; disp.driver.hor_res = dsc->header.w; disp.driver.ver_res = dsc->header.h; set_set_px_cb(&disp.driver, dsc->header.cf); lv_disp_t * refr_ori = _lv_refr_get_disp_refreshing(); _lv_refr_set_disp_refreshing(&disp); lv_draw_img(&coords, &mask, src, img_draw_dsc); _lv_refr_set_disp_refreshing(refr_ori); lv_obj_invalidate(canvas); } /** * Draw a line on the canvas * @param canvas pointer to a canvas object * @param points point of the line * @param point_cnt number of points * @param line_draw_dsc pointer to an initialized `lv_draw_line_dsc_t` variable */ void lv_canvas_draw_line(lv_obj_t * canvas, const lv_point_t points[], uint32_t point_cnt, const lv_draw_line_dsc_t * line_draw_dsc) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); if(dsc->header.cf >= LV_IMG_CF_INDEXED_1BIT && dsc->header.cf <= LV_IMG_CF_INDEXED_8BIT) { LV_LOG_WARN("lv_canvas_draw_line: can't raw to LV_IMG_CF_INDEXED canvas"); return; } /* Create a dummy display to fool the lv_draw function. * It will think it draws to real screen. */ lv_area_t mask; mask.x1 = 0; mask.x2 = dsc->header.w - 1; mask.y1 = 0; mask.y2 = dsc->header.h - 1; lv_disp_t disp; _lv_memset_00(&disp, sizeof(lv_disp_t)); lv_disp_buf_t disp_buf; lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); lv_area_copy(&disp_buf.area, &mask); lv_disp_drv_init(&disp.driver); disp.driver.buffer = &disp_buf; disp.driver.hor_res = dsc->header.w; disp.driver.ver_res = dsc->header.h; set_set_px_cb(&disp.driver, dsc->header.cf); #if LV_ANTIALIAS /*Disable anti-aliasing if drawing with transparent color to chroma keyed canvas*/ lv_color_t ctransp = LV_COLOR_TRANSP; if(dsc->header.cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED && line_draw_dsc->color.full == ctransp.full) { disp.driver.antialiasing = 0; } #endif lv_disp_t * refr_ori = _lv_refr_get_disp_refreshing(); _lv_refr_set_disp_refreshing(&disp); uint32_t i; for(i = 0; i < point_cnt - 1; i++) { lv_draw_line(&points[i], &points[i + 1], &mask, line_draw_dsc); } _lv_refr_set_disp_refreshing(refr_ori); lv_obj_invalidate(canvas); } /** * Draw a polygon on the canvas * @param canvas pointer to a canvas object * @param points point of the polygon * @param point_cnt number of points * @param poly_draw_dsc pointer to an initialized `lv_draw_rect_dsc_t` variable */ void lv_canvas_draw_polygon(lv_obj_t * canvas, const lv_point_t points[], uint32_t point_cnt, const lv_draw_rect_dsc_t * poly_draw_dsc) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); if(dsc->header.cf >= LV_IMG_CF_INDEXED_1BIT && dsc->header.cf <= LV_IMG_CF_INDEXED_8BIT) { LV_LOG_WARN("lv_canvas_draw_polygon: can't raw to LV_IMG_CF_INDEXED canvas"); return; } /* Create a dummy display to fool the lv_draw function. * It will think it draws to real screen. */ lv_area_t mask; mask.x1 = 0; mask.x2 = dsc->header.w - 1; mask.y1 = 0; mask.y2 = dsc->header.h - 1; lv_disp_t disp; _lv_memset_00(&disp, sizeof(lv_disp_t)); lv_disp_buf_t disp_buf; lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); lv_area_copy(&disp_buf.area, &mask); lv_disp_drv_init(&disp.driver); disp.driver.buffer = &disp_buf; disp.driver.hor_res = dsc->header.w; disp.driver.ver_res = dsc->header.h; set_set_px_cb(&disp.driver, dsc->header.cf); #if LV_ANTIALIAS /*Disable anti-aliasing if drawing with transparent color to chroma keyed canvas*/ lv_color_t ctransp = LV_COLOR_TRANSP; if(dsc->header.cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED && poly_draw_dsc->bg_color.full == ctransp.full) { disp.driver.antialiasing = 0; } #endif lv_disp_t * refr_ori = _lv_refr_get_disp_refreshing(); _lv_refr_set_disp_refreshing(&disp); lv_draw_polygon(points, point_cnt, &mask, poly_draw_dsc); _lv_refr_set_disp_refreshing(refr_ori); lv_obj_invalidate(canvas); } /** * Draw an arc on the canvas * @param canvas pointer to a canvas object * @param x origo x of the arc * @param y origo y of the arc * @param r radius of the arc * @param start_angle start angle in degrees * @param end_angle end angle in degrees * @param arc_draw_dsc pointer to an initialized `lv_draw_line_dsc_t` variable */ void lv_canvas_draw_arc(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t r, int32_t start_angle, int32_t end_angle, const lv_draw_line_dsc_t * arc_draw_dsc) { LV_ASSERT_OBJ(canvas, LV_OBJX_NAME); lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); if(dsc->header.cf >= LV_IMG_CF_INDEXED_1BIT && dsc->header.cf <= LV_IMG_CF_INDEXED_8BIT) { LV_LOG_WARN("lv_canvas_draw_arc: can't raw to LV_IMG_CF_INDEXED canvas"); return; } /* Create a dummy display to fool the lv_draw function. * It will think it draws to real screen. */ lv_area_t mask; mask.x1 = 0; mask.x2 = dsc->header.w - 1; mask.y1 = 0; mask.y2 = dsc->header.h - 1; lv_disp_t disp; _lv_memset_00(&disp, sizeof(lv_disp_t)); lv_disp_buf_t disp_buf; lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); lv_area_copy(&disp_buf.area, &mask); lv_disp_drv_init(&disp.driver); disp.driver.buffer = &disp_buf; disp.driver.hor_res = dsc->header.w; disp.driver.ver_res = dsc->header.h; set_set_px_cb(&disp.driver, dsc->header.cf); #if LV_ANTIALIAS /*Disable anti-aliasing if drawing with transparent color to chroma keyed canvas*/ lv_color_t ctransp = LV_COLOR_TRANSP; if(dsc->header.cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED && arc_draw_dsc->color.full == ctransp.full) { disp.driver.antialiasing = 0; } #endif lv_disp_t * refr_ori = _lv_refr_get_disp_refreshing(); _lv_refr_set_disp_refreshing(&disp); lv_draw_arc(x, y, r, start_angle, end_angle, &mask, arc_draw_dsc); _lv_refr_set_disp_refreshing(refr_ori); lv_obj_invalidate(canvas); } /********************** * STATIC FUNCTIONS **********************/ /** * Signal function of the canvas * @param canvas pointer to a canvas object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_canvas_signal(lv_obj_t * canvas, lv_signal_t sign, void * param) { lv_res_t res; /* Include the ancient signal function */ res = ancestor_signal(canvas, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); if(sign == LV_SIGNAL_CLEANUP) { /*Nothing to cleanup. (No dynamically allocated memory in 'ext')*/ } return res; } static void set_set_px_cb(lv_disp_drv_t * disp_drv, lv_img_cf_t cf) { switch(cf) { case LV_IMG_CF_TRUE_COLOR_ALPHA: disp_drv->set_px_cb = set_px_true_color_alpha; break; case LV_IMG_CF_ALPHA_1BIT: disp_drv->set_px_cb = set_px_cb_alpha1; break; case LV_IMG_CF_ALPHA_2BIT: disp_drv->set_px_cb = set_px_cb_alpha2; break; case LV_IMG_CF_ALPHA_4BIT: disp_drv->set_px_cb = set_px_cb_alpha4; break; case LV_IMG_CF_ALPHA_8BIT: disp_drv->set_px_cb = set_px_cb_alpha8; break; default: disp_drv->set_px_cb = NULL; } } static void set_px_cb_alpha1(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa) { (void) disp_drv; /*Unused*/ if(opa <= LV_OPA_MIN) return; lv_img_dsc_t d; d.data = buf; d.header.w = buf_w; d.header.cf = LV_IMG_CF_ALPHA_1BIT; set_px_alpha_generic(&d, x, y, color, opa); } static void set_px_cb_alpha2(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa) { (void) disp_drv; /*Unused*/ if(opa <= LV_OPA_MIN) return; lv_img_dsc_t d; d.data = buf; d.header.w = buf_w; d.header.cf = LV_IMG_CF_ALPHA_2BIT; set_px_alpha_generic(&d, x, y, color, opa); } static void set_px_cb_alpha4(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa) { (void) disp_drv; /*Unused*/ if(opa <= LV_OPA_MIN) return; lv_img_dsc_t d; d.data = buf; d.header.w = buf_w; d.header.cf = LV_IMG_CF_ALPHA_4BIT; set_px_alpha_generic(&d, x, y, color, opa); } static void set_px_cb_alpha8(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa) { (void) disp_drv; /*Unused*/ if(opa <= LV_OPA_MIN) return; lv_img_dsc_t d; d.data = buf; d.header.w = buf_w; d.header.cf = LV_IMG_CF_ALPHA_8BIT; set_px_alpha_generic(&d, x, y, color, opa); } static void set_px_alpha_generic(lv_img_dsc_t * d, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa) { d->header.always_zero = 0; d->header.h = LV_VER_RES_MAX; uint8_t br = lv_color_brightness(color); if(opa < LV_OPA_MAX) { uint8_t bg = lv_img_buf_get_px_alpha(d, x, y); br = (uint16_t)((uint16_t)br * opa + (bg * (255 - opa))) >> 8; } lv_img_buf_set_px_alpha(d, x, y, br); } static void set_px_true_color_alpha(lv_disp_drv_t * disp_drv, uint8_t * buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y, lv_color_t color, lv_opa_t opa) { (void) disp_drv; /*Unused*/ if(opa <= LV_OPA_MIN) return; lv_img_dsc_t d; d.data = buf; d.header.always_zero = 0; d.header.h = LV_VER_RES_MAX; d.header.w = buf_w; d.header.cf = LV_IMG_CF_TRUE_COLOR_ALPHA; lv_color_t bg_color = lv_img_buf_get_px_color(&d, x, y, LV_COLOR_BLACK); lv_opa_t bg_opa = lv_img_buf_get_px_alpha(&d, x, y); lv_opa_t res_opa; lv_color_t res_color; lv_color_mix_with_alpha(bg_color, bg_opa, color, opa, &res_color, &res_opa); lv_img_buf_set_px_alpha(&d, x, y, res_opa); lv_img_buf_set_px_color(&d, x, y, res_color); } #endif
40,044
lv_canvas
c
en
c
code
{"qsc_code_num_words": 6642, "qsc_code_num_chars": 40044.0, "qsc_code_mean_word_length": 3.3870822, "qsc_code_frac_words_unique": 0.06022282, "qsc_code_frac_chars_top_2grams": 0.02711473, "qsc_code_frac_chars_top_3grams": 0.0245366, "qsc_code_frac_chars_top_4grams": 0.01444637, "qsc_code_frac_chars_dupe_5grams": 0.71533982, "qsc_code_frac_chars_dupe_6grams": 0.68009068, "qsc_code_frac_chars_dupe_7grams": 0.65493177, "qsc_code_frac_chars_dupe_8grams": 0.63083967, "qsc_code_frac_chars_dupe_9grams": 0.61563764, "qsc_code_frac_chars_dupe_10grams": 0.60892563, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01602078, "qsc_code_frac_chars_whitespace": 0.25958945, "qsc_code_size_file_byte": 40044.0, "qsc_code_num_lines": 1241.0, "qsc_code_num_chars_line_max": 125.0, "qsc_code_num_chars_line_mean": 32.26752619, "qsc_code_frac_chars_alphabet": 0.74275692, "qsc_code_frac_chars_comments": 0.21781041, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.55070603, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.02059255, "qsc_code_frac_chars_long_word_length": 0.00213907, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00089394, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.02695764, "qsc_codec_frac_lines_func_ratio": 0.05006418, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.07445443, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.05776637}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 1, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_calendar.h
/** * @file lv_calendar.h * */ #ifndef LV_CALENDAR_H #define LV_CALENDAR_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #if LV_USE_CALENDAR != 0 #include "../lv_core/lv_obj.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /** * Represents a date on the calendar object (platform-agnostic). */ typedef struct { uint16_t year; int8_t month; int8_t day; } lv_calendar_date_t; /*Data of calendar*/ typedef struct { /*None*/ /*Ext. of ancestor*/ /*New data for this type */ lv_calendar_date_t today; /*Date of today*/ lv_calendar_date_t showed_date; /*Currently visible month (day is ignored)*/ lv_calendar_date_t * highlighted_dates; /*Apply different style on these days (pointer to an array defined by the user)*/ int8_t btn_pressing; /*-1: prev month pressing, +1 next month pressing on the header*/ uint16_t highlighted_dates_num; /*Number of elements in `highlighted_days`*/ lv_calendar_date_t pressed_date; const char ** day_names; /*Pointer to an array with the name of the days (NULL: use default names)*/ const char ** month_names; /*Pointer to an array with the name of the month (NULL. use default names)*/ /*Styles*/ lv_style_list_t style_header; lv_style_list_t style_day_names; lv_style_list_t style_date_nums; } lv_calendar_ext_t; /** Calendar parts*/ enum { LV_CALENDAR_PART_BG, /**< Background and "normal" date numbers style */ LV_CALENDAR_PART_HEADER, /** Calendar header style */ LV_CALENDAR_PART_DAY_NAMES, /** Day name style */ LV_CALENDAR_PART_DATE, /** Day name style */ }; typedef uint8_t lv_calendar_part_t; /********************** * GLOBAL PROTOTYPES **********************/ /** * Create a calendar objects * @param par pointer to an object, it will be the parent of the new calendar * @param copy pointer to a calendar object, if not NULL then the new object will be copied from it * @return pointer to the created calendar */ lv_obj_t * lv_calendar_create(lv_obj_t * par, const lv_obj_t * copy); /*====================== * Add/remove functions *=====================*/ /*===================== * Setter functions *====================*/ /** * Set the today's date * @param calendar pointer to a calendar object * @param today pointer to an `lv_calendar_date_t` variable containing the date of today. The value * will be saved it can be local variable too. */ void lv_calendar_set_today_date(lv_obj_t * calendar, lv_calendar_date_t * today); /** * Set the currently showed * @param calendar pointer to a calendar object * @param showed pointer to an `lv_calendar_date_t` variable containing the date to show. The value * will be saved it can be local variable too. */ void lv_calendar_set_showed_date(lv_obj_t * calendar, lv_calendar_date_t * showed); /** * Set the the highlighted dates * @param calendar pointer to a calendar object * @param highlighted pointer to an `lv_calendar_date_t` array containing the dates. ONLY A POINTER * WILL BE SAVED! CAN'T BE LOCAL ARRAY. * @param date_num number of dates in the array */ void lv_calendar_set_highlighted_dates(lv_obj_t * calendar, lv_calendar_date_t highlighted[], uint16_t date_num); /** * Set the name of the days * @param calendar pointer to a calendar object * @param day_names pointer to an array with the names. E.g. `const char * days[7] = {"Sun", "Mon", * ...}` Only the pointer will be saved so this variable can't be local which will be destroyed * later. */ void lv_calendar_set_day_names(lv_obj_t * calendar, const char ** day_names); /** * Set the name of the month * @param calendar pointer to a calendar object * @param month_names pointer to an array with the names. E.g. `const char * days[12] = {"Jan", "Feb", * ...}` Only the pointer will be saved so this variable can't be local which will be destroyed * later. */ void lv_calendar_set_month_names(lv_obj_t * calendar, const char ** month_names); /*===================== * Getter functions *====================*/ /** * Get the today's date * @param calendar pointer to a calendar object * @return return pointer to an `lv_calendar_date_t` variable containing the date of today. */ lv_calendar_date_t * lv_calendar_get_today_date(const lv_obj_t * calendar); /** * Get the currently showed * @param calendar pointer to a calendar object * @return pointer to an `lv_calendar_date_t` variable containing the date is being shown. */ lv_calendar_date_t * lv_calendar_get_showed_date(const lv_obj_t * calendar); /** * Get the the pressed date. * @param calendar pointer to a calendar object * @return pointer to an `lv_calendar_date_t` variable containing the pressed date. * `NULL` if not date pressed (e.g. the header) */ lv_calendar_date_t * lv_calendar_get_pressed_date(const lv_obj_t * calendar); /** * Get the the highlighted dates * @param calendar pointer to a calendar object * @return pointer to an `lv_calendar_date_t` array containing the dates. */ lv_calendar_date_t * lv_calendar_get_highlighted_dates(const lv_obj_t * calendar); /** * Get the number of the highlighted dates * @param calendar pointer to a calendar object * @return number of highlighted days */ uint16_t lv_calendar_get_highlighted_dates_num(const lv_obj_t * calendar); /** * Get the name of the days * @param calendar pointer to a calendar object * @return pointer to the array of day names */ const char ** lv_calendar_get_day_names(const lv_obj_t * calendar); /** * Get the name of the month * @param calendar pointer to a calendar object * @return pointer to the array of month names */ const char ** lv_calendar_get_month_names(const lv_obj_t * calendar); /*===================== * Other functions *====================*/ /********************** * MACROS **********************/ #endif /*LV_USE_CALENDAR*/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_CALENDAR_H*/
6,184
lv_calendar
h
en
c
code
{"qsc_code_num_words": 893, "qsc_code_num_chars": 6184.0, "qsc_code_mean_word_length": 4.38073908, "qsc_code_frac_words_unique": 0.16573348, "qsc_code_frac_chars_top_2grams": 0.10736196, "qsc_code_frac_chars_top_3grams": 0.06799591, "qsc_code_frac_chars_top_4grams": 0.07285276, "qsc_code_frac_chars_dupe_5grams": 0.61042945, "qsc_code_frac_chars_dupe_6grams": 0.55521472, "qsc_code_frac_chars_dupe_7grams": 0.52223926, "qsc_code_frac_chars_dupe_8grams": 0.46625767, "qsc_code_frac_chars_dupe_9grams": 0.44171779, "qsc_code_frac_chars_dupe_10grams": 0.40746421, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00357427, "qsc_code_frac_chars_whitespace": 0.18564036, "qsc_code_size_file_byte": 6184.0, "qsc_code_num_lines": 199.0, "qsc_code_num_chars_line_max": 114.0, "qsc_code_num_chars_line_mean": 31.07537688, "qsc_code_frac_chars_alphabet": 0.77323272, "qsc_code_frac_chars_comments": 0.6673674, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.15686275, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01993194, "qsc_code_frac_chars_long_word_length": 0.01020904, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.25490196, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.29411765, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_dropdown.c
/** * @file lv_ddlist.c * */ /********************* * INCLUDES *********************/ #include "lv_dropdown.h" #if LV_USE_DROPDOWN != 0 #include "../lv_misc/lv_debug.h" #include "../lv_draw/lv_draw.h" #include "../lv_core/lv_group.h" #include "../lv_core/lv_indev.h" #include "../lv_core/lv_disp.h" #include "../lv_themes/lv_theme.h" #include "../lv_font/lv_symbol_def.h" #include "../lv_misc/lv_anim.h" #include "../lv_misc/lv_math.h" #include <string.h> /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_dropdown" #if LV_USE_ANIMATION == 0 #undef LV_DROPDOWN_DEF_ANIM_TIME #define LV_DROPDOWN_DEF_ANIM_TIME 0 /*No animation*/ #endif #define LV_DROPDOWN_PR_NONE 0xFFFF /********************** * TYPEDEFS **********************/ typedef struct { lv_page_ext_t page; lv_obj_t * ddlist; /*Pointer to the ddlist where the page belongs*/ } lv_dropdown_page_ext_t; /********************** * STATIC PROTOTYPES **********************/ static lv_design_res_t lv_dropdown_design(lv_obj_t * ddlist, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_design_res_t lv_dropdown_page_design(lv_obj_t * ddlist, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_res_t lv_dropdown_signal(lv_obj_t * ddlist, lv_signal_t sign, void * param); static lv_res_t lv_dropdown_page_signal(lv_obj_t * page, lv_signal_t sign, void * param); static lv_res_t lv_dropdown_page_scrl_signal(lv_obj_t * scrl, lv_signal_t sign, void * param); static lv_style_list_t * lv_dropdown_get_style(lv_obj_t * ddlist, uint8_t part); static void draw_box(lv_obj_t * ddlist, const lv_area_t * clip_area, uint16_t id, lv_state_t state); static void draw_box_label(lv_obj_t * ddlist, const lv_area_t * clip_area, uint16_t id, lv_state_t state); static lv_res_t page_release_handler(lv_obj_t * page); static void page_press_handler(lv_obj_t * page); static uint16_t get_id_on_point(lv_obj_t * ddlist, lv_coord_t x, lv_coord_t y); static void position_to_selected(lv_obj_t * ddlist); static lv_obj_t * get_label(const lv_obj_t * ddlist); /********************** * STATIC VARIABLES **********************/ static lv_signal_cb_t ancestor_signal; static lv_signal_cb_t ancestor_page_signal; static lv_signal_cb_t ancestor_page_scrl_signal; static lv_design_cb_t ancestor_design; static lv_design_cb_t ancestor_page_design; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a drop down list objects * @param par pointer to an object, it will be the parent of the new drop down list * @param copy pointer to a drop down list object, if not NULL then the new object will be copied * from it * @return pointer to the created drop down list */ lv_obj_t * lv_dropdown_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("drop down list create started"); /*Create the ancestor drop down list*/ lv_obj_t * ddlist = lv_obj_create(par, copy); LV_ASSERT_MEM(ddlist); if(ddlist == NULL) return NULL; if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(ddlist); if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(ddlist); /*Allocate the drop down list type specific extended data*/ lv_dropdown_ext_t * ext = lv_obj_allocate_ext_attr(ddlist, sizeof(lv_dropdown_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(ddlist); return NULL; } /*Initialize the allocated 'ext' */ ext->page = NULL; ext->options = NULL; ext->symbol = LV_SYMBOL_DOWN; ext->text = "Select"; ext->static_txt = 1; ext->show_selected = 1; ext->sel_opt_id = 0; ext->sel_opt_id_orig = 0; ext->pr_opt_id = LV_DROPDOWN_PR_NONE; ext->option_cnt = 0; ext->dir = LV_DROPDOWN_DIR_DOWN; ext->max_height = (3 * lv_disp_get_ver_res(NULL)) / 4; lv_style_list_init(&ext->style_page); lv_style_list_init(&ext->style_scrlbar); lv_style_list_init(&ext->style_selected); /*The signal and design functions are not copied so set them here*/ lv_obj_set_signal_cb(ddlist, lv_dropdown_signal); lv_obj_set_design_cb(ddlist, lv_dropdown_design); /*Init the new drop down list drop down list*/ if(copy == NULL) { lv_obj_set_width(ddlist, LV_DPX(150)); lv_dropdown_set_options_static(ddlist, "Option 1\nOption 2\nOption 3"); lv_theme_apply(ddlist, LV_THEME_DROPDOWN); } /*Copy an existing drop down list*/ else { lv_dropdown_ext_t * copy_ext = lv_obj_get_ext_attr(copy); if(copy_ext->static_txt == 0) lv_dropdown_set_options(ddlist, lv_dropdown_get_options(copy)); else lv_dropdown_set_options_static(ddlist, lv_dropdown_get_options(copy)); ext->option_cnt = copy_ext->option_cnt; ext->sel_opt_id = copy_ext->sel_opt_id; ext->sel_opt_id_orig = copy_ext->sel_opt_id; ext->symbol = copy_ext->symbol; ext->max_height = copy_ext->max_height; ext->text = copy_ext->text; ext->dir = copy_ext->dir; ext->show_selected = copy_ext->show_selected; lv_style_list_copy(&ext->style_page, &copy_ext->style_page); lv_style_list_copy(&ext->style_selected, &copy_ext->style_selected); lv_style_list_copy(&ext->style_scrlbar, &copy_ext->style_scrlbar); } LV_LOG_INFO("drop down list created"); return ddlist; } /*===================== * Setter functions *====================*/ /** * Set text of the ddlist (Displayed on the button if `show_selected = false`) * @param ddlist pointer to a drop down list object * @param txt the text as a string (Only it's pointer is saved) */ void lv_dropdown_set_text(lv_obj_t * ddlist, const char * txt) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(ext->text == txt) return; ext->text = txt; lv_obj_invalidate(ddlist); } /** * Clear any options in a drop down list. Static or dynamic. * @param ddlist pointer to drop down list object */ void lv_dropdown_clear_options(lv_obj_t * ddlist) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(ext->options == NULL) return; if(ext->static_txt == 0) lv_mem_free(ext->options); ext->options = NULL; ext->static_txt = 0; ext->option_cnt = 0; lv_obj_invalidate(ddlist); } /** * Set the options in a drop down list from a string * @param ddlist pointer to drop down list object * @param options a string with '\n' separated options. E.g. "One\nTwo\nThree" * The options string can be destroyed after calling this function */ void lv_dropdown_set_options(lv_obj_t * ddlist, const char * options) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); LV_ASSERT_STR(options); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); /*Count the '\n'-s to determine the number of options*/ ext->option_cnt = 0; uint32_t i; for(i = 0; options[i] != '\0'; i++) { if(options[i] == '\n') ext->option_cnt++; } ext->option_cnt++; /*Last option has no `\n`*/ ext->sel_opt_id = 0; ext->sel_opt_id_orig = 0; /*Allocate space for the new text*/ size_t len = strlen(options) + 1; if(ext->options != NULL && ext->static_txt == 0) { lv_mem_free(ext->options); ext->options = NULL; } ext->options = lv_mem_alloc(len); LV_ASSERT_MEM(ext->options); if(ext->options == NULL) return; strcpy(ext->options, options); /*Now the text is dynamically allocated*/ ext->static_txt = 0; } /** * Set the options in a drop down list from a string * @param ddlist pointer to drop down list object * @param options a static string with '\n' separated options. E.g. "One\nTwo\nThree" */ void lv_dropdown_set_options_static(lv_obj_t * ddlist, const char * options) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); LV_ASSERT_STR(options); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); /*Count the '\n'-s to determine the number of options*/ ext->option_cnt = 0; uint32_t i; for(i = 0; options[i] != '\0'; i++) { if(options[i] == '\n') ext->option_cnt++; } ext->option_cnt++; /*Last option has no `\n`*/ ext->sel_opt_id = 0; ext->sel_opt_id_orig = 0; if(ext->static_txt == 0 && ext->options != NULL) { lv_mem_free(ext->options); ext->options = NULL; } ext->static_txt = 1; ext->options = (char *)options; } /** * Add an options to a drop down list from a string. Only works for dynamic options. * @param ddlist pointer to drop down list object * @param option a string without '\n'. E.g. "Four" * @param pos the insert position, indexed from 0, LV_DROPDOWN_POS_LAST = end of string */ void lv_dropdown_add_option(lv_obj_t * ddlist, const char * option, uint32_t pos) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); LV_ASSERT_STR(option); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); /*Convert static options to dynamic*/ if(ext->static_txt != 0) { char * static_options = ext->options; size_t len = strlen(static_options) + 1; ext->options = lv_mem_alloc(len); LV_ASSERT_MEM(ext->options); if(ext->options == NULL) return; strcpy(ext->options, static_options); ext->static_txt = 0; } /*Allocate space for the new option*/ size_t old_len = (ext->options == NULL) ? 0 : strlen(ext->options); size_t ins_len = strlen(option); size_t new_len = ins_len + old_len + 2; /* +2 for terminating NULL and possible \n */ ext->options = lv_mem_realloc(ext->options, new_len + 1); LV_ASSERT_MEM(ext->options); if(ext->options == NULL) return; ext->options[old_len] = 0; /*Find the insert character position*/ uint32_t insert_pos = old_len; if(pos != LV_DROPDOWN_POS_LAST) { uint32_t opcnt = 0; for(insert_pos = 0; ext->options[insert_pos] != 0; insert_pos++) { if(opcnt == pos) break; if(ext->options[insert_pos] == '\n') opcnt++; } } /*Add delimiter to existing options*/ if((insert_pos > 0) && (pos >= ext->option_cnt)) _lv_txt_ins(ext->options, _lv_txt_encoded_get_char_id(ext->options, insert_pos++), "\n"); /*Insert the new option, adding \n if necessary*/ char * ins_buf = _lv_mem_buf_get(ins_len + 2); /* + 2 for terminating NULL and possible \n */ LV_ASSERT_MEM(ins_buf); if(ins_buf == NULL) return; strcpy(ins_buf, option); if(pos < ext->option_cnt) strcat(ins_buf, "\n"); _lv_txt_ins(ext->options, _lv_txt_encoded_get_char_id(ext->options, insert_pos), ins_buf); _lv_mem_buf_release(ins_buf); ext->option_cnt++; lv_obj_invalidate(ddlist); } /** * Set the selected option * @param ddlist pointer to drop down list object * @param sel_opt id of the selected option (0 ... number of option - 1); */ void lv_dropdown_set_selected(lv_obj_t * ddlist, uint16_t sel_opt) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(ext->sel_opt_id == sel_opt) return; ext->sel_opt_id = sel_opt < ext->option_cnt ? sel_opt : ext->option_cnt - 1; ext->sel_opt_id_orig = ext->sel_opt_id; /*Move the list to show the current option*/ if(ext->page != NULL) { lv_obj_invalidate(ddlist); } } /** * Set the direction of the a drop down list * @param ddlist pointer to a drop down list object * @param dir LV_DROPDOWN_DIR_LEF/RIGHT/TOP/BOTTOM */ void lv_dropdown_set_dir(lv_obj_t * ddlist, lv_dropdown_dir_t dir) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(ext->dir == dir) return; ext->dir = dir; lv_obj_invalidate(ddlist); } /** * Set the maximal height for the drop down list * @param ddlist pointer to a drop down list * @param h the maximal height */ void lv_dropdown_set_max_height(lv_obj_t * ddlist, lv_coord_t h) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(ext->max_height == h) return; ext->max_height = h; if(ext->page) { if(h == 0) { lv_cont_set_fit(ext->page, LV_FIT_TIGHT); } else { lv_cont_set_fit2(ext->page, LV_FIT_TIGHT, LV_FIT_NONE); lv_obj_set_height(ext->page, h); } } } /** * Set an arrow or other symbol to display when the drop-down list is closed. * @param ddlist pointer to drop down list object * @param symbol a text like `LV_SYMBOL_DOWN` or NULL to not draw icon */ void lv_dropdown_set_symbol(lv_obj_t * ddlist, const char * symbol) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); ext->symbol = symbol; lv_obj_invalidate(ddlist); } /** * Set whether the ddlist highlight the last selected option and display its text or not * @param ddlist pointer to a drop down list object * @param show true/false */ void lv_dropdown_set_show_selected(lv_obj_t * ddlist, bool show) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(ext->show_selected == show) return; ext->show_selected = show; lv_obj_invalidate(ddlist); } /*===================== * Getter functions *====================*/ /** * Get text of the ddlist (Displayed on the button if `show_selected = false`) * @param ddlist pointer to a drop down list object * @return the text string */ const char * lv_dropdown_get_text(lv_obj_t * ddlist) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); return ext->text; } /** * Get the options of a drop down list * @param ddlist pointer to drop down list object * @return the options separated by '\n'-s (E.g. "Option1\nOption2\nOption3") */ const char * lv_dropdown_get_options(const lv_obj_t * ddlist) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); return ext->options; } /** * Get the selected option * @param ddlist pointer to drop down list object * @return id of the selected option (0 ... number of option - 1); */ uint16_t lv_dropdown_get_selected(const lv_obj_t * ddlist) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); return ext->sel_opt_id; } /** * Get the total number of options * @param ddlist pointer to drop down list object * @return the total number of options in the list */ uint16_t lv_dropdown_get_option_cnt(const lv_obj_t * ddlist) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); return ext->option_cnt; } /** * Get the current selected option as a string * @param ddlist pointer to ddlist object * @param buf pointer to an array to store the string * @param buf_size size of `buf` in bytes. 0: to ignore it. */ void lv_dropdown_get_selected_str(const lv_obj_t * ddlist, char * buf, uint32_t buf_size) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); uint32_t i; uint32_t line = 0; size_t txt_len = strlen(ext->options); for(i = 0; i < txt_len && line != ext->sel_opt_id_orig; i++) { if(ext->options[i] == '\n') line++; } uint32_t c; for(c = 0; i < txt_len && ext->options[i] != '\n'; c++, i++) { if(buf_size && c >= buf_size - 1) { LV_LOG_WARN("lv_dropdown_get_selected_str: the buffer was too small") break; } buf[c] = ext->options[i]; } buf[c] = '\0'; } /** * Get the fix height value. * @param ddlist pointer to a drop down list object * @return the height if the ddlist is opened (0: auto size) */ lv_coord_t lv_dropdown_get_max_height(const lv_obj_t * ddlist) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); return ext->max_height; } /** * Get the symbol to draw when the drop-down list is closed * @param ddlist pointer to drop down list object * @return the symbol or NULL if not enabled */ const char * lv_dropdown_get_symbol(lv_obj_t * ddlist) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); return ext->symbol; } /** * Get the direction of the drop down list * @param ddlist pointer to a drop down list object * @return LV_DROPDOWN_DIR_LEF/RIGHT/TOP/BOTTOM */ lv_dropdown_dir_t lv_dropdown_get_dir(const lv_obj_t * ddlist) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); return ext->dir; } /** * Get whether the ddlist highlight the last selected option and display its text or not * @param ddlist pointer to a drop down list object * @return true/false */ bool lv_dropdown_get_show_selected(lv_obj_t * ddlist) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); return ext->show_selected ? true : false; } /*===================== * Other functions *====================*/ /** * Open the drop down list with or without animation * @param ddlist pointer to drop down list object */ void lv_dropdown_open(lv_obj_t * ddlist) { lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(ext->page) return; ext->page = lv_page_create(lv_obj_get_screen(ddlist), NULL); lv_obj_add_protect(ext->page, LV_PROTECT_POS | LV_PROTECT_CLICK_FOCUS); lv_obj_add_protect(lv_page_get_scrollable(ext->page), LV_PROTECT_CLICK_FOCUS); if(ancestor_page_signal == NULL) ancestor_page_signal = lv_obj_get_signal_cb(ext->page); if(ancestor_page_scrl_signal == NULL) ancestor_page_scrl_signal = lv_obj_get_signal_cb(lv_page_get_scrollable( ext->page)); if(ancestor_page_design == NULL) ancestor_page_design = lv_obj_get_design_cb(ext->page); lv_dropdown_page_ext_t * page_ext = lv_obj_allocate_ext_attr(ext->page, sizeof(lv_dropdown_page_ext_t)); LV_ASSERT_MEM(page_ext); if(page_ext == NULL) { lv_obj_del(ext->page); ext->page = NULL; return; } page_ext->ddlist = ddlist; lv_obj_set_design_cb(ext->page, lv_dropdown_page_design); lv_obj_set_signal_cb(ext->page, lv_dropdown_page_signal); lv_obj_set_signal_cb(lv_page_get_scrollable(ext->page), lv_dropdown_page_scrl_signal); lv_style_list_copy(lv_obj_get_style_list(ext->page, LV_PAGE_PART_BG), &ext->style_page); lv_style_list_copy(lv_obj_get_style_list(ext->page, LV_PAGE_PART_SCROLLBAR), &ext->style_scrlbar); lv_obj_clean_style_list(ext->page, LV_PAGE_PART_SCROLLABLE); lv_obj_refresh_style(ext->page, LV_STYLE_PROP_ALL); lv_obj_t * label = lv_label_create(ext->page, NULL); lv_label_set_text_static(label, ext->options); lv_cont_set_fit2(ext->page, LV_FIT_TIGHT, LV_FIT_NONE); /*Set small width to the width of the button*/ if(lv_obj_get_width(ext->page) < lv_obj_get_width(ddlist) && (ext->dir == LV_DROPDOWN_DIR_UP || ext->dir == LV_DROPDOWN_DIR_DOWN)) { lv_cont_set_fit2(ext->page, LV_FIT_NONE, LV_FIT_NONE); lv_obj_set_width(ext->page, lv_obj_get_width(ddlist)); } lv_coord_t label_h = lv_obj_get_height(label); lv_style_int_t top = lv_obj_get_style_pad_top(ddlist, LV_DROPDOWN_PART_LIST); lv_style_int_t bottom = lv_obj_get_style_pad_bottom(ddlist, LV_DROPDOWN_PART_LIST); lv_coord_t list_fit_h = label_h + top + bottom; lv_coord_t list_h = list_fit_h; if(list_h > ext->max_height) list_h = ext->max_height; lv_dropdown_dir_t dir = ext->dir; /*No place on the bottom? See if top is better.*/ if(ext->dir == LV_DROPDOWN_DIR_DOWN) { if(ddlist->coords.y2 + list_h > LV_VER_RES) { if(ddlist->coords.y1 > LV_VER_RES - ddlist->coords.y2) { /*There is more space on the top, so make it drop up*/ dir = LV_DROPDOWN_DIR_UP; list_h = ddlist->coords.y1; } else { list_h = LV_VER_RES - ddlist->coords.y2; } } } /*No place on the top? See if bottom is better.*/ else if(ext->dir == LV_DROPDOWN_DIR_UP) { if(ddlist->coords.y1 - list_h < 0) { if(ddlist->coords.y1 < LV_VER_RES - ddlist->coords.y2) { /*There is more space on the top, so make it drop up*/ dir = LV_DROPDOWN_DIR_DOWN; list_h = LV_VER_RES - ddlist->coords.y2; } else { list_h = ddlist->coords.y1; } } } if(list_h > list_fit_h) list_h = list_fit_h; if(list_h > ext->max_height) list_h = ext->max_height; lv_obj_set_height(ext->page, list_h); position_to_selected(ddlist); if(dir == LV_DROPDOWN_DIR_DOWN) lv_obj_align(ext->page, ddlist, LV_ALIGN_OUT_BOTTOM_LEFT, 0, 0); else if(dir == LV_DROPDOWN_DIR_UP) lv_obj_align(ext->page, ddlist, LV_ALIGN_OUT_TOP_LEFT, 0, 0); else if(dir == LV_DROPDOWN_DIR_LEFT) lv_obj_align(ext->page, ddlist, LV_ALIGN_OUT_LEFT_TOP, 0, 0); else if(dir == LV_DROPDOWN_DIR_RIGHT)lv_obj_align(ext->page, ddlist, LV_ALIGN_OUT_RIGHT_TOP, 0, 0); if(ext->dir == LV_DROPDOWN_DIR_LEFT || ext->dir == LV_DROPDOWN_DIR_RIGHT) { if(ext->page->coords.y2 > LV_VER_RES) { lv_obj_set_y(ext->page, lv_obj_get_y(ext->page) - (ext->page->coords.y2 - LV_VER_RES)); } } } /** * Close (Collapse) the drop down list * @param ddlist pointer to drop down list object */ void lv_dropdown_close(lv_obj_t * ddlist) { lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(ext->page == NULL) return; ext->pr_opt_id = LV_DROPDOWN_PR_NONE; lv_obj_del(ext->page); ext->page = NULL; } /********************** * STATIC FUNCTIONS **********************/ /** * Handle the drawing related tasks of the drop down list * @param ddlist pointer to an object * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_dropdown_design(lv_obj_t * ddlist, const lv_area_t * clip_area, lv_design_mode_t mode) { /*Return false if the object is not covers the mask_p area*/ if(mode == LV_DESIGN_COVER_CHK) { return ancestor_design(ddlist, clip_area, mode); } /*Draw the object*/ else if(mode == LV_DESIGN_DRAW_MAIN) { ancestor_design(ddlist, clip_area, mode); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); lv_style_int_t left = lv_obj_get_style_pad_left(ddlist, LV_DROPDOWN_PART_MAIN); lv_style_int_t right = lv_obj_get_style_pad_right(ddlist, LV_DROPDOWN_PART_MAIN); lv_style_int_t top = lv_obj_get_style_pad_top(ddlist, LV_DROPDOWN_PART_MAIN); lv_draw_label_dsc_t label_dsc; lv_draw_label_dsc_init(&label_dsc); lv_obj_init_draw_label_dsc(ddlist, LV_DROPDOWN_PART_MAIN, &label_dsc); lv_area_t txt_area; lv_point_t txt_size; const char * opt_txt = ext->text; if(ext->show_selected) { char * buf = _lv_mem_buf_get(128); lv_dropdown_get_selected_str(ddlist, buf, 128); opt_txt = buf; } const char * txt; txt = ext->dir != LV_DROPDOWN_DIR_LEFT ? opt_txt : ext->symbol; if(txt) { _lv_txt_get_size(&txt_size, txt, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, LV_COORD_MAX, label_dsc.flag); txt_area.y1 = ddlist->coords.y1 + top; txt_area.y2 = txt_area.y1 + txt_size.y; /*Center align the text if no symbol*/ if(ext->symbol == NULL && txt == opt_txt) { txt_area.x1 = ddlist->coords.x1 + (lv_obj_get_width(ddlist) - txt_size.x) / 2; txt_area.x2 = txt_area.x1 + txt_size.x; } else { txt_area.x1 = ddlist->coords.x1 + left; txt_area.x2 = txt_area.x1 + txt_size.x; } lv_draw_label(&txt_area, clip_area, &label_dsc, txt, NULL); } txt = ext->dir != LV_DROPDOWN_DIR_LEFT ? ext->symbol : opt_txt; if(txt) { _lv_txt_get_size(&txt_size, txt, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, LV_COORD_MAX, label_dsc.flag); txt_area.y1 = ddlist->coords.y1 + top; txt_area.y2 = txt_area.y1 + txt_size.y; /*Center align the text if no symbol*/ if(ext->symbol == NULL && txt == opt_txt) { txt_area.x1 = ddlist->coords.x1 + (lv_obj_get_width(ddlist) - txt_size.x) / 2; txt_area.x2 = txt_area.x1 + txt_size.x; } else { txt_area.x1 = ddlist->coords.x2 - right - txt_size.x; txt_area.x2 = txt_area.x1 + txt_size.x; } lv_draw_label(&txt_area, clip_area, &label_dsc, txt, NULL); } if(ext->show_selected) { _lv_mem_buf_release((char *)opt_txt); } } else if(mode == LV_DESIGN_DRAW_POST) { ancestor_design(ddlist, clip_area, mode); } return LV_DESIGN_RES_OK; } /** * Handle the drawing related tasks of the drop down list's page * @param page pointer to an object * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_dropdown_page_design(lv_obj_t * page, const lv_area_t * clip_area, lv_design_mode_t mode) { /*Return false if the object is not covers the mask_p area*/ if(mode == LV_DESIGN_COVER_CHK) { return ancestor_page_design(page, clip_area, mode); } /*Draw the object*/ else if(mode == LV_DESIGN_DRAW_MAIN) { ancestor_page_design(page, clip_area, mode); lv_dropdown_page_ext_t * page_ext = lv_obj_get_ext_attr(page); lv_obj_t * ddlist = page_ext->ddlist; lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); /*Draw the boxes if the page is not being deleted*/ if(ext->page) { /* Clip area might be too large too to shadow but * the selected option can be drawn on only the background*/ lv_area_t clip_area_core; bool has_common; has_common = _lv_area_intersect(&clip_area_core, clip_area, &ext->page->coords); if(has_common) { if(ext->pr_opt_id != LV_DROPDOWN_PR_NONE) { draw_box(ddlist, &clip_area_core, ext->pr_opt_id, LV_STATE_PRESSED); } if(ext->show_selected) { draw_box(ddlist, &clip_area_core, ext->sel_opt_id, LV_STATE_DEFAULT); } } } } /*Post draw when the children are drawn*/ else if(mode == LV_DESIGN_DRAW_POST) { /*Draw the scrollbar in the ancestor page design function*/ ancestor_page_design(page, clip_area, mode); /*Redraw the text on the selected area with a different color*/ lv_dropdown_page_ext_t * page_ext = lv_obj_get_ext_attr(page); lv_obj_t * ddlist = page_ext->ddlist; lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); /*Draw the box labels if the page is not being deleted*/ if(ext->page) { /* Clip area might be too large too to shadow but * the selected option can be drawn on only the background*/ lv_area_t clip_area_core; bool has_common; has_common = _lv_area_intersect(&clip_area_core, clip_area, &ext->page->coords); if(has_common) { if(ext->pr_opt_id != LV_DROPDOWN_PR_NONE) { draw_box_label(ddlist, &clip_area_core, ext->pr_opt_id, LV_STATE_PRESSED); } if(ext->show_selected) { draw_box_label(ddlist, &clip_area_core, ext->sel_opt_id, LV_STATE_DEFAULT); } } } } return LV_DESIGN_RES_OK; } /** * Signal function of the drop down list * @param ddlist pointer to a drop down list object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_dropdown_signal(lv_obj_t * ddlist, lv_signal_t sign, void * param) { lv_res_t res; /* Include the ancient signal function */ res = ancestor_signal(ddlist, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_dropdown_get_style(ddlist, info->part); if(info->result != NULL) return LV_RES_OK; return LV_RES_OK; } else if(sign == LV_SIGNAL_GET_STATE_DSC) { lv_get_state_info_t * info = param; if(info->part == LV_DROPDOWN_PART_LIST || info->part == LV_DROPDOWN_PART_SCROLLBAR || info->part == LV_DROPDOWN_PART_SELECTED) { info->result = lv_obj_get_state(ext->page, LV_PAGE_PART_BG); } } else if(sign == LV_SIGNAL_CLEANUP) { lv_dropdown_close(ddlist); if(ext->static_txt == 0) { lv_mem_free(ext->options); ext->options = NULL; } /*`lv_obj_clean_style_list` is not required because these styles are only copied to the page * so they can have transitions or other object related things. */ _lv_style_list_reset(&ext->style_page); _lv_style_list_reset(&ext->style_scrlbar); _lv_style_list_reset(&ext->style_selected); } else if(sign == LV_SIGNAL_FOCUS) { #if LV_USE_GROUP lv_group_t * g = lv_obj_get_group(ddlist); bool editing = lv_group_get_editing(g); lv_indev_type_t indev_type = lv_indev_get_type(lv_indev_get_act()); /*Encoders need special handling*/ if(indev_type == LV_INDEV_TYPE_ENCODER) { /*Open the list if editing*/ if(editing) lv_dropdown_open(ddlist); /*Close the list if navigating*/ else lv_dropdown_close(ddlist); } #endif } else if(sign == LV_SIGNAL_DEFOCUS || sign == LV_SIGNAL_LEAVE) { lv_dropdown_close(ddlist); } else if(sign == LV_SIGNAL_RELEASED) { lv_indev_t * indev = lv_indev_get_act(); if(lv_indev_is_dragging(indev) == false) { if(ext->page) { lv_dropdown_close(ddlist); if(ext->sel_opt_id_orig != ext->sel_opt_id) { ext->sel_opt_id_orig = ext->sel_opt_id; uint32_t id = ext->sel_opt_id; /*Just to use uint32_t in event data*/ res = lv_event_send(ddlist, LV_EVENT_VALUE_CHANGED, &id); if(res != LV_RES_OK) return res; lv_obj_invalidate(ddlist); } #if LV_USE_GROUP lv_indev_type_t indev_type = lv_indev_get_type(indev); if(indev_type == LV_INDEV_TYPE_ENCODER) { lv_group_set_editing(lv_obj_get_group(ddlist), false); } #endif } else { lv_dropdown_open(ddlist); } } else { ext->sel_opt_id = ext->sel_opt_id_orig; lv_obj_invalidate(ddlist); } } else if(sign == LV_SIGNAL_COORD_CHG) { if(ext->page) lv_dropdown_close(ddlist); } else if(sign == LV_SIGNAL_STYLE_CHG) { lv_style_int_t top = lv_obj_get_style_pad_top(ddlist, LV_DROPDOWN_PART_MAIN); lv_style_int_t bottom = lv_obj_get_style_pad_bottom(ddlist, LV_DROPDOWN_PART_MAIN); const lv_font_t * font = lv_obj_get_style_text_font(ddlist, LV_DROPDOWN_PART_MAIN); lv_obj_set_height(ddlist, top + bottom + lv_font_get_line_height(font)); if(ext->page) lv_obj_refresh_style(ext->page, LV_STYLE_PROP_ALL); } else if(sign == LV_SIGNAL_CONTROL) { #if LV_USE_GROUP char c = *((char *)param); if(c == LV_KEY_RIGHT || c == LV_KEY_DOWN) { if(ext->page == NULL) { lv_dropdown_open(ddlist); } else if(ext->sel_opt_id + 1 < ext->option_cnt) { ext->sel_opt_id++; position_to_selected(ddlist); } } else if(c == LV_KEY_LEFT || c == LV_KEY_UP) { if(ext->page == NULL) { lv_dropdown_open(ddlist); } else if(ext->sel_opt_id > 0) { ext->sel_opt_id--; position_to_selected(ddlist); } } else if(c == LV_KEY_ESC) { ext->sel_opt_id = ext->sel_opt_id_orig; lv_dropdown_close(ddlist); } #endif } else if(sign == LV_SIGNAL_GET_EDITABLE) { #if LV_USE_GROUP bool * editable = (bool *)param; *editable = true; #endif } return res; } /** * Signal function of the drop down list's scrollable part * @param scrl pointer to a drop down list's scrollable part * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_dropdown_page_signal(lv_obj_t * page, lv_signal_t sign, void * param) { lv_res_t res; /* Include the ancient signal function */ res = ancestor_page_signal(page, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, ""); lv_dropdown_page_ext_t * page_ext = lv_obj_get_ext_attr(page); lv_obj_t * ddlist = page_ext->ddlist; if(sign == LV_SIGNAL_REFR_EXT_DRAW_PAD) { /* Make possible to draw on the full width of the background to redraw the selected rectangle * when the ddlist is scrolled in fix height mode. * (The scrollable is scrolled then "select rectangle" is drawn on the bg too)*/ lv_style_int_t left = lv_obj_get_style_pad_left(ddlist, LV_DROPDOWN_PART_LIST); lv_style_int_t right = lv_obj_get_style_pad_right(ddlist, LV_DROPDOWN_PART_LIST); lv_obj_t * scrl = lv_page_get_scrollable(page); scrl->ext_draw_pad = LV_MATH_MAX3(scrl->ext_draw_pad, left, right); } else if(sign == LV_SIGNAL_RELEASED) { if(lv_indev_is_dragging(lv_indev_get_act()) == false) { page_release_handler(page); } } else if(sign == LV_SIGNAL_PRESSED) { page_press_handler(page); } else if(sign == LV_SIGNAL_CLEANUP) { lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); ext->page = NULL; /*The page is just being deleted*/ } return res; } /** * Signal function of the drop down list's scrollable part * @param scrl pointer to a drop down list's scrollable part * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_dropdown_page_scrl_signal(lv_obj_t * scrl, lv_signal_t sign, void * param) { lv_res_t res; /* Include the ancient signal function */ res = ancestor_page_scrl_signal(scrl, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, ""); lv_obj_t * page = lv_obj_get_parent(scrl); lv_dropdown_page_ext_t * page_ext = lv_obj_get_ext_attr(page); lv_obj_t * ddlist = page_ext->ddlist; lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(sign == LV_SIGNAL_RELEASED) { if(lv_indev_is_dragging(lv_indev_get_act()) == false) { page_release_handler(page); } } else if(sign == LV_SIGNAL_PRESSED) { page_press_handler(page); } else if(sign == LV_SIGNAL_DRAG_BEGIN) { ext->pr_opt_id = LV_DROPDOWN_PR_NONE; lv_obj_invalidate(page); } else if(sign == LV_SIGNAL_REFR_EXT_DRAW_PAD) { /* Make possible to draw on the full width of the background to redraw the selected rectangle * when the ddlist is scrolled in fix height mode. * (The scrollable is scrolled then "select rectangle" is drawn on the bg too)*/ lv_style_int_t left = lv_obj_get_style_pad_left(ddlist, LV_DROPDOWN_PART_LIST); lv_style_int_t right = lv_obj_get_style_pad_right(ddlist, LV_DROPDOWN_PART_LIST); scrl->ext_draw_pad = LV_MATH_MAX3(scrl->ext_draw_pad, left, right); } return res; } /** * Get the style descriptor of a part of the object * @param page pointer the object * @param part the part from `lv_dropdown_part_t`. (LV_DROPDOWN_PART_...) * @return pointer to the style descriptor of the specified part */ static lv_style_list_t * lv_dropdown_get_style(lv_obj_t * ddlist, uint8_t part) { LV_ASSERT_OBJ(ddlist, LV_OBJX_NAME); lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); lv_style_list_t * style_dsc_p; switch(part) { case LV_DROPDOWN_PART_MAIN: style_dsc_p = &ddlist->style_list; break; case LV_DROPDOWN_PART_LIST: style_dsc_p = &ext->style_page; break; case LV_DROPDOWN_PART_SCROLLBAR: style_dsc_p = &ext->style_scrlbar; break; case LV_DROPDOWN_PART_SELECTED: style_dsc_p = &ext->style_selected; break; default: style_dsc_p = NULL; } return style_dsc_p; } static void draw_box(lv_obj_t * ddlist, const lv_area_t * clip_area, uint16_t id, lv_state_t state) { lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); lv_obj_t * page = ext->page; lv_state_t state_orig = page->state; page->state = LV_STATE_DEFAULT; page->state |= state; /*Draw a rectangle under the selected item*/ const lv_font_t * font = lv_obj_get_style_text_font(ddlist, LV_DROPDOWN_PART_LIST); lv_style_int_t line_space = lv_obj_get_style_text_line_space(ddlist, LV_DROPDOWN_PART_LIST); lv_coord_t font_h = lv_font_get_line_height(font); /*Draw the selected*/ lv_obj_t * label = get_label(ddlist); lv_area_t rect_area; rect_area.y1 = label->coords.y1; rect_area.y1 += id * (font_h + line_space); rect_area.y1 -= line_space / 2; rect_area.y2 = rect_area.y1 + font_h + line_space - 1; rect_area.x1 = ext->page->coords.x1; rect_area.x2 = ext->page->coords.x2; lv_draw_rect_dsc_t sel_rect; lv_draw_rect_dsc_init(&sel_rect); lv_obj_init_draw_rect_dsc(ddlist, LV_DROPDOWN_PART_SELECTED, &sel_rect); lv_draw_rect(&rect_area, clip_area, &sel_rect); page->state = state_orig; } static void draw_box_label(lv_obj_t * ddlist, const lv_area_t * clip_area, uint16_t id, lv_state_t state) { lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); lv_obj_t * page = ext->page; lv_state_t state_orig = page->state; page->state = LV_STATE_DEFAULT; page->state |= state; lv_draw_label_dsc_t label_dsc; lv_draw_label_dsc_init(&label_dsc); lv_obj_init_draw_label_dsc(ddlist, LV_DROPDOWN_PART_SELECTED, &label_dsc); label_dsc.line_space = lv_obj_get_style_text_line_space(ddlist, LV_DROPDOWN_PART_LIST); /*Line space should come from the page*/ lv_obj_t * label = get_label(ddlist); if(label == NULL) return; lv_label_align_t align = lv_label_get_align(label); if(align == LV_LABEL_ALIGN_CENTER) label_dsc.flag |= LV_TXT_FLAG_CENTER; else if(align == LV_LABEL_ALIGN_RIGHT) label_dsc.flag |= LV_TXT_FLAG_RIGHT; lv_coord_t font_h = lv_font_get_line_height(label_dsc.font); lv_area_t area_sel; area_sel.y1 = label->coords.y1; area_sel.y1 += id * (font_h + label_dsc.line_space); area_sel.y1 -= label_dsc.line_space / 2; area_sel.y2 = area_sel.y1 + font_h + label_dsc.line_space - 1; area_sel.x1 = page->coords.x1; area_sel.x2 = page->coords.x2; lv_area_t mask_sel; bool area_ok; area_ok = _lv_area_intersect(&mask_sel, clip_area, &area_sel); if(area_ok) { lv_draw_label(&label->coords, &mask_sel, &label_dsc, lv_label_get_text(label), NULL); } page->state = state_orig; } /** * Called when a drop down list is released to open it or set new option * @param page pointer to the drop down list's page * @return LV_RES_INV if the page is not being deleted in the user callback. Else LV_RES_OK */ static lv_res_t page_release_handler(lv_obj_t * page) { lv_dropdown_page_ext_t * page_ext = lv_obj_get_ext_attr(page); lv_obj_t * ddlist = page_ext->ddlist; lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); lv_indev_t * indev = lv_indev_get_act(); #if LV_USE_GROUP /*Leave edit mode once a new item is selected*/ if(lv_indev_get_type(indev) == LV_INDEV_TYPE_ENCODER) { ext->sel_opt_id_orig = ext->sel_opt_id; lv_group_t * g = lv_obj_get_group(ddlist); if(lv_group_get_editing(g)) { lv_group_set_editing(g, false); } } #endif /*Search the clicked option (For KEYPAD and ENCODER the new value should be already set)*/ if(lv_indev_get_type(indev) == LV_INDEV_TYPE_POINTER || lv_indev_get_type(indev) == LV_INDEV_TYPE_BUTTON) { lv_point_t p; lv_indev_get_point(indev, &p); ext->sel_opt_id = get_id_on_point(ddlist, p.x, p.y); ext->sel_opt_id_orig = ext->sel_opt_id; } lv_dropdown_close(ddlist); /*Invalidate to refresh the text*/ if(ext->show_selected) lv_obj_invalidate(ddlist); uint32_t id = ext->sel_opt_id; /*Just to use uint32_t in event data*/ lv_res_t res = lv_event_send(ddlist, LV_EVENT_VALUE_CHANGED, &id); if(res != LV_RES_OK) return res; if(ext->page == NULL) return LV_RES_INV; return LV_RES_OK; } static void page_press_handler(lv_obj_t * page) { lv_dropdown_page_ext_t * page_ext = lv_obj_get_ext_attr(page); lv_obj_t * ddlist = page_ext->ddlist; lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); lv_indev_t * indev = lv_indev_get_act(); if(indev && (lv_indev_get_type(indev) == LV_INDEV_TYPE_POINTER || lv_indev_get_type(indev) == LV_INDEV_TYPE_BUTTON)) { lv_point_t p; lv_indev_get_point(indev, &p); ext->pr_opt_id = get_id_on_point(ddlist, p.x, p.y); lv_obj_invalidate(page); } } static uint16_t get_id_on_point(lv_obj_t * ddlist, lv_coord_t x, lv_coord_t y) { lv_obj_t * label = get_label(ddlist); if(label == NULL) return 0; x -= label->coords.x1; y -= label->coords.y1; uint32_t letter_i; lv_point_t p = {x, y}; letter_i = lv_label_get_letter_on(label, &p); uint16_t opt = 0; const char * txt = lv_label_get_text(label); uint32_t i = 0; uint32_t i_prev = 0; uint32_t letter_cnt = 0; for(letter_cnt = 0; letter_cnt < letter_i; letter_cnt++) { uint32_t letter = _lv_txt_encoded_next(txt, &i); /*Count the lines to reach the clicked letter. But ignore the last '\n' because it * still belongs to the clicked line*/ if(letter == '\n' && i_prev != letter_i) opt++; i_prev = i; } return opt; } /** * Set the position of list when it is closed to show the selected item * @param ddlist pointer to a drop down list */ static void position_to_selected(lv_obj_t * ddlist) { lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); const lv_font_t * font = lv_obj_get_style_text_font(ddlist, LV_DROPDOWN_PART_LIST); lv_coord_t font_h = lv_font_get_line_height(font); lv_obj_t * scrl = lv_page_get_scrollable(ext->page); lv_obj_t * label = get_label(ddlist); if(label == NULL) return; lv_coord_t h = lv_obj_get_height(ext->page); lv_style_int_t line_space = lv_obj_get_style_text_line_space(ddlist, LV_DROPDOWN_PART_LIST); lv_coord_t line_y1 = ext->sel_opt_id * (font_h + line_space) + label->coords.y1 - scrl->coords.y1; lv_obj_set_y(scrl, -line_y1 + (h - font_h) / 2); lv_obj_invalidate(ext->page); } static lv_obj_t * get_label(const lv_obj_t * ddlist) { lv_dropdown_ext_t * ext = lv_obj_get_ext_attr(ddlist); if(ext->page == NULL) return NULL; return lv_obj_get_child(lv_page_get_scrollable(ext->page), NULL); } #endif
45,734
lv_dropdown
c
en
c
code
{"qsc_code_num_words": 7091, "qsc_code_num_chars": 45734.0, "qsc_code_mean_word_length": 3.8272458, "qsc_code_frac_words_unique": 0.05866591, "qsc_code_frac_chars_top_2grams": 0.03629463, "qsc_code_frac_chars_top_3grams": 0.0235823, "qsc_code_frac_chars_top_4grams": 0.02033973, "qsc_code_frac_chars_dupe_5grams": 0.7213604, "qsc_code_frac_chars_dupe_6grams": 0.65400346, "qsc_code_frac_chars_dupe_7grams": 0.59560043, "qsc_code_frac_chars_dupe_8grams": 0.56542245, "qsc_code_frac_chars_dupe_9grams": 0.54559859, "qsc_code_frac_chars_dupe_10grams": 0.51818416, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00638383, "qsc_code_frac_chars_whitespace": 0.23619189, "qsc_code_size_file_byte": 45734.0, "qsc_code_num_lines": 1330.0, "qsc_code_num_chars_line_max": 126.0, "qsc_code_num_chars_line_mean": 34.38646617, "qsc_code_frac_chars_alphabet": 0.77052559, "qsc_code_frac_chars_comments": 0.22919491, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.36289382, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01069443, "qsc_code_frac_chars_long_word_length": 0.00399977, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0001702, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.03500583, "qsc_codec_frac_lines_func_ratio": 0.10035006, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.13068845, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.03500583}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_table.c
/** * @file lv_table.c * */ /********************* * INCLUDES *********************/ #include "lv_table.h" #if LV_USE_TABLE != 0 #include "../lv_misc/lv_debug.h" #include "../lv_core/lv_indev.h" #include "../lv_misc/lv_txt.h" #include "../lv_misc/lv_math.h" #include "../lv_draw/lv_draw_label.h" #include "../lv_themes/lv_theme.h" /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_table" /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_design_res_t lv_table_design(lv_obj_t * table, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_res_t lv_table_signal(lv_obj_t * table, lv_signal_t sign, void * param); static lv_style_list_t * lv_table_get_style(lv_obj_t * table, uint8_t part); static lv_coord_t get_row_height(lv_obj_t * table, uint16_t row_id, const lv_font_t ** font, lv_style_int_t * letter_space, lv_style_int_t * line_space, lv_style_int_t * cell_left, lv_style_int_t * cell_right, lv_style_int_t * cell_top, lv_style_int_t * cell_bottom); static void refr_size(lv_obj_t * table); /********************** * STATIC VARIABLES **********************/ static lv_signal_cb_t ancestor_signal; static lv_design_cb_t ancestor_design; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a table object * @param par pointer to an object, it will be the parent of the new table * @param copy pointer to a table object, if not NULL then the new object will be copied from it * @return pointer to the created table */ lv_obj_t * lv_table_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("table create started"); /*Create the ancestor of table*/ lv_obj_t * table = lv_obj_create(par, copy); LV_ASSERT_MEM(table); if(table == NULL) return NULL; /*Allocate the table type specific extended data*/ lv_table_ext_t * ext = lv_obj_allocate_ext_attr(table, sizeof(lv_table_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(table); return NULL; } if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(table); if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(table); /*Initialize the allocated 'ext' */ ext->cell_data = NULL; ext->col_cnt = 0; ext->row_cnt = 0; ext->row_h = NULL; ext->cell_types = 1; uint16_t i; for(i = 0; i < LV_TABLE_CELL_STYLE_CNT; i++) { lv_style_list_init(&ext->cell_style[i]); } for(i = 0; i < LV_TABLE_COL_MAX; i++) { ext->col_w[i] = LV_DPI; } /*The signal and design functions are not copied so set them here*/ lv_obj_set_signal_cb(table, lv_table_signal); lv_obj_set_design_cb(table, lv_table_design); /*Init the new table table*/ if(copy == NULL) { lv_theme_apply(table, LV_THEME_TABLE); } /*Copy an existing table*/ else { lv_table_ext_t * copy_ext = lv_obj_get_ext_attr(copy); for(i = 0; i < LV_TABLE_CELL_STYLE_CNT; i++) { lv_style_list_copy(&ext->cell_style[i], &copy_ext->cell_style[i]); } lv_table_set_row_cnt(table, copy_ext->row_cnt); lv_table_set_col_cnt(table, copy_ext->col_cnt); /*Refresh the style with new signal function*/ lv_obj_refresh_style(table, LV_STYLE_PROP_ALL); } LV_LOG_INFO("table created"); return table; } /*===================== * Setter functions *====================*/ /** * Set the value of a cell. * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @param txt text to display in the cell. It will be copied and saved so this variable is not * required after this function call. */ void lv_table_set_cell_value(lv_obj_t * table, uint16_t row, uint16_t col, const char * txt) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); LV_ASSERT_NULL(txt); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(col >= ext->col_cnt) { LV_LOG_WARN("lv_table_set_cell_value: invalid column"); return; } /*Auto expand*/ if(row >= ext->row_cnt) { lv_table_set_row_cnt(table, row + 1); } uint32_t cell = row * ext->col_cnt + col; lv_table_cell_format_t format; /*Save the format byte*/ if(ext->cell_data[cell]) { format.format_byte = ext->cell_data[cell][0]; } /*Initialize the format byte*/ else { lv_bidi_dir_t base_dir = lv_obj_get_base_dir(table); if(base_dir == LV_BIDI_DIR_LTR) format.s.align = LV_LABEL_ALIGN_LEFT; else if(base_dir == LV_BIDI_DIR_RTL) format.s.align = LV_LABEL_ALIGN_RIGHT; else if(base_dir == LV_BIDI_DIR_AUTO) #if LV_USE_BIDI format.s.align = _lv_bidi_detect_base_dir(txt); #else format.s.align = LV_LABEL_ALIGN_LEFT; #endif format.s.right_merge = 0; format.s.type = 0; format.s.crop = 0; } ext->cell_data[cell] = lv_mem_realloc(ext->cell_data[cell], strlen(txt) + 2); /*+1: trailing '\0; +1: format byte*/ LV_ASSERT_MEM(ext->cell_data[cell]); if(ext->cell_data[cell] == NULL) return; strcpy(ext->cell_data[cell] + 1, txt); /*+1 to skip the format byte*/ ext->cell_data[cell][0] = format.format_byte; refr_size(table); } /** * Set the number of rows * @param table table pointer to a Table object * @param row_cnt number of rows */ void lv_table_set_row_cnt(lv_obj_t * table, uint16_t row_cnt) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); uint16_t old_row_cnt = ext->row_cnt; ext->row_cnt = row_cnt; if(ext->row_cnt > 0) { ext->row_h = lv_mem_realloc(ext->row_h, ext->row_cnt * sizeof(ext->row_h[0])); LV_ASSERT_MEM(ext->row_h); if(ext->row_h == NULL) return; } else { lv_mem_free(ext->row_h); ext->row_h = NULL; } if(ext->row_cnt > 0 && ext->col_cnt > 0) { ext->cell_data = lv_mem_realloc(ext->cell_data, ext->row_cnt * ext->col_cnt * sizeof(char *)); LV_ASSERT_MEM(ext->cell_data); if(ext->cell_data == NULL) return; /*Initialize the new fields*/ if(old_row_cnt < row_cnt) { uint16_t old_cell_cnt = old_row_cnt * ext->col_cnt; uint32_t new_cell_cnt = ext->col_cnt * ext->row_cnt; _lv_memset_00(&ext->cell_data[old_cell_cnt], (new_cell_cnt - old_cell_cnt) * sizeof(ext->cell_data[0])); } } else { lv_mem_free(ext->cell_data); ext->cell_data = NULL; } refr_size(table); } /** * Set the number of columns * @param table table pointer to a Table object * @param col_cnt number of columns. Must be < LV_TABLE_COL_MAX */ void lv_table_set_col_cnt(lv_obj_t * table, uint16_t col_cnt) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); if(col_cnt >= LV_TABLE_COL_MAX) { LV_LOG_WARN("lv_table_set_col_cnt: too many columns. Must be < LV_TABLE_COL_MAX."); return; } lv_table_ext_t * ext = lv_obj_get_ext_attr(table); uint16_t old_col_cnt = ext->col_cnt; ext->col_cnt = col_cnt; if(ext->row_cnt > 0 && ext->col_cnt > 0) { ext->cell_data = lv_mem_realloc(ext->cell_data, ext->row_cnt * ext->col_cnt * sizeof(char *)); LV_ASSERT_MEM(ext->cell_data); if(ext->cell_data == NULL) return; /*Initialize the new fields*/ if(old_col_cnt < col_cnt) { uint16_t old_cell_cnt = old_col_cnt * ext->row_cnt; uint32_t new_cell_cnt = ext->col_cnt * ext->row_cnt; _lv_memset_00(&ext->cell_data[old_cell_cnt], (new_cell_cnt - old_cell_cnt) * sizeof(ext->cell_data[0])); } } else { lv_mem_free(ext->cell_data); ext->cell_data = NULL; } refr_size(table); } /** * Set the width of a column * @param table table pointer to a Table object * @param col_id id of the column [0 .. LV_TABLE_COL_MAX -1] * @param w width of the column */ void lv_table_set_col_width(lv_obj_t * table, uint16_t col_id, lv_coord_t w) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); if(col_id >= LV_TABLE_COL_MAX) { LV_LOG_WARN("lv_table_set_col_width: too big 'col_id'. Must be < LV_TABLE_COL_MAX."); return; } lv_table_ext_t * ext = lv_obj_get_ext_attr(table); ext->col_w[col_id] = w; refr_size(table); } /** * Set the text align in a cell * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @param align LV_LABEL_ALIGN_LEFT or LV_LABEL_ALIGN_CENTER or LV_LABEL_ALIGN_RIGHT */ void lv_table_set_cell_align(lv_obj_t * table, uint16_t row, uint16_t col, lv_label_align_t align) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(col >= ext->col_cnt) { LV_LOG_WARN("lv_table_set_cell_align: invalid column"); return; } /*Auto expand*/ if(row >= ext->row_cnt) { lv_table_set_row_cnt(table, row + 1); } uint32_t cell = row * ext->col_cnt + col; if(ext->cell_data[cell] == NULL) { ext->cell_data[cell] = lv_mem_alloc(2); /*+1: trailing '\0; +1: format byte*/ LV_ASSERT_MEM(ext->cell_data[cell]); if(ext->cell_data[cell] == NULL) return; ext->cell_data[cell][0] = 0; ext->cell_data[cell][1] = '\0'; } lv_table_cell_format_t format; format.format_byte = ext->cell_data[cell][0]; format.s.align = align; ext->cell_data[cell][0] = format.format_byte; } /** * Set the type of a cell. * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @param type 1,2,3 or 4. The cell style will be chosen accordingly. */ void lv_table_set_cell_type(lv_obj_t * table, uint16_t row, uint16_t col, uint8_t type) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(col >= ext->col_cnt) { LV_LOG_WARN("lv_table_set_cell_type: invalid column"); return; } /*Auto expand*/ if(row >= ext->row_cnt) { lv_table_set_row_cnt(table, row + 1); } uint32_t cell = row * ext->col_cnt + col; if(ext->cell_data[cell] == NULL) { ext->cell_data[cell] = lv_mem_alloc(2); /*+1: trailing '\0; +1: format byte*/ LV_ASSERT_MEM(ext->cell_data[cell]); if(ext->cell_data[cell] == NULL) return; ext->cell_data[cell][0] = 0; ext->cell_data[cell][1] = '\0'; } if(type > 0) type--; /*User gives 1,2,3,4 but easier to handle 0, 1, 2, 3*/ if(type >= LV_TABLE_CELL_STYLE_CNT) type = LV_TABLE_CELL_STYLE_CNT - 1; lv_table_cell_format_t format; format.format_byte = ext->cell_data[cell][0]; format.s.type = type; ext->cell_data[cell][0] = format.format_byte; ext->cell_types |= 1 << type; } /** * Set the cell crop. (Don't adjust the height of the cell according to its content) * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @param crop true: crop the cell content; false: set the cell height to the content. */ void lv_table_set_cell_crop(lv_obj_t * table, uint16_t row, uint16_t col, bool crop) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(col >= ext->col_cnt) { LV_LOG_WARN("lv_table_set_cell_crop: invalid column"); return; } /*Auto expand*/ if(row >= ext->row_cnt) { lv_table_set_row_cnt(table, row + 1); } uint32_t cell = row * ext->col_cnt + col; if(ext->cell_data[cell] == NULL) { ext->cell_data[cell] = lv_mem_alloc(2); /*+1: trailing '\0; +1: format byte*/ LV_ASSERT_MEM(ext->cell_data[cell]); if(ext->cell_data[cell] == NULL) return; ext->cell_data[cell][0] = 0; ext->cell_data[cell][1] = '\0'; } lv_table_cell_format_t format; format.format_byte = ext->cell_data[cell][0]; format.s.crop = crop; ext->cell_data[cell][0] = format.format_byte; } /** * Merge a cell with the right neighbor. The value of the cell to the right won't be displayed. * @param table table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @param en true: merge right; false: don't merge right */ void lv_table_set_cell_merge_right(lv_obj_t * table, uint16_t row, uint16_t col, bool en) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(col >= ext->col_cnt) { LV_LOG_WARN("lv_table_set_cell_merge_right: invalid column"); return; } /*Auto expand*/ if(row >= ext->row_cnt) { lv_table_set_row_cnt(table, row + 1); } uint32_t cell = row * ext->col_cnt + col; if(ext->cell_data[cell] == NULL) { ext->cell_data[cell] = lv_mem_alloc(2); /*+1: trailing '\0; +1: format byte*/ LV_ASSERT_MEM(ext->cell_data[cell]); if(ext->cell_data[cell] == NULL) return; ext->cell_data[cell][0] = 0; ext->cell_data[cell][1] = '\0'; } lv_table_cell_format_t format; format.format_byte = ext->cell_data[cell][0]; format.s.right_merge = en ? 1 : 0; ext->cell_data[cell][0] = format.format_byte; refr_size(table); } /*===================== * Getter functions *====================*/ /** * Get the value of a cell. * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @return text in the cell */ const char * lv_table_get_cell_value(lv_obj_t * table, uint16_t row, uint16_t col) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(row >= ext->row_cnt || col >= ext->col_cnt) { LV_LOG_WARN("lv_table_set_cell_value: invalid row or column"); return ""; } uint32_t cell = row * ext->col_cnt + col; if(ext->cell_data[cell] == NULL) return ""; return &ext->cell_data[cell][1]; /*Skip the format byte*/ } /** * Get the number of rows. * @param table table pointer to a Table object * @return number of rows. */ uint16_t lv_table_get_row_cnt(lv_obj_t * table) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); return ext->row_cnt; } /** * Get the number of columns. * @param table table pointer to a Table object * @return number of columns. */ uint16_t lv_table_get_col_cnt(lv_obj_t * table) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); return ext->col_cnt; } /** * Get the width of a column * @param table table pointer to a Table object * @param col_id id of the column [0 .. LV_TABLE_COL_MAX -1] * @return width of the column */ lv_coord_t lv_table_get_col_width(lv_obj_t * table, uint16_t col_id) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); if(col_id >= LV_TABLE_COL_MAX) { LV_LOG_WARN("lv_table_set_col_width: too big 'col_id'. Must be < LV_TABLE_COL_MAX."); return 0; } lv_table_ext_t * ext = lv_obj_get_ext_attr(table); return ext->col_w[col_id]; } /** * Get the text align of a cell * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @return LV_LABEL_ALIGN_LEFT (default in case of error) or LV_LABEL_ALIGN_CENTER or * LV_LABEL_ALIGN_RIGHT */ lv_label_align_t lv_table_get_cell_align(lv_obj_t * table, uint16_t row, uint16_t col) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(row >= ext->row_cnt || col >= ext->col_cnt) { LV_LOG_WARN("lv_table_set_cell_align: invalid row or column"); return LV_LABEL_ALIGN_LEFT; /*Just return with something*/ } uint32_t cell = row * ext->col_cnt + col; if(ext->cell_data[cell] == NULL) return LV_LABEL_ALIGN_LEFT; /*Just return with something*/ else { lv_table_cell_format_t format; format.format_byte = ext->cell_data[cell][0]; return format.s.align; } } /** * Get the type of a cell * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @return 1,2,3 or 4 */ lv_label_align_t lv_table_get_cell_type(lv_obj_t * table, uint16_t row, uint16_t col) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(row >= ext->row_cnt || col >= ext->col_cnt) { LV_LOG_WARN("lv_table_get_cell_type: invalid row or column"); return 1; /*Just return with something*/ } uint32_t cell = row * ext->col_cnt + col; if(ext->cell_data[cell] == NULL) return 1; /*Just return with something*/ else { lv_table_cell_format_t format; format.format_byte = ext->cell_data[cell][0]; return format.s.type + 1; /*0,1,2,3 is stored but user sees 1,2,3,4*/ } } /** * Get the crop property of a cell * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @return true: text crop enabled; false: disabled */ lv_label_align_t lv_table_get_cell_crop(lv_obj_t * table, uint16_t row, uint16_t col) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(row >= ext->row_cnt || col >= ext->col_cnt) { LV_LOG_WARN("lv_table_get_cell_crop: invalid row or column"); return false; /*Just return with something*/ } uint32_t cell = row * ext->col_cnt + col; if(ext->cell_data[cell] == NULL) return false; /*Just return with something*/ else { lv_table_cell_format_t format; format.format_byte = ext->cell_data[cell][0]; return format.s.crop; } } /** * Get the cell merge attribute. * @param table table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @return true: merge right; false: don't merge right */ bool lv_table_get_cell_merge_right(lv_obj_t * table, uint16_t row, uint16_t col) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(row >= ext->row_cnt || col >= ext->col_cnt) { LV_LOG_WARN("lv_table_get_cell_merge_right: invalid row or column"); return false; } uint32_t cell = row * ext->col_cnt + col; if(ext->cell_data[cell] == NULL) return false; else { lv_table_cell_format_t format; format.format_byte = ext->cell_data[cell][0]; return format.s.right_merge ? true : false; } } /** * Get the last pressed or being pressed cell * @param table pointer to a table object * @param row pointer to variable to store the pressed row * @param col pointer to variable to store the pressed column * @return LV_RES_OK: a valid pressed cell was found, LV_RES_INV: no valid cell is pressed */ lv_res_t lv_table_get_pressed_cell(lv_obj_t * table, uint16_t * row, uint16_t * col) { lv_table_ext_t * ext = lv_obj_get_ext_attr(table); lv_indev_type_t type = lv_indev_get_type(lv_indev_get_act()); if(type != LV_INDEV_TYPE_POINTER && type != LV_INDEV_TYPE_BUTTON) { if(col) *col = 0xFFFF; if(row) *row = 0xFFFF; return LV_RES_INV; } lv_point_t p; lv_indev_get_point(lv_indev_get_act(), &p); lv_coord_t tmp; if(col) { lv_coord_t x = p.x; x -= table->coords.x1; x -= lv_obj_get_style_pad_left(table, LV_TABLE_PART_BG); *col = 0; tmp = 0; for(*col = 0; *col < ext->col_cnt; (*col)++) { tmp += ext->col_w[*col]; if(x < tmp) break; } } if(row) { lv_coord_t y = p.y; y -= table->coords.y1; y -= lv_obj_get_style_pad_top(table, LV_TABLE_PART_BG); *row = 0; tmp = 0; for(*row = 0; *row < ext->row_cnt; (*row)++) { tmp += ext->row_h[*row]; if(y < tmp) break; } } return LV_RES_OK; } /********************** * STATIC FUNCTIONS **********************/ /** * Handle the drawing related tasks of the tables * @param table pointer to an object * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_table_design(lv_obj_t * table, const lv_area_t * clip_area, lv_design_mode_t mode) { /*Return false if the object is not covers the mask_p area*/ if(mode == LV_DESIGN_COVER_CHK) { return ancestor_design(table, clip_area, mode); } /*Draw the object*/ else if(mode == LV_DESIGN_DRAW_MAIN) { /*Draw the background*/ ancestor_design(table, clip_area, mode); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); lv_point_t txt_size; lv_area_t cell_area; lv_area_t txt_area; lv_txt_flag_t txt_flags; lv_style_int_t bg_top = lv_obj_get_style_pad_top(table, LV_TABLE_PART_BG); lv_style_int_t bg_bottom = lv_obj_get_style_pad_bottom(table, LV_TABLE_PART_BG); lv_style_int_t bg_left = lv_obj_get_style_pad_left(table, LV_TABLE_PART_BG); lv_style_int_t bg_right = lv_obj_get_style_pad_right(table, LV_TABLE_PART_BG); lv_draw_rect_dsc_t rect_dsc[LV_TABLE_CELL_STYLE_CNT]; lv_draw_label_dsc_t label_dsc[LV_TABLE_CELL_STYLE_CNT]; lv_draw_line_dsc_t line_dsc[LV_TABLE_CELL_STYLE_CNT]; lv_style_int_t cell_left[LV_TABLE_CELL_STYLE_CNT]; lv_style_int_t cell_right[LV_TABLE_CELL_STYLE_CNT]; lv_style_int_t cell_top[LV_TABLE_CELL_STYLE_CNT]; lv_style_int_t cell_bottom[LV_TABLE_CELL_STYLE_CNT]; uint16_t i; for(i = 0; i < LV_TABLE_CELL_STYLE_CNT; i++) { if((ext->cell_types & (1 << i)) == 0) continue; /*Skip unused cell types*/ lv_draw_rect_dsc_init(&rect_dsc[i]); lv_obj_init_draw_rect_dsc(table, LV_TABLE_PART_CELL1 + i, &rect_dsc[i]); lv_draw_label_dsc_init(&label_dsc[i]); lv_obj_init_draw_label_dsc(table, LV_TABLE_PART_CELL1 + i, &label_dsc[i]); lv_draw_line_dsc_init(&line_dsc[i]); lv_obj_init_draw_line_dsc(table, LV_TABLE_PART_CELL1 + i, &line_dsc[i]); cell_left[i] = lv_obj_get_style_pad_left(table, LV_TABLE_PART_CELL1 + i); cell_right[i] = lv_obj_get_style_pad_right(table, LV_TABLE_PART_CELL1 + i); cell_top[i] = lv_obj_get_style_pad_top(table, LV_TABLE_PART_CELL1 + i); cell_bottom[i] = lv_obj_get_style_pad_bottom(table, LV_TABLE_PART_CELL1 + i); } uint16_t col; uint16_t row; uint16_t cell = 0; cell_area.y2 = table->coords.y1 + bg_top - 1; for(row = 0; row < ext->row_cnt; row++) { lv_coord_t h_row = ext->row_h[row]; cell_area.y1 = cell_area.y2 + 1; cell_area.y2 = cell_area.y1 + h_row - 1; if(cell_area.y1 > clip_area->y2) return LV_DESIGN_RES_OK; cell_area.x2 = table->coords.x1 + bg_left - 1; for(col = 0; col < ext->col_cnt; col++) { lv_table_cell_format_t format; if(ext->cell_data[cell]) { format.format_byte = ext->cell_data[cell][0]; } else { format.s.right_merge = 0; format.s.align = LV_LABEL_ALIGN_LEFT; format.s.type = 0; format.s.crop = 1; } cell_area.x1 = cell_area.x2 + 1; cell_area.x2 = cell_area.x1 + ext->col_w[col] - 1; uint16_t col_merge = 0; for(col_merge = 0; col_merge + col < ext->col_cnt - 1; col_merge++) { if(ext->cell_data[cell + col_merge] != NULL) { format.format_byte = ext->cell_data[cell + col_merge][0]; if(format.s.right_merge) cell_area.x2 += ext->col_w[col + col_merge + 1]; else break; } else { break; } } if(cell_area.y2 < clip_area->y1) { cell += col_merge + 1; col += col_merge; continue; } uint8_t cell_type = format.s.type; /*Expand the cell area with a half border to avoid drawing 2 borders next to each other*/ lv_area_t cell_area_border; lv_area_copy(&cell_area_border, &cell_area); if((rect_dsc[cell_type].border_side & LV_BORDER_SIDE_LEFT) && cell_area_border.x1 > table->coords.x1 + bg_left) { cell_area_border.x1 -= rect_dsc[cell_type].border_width / 2; } if((rect_dsc[cell_type].border_side & LV_BORDER_SIDE_TOP) && cell_area_border.y1 > table->coords.y1 + bg_top) { cell_area_border.y1 -= rect_dsc[cell_type].border_width / 2; } if((rect_dsc[cell_type].border_side & LV_BORDER_SIDE_RIGHT) && cell_area_border.x2 < table->coords.x2 - bg_right - 1) { cell_area_border.x2 += rect_dsc[cell_type].border_width / 2 + (rect_dsc[cell_type].border_width & 0x1); } if((rect_dsc[cell_type].border_side & LV_BORDER_SIDE_BOTTOM) && cell_area_border.y2 < table->coords.y2 - bg_bottom - 1) { cell_area_border.y2 += rect_dsc[cell_type].border_width / 2 + (rect_dsc[cell_type].border_width & 0x1); } lv_draw_rect(&cell_area_border, clip_area, &rect_dsc[cell_type]); if(ext->cell_data[cell]) { txt_area.x1 = cell_area.x1 + cell_left[cell_type]; txt_area.x2 = cell_area.x2 - cell_right[cell_type]; txt_area.y1 = cell_area.y1 + cell_top[cell_type]; txt_area.y2 = cell_area.y2 - cell_bottom[cell_type]; /*Align the content to the middle if not cropped*/ if(format.s.crop == 0) { txt_flags = LV_TXT_FLAG_NONE; } else { txt_flags = LV_TXT_FLAG_EXPAND; } _lv_txt_get_size(&txt_size, ext->cell_data[cell] + 1, label_dsc[cell_type].font, label_dsc[cell_type].letter_space, label_dsc[cell_type].line_space, lv_area_get_width(&txt_area), txt_flags); label_dsc[cell_type].flag = 0; /*Align the content to the middle if not cropped*/ if(format.s.crop == 0) { txt_area.y1 = cell_area.y1 + h_row / 2 - txt_size.y / 2; txt_area.y2 = cell_area.y1 + h_row / 2 + txt_size.y / 2; } switch(format.s.align) { default: case LV_LABEL_ALIGN_LEFT: label_dsc[cell_type].flag |= LV_TXT_FLAG_NONE; break; case LV_LABEL_ALIGN_RIGHT: label_dsc[cell_type].flag |= LV_TXT_FLAG_RIGHT; break; case LV_LABEL_ALIGN_CENTER: label_dsc[cell_type].flag |= LV_TXT_FLAG_CENTER; break; } lv_area_t label_mask; bool label_mask_ok; label_mask_ok = _lv_area_intersect(&label_mask, clip_area, &cell_area); if(label_mask_ok) { lv_draw_label(&txt_area, &label_mask, &label_dsc[cell_type], ext->cell_data[cell] + 1, NULL); } /*Draw lines after '\n's*/ lv_point_t p1; lv_point_t p2; p1.x = cell_area.x1; p2.x = cell_area.x2; for(i = 1; ext->cell_data[cell][i] != '\0'; i++) { if(ext->cell_data[cell][i] == '\n') { ext->cell_data[cell][i] = '\0'; _lv_txt_get_size(&txt_size, ext->cell_data[cell] + 1, label_dsc[cell_type].font, label_dsc[cell_type].letter_space, label_dsc[cell_type].line_space, lv_area_get_width(&txt_area), txt_flags); p1.y = txt_area.y1 + txt_size.y + label_dsc[cell_type].line_space / 2; p2.y = txt_area.y1 + txt_size.y + label_dsc[cell_type].line_space / 2; lv_draw_line(&p1, &p2, clip_area, &line_dsc[cell_type]); ext->cell_data[cell][i] = '\n'; } } } cell += col_merge + 1; col += col_merge; } } } /*Post draw when the children are drawn*/ else if(mode == LV_DESIGN_DRAW_POST) { ancestor_design(table, clip_area, mode); } return LV_DESIGN_RES_OK; } /** * Signal function of the table * @param table pointer to a table object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_table_signal(lv_obj_t * table, lv_signal_t sign, void * param) { lv_res_t res; if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_table_get_style(table, info->part); if(info->result != NULL) return LV_RES_OK; else return ancestor_signal(table, sign, param); } /* Include the ancient signal function */ res = ancestor_signal(table, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); if(sign == LV_SIGNAL_CLEANUP) { /*Free the cell texts*/ lv_table_ext_t * ext = lv_obj_get_ext_attr(table); uint16_t i; for(i = 0; i < ext->col_cnt * ext->row_cnt; i++) { if(ext->cell_data[i]) { lv_mem_free(ext->cell_data[i]); ext->cell_data[i] = NULL; } } if(ext->cell_data) lv_mem_free(ext->cell_data); if(ext->row_h) lv_mem_free(ext->row_h); for(i = 0; i < LV_TABLE_CELL_STYLE_CNT; i++) { lv_obj_clean_style_list(table, LV_TABLE_PART_CELL1 + i); } } else if(sign == LV_SIGNAL_STYLE_CHG) { refr_size(table); } return res; } /** * Get the style descriptor of a part of the object * @param table pointer the object * @param part the part from. (LV_TABLE_PART_...) * @return pointer to the style descriptor of the specified part */ static lv_style_list_t * lv_table_get_style(lv_obj_t * table, uint8_t part) { LV_ASSERT_OBJ(table, LV_OBJX_NAME); lv_table_ext_t * ext = lv_obj_get_ext_attr(table); lv_style_list_t * style_dsc_p; switch(part) { case LV_TABLE_PART_BG: style_dsc_p = &table->style_list; break; case LV_TABLE_PART_CELL1: style_dsc_p = &ext->cell_style[0]; break; case LV_TABLE_PART_CELL2: style_dsc_p = &ext->cell_style[1]; break; case LV_TABLE_PART_CELL3: style_dsc_p = &ext->cell_style[2]; break; case LV_TABLE_PART_CELL4: style_dsc_p = &ext->cell_style[3]; break; default: style_dsc_p = NULL; } return style_dsc_p; } static void refr_size(lv_obj_t * table) { lv_coord_t h = 0; lv_coord_t w = 0; lv_table_ext_t * ext = lv_obj_get_ext_attr(table); if(ext->row_cnt == 0 || ext->col_cnt == 0) { lv_obj_set_size(table, w, h); return; } uint16_t i; for(i = 0; i < ext->col_cnt; i++) { w += ext->col_w[i]; } lv_style_int_t cell_left[LV_TABLE_CELL_STYLE_CNT]; lv_style_int_t cell_right[LV_TABLE_CELL_STYLE_CNT]; lv_style_int_t cell_top[LV_TABLE_CELL_STYLE_CNT]; lv_style_int_t cell_bottom[LV_TABLE_CELL_STYLE_CNT]; lv_style_int_t letter_space[LV_TABLE_CELL_STYLE_CNT]; lv_style_int_t line_space[LV_TABLE_CELL_STYLE_CNT]; const lv_font_t * font[LV_TABLE_CELL_STYLE_CNT]; for(i = 0; i < LV_TABLE_CELL_STYLE_CNT; i++) { if((ext->cell_types & (1 << i)) == 0) continue; /*Skip unused cell types*/ cell_left[i] = lv_obj_get_style_pad_left(table, LV_TABLE_PART_CELL1 + i); cell_right[i] = lv_obj_get_style_pad_right(table, LV_TABLE_PART_CELL1 + i); cell_top[i] = lv_obj_get_style_pad_top(table, LV_TABLE_PART_CELL1 + i); cell_bottom[i] = lv_obj_get_style_pad_bottom(table, LV_TABLE_PART_CELL1 + i); letter_space[i] = lv_obj_get_style_text_letter_space(table, LV_TABLE_PART_CELL1 + i); line_space[i] = lv_obj_get_style_text_line_space(table, LV_TABLE_PART_CELL1 + i); font[i] = lv_obj_get_style_text_font(table, LV_TABLE_PART_CELL1 + i); } for(i = 0; i < ext->row_cnt; i++) { ext->row_h[i] = get_row_height(table, i, font, letter_space, line_space, cell_left, cell_right, cell_top, cell_bottom); h += ext->row_h[i]; } lv_style_int_t bg_top = lv_obj_get_style_pad_top(table, LV_TABLE_PART_BG); lv_style_int_t bg_bottom = lv_obj_get_style_pad_bottom(table, LV_TABLE_PART_BG); lv_style_int_t bg_left = lv_obj_get_style_pad_left(table, LV_TABLE_PART_BG); lv_style_int_t bg_right = lv_obj_get_style_pad_right(table, LV_TABLE_PART_BG); w += bg_left + bg_right; h += bg_top + bg_bottom; lv_obj_set_size(table, w + 1, h + 1); lv_obj_invalidate(table); /*Always invalidate even if the size hasn't changed*/ } static lv_coord_t get_row_height(lv_obj_t * table, uint16_t row_id, const lv_font_t ** font, lv_style_int_t * letter_space, lv_style_int_t * line_space, lv_style_int_t * cell_left, lv_style_int_t * cell_right, lv_style_int_t * cell_top, lv_style_int_t * cell_bottom) { lv_table_ext_t * ext = lv_obj_get_ext_attr(table); lv_point_t txt_size; lv_coord_t txt_w; uint16_t row_start = row_id * ext->col_cnt; uint16_t cell; uint16_t col; lv_coord_t h_max = lv_font_get_line_height(font[0]) + cell_top[0] + cell_bottom[0]; for(cell = row_start, col = 0; cell < row_start + ext->col_cnt; cell++, col++) { if(ext->cell_data[cell] != NULL) { txt_w = ext->col_w[col]; uint16_t col_merge = 0; for(col_merge = 0; col_merge + col < ext->col_cnt - 1; col_merge++) { if(ext->cell_data[cell + col_merge] != NULL) { lv_table_cell_format_t format; format.format_byte = ext->cell_data[cell + col_merge][0]; if(format.s.right_merge) txt_w += ext->col_w[col + col_merge + 1]; else break; } else { break; } } lv_table_cell_format_t format; format.format_byte = ext->cell_data[cell][0]; uint8_t cell_type = format.s.type; /*With text crop assume 1 line*/ if(format.s.crop) { h_max = LV_MATH_MAX(lv_font_get_line_height(font[cell_type]) + cell_top[cell_type] + cell_bottom[cell_type], h_max); } /*Without text crop calculate the height of the text in the cell*/ else { txt_w -= cell_left[cell_type] + cell_right[cell_type]; _lv_txt_get_size(&txt_size, ext->cell_data[cell] + 1, font[cell_type], letter_space[cell_type], line_space[cell_type], txt_w, LV_TXT_FLAG_NONE); h_max = LV_MATH_MAX(txt_size.y + cell_top[cell_type] + cell_bottom[cell_type], h_max); cell += col_merge; col += col_merge; } } } return h_max; } #endif
37,497
lv_table
c
en
c
code
{"qsc_code_num_words": 5771, "qsc_code_num_chars": 37497.0, "qsc_code_mean_word_length": 3.52191994, "qsc_code_frac_words_unique": 0.05389014, "qsc_code_frac_chars_top_2grams": 0.05131611, "qsc_code_frac_chars_top_3grams": 0.04816728, "qsc_code_frac_chars_top_4grams": 0.04944649, "qsc_code_frac_chars_dupe_5grams": 0.71931119, "qsc_code_frac_chars_dupe_6grams": 0.65731857, "qsc_code_frac_chars_dupe_7grams": 0.6104305, "qsc_code_frac_chars_dupe_8grams": 0.56403444, "qsc_code_frac_chars_dupe_9grams": 0.53530135, "qsc_code_frac_chars_dupe_10grams": 0.52890529, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01619284, "qsc_code_frac_chars_whitespace": 0.27863562, "qsc_code_size_file_byte": 37497.0, "qsc_code_num_lines": 1087.0, "qsc_code_num_chars_line_max": 148.0, "qsc_code_num_chars_line_mean": 34.49586017, "qsc_code_frac_chars_alphabet": 0.73522127, "qsc_code_frac_chars_comments": 0.19385551, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.39915966, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0276234, "qsc_code_frac_chars_long_word_length": 0.01343126, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00059547, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.03921569, "qsc_codec_frac_lines_func_ratio": 0.05462185, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.1022409, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.01820728}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_btnmatrix.h
/** * @file lv_btnm.h * */ #ifndef LV_BTNMATRIX_H #define LV_BTNMATRIX_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #if LV_USE_BTNMATRIX != 0 #include "../lv_core/lv_obj.h" #include "lv_label.h" #include "lv_btn.h" /********************* * DEFINES *********************/ #define LV_BTNMATRIX_WIDTH_MASK 0x0007 #define LV_BTNMATRIX_BTN_NONE 0xFFFF LV_EXPORT_CONST_INT(LV_BTNMATRIX_BTN_NONE); /********************** * TYPEDEFS **********************/ /** Type to store button control bits (disabled, hidden etc.) * The first 3 bits are used to store the width */ enum { LV_BTNMATRIX_CTRL_HIDDEN = 0x0008, /**< Button hidden */ LV_BTNMATRIX_CTRL_NO_REPEAT = 0x0010, /**< Do not repeat press this button. */ LV_BTNMATRIX_CTRL_DISABLED = 0x0020, /**< Disable this button. */ LV_BTNMATRIX_CTRL_CHECKABLE = 0x0040, /**< Button *can* be toggled. */ LV_BTNMATRIX_CTRL_CHECK_STATE = 0x0080, /**< Button is currently toggled (e.g. checked). */ LV_BTNMATRIX_CTRL_CLICK_TRIG = 0x0100, /**< 1: Send LV_EVENT_SELECTED on CLICK, 0: Send LV_EVENT_SELECTED on PRESS*/ }; typedef uint16_t lv_btnmatrix_ctrl_t; /*Data of button matrix*/ typedef struct { /*No inherited ext.*/ /*Ext. of ancestor*/ /*New data for this type */ const char ** map_p; /*Pointer to the current map*/ lv_area_t * button_areas; /*Array of areas of buttons*/ lv_btnmatrix_ctrl_t * ctrl_bits; /*Array of control bytes*/ lv_style_list_t style_btn; /*Styles of buttons in each state*/ uint16_t btn_cnt; /*Number of button in 'map_p'(Handled by the library)*/ uint16_t btn_id_pr; /*Index of the currently pressed button or LV_BTNMATRIX_BTN_NONE*/ uint16_t btn_id_focused; /*Index of the currently focused button or LV_BTNMATRIX_BTN_NONE*/ uint16_t btn_id_act; /*Index of the active button (being pressed/released etc) or LV_BTNMATRIX_BTN_NONE */ uint8_t recolor : 1; /*Enable button recoloring*/ uint8_t one_check : 1; /*Single button toggled at once*/ uint8_t align : 2; /*Align type from 'lv_label_align_t'*/ } lv_btnmatrix_ext_t; enum { LV_BTNMATRIX_PART_BG, LV_BTNMATRIX_PART_BTN, }; typedef uint8_t lv_btnmatrix_part_t; /********************** * GLOBAL PROTOTYPES **********************/ /** * Create a button matrix objects * @param par pointer to an object, it will be the parent of the new button matrix * @param copy pointer to a button matrix object, if not NULL then the new object will be copied * from it * @return pointer to the created button matrix */ lv_obj_t * lv_btnmatrix_create(lv_obj_t * par, const lv_obj_t * copy); /*===================== * Setter functions *====================*/ /** * Set a new map. Buttons will be created/deleted according to the map. The * button matrix keeps a reference to the map and so the string array must not * be deallocated during the life of the matrix. * @param btnm pointer to a button matrix object * @param map pointer a string array. The last string has to be: "". Use "\n" to make a line break. */ void lv_btnmatrix_set_map(lv_obj_t * btnm, const char * map[]); /** * Set the button control map (hidden, disabled etc.) for a button matrix. The * control map array will be copied and so may be deallocated after this * function returns. * @param btnm pointer to a button matrix object * @param ctrl_map pointer to an array of `lv_btn_ctrl_t` control bytes. The * length of the array and position of the elements must match * the number and order of the individual buttons (i.e. excludes * newline entries). * An element of the map should look like e.g.: * `ctrl_map[0] = width | LV_BTNMATRIX_CTRL_NO_REPEAT | LV_BTNMATRIX_CTRL_TGL_ENABLE` */ void lv_btnmatrix_set_ctrl_map(lv_obj_t * btnm, const lv_btnmatrix_ctrl_t ctrl_map[]); /** * Set the focused button i.e. visually highlight it. * @param btnm pointer to button matrix object * @param id index of the button to focus(`LV_BTNMATRIX_BTN_NONE` to remove focus) */ void lv_btnmatrix_set_focused_btn(lv_obj_t * btnm, uint16_t id); /** * Enable recoloring of button's texts * @param btnm pointer to button matrix object * @param en true: enable recoloring; false: disable */ void lv_btnmatrix_set_recolor(const lv_obj_t * btnm, bool en); /** * Set the attributes of a button of the button matrix * @param btnm pointer to button matrix object * @param btn_id 0 based index of the button to modify. (Not counting new lines) */ void lv_btnmatrix_set_btn_ctrl(const lv_obj_t * btnm, uint16_t btn_id, lv_btnmatrix_ctrl_t ctrl); /** * Clear the attributes of a button of the button matrix * @param btnm pointer to button matrix object * @param btn_id 0 based index of the button to modify. (Not counting new lines) */ void lv_btnmatrix_clear_btn_ctrl(const lv_obj_t * btnm, uint16_t btn_id, lv_btnmatrix_ctrl_t ctrl); /** * Set the attributes of all buttons of a button matrix * @param btnm pointer to a button matrix object * @param ctrl attribute(s) to set from `lv_btnmatrix_ctrl_t`. Values can be ORed. */ void lv_btnmatrix_set_btn_ctrl_all(lv_obj_t * btnm, lv_btnmatrix_ctrl_t ctrl); /** * Clear the attributes of all buttons of a button matrix * @param btnm pointer to a button matrix object * @param ctrl attribute(s) to set from `lv_btnmatrix_ctrl_t`. Values can be ORed. * @param en true: set the attributes; false: clear the attributes */ void lv_btnmatrix_clear_btn_ctrl_all(lv_obj_t * btnm, lv_btnmatrix_ctrl_t ctrl); /** * Set a single buttons relative width. * This method will cause the matrix be regenerated and is a relatively * expensive operation. It is recommended that initial width be specified using * `lv_btnmatrix_set_ctrl_map` and this method only be used for dynamic changes. * @param btnm pointer to button matrix object * @param btn_id 0 based index of the button to modify. * @param width Relative width compared to the buttons in the same row. [1..7] */ void lv_btnmatrix_set_btn_width(lv_obj_t * btnm, uint16_t btn_id, uint8_t width); /** * Make the button matrix like a selector widget (only one button may be toggled at a time). * `Checkable` must be enabled on the buttons you want to be selected with `lv_btnmatrix_set_ctrl` or * `lv_btnmatrix_set_btn_ctrl_all`. * @param btnm Button matrix object * @param one_chk Whether "one check" mode is enabled */ void lv_btnmatrix_set_one_check(lv_obj_t * btnm, bool one_chk); /** * Set the align of the map text (left, right or center) * @param btnm pointer to a btnmatrix object * @param align LV_LABEL_ALIGN_LEFT, LV_LABEL_ALIGN_RIGHT or LV_LABEL_ALIGN_CENTER */ void lv_btnmatrix_set_align(lv_obj_t * btnm, lv_label_align_t align); /*===================== * Getter functions *====================*/ /** * Get the current map of a button matrix * @param btnm pointer to a button matrix object * @return the current map */ const char ** lv_btnmatrix_get_map_array(const lv_obj_t * btnm); /** * Check whether the button's text can use recolor or not * @param btnm pointer to button matrix object * @return true: text recolor enable; false: disabled */ bool lv_btnmatrix_get_recolor(const lv_obj_t * btnm); /** * Get the index of the lastly "activated" button by the user (pressed, released etc) * Useful in the the `event_cb` to get the text of the button, check if hidden etc. * @param btnm pointer to button matrix object * @return index of the last released button (LV_BTNMATRIX_BTN_NONE: if unset) */ uint16_t lv_btnmatrix_get_active_btn(const lv_obj_t * btnm); /** * Get the text of the lastly "activated" button by the user (pressed, released etc) * Useful in the the `event_cb` * @param btnm pointer to button matrix object * @return text of the last released button (NULL: if unset) */ const char * lv_btnmatrix_get_active_btn_text(const lv_obj_t * btnm); /** * Get the focused button's index. * @param btnm pointer to button matrix object * @return index of the focused button (LV_BTNMATRIX_BTN_NONE: if unset) */ uint16_t lv_btnmatrix_get_focused_btn(const lv_obj_t * btnm); /** * Get the button's text * @param btnm pointer to button matrix object * @param btn_id the index a button not counting new line characters. (The return value of * lv_btnmatrix_get_pressed/released) * @return text of btn_index` button */ const char * lv_btnmatrix_get_btn_text(const lv_obj_t * btnm, uint16_t btn_id); /** * Get the whether a control value is enabled or disabled for button of a button matrix * @param btnm pointer to a button matrix object * @param btn_id the index a button not counting new line characters. (E.g. the return value of * lv_btnmatrix_get_pressed/released) * @param ctrl control values to check (ORed value can be used) * @return true: long press repeat is disabled; false: long press repeat enabled */ bool lv_btnmatrix_get_btn_ctrl(lv_obj_t * btnm, uint16_t btn_id, lv_btnmatrix_ctrl_t ctrl); /** * Find whether "one toggle" mode is enabled. * @param btnm Button matrix object * @return whether "one toggle" mode is enabled */ bool lv_btnmatrix_get_one_check(const lv_obj_t * btnm); /** * Get the align attribute * @param btnm pointer to a btnmatrix object * @return LV_LABEL_ALIGN_LEFT, LV_LABEL_ALIGN_RIGHT or LV_LABEL_ALIGN_CENTER */ lv_label_align_t lv_btnmatrix_get_align(const lv_obj_t * btnm); /********************** * MACROS **********************/ #endif /*LV_USE_BTNMATRIX*/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_BTNMATRIX_H*/
9,857
lv_btnmatrix
h
en
c
code
{"qsc_code_num_words": 1530, "qsc_code_num_chars": 9857.0, "qsc_code_mean_word_length": 4.25947712, "qsc_code_frac_words_unique": 0.16993464, "qsc_code_frac_chars_top_2grams": 0.10127359, "qsc_code_frac_chars_top_3grams": 0.02117539, "qsc_code_frac_chars_top_4grams": 0.03068897, "qsc_code_frac_chars_dupe_5grams": 0.48703391, "qsc_code_frac_chars_dupe_6grams": 0.39189811, "qsc_code_frac_chars_dupe_7grams": 0.34709222, "qsc_code_frac_chars_dupe_8grams": 0.32484272, "qsc_code_frac_chars_dupe_9grams": 0.28862974, "qsc_code_frac_chars_dupe_10grams": 0.26914224, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0100743, "qsc_code_frac_chars_whitespace": 0.19437963, "qsc_code_size_file_byte": 9857.0, "qsc_code_num_lines": 265.0, "qsc_code_num_chars_line_max": 121.0, "qsc_code_num_chars_line_mean": 37.19622642, "qsc_code_frac_chars_alphabet": 0.8106032, "qsc_code_frac_chars_comments": 0.70102465, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.15151515, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.02002036, "qsc_code_frac_chars_long_word_length": 0.00712589, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.01628775, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.31818182, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.37878788, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_led.c
/** * @file lv_led.c * */ /********************* * INCLUDES *********************/ #include "lv_led.h" #if LV_USE_LED != 0 #include "../lv_misc/lv_debug.h" #include "../lv_themes/lv_theme.h" #include "../lv_draw/lv_draw.h" /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_led" #define LV_LED_WIDTH_DEF (LV_DPI / 3) #define LV_LED_HEIGHT_DEF (LV_DPI / 3) /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_design_res_t lv_led_design(lv_obj_t * led, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_res_t lv_led_signal(lv_obj_t * led, lv_signal_t sign, void * param); /********************** * STATIC VARIABLES **********************/ static lv_design_cb_t ancestor_design; static lv_signal_cb_t ancestor_signal; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a led objects * @param par pointer to an object, it will be the parent of the new led * @param copy pointer to a led object, if not NULL then the new object will be copied from it * @return pointer to the created led */ lv_obj_t * lv_led_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("led create started"); /*Create the ancestor basic object*/ lv_obj_t * led = lv_obj_create(par, copy); LV_ASSERT_MEM(led); if(led == NULL) return NULL; if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(led); if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(led); /*Allocate the object type specific extended data*/ lv_led_ext_t * ext = lv_obj_allocate_ext_attr(led, sizeof(lv_led_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(led); return NULL; } ext->bright = LV_LED_BRIGHT_MAX; lv_obj_set_signal_cb(led, lv_led_signal); lv_obj_set_design_cb(led, lv_led_design); /*Init the new led object*/ if(copy == NULL) { lv_obj_set_size(led, LV_LED_WIDTH_DEF, LV_LED_HEIGHT_DEF); lv_theme_apply(led, LV_THEME_LED); } /*Copy an existing object*/ else { lv_led_ext_t * copy_ext = lv_obj_get_ext_attr(copy); ext->bright = copy_ext->bright; /*Refresh the style with new signal function*/ lv_obj_refresh_style(led, LV_STYLE_PROP_ALL); } LV_LOG_INFO("led created"); return led; } /*===================== * Setter functions *====================*/ /** * Set the brightness of a LED object * @param led pointer to a LED object * @param bright LV_LED_BRIGHT_MIN (max. dark) ... LV_LED_BRIGHT_MAX (max. light) */ void lv_led_set_bright(lv_obj_t * led, uint8_t bright) { LV_ASSERT_OBJ(led, LV_OBJX_NAME); /*Set the brightness*/ lv_led_ext_t * ext = lv_obj_get_ext_attr(led); if(ext->bright == bright) return; if(bright <= LV_LED_BRIGHT_MIN) bright = LV_LED_BRIGHT_MIN; if(bright >= LV_LED_BRIGHT_MAX) bright = LV_LED_BRIGHT_MAX; ext->bright = bright; /*Invalidate the object there fore it will be redrawn*/ lv_obj_invalidate(led); } /** * Light on a LED * @param led pointer to a LED object */ void lv_led_on(lv_obj_t * led) { LV_ASSERT_OBJ(led, LV_OBJX_NAME); lv_led_set_bright(led, LV_LED_BRIGHT_MAX); } /** * Light off a LED * @param led pointer to a LED object */ void lv_led_off(lv_obj_t * led) { LV_ASSERT_OBJ(led, LV_OBJX_NAME); lv_led_set_bright(led, LV_LED_BRIGHT_MIN); } /** * Toggle the state of a LED * @param led pointer to a LED object */ void lv_led_toggle(lv_obj_t * led) { LV_ASSERT_OBJ(led, LV_OBJX_NAME); uint8_t bright = lv_led_get_bright(led); if(bright > (LV_LED_BRIGHT_MIN + LV_LED_BRIGHT_MAX) >> 1) lv_led_off(led); else lv_led_on(led); } /*===================== * Getter functions *====================*/ /** * Get the brightness of a LEd object * @param led pointer to LED object * @return bright 0 (max. dark) ... 255 (max. light) */ uint8_t lv_led_get_bright(const lv_obj_t * led) { LV_ASSERT_OBJ(led, LV_OBJX_NAME); lv_led_ext_t * ext = lv_obj_get_ext_attr(led); return ext->bright; } /********************** * STATIC FUNCTIONS **********************/ /** * Handle the drawing related tasks of the leds * @param led pointer to an object * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_led_design(lv_obj_t * led, const lv_area_t * clip_area, lv_design_mode_t mode) { if(mode == LV_DESIGN_COVER_CHK) { /*Return false if the object is not covers the clip_area area*/ return ancestor_design(led, clip_area, mode); } else if(mode == LV_DESIGN_DRAW_MAIN) { /*Make darker colors in a temporary style according to the brightness*/ lv_led_ext_t * ext = lv_obj_get_ext_attr(led); lv_draw_rect_dsc_t rect_dsc; lv_draw_rect_dsc_init(&rect_dsc); lv_obj_init_draw_rect_dsc(led, LV_LED_PART_MAIN, &rect_dsc); /*Mix. the color with black proportionally with brightness*/ rect_dsc.bg_color = lv_color_mix(rect_dsc.bg_color, LV_COLOR_BLACK, ext->bright); rect_dsc.bg_grad_color = lv_color_mix(rect_dsc.bg_grad_color, LV_COLOR_BLACK, ext->bright); rect_dsc.border_color = lv_color_mix(rect_dsc.border_color, LV_COLOR_BLACK, ext->bright); rect_dsc.shadow_color = lv_color_mix(rect_dsc.shadow_color, LV_COLOR_BLACK, ext->bright); /*Set the current shadow width according to brightness proportionally between LV_LED_BRIGHT_OFF * and LV_LED_BRIGHT_ON*/ rect_dsc.shadow_width = ((ext->bright - LV_LED_BRIGHT_MIN) * rect_dsc.shadow_width) / (LV_LED_BRIGHT_MAX - LV_LED_BRIGHT_MIN); rect_dsc.shadow_spread = ((ext->bright - LV_LED_BRIGHT_MIN) * rect_dsc.shadow_spread) / (LV_LED_BRIGHT_MAX - LV_LED_BRIGHT_MIN); lv_draw_rect(&led->coords, clip_area, &rect_dsc); } return LV_DESIGN_RES_OK; } /** * Signal function of the led * @param led pointer to a led object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_led_signal(lv_obj_t * led, lv_signal_t sign, void * param) { lv_res_t res; /* Include the ancient signal function */ res = ancestor_signal(led, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) { lv_obj_type_t * buf = param; uint8_t i; for(i = 0; i < LV_MAX_ANCESTOR_NUM - 1; i++) { /*Find the last set data*/ if(buf->type[i] == NULL) break; } buf->type[i] = "lv_led"; } return res; } #endif
7,302
lv_led
c
en
c
code
{"qsc_code_num_words": 1113, "qsc_code_num_chars": 7302.0, "qsc_code_mean_word_length": 3.78796047, "qsc_code_frac_words_unique": 0.16082659, "qsc_code_frac_chars_top_2grams": 0.06048387, "qsc_code_frac_chars_top_3grams": 0.04957306, "qsc_code_frac_chars_top_4grams": 0.02134725, "qsc_code_frac_chars_dupe_5grams": 0.38045541, "qsc_code_frac_chars_dupe_6grams": 0.31593928, "qsc_code_frac_chars_dupe_7grams": 0.27680266, "qsc_code_frac_chars_dupe_8grams": 0.25332068, "qsc_code_frac_chars_dupe_9grams": 0.1987666, "qsc_code_frac_chars_dupe_10grams": 0.1816888, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0024386, "qsc_code_frac_chars_whitespace": 0.21377705, "qsc_code_size_file_byte": 7302.0, "qsc_code_num_lines": 251.0, "qsc_code_num_chars_line_max": 106.0, "qsc_code_num_chars_line_mean": 29.09163347, "qsc_code_frac_chars_alphabet": 0.73192824, "qsc_code_frac_chars_comments": 0.39222131, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0877193, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.02546192, "qsc_code_frac_chars_long_word_length": 0.00991438, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.06140351, "qsc_codec_frac_lines_func_ratio": 0.11403509, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.18421053, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.07894737}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_linemeter.h
/** * @file lv_linemeter.h * */ #ifndef LV_LINEMETER_H #define LV_LINEMETER_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #if LV_USE_LINEMETER != 0 #include "../lv_core/lv_obj.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /*Data of line meter*/ typedef struct { /*No inherited ext.*/ /*Ext. of ancestor*/ /*New data for this type */ uint16_t scale_angle; /*Angle of the scale in deg. (0..360)*/ uint16_t angle_ofs; uint16_t line_cnt; /*Count of lines */ int32_t cur_value; int32_t min_value; int32_t max_value; uint8_t mirrored : 1; } lv_linemeter_ext_t; /*Styles*/ enum { LV_LINEMETER_PART_MAIN, _LV_LINEMETER_PART_VIRTUAL_LAST, _LV_LINEMETER_PART_REAL_LAST = _LV_OBJ_PART_REAL_LAST, }; typedef uint8_t lv_linemeter_part_t; /********************** * GLOBAL PROTOTYPES **********************/ /** * Create a line meter objects * @param par pointer to an object, it will be the parent of the new line meter * @param copy pointer to a line meter object, if not NULL then the new object will be copied from * it * @return pointer to the created line meter */ lv_obj_t * lv_linemeter_create(lv_obj_t * par, const lv_obj_t * copy); /*===================== * Setter functions *====================*/ /** * Set a new value on the line meter * @param lmeter pointer to a line meter object * @param value new value */ void lv_linemeter_set_value(lv_obj_t * lmeter, int32_t value); /** * Set minimum and the maximum values of a line meter * @param lmeter pointer to he line meter object * @param min minimum value * @param max maximum value */ void lv_linemeter_set_range(lv_obj_t * lmeter, int32_t min, int32_t max); /** * Set the scale settings of a line meter * @param lmeter pointer to a line meter object * @param angle angle of the scale (0..360) * @param line_cnt number of lines */ void lv_linemeter_set_scale(lv_obj_t * lmeter, uint16_t angle, uint16_t line_cnt); /** * Set the set an offset for the line meter's angles to rotate it. * @param lmeter pointer to a line meter object * @param angle angle offset (0..360), rotates clockwise */ void lv_linemeter_set_angle_offset(lv_obj_t * lmeter, uint16_t angle); /** * Set the orientation of the meter growth, clockwise or counterclockwise (mirrored) * @param lmeter pointer to a line meter object * @param mirror mirror setting */ void lv_linemeter_set_mirror(lv_obj_t * lmeter, bool mirror); /*===================== * Getter functions *====================*/ /** * Get the value of a line meter * @param lmeter pointer to a line meter object * @return the value of the line meter */ int32_t lv_linemeter_get_value(const lv_obj_t * lmeter); /** * Get the minimum value of a line meter * @param lmeter pointer to a line meter object * @return the minimum value of the line meter */ int32_t lv_linemeter_get_min_value(const lv_obj_t * lmeter); /** * Get the maximum value of a line meter * @param lmeter pointer to a line meter object * @return the maximum value of the line meter */ int32_t lv_linemeter_get_max_value(const lv_obj_t * lmeter); /** * Get the scale number of a line meter * @param lmeter pointer to a line meter object * @return number of the scale units */ uint16_t lv_linemeter_get_line_count(const lv_obj_t * lmeter); /** * Get the scale angle of a line meter * @param lmeter pointer to a line meter object * @return angle of the scale */ uint16_t lv_linemeter_get_scale_angle(const lv_obj_t * lmeter); /** * Get the offset for the line meter. * @param lmeter pointer to a line meter object * @return angle offset (0..360) */ uint16_t lv_linemeter_get_angle_offset(lv_obj_t * lmeter); void lv_linemeter_draw_scale(lv_obj_t * lmeter, const lv_area_t * clip_area, uint8_t part); /** * get the mirror setting for the line meter * @param lmeter pointer to a line meter object * @return mirror (true or false) */ bool lv_linemeter_get_mirror(lv_obj_t * lmeter); /********************** * MACROS **********************/ #endif /*LV_USE_LINEMETER*/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_LINEMETER_H*/
4,310
lv_linemeter
h
en
c
code
{"qsc_code_num_words": 654, "qsc_code_num_chars": 4310.0, "qsc_code_mean_word_length": 4.14678899, "qsc_code_frac_words_unique": 0.18807339, "qsc_code_frac_chars_top_2grams": 0.10287611, "qsc_code_frac_chars_top_3grams": 0.07374631, "qsc_code_frac_chars_top_4grams": 0.05752212, "qsc_code_frac_chars_dupe_5grams": 0.49188791, "qsc_code_frac_chars_dupe_6grams": 0.39011799, "qsc_code_frac_chars_dupe_7grams": 0.3550885, "qsc_code_frac_chars_dupe_8grams": 0.32890855, "qsc_code_frac_chars_dupe_9grams": 0.27396755, "qsc_code_frac_chars_dupe_10grams": 0.25884956, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01616104, "qsc_code_frac_chars_whitespace": 0.18167053, "qsc_code_size_file_byte": 4310.0, "qsc_code_num_lines": 170.0, "qsc_code_num_chars_line_max": 99.0, "qsc_code_num_chars_line_mean": 25.35294118, "qsc_code_frac_chars_alphabet": 0.75276439, "qsc_code_frac_chars_comments": 0.62923434, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.14285714, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.02565707, "qsc_code_frac_chars_long_word_length": 0.01314143, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.33333333, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.38095238, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
007revad/Synology_SMART_info
syno_smart_info.sh
#!/usr/bin/env bash # shellcheck disable=SC2317 #------------------------------------------------------------------------------ # Show Synology smart test progress or smart health and attributes # # GitHub: https://github.com/007revad/Synology_SMART_info # Script verified at https://www.shellcheck.net/ # # To run in a shell (replace /volume1/scripts/ with path to script): # sudo /volume1/scripts/syno_smart_info.sh #------------------------------------------------------------------------------ # References: # https://www.backblaze.com/blog/hard-drive-smart-stats/ # https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/ # https://www.backblaze.com/blog/making-sense-of-ssd-smart-stats/ #------------------------------------------------------------------------------ # References for converting Seagate raw values: # https://codeberg.org/SWEETGOOD/shell-scripts#parse-raw-smart-values-seagate-sh # https://codeberg.org/SWEETGOOD/shell-scripts/raw/branch/main/parse-raw-smart-values-seagate.sh # # online Seagate SMART value convertor # https://www.disktuna.com/seagate-raw-smart-attributes-to-error-convertertest/#102465319 # # https://github.com/Seagate/openSeaChest/wiki/Drive-Health-and-SMART #------------------------------------------------------------------------------ scriptver="v1.3.19" script=Synology_SMART_info repo="007revad/Synology_SMART_info" # Get NAS model model=$(cat /proc/sys/kernel/syno_hw_version) # Get NAS hostname host_name=$(hostname) # Get DSM full version productversion=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/VERSION productversion) buildphase=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/VERSION buildphase) buildnumber=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/VERSION buildnumber) smallfixnumber=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/VERSION smallfixnumber) # Get DSM major version dsm=$(get_key_value /etc.defaults/VERSION majorversion) # Get smartctl location and check if version 7 if which smartctl7 >/dev/null; then # smartmontools 7 from SynoCli Disk Tools is installed smartctl=$(which smartctl7) smartversion=7 else smartctl=$(which smartctl) fi ding(){ printf \\a } debug() { [[ $debug == "yes" ]] && echo "DEBUG: $*" } usage(){ cat <<EOF $script $scriptver - by 007revad Usage: $(basename "$0") [options] Options: -a, --all Show all SMART attributes -e, --email Disable colored text in output scheduler emails -h, --help Show this help message -v, --version Show the script version EOF exit 1 } scriptversion(){ cat <<EOF $script $scriptver - by 007revad See https://github.com/$repo EOF exit 0 } # Save options used args=("$@") # Check for flags with getopt if options="$(getopt -o abcdefghijklmnopqrstuvwxyz0123456789 -l \ all,email,help,version,debug \ -- "$@")"; then eval set -- "$options" while true; do case "${1,,}" in -a|--all) # Show all SMART attributes all=yes ;; -e|--email) # Disable colour text in task scheduler emails color=no ;; -h|--help) # Show usage options usage ;; -v|--version) # Show script version scriptversion ;; -d|--debug) # Show and log debug info debug=yes ;; --) shift break ;; *) # Show usage options echo -e "Invalid option '$1'\n" usage "$1" ;; esac shift done else echo usage fi # Shell Colors if [[ $color != "no" ]]; then #Black='\e[0;30m' # ${Black} #Red='\e[0;31m' # ${Red} LiteRed='\e[1;31m' # ${LiteRed} #Green='\e[0;32m' # ${Green} LiteGreen='\e[1;32m' # ${LiteGreen} Yellow='\e[0;33m' # ${Yellow} #Blue='\e[0;34m' # ${Blue} #Purple='\e[0;35m' # ${Purple} Cyan='\e[0;36m' # ${Cyan} #White='\e[0;37m' # ${White} Error='\e[41m' # ${Error} Off='\e[0m' # ${Off} else echo "" # For task scheduler email readability fi # Check script is running as root if [[ $( whoami ) != "root" ]]; then ding echo -e "\n${Error}ERROR${Off} This script must be run as sudo or root!\n" exit 1 # Not running as root fi # Show script version #echo -e "$script $scriptver\ngithub.com/$repo\n" echo "$script $scriptver - by 007revad" # Show hostname, model and DSM full version if [[ $buildphase == GM ]]; then buildphase=""; fi if [[ $smallfixnumber -gt "0" ]]; then smallfix="-$smallfixnumber"; fi echo -e "$host_name $model DSM $productversion-$buildnumber$smallfix $buildphase" echo "Using smartctl $("$smartctl" --version | head -1 | awk '{print $2}')" # Show options used if [[ ${#args[@]} -gt "0" ]]; then echo "Using options: ${args[*]}" fi #------------------------------------------------------------------------------ # Check latest release with GitHub API # Get latest release info # Curl timeout options: # https://unix.stackexchange.com/questions/94604/does-curl-have-a-timeout #release=$(curl --silent -m 10 --connect-timeout 5 \ # "https://api.github.com/repos/$repo/releases/latest") # Use wget to avoid installing curl in Ubuntu release=$(wget -qO- -q --connect-timeout=5 \ "https://api.github.com/repos/$repo/releases/latest") # Release version tag=$(echo "$release" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') #shorttag="${tag:1}" if ! printf "%s\n%s\n" "$tag" "$scriptver" | sort --check=quiet --version-sort >/dev/null ; then echo -e "\n${Cyan}There is a newer version of this script available.${Off}" echo -e "Current version: ${scriptver}\nLatest version: $tag" fi #------------------------------------------------------------------------------ detect_dtype(){ # Default to SAT local dtype="sat" # If SAS appears at least once, treat as SCSI if [ "$("$smartctl" -i /dev/"$drive" 2>/dev/null | grep -c SAS)" -gt 0 ]; then dtype="scsi" # Else if SATA appears at least once, treat as SAT elif [ "$("$smartctl" -i /dev/"$drive" 2>/dev/null | grep -c SATA)" -gt 0 ]; then dtype="sat" fi echo "$dtype" } get_drive_num(){ drive_num="" disk_id="" disk_cnr="" disk_cnridx="" eunit_num="" eunit_model="" eunit="" # Get Drive number disk_id=$(synodisk --get_location_form "/dev/$drive" | grep 'Disk id:' | awk '{print $NF}') disk_cnr=$(synodisk --get_location_form "/dev/$drive" | grep 'Disk cnr:' | awk '{print $NF}') disk_cnridx=$(synodisk --get_location_form "/dev/$drive" | grep 'Disk cnridx:' | awk '{print $NF}') # Get eunit model and port number if [[ $disk_cnridx -gt "0" ]]; then eunit_num="$disk_cnridx" eunit_model=$(syno_slot_mapping "/dev/$drive" | grep "Eunit port $disk_cnridx" | awk '{print $NF}') eunit="(${eunit_model}-$eunit_num)" fi if [[ $disk_cnr -eq "4" ]]; then drive_num="USB Drive " elif [[ $eunit ]]; then drive_num="Drive $disk_id $eunit " else drive_num="Drive $disk_id " fi } get_nvme_num(){ # Get M.2 Drive number drive_num="" pcislot="" cardslot="" if nvme=$(synonvme --get-location "/dev/$drive"); then if [[ ! $nvme =~ "PCI Slot: 0" ]]; then pcislot="$(echo "$nvme" | cut -d"," -f2 | awk '{print $NF}')-" fi cardslot="$(echo "$nvme" | awk '{print $NF}')" else pcislot="$(basename -- "$drive")" cardslot="" fi drive_num="M.2 Drive $pcislot$cardslot " } show_drive_model(){ # Get drive model # $drive is sata1 or sda or usb1 etc #vendor=$(cat "/sys/block/$drive/device/vendor") #vendor=$(printf "%s" "$vendor" | xargs) # trim leading and trailing white space model=$(cat "/sys/block/$drive/device/model") model=$(printf "%s" "$model" | xargs) # trim leading and trailing white space # Get drive serial number if echo "$drive" | grep nvme >/dev/null ; then serial=$(cat "/sys/block/$drive/device/serial") else serial=$(cat "/sys/block/$drive/device/syno_disk_serial") fi serial=$(printf "%s" "$serial" | xargs) # trim leading and trailing white space # Get drive serial number with smartctl for USB drives # if [[ -z "$serial" && "${drive:0:4}" != "nvme" ]]; then if [[ -z "$serial" ]]; then serial=$("$smartctl" -i -d sat /dev/"$drive" | grep Serial | cut -d":" -f2 | xargs) fi # Show drive model and serial #echo -e "\n${Cyan}${drive_num}${Off}$model ${Yellow}$serial${Off}" echo -e "\n${Cyan}${drive_num}${Off}$model $serial /dev/$drive" #echo -e "\n${Cyan}${drive_num}${Off}$vendor $model $serial" } # Python-based SMART attribute formatting function using EOF method print_colored_smart_attribute(){ local line="$1" [[ -z "$line" ]] && return # Pass color disable option to Python local color_opt="1" if [[ $color == "no" ]]; then color_opt="0" fi # Execute Python script using HERE document echo "$line" | python3 -c " import sys import re def format_smart_line(): line = sys.stdin.read().strip() color_enabled = bool(int('$color_opt')) if not line: return YELLOW = '\033[0;33m' OFF = '\033[0m' COLOR_IDS = {5, 10, 187, 188, 196, 197, 198} fields = line.split() if len(fields) < 6: print(line) return try: id_field = fields[0] id_num = int(id_field) except ValueError: print(line) return flags_pattern = re.compile(r'^[POSRCK-]{6}$') flags_idx = -1 for i, field in enumerate(fields[1:], 1): if flags_pattern.match(field): flags_idx = i break if flags_idx == -1 or len(fields) < flags_idx + 5: print(line) return attr_name = ' '.join(fields[1:flags_idx]) flags = fields[flags_idx] value = fields[flags_idx + 1] worst = fields[flags_idx + 2] thresh = fields[flags_idx + 3] fail = fields[flags_idx + 4] raw_value = ' '.join(fields[flags_idx + 5:]) if len(fields) > flags_idx + 5 else '' formatted_line = f'{id_field:<4} {attr_name:<32} {flags:<8} {value:>6} {worst:>6} {thresh:>7} {fail:>6} {raw_value}' if color_enabled and id_num in COLOR_IDS: print(f'{YELLOW}{formatted_line}{OFF}') else: print(formatted_line) format_smart_line() " } # SMART header output function print_smart_header(){ printf "%-4s %-32s %-8s %6s %6s %7s %6s %s\n" \ "ID#" "ATTRIBUTE_NAME" "FLAGS" "VALUE" "WORST" "THRESH" "FAIL" "RAW_VALUE" } # SCSI SMART attribute formatting function (uses SCSI-only parsing) format_scsi_smart(){ local drive="$1" local output debug "format_scsi_smart called for drive: $drive" # Retrieve SCSI SMART output via wrapper; strip the leading header block output=$("$smartctl" -a "/dev/$drive" | tail -n +19) debug "SCSI output (first 20 lines):" debug "$(echo "$output" | head -20)" # Arrays to hold parsed items declare -a scsi_ids=() declare -a scsi_names=() declare -a scsi_values=() # Parse 5 patterns and map to standard IDs while IFS= read -r line; do debug "Processing line: '$line'" if [[ "$line" == *"Current Drive Temperature:"* ]]; then # Extract temperature number only temp_value=$(echo "$line" | grep -o '[0-9]\+' | head -1) debug "Found temperature: $temp_value" scsi_ids+=(194); scsi_names+=("Current Drive Temperature"); scsi_values+=("$temp_value") elif [[ "$line" == *"Accumulated power on time, hours:minutes"* ]]; then time_value=$(echo "$line" | awk -F'Accumulated power on time, hours:minutes ' '{print $2}' | xargs) debug "Found power on time: '$time_value'" scsi_ids+=(9); scsi_names+=("Accumulated power on time"); scsi_values+=("$time_value") elif [[ "$line" == *"Accumulated start-stop cycles:"* ]]; then cycle_value=$(echo "$line" | awk '{print $NF}') debug "Found start-stop cycles: $cycle_value" scsi_ids+=(4); scsi_names+=("Accumulated start-stop cycles"); scsi_values+=("$cycle_value") elif [[ "$line" == *"Accumulated load-unload cycles:"* ]]; then load_value=$(echo "$line" | awk '{print $NF}') debug "Found load-unload cycles: $load_value" scsi_ids+=(193); scsi_names+=("Accumulated load-unload cycles"); scsi_values+=("$load_value") elif [[ "$line" == *"Elements in grown defect list:"* ]]; then defect_value=$(echo "$line" | awk '{print $NF}') debug "Found defect list elements: $defect_value" scsi_ids+=(5); scsi_names+=("Elements in grown defect list"); scsi_values+=("$defect_value") fi done <<< "$output" debug "Found ${#scsi_ids[@]} attributes" for ((i=0; i<${#scsi_ids[@]}; i++)); do debug "ID=${scsi_ids[i]}, Name='${scsi_names[i]}', Value='${scsi_values[i]}'" done if [[ ${#scsi_ids[@]} -eq 0 ]]; then debug "No SCSI attributes found, showing raw output" echo "No SCSI attributes found in expected format" echo "$output" return fi # Sort by ID (bubble sort for simplicity) local n=${#scsi_ids[@]} for ((i=0; i<n-1; i++)); do for ((j=0; j<n-i-1; j++)); do if [[ ${scsi_ids[j]} -gt ${scsi_ids[j+1]} ]]; then # swap id tmp=${scsi_ids[j]}; scsi_ids[j]=${scsi_ids[j+1]}; scsi_ids[j+1]=$tmp # swap name tmp=${scsi_names[j]}; scsi_names[j]=${scsi_names[j+1]}; scsi_names[j+1]=$tmp # swap value tmp=${scsi_values[j]}; scsi_values[j]=${scsi_values[j+1]}; scsi_values[j+1]=$tmp fi done done # Output (SCSI-only summary header and rows) printf "%-4s %-40s %s\n" "ID#" "ATTRIBUTE_NAME" "RAW_VALUE" for ((i=0; i<${#scsi_ids[@]}; i++)); do local id=${scsi_ids[i]} name=${scsi_names[i]} val=${scsi_values[i]} if [[ $color != "no" && ( $id -eq 5 ) ]]; then printf "${Yellow}%-4s %-40s %s${Off}\n" "$id" "$name" "$val" else printf "%-4s %-40s %s\n" "$id" "$name" "$val" fi done } smart_all(){ echo "" # Decide device type (sat/scsi) via detect_dtype() local drive_type drive_type=$(detect_dtype) if [[ "$drive_type" == "scsi" ]]; then # SCSI path: do not print SAT header or use SAT python formatter. # Let the dedicated SCSI formatter read and parse directly. format_scsi_smart "$drive" return fi # SAT / non-SCSI path print_smart_header if [[ $seagate == "yes" ]] && [[ $smartversion == 7 ]]; then # Get all attributes, skip built-in header (first 6 lines), then drop “ID#” header readarray -t att_array < <( "$smartctl" -A -f brief -d sat -T permissive \ -v 1,raw48:54 -v 7,raw48:54 -v 195,raw48:54 "/dev/$drive" \ | tail -n +7 \ | grep -v '^ID#' ) else # Same for non-Seagate drives readarray -t att_array < <( "$smartctl" -A -f brief -d sat -T permissive "/dev/$drive" \ | tail -n +7 \ | grep -v '^ID#' ) fi for strIn in "${att_array[@]}"; do # Remove lines containing ||||||_ to |______ if ! echo "$strIn" | grep '|_' >/dev/null ; then # Use Python-based formatting instead of original string cutting print_colored_smart_attribute "$strIn" fi done } short_attibutes(){ if [[ "$strIn" ]]; then var1=$(echo "$strIn" | awk '{printf "%-28s", $2}') var2=$(echo "$strIn" | awk '{printf $10}' | awk -F"+" '{print $1}' | cut -d"h" -f1) if [[ ${var2:0:1} -gt "0" && $2 == "zero" ]]; then echo -e "$1 ${Yellow}$var1${Off} ${LiteRed}$var2${Off}" if [[ $var2 -gt "0" ]]; then warn=$((warn +1)) fi elif [[ ${var2:0:1} -gt "0" && $2 == "none" ]]; then echo -e "$1 $var1 $var2" else echo -e "$1 ${Yellow}$var1${Off} $var2" fi fi } show_health(){ # $drive is sata1 or sda or usb1 etc local att194 # Decide device type (sat/scsi) via detect_dtype() local drive_type drive_type=$(detect_dtype) # Show drive overall health readarray -t health_array < <("$smartctl" -H -d "$drive_type" -T permissive /dev/"$drive" | tail -n +5) for strIn in "${health_array[@]}"; do if echo "$strIn" | awk '{print $1}' | grep -E '[0-9]' >/dev/null ||\ echo "$strIn" | awk '{print $1}' | grep 'ID#' >/dev/null ; then # Remove columns 36 to 78 strOut="${strIn:0:36}${strIn:78}" # Remove columns 65 to 74 strOut="${strOut:0:65}${strOut:74}" # Remove columns after 77 strOut="${strOut:0:77}" echo "$strOut" else if [[ -n "$strIn" ]]; then # Don't echo blank line if $(echo "$strIn" | grep -qi PASSED); then echo -e "SMART overall-health self-assessment test result: ${LiteGreen}PASSED${Off}" elif $(echo "$strIn" | grep -qi 'Health Status: OK'); then echo -e "SMART Health Status: ${LiteGreen}OK${Off}" else echo "$strIn" fi fi fi done # Show error counter #"$smartctl" -l error /dev/"$drive" | grep -iE 'error.*logg' # Retrieve Error Log and show error count errlog="$("$smartctl" -l error -d "$drive_type" /dev/"$drive" | grep -iE 'error.*logg')" errcount="$(echo "$errlog" | awk '{print $3}')" if [[ -z $errlog ]]; then errlog="$("$smartctl" -l error -d "$drive_type" /dev/"$drive" | grep -iE 'error count')" errcount="$(echo "$errlog" | awk '{print $4}')" fi #echo "$errlog" if [[ -z $errcount ]]; then "$smartctl" -l error -d "$drive_type" /dev/"$drive" | grep -iE 'not supported' elif [[ $errcount -gt "0" ]]; then #elif [[ $errcount -eq "0" ]]; then # debug errtotal=$((errtotal +errcount)) echo -e "SMART Error Counter Log: ${LiteRed}$errcount${Off}" else echo -e "SMART Error Counter Log: ${LiteGreen}No Errors Logged${Off}" fi # Show SMART attributes health=$("$smartctl" -H -d sat -T permissive /dev/"$drive" | tail -n +5) if ! echo "$health" | grep PASSED >/dev/null || [[ $all == "yes" ]]; then # Show all SMART attributes if health != passed, or -a/--all option used smart_all else # Show only important SMART attributes if [[ $seagate == "yes" ]] && [[ $smartversion == 7 ]]; then readarray -t smart_atts < <("$smartctl" -A -d sat -v 1,raw48:54 -v 7,raw48:54 -v 195,raw48:54 /dev/"$drive") else readarray -t smart_atts < <("$smartctl" -A -d sat /dev/"$drive") fi # Decide if show airflow temperature if echo "${smart_atts[*]}" | grep -c '194 Temp' >/dev/null; then att194=yes fi for strIn in "${smart_atts[@]}"; do if [[ ${strIn:0:3} == " 1" ]]; then # 1 Raw read error rate if [[ $seagate == "yes" ]]; then if [[ $smartversion == 7 ]]; then short_attibutes " 1" zero else short_attibutes " 1" none fi else short_attibutes " 1" fi elif [[ ${strIn:0:3} == " 5" ]]; then # 5 Reallocated sectors - scrutiny and BackBlaze short_attibutes " 5" zero elif [[ ${strIn:0:3} == " 7" ]]; then # 7 Seek_Error_Rate if [[ $seagate == "yes" ]]; then if [[ $smartversion == 7 ]]; then short_attibutes " 7" zero else short_attibutes " 7" none fi else short_attibutes " 7" fi elif [[ ${strIn:0:3} == " 9" ]]; then # 9 Power on hours short_attibutes " 9" none elif [[ ${strIn:0:3} == " 10" ]]; then # 10 Spin_Retry_Count - scrutiny short_attibutes " 10" none elif [[ ${strIn:0:3} == "187" ]]; then # 187 Current pending sectors - BackBlaze short_attibutes "187" zero elif [[ ${strIn:0:3} == "188" ]]; then # 188 Current pending sectors - BackBlaze short_attibutes "188" zero elif [[ ${strIn:0:3} == "190" && -z $att194 ]]; then # 190 Airflow_Temperature short_attibutes "190" none elif [[ ${strIn:0:3} == "194" ]]; then # 194 Temperature - scrutiny short_attibutes "194" none elif [[ ${strIn:0:3} == "195" ]]; then # 195 Hardware_ECC_Recovered aka ECC_On_the_Fly_Count if [[ $seagate == "yes" ]]; then if [[ $smartversion == 7 ]]; then short_attibutes "195" zero else short_attibutes "195" none fi else short_attibutes "195" fi elif [[ ${strIn:0:3} == "197" ]]; then # 197 Current pending sectors - scrutiny and BackBlaze short_attibutes "197" zero elif [[ ${strIn:0:3} == "198" ]]; then # 198 Offline uncorrectable - scrutiny and BackBlaze short_attibutes "198" zero elif [[ ${strIn:0:3} == "199" ]]; then # 199 UDMA_CRC_Error_Count short_attibutes "199" zero elif [[ ${strIn:0:3} == "200" ]]; then # 200 Multi_Zone_Error_Rate - WD short_attibutes "200" zero fi done fi } smart_nvme(){ # $1 is log type: error-log, smart-log, smart-log-add or self-test-log # $drive is nvme0 etc if [[ $1 == "error-log" ]]; then # Retrieve Error Log and show error count errlog="$(nvme error-log "/dev/$drive" | grep error_count | uniq)" errcount="$(echo "$errlog" | awk '{print $3}')" #echo "$errlog" if [[ $errcount -gt "0" ]]; then #if [[ $errcount -eq "0" ]]; then # debug errtotal=$((errtotal +errcount)) echo -e "SMART Error Counter Log: ${LiteRed}$errcount${Off}" else echo -e "SMART Error Counter Log: ${LiteGreen}No Errors Logged${Off}" fi elif [[ $1 == "smart-log" ]]; then # Retrieve SMART Log echo "" if [[ $smartversion -gt "6" ]]; then # smartctl7 is installed #readarray -t nvme_health_array < <(smartctl7 -A /dev/"$drive" | awk '/=== START OF SMART DATA SECTION ===/{flag=1;next}flag') readarray -t nvme_health_array < <(smartctl7 -A /dev/"$drive" | awk '/Health Information/{flag=1;next}flag') else # smartctl is not v7 so we need to use nvme command readarray -t nvme_health_array < <(nvme smart-log "/dev/$drive" | awk '/Smart Log for NVME/{flag=1;next}flag') fi for strIn in "${nvme_health_array[@]}"; do if [[ $smartversion -gt "6" ]]; then # smartctl7 is installed if echo "$strIn" | grep 'Critical Warning:' >/dev/null; then echo -e "${Yellow}$strIn${Off}" elif echo "$strIn" | grep 'Temperature:' >/dev/null; then echo -e "${Yellow}$strIn${Off}" elif echo "$strIn" | grep 'Percentage Used:' >/dev/null; then echo -e "${Yellow}$strIn${Off}" elif echo "$strIn" | grep 'Power On Hours:' >/dev/null; then echo -e "${Yellow}$strIn${Off}" elif echo "$strIn" | grep 'Unsafe Shutdowns:' >/dev/null; then echo -e "${Yellow}$strIn${Off}" elif echo "$strIn" | grep 'Media and Data Integrity Errors:' >/dev/null; then echo -e "${Yellow}$strIn${Off}" else echo "$strIn" fi else # smartctl7 not installed if echo "$strIn" | grep 'data_units_' >/dev/null; then # Get data_units read or written units="$(echo "$strIn" | awk '{print $3}')" # Remove commas and convert to TB/GB/MB units_show="$(echo "${units//,}" | numfmt --to=si --suffix=B)" # Show data_units read or written echo "$strIn ($units_show)" elif echo "$strIn" | grep 'critical_warning' >/dev/null; then echo -e "${Yellow}$strIn${Off}" elif echo "$strIn" | grep 'temperature' >/dev/null; then echo -e "${Yellow}$strIn${Off}" elif echo "$strIn" | grep 'percentage_used' >/dev/null; then echo -e "${Yellow}$strIn${Off}" elif echo "$strIn" | grep 'power_on_hours' >/dev/null; then echo -e "${Yellow}$strIn${Off}" elif echo "$strIn" | grep 'unsafe_shutdowns' >/dev/null; then echo -e "${Yellow}$strIn${Off}" elif echo "$strIn" | grep 'media_errors' >/dev/null; then echo -e "${Yellow}$strIn${Off}" else echo "$strIn" fi fi done if [[ $smartversion -lt "7" ]]; then echo "" fi elif [[ $1 == "smart-log-add" ]]; then # Retrieve additional SMART Log nvme smart-log-add "/dev/$drive" # Does not work elif [[ $1 == "self-test-log" ]]; then # Retrieve the SELF-TEST Log nvme self-test-log "/dev/$drive" # Not used fi } short_attibutes_nvme(){ if [[ "$strIn" ]]; then var1="$3" var2=$(echo "$strIn" | cut -d":" -f2 | xargs) if [[ ${var2:0:1} -gt "0" && $2 == "zero" ]]; then echo -e "${Yellow}$var1${Off} ${LiteRed}$var2${Off}" elif [[ ${var2:0:1} -gt "0" && $2 == "none" ]]; then echo -e "$var1 $var2" else echo -e "${Yellow}$var1${Off} $var2" fi fi } show_health_nvme(){ # $drive is nvme0 etc # Show only important SMART attributes readarray -t smart_atts < <(nvme smart-log /dev/"$drive") for strIn in "${smart_atts[@]}"; do nvme_att="$(echo "$strIn" | cut -d":" -f1 | xargs)" if [[ $nvme_att == "critical_warning" ]]; then # 1 Critical_Warning short_attibutes_nvme "critical_warning" zero " 1 Critical_Warning " elif [[ $nvme_att == "temperature" ]]; then # 2 Temperature - scrutiny short_attibutes_nvme "temperature" none " 2 Temperature " elif [[ $nvme_att == "percentage_used" ]]; then # 5 Percentage Used short_attibutes_nvme "percentage_used" none " 5 Percentage Used " elif [[ $nvme_att == "power_on_hours" ]]; then # 12 Power On Hours short_attibutes_nvme "power_on_hours" none " 12 Power On Hours " elif [[ $nvme_att == "unsafe_shutdowns" ]]; then # 13 Unsafe Shutdowns short_attibutes_nvme "unsafe_shutdowns" zero " 13 Unsafe Shutdowns " elif [[ $nvme_att == "media_errors" ]]; then # 14 Media Errors short_attibutes_nvme "media_errors" zero " 14 Media Errors " fi done } not_flash_drive(){ # $1 is /sys/block/sata1 /sys/block/usb1 etc # Check if drive is flash drive (not supported by smartctl) removable=$(cat "${1}/removable") capability=$(cat "${1}/capability") if [[ $removable == "1" ]] && [[ $capability == "51" ]]; then return 1 fi } is_usb(){ # $1 is /dev/sda or /sys/block/sda etc if realpath /sys/block/"$(basename "$1")" | grep -q usb; then return 0 else return 1 fi } is_seagate(){ # Check if drive is Seagate or Seagate based Synology HAT3300 DEVICE=$("$smartctl" -A -i /dev/"$drive" | awk -F ' ' '/Device Model/{print $3}') if [[ -z $DEVICE ]]; then DEVICE=$("$smartctl" -A -i /dev/"$drive" | awk -F ' ' '/Product/{print $2}') fi if [[ "${DEVICE:0:2}" == "ST" ]] || [[ "${DEVICE:0:7}" == "HAT3300" ]]; then return 0 else return 1 fi } # Add drives to drives array for d in /sys/block/*; do # $d is /sys/block/sata1 etc case "$(basename -- "${d}")" in sd*|hd*) if [[ $d =~ [hs]d[a-z][a-z]?$ ]]; then if is_usb "$d"; then # Add USB drives except flash drives if not_flash_drive "$d"; then drives+=("$(basename -- "${d}")") fi else drives+=("$(basename -- "${d}")") # Add all other drives fi fi ;; sata*|sas*) if [[ $d =~ (sas|sata)[0-9][0-9]?[0-9]?$ ]]; then drives+=("$(basename -- "${d}")") fi ;; nvme*) if [[ $d =~ nvme[0-9][0-9]?n[0-9][0-9]?$ ]]; then nvmes+=("$(basename -- "${d}")") fi ;; nvc*) # M.2 SATA drives (in PCIe card only?) if [[ $d =~ nvc[0-9][0-9]?$ ]]; then drives+=("$(basename -- "${d}")") fi ;; usb*) if [[ $d =~ usb[0-9]?[0-9]?$ ]]; then if not_flash_drive "$d"; then drives+=("$(basename -- "${d}")") fi fi ;; esac done if [[ -z "$errtotal" ]]; then errtotal=0 ; fi # HDD and SSD for drive in "${drives[@]}"; do # Show drive model and serial get_drive_num show_drive_model # Check if a Seagate drive if is_seagate "$drive"; then seagate="yes" else seagate= fi # Show SATA/SAS drive SMART info if [[ $dsm -gt "6" ]]; then # DSM 7 or newer # Show SMART test status if SMART test running percentleft=$("$smartctl" -a -d sat -T permissive /dev/"$drive" | grep " Self-test routine in progress" | cut -d " " -f9-13) if [[ $percentleft ]]; then hourselapsed=$("$smartctl" -a -d sat -T permissive /dev/"$drive" | grep " Self-test routine in progress" | cut -d " " -f21) echo "Drive $model $serial $percentleft remaining, $hourselapsed hours elapsed." else # Show drive health show_health fi else # DSM 6 or older # Show SMART test status if SMART test running percentdone=$("$smartctl" -a -d sat -T permissive /dev/"$drive" | grep "ScanStatus" | cut -d " " -f3-4) if [[ $percentdone ]]; then hourselapsed=$("$smartctl" -a -d sat -T permissive /dev/"$drive" | grep " Self-test routine in progress" | cut -d " " -f21) echo "Drive $model $serial ${percentdone}% done." else # Show drive health show_health fi fi done # NVMe drives for drive in "${nvmes[@]}"; do # Show drive model and serial get_nvme_num show_drive_model # Show SMART overall health if smartctl7 is installed if [[ $smartversion -gt "6" ]]; then strIn=$("$smartctl" -H /dev/"$drive" | grep 'health') if $(echo "$strIn" | grep -qi PASSED); then echo -e "SMART overall-health self-assessment test result: ${LiteGreen}PASSED${Off}" elif $(echo "$strIn" | grep -qi 'Health Status: OK'); then echo -e "SMART Health Status: ${LiteGreen}OK${Off}" else echo "$strIn" fi fi smart_nvme error-log if [[ $errcount -gt "0" ]]; then errtotal=$((errtotal +errcount)) fi # Show SMART attributes if [[ $errcount -gt "0" ]] || [[ $all == "yes" ]]; then # Show all SMART attributes if health != passed, or -a/--all option used smart_nvme smart-log else # Show only important SMART attributes show_health_nvme fi done echo -e "\nFinished\n" if [[ $warn -gt "0" ]]; then errtotal=$((errtotal +warn)) fi exit "$errtotal"
33,144
syno_smart_info
sh
en
shell
code
{"qsc_code_num_words": 4032, "qsc_code_num_chars": 33144.0, "qsc_code_mean_word_length": 4.21552579, "qsc_code_frac_words_unique": 0.14335317, "qsc_code_frac_chars_top_2grams": 0.0105901, "qsc_code_frac_chars_top_3grams": 0.01111961, "qsc_code_frac_chars_top_4grams": 0.01147261, "qsc_code_frac_chars_dupe_5grams": 0.38036124, "qsc_code_frac_chars_dupe_6grams": 0.31846796, "qsc_code_frac_chars_dupe_7grams": 0.25580985, "qsc_code_frac_chars_dupe_8grams": 0.23098194, "qsc_code_frac_chars_dupe_9grams": 0.17967877, "qsc_code_frac_chars_dupe_10grams": 0.17108902, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.02703413, "qsc_code_frac_chars_whitespace": 0.31139874, "qsc_code_size_file_byte": 33144.0, "qsc_code_num_lines": 936.0, "qsc_code_num_chars_line_max": 139.0, "qsc_code_num_chars_line_mean": 35.41025641, "qsc_code_frac_chars_alphabet": 0.71769706, "qsc_code_frac_chars_comments": 0.21940623, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.36420722, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.00313972, "qsc_code_frac_chars_string_length": 0.23569882, "qsc_code_frac_chars_long_word_length": 0.03254484, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_objx_templ.c
/** * @file lv_templ.c * */ /* TODO Remove these instructions * Search an replace: template -> object normal name with lower case (e.g. button, label etc.) * templ -> object short name with lower case(e.g. btn, label etc) * TEMPL -> object short name with upper case (e.g. BTN, LABEL etc.) * * You can remove the defined() clause from the #if statement below. This exists because * LV_USE_TEMPL is not in lv_conf.h or lv_conf_templ.h by default. */ /********************* * INCLUDES *********************/ #include "../lv_misc/lv_debug.h" //#include "lv_templ.h" /*TODO uncomment this*/ #if defined(LV_USE_TEMPL) && LV_USE_TEMPL != 0 /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_templ" /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_design_res_t lv_templ_design(lv_obj_t * templ, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_res_t lv_templ_signal(lv_obj_t * templ, lv_signal_t sign, void * param); /********************** * STATIC VARIABLES **********************/ static lv_signal_cb_t ancestor_signal; static lv_design_cb_t ancestor_design; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a template object * @param par pointer to an object, it will be the parent of the new template * @param copy pointer to a template object, if not NULL then the new object will be copied from it * @return pointer to the created template */ lv_obj_t * lv_templ_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("template create started"); /*Create the ancestor of template*/ /*TODO modify it to the ancestor create function */ lv_obj_t * new_templ = lv_ANCESTOR_create(par, copy); LV_ASSERT_MEM(new_templ); if(new_templ == NULL) return NULL; /*Allocate the template type specific extended data*/ lv_templ_ext_t * ext = lv_obj_allocate_ext_attr(new_templ, sizeof(lv_templ_ext_t)); lv_mem_assert(ext); if(ext == NULL) { lv_obj_del(new_templ); return NULL; } if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(new_templ); if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(new_templ); /*Initialize the allocated 'ext' */ ext->xyz = 0; /*The signal and design functions are not copied so set them here*/ lv_obj_set_signal_cb(new_templ, lv_templ_signal); lv_obj_set_design_cb(new_templ, lv_templ_design); /*Init the new template template*/ if(copy == NULL) { } /*Copy an existing template*/ else { lv_templ_ext_t * copy_ext = lv_obj_get_ext_attr(copy); /*Refresh the style with new signal function*/ lv_obj_refresh_style(new_templ); } LV_LOG_INFO("template created"); return new_templ; } /*====================== * Add/remove functions *=====================*/ /* * New object specific "add" or "remove" functions come here */ /*===================== * Setter functions *====================*/ /* * New object specific "set" functions come here */ /** * Set a style of a template. * @param templ pointer to template object * @param type which style should be set * @param style pointer to a style */ void lv_templ_set_style(lv_obj_t * templ, lv_templ_style_t type, const lv_style_t * style) { LV_ASSERT_OBJ(templ, LV_OBJX_NAME); lv_templ_ext_t * ext = lv_obj_get_ext_attr(templ); switch(type) { case LV_TEMPL_STYLE_X: break; case LV_TEMPL_STYLE_Y: break; } } /*===================== * Getter functions *====================*/ /* * New object specific "get" functions come here */ /** * Get style of a template. * @param templ pointer to template object * @param type which style should be get * @return style pointer to the style */ lv_style_t * lv_templ_get_style(const lv_obj_t * templ, lv_templ_style_t type) { LV_ASSERT_OBJ(templ, LV_OBJX_NAME); lv_templ_ext_t * ext = lv_obj_get_ext_attr(templ); lv_style_t * style = NULL; switch(type) { case LV_TEMPL_STYLE_X: style = NULL; /*Replace NULL with a pointer to the style*/ case LV_TEMPL_STYLE_Y: style = NULL; /*Replace NULL with a pointer to the style*/ default: style = NULL; } return style; } /*===================== * Other functions *====================*/ /* * New object specific "other" functions come here */ /********************** * STATIC FUNCTIONS **********************/ /** * Handle the drawing related tasks of the templates * @param templ pointer to an object * @param mask the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_templ_design(lv_obj_t * templ, const lv_area_t * clip_area, lv_design_mode_t mode) { /*Return false if the object is not covers the mask_p area*/ if(mode == LV_DESIGN_COVER_CHK) { return LV_DESIGN_RES_NOT_COVER; } /*Draw the object*/ else if(mode == LV_DESIGN_DRAW_MAIN) { } /*Post draw when the children are drawn*/ else if(mode == LV_DESIGN_DRAW_POST) { } return LV_DESIGN_RES_OK; } /** * Signal function of the template * @param templ pointer to a template object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_templ_signal(lv_obj_t * templ, lv_signal_t sign, void * param) { lv_res_t res; /* Include the ancient signal function */ res = ancestor_signal(templ, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); if(sign == LV_SIGNAL_CLEANUP) { /*Nothing to cleanup. (No dynamically allocated memory in 'ext')*/ } return res; } #else /* Enable this file at the top */ /* This dummy typedef exists purely to silence -Wpedantic. */ typedef int keep_pedantic_happy; #endif
6,604
lv_objx_templ
c
en
c
code
{"qsc_code_num_words": 927, "qsc_code_num_chars": 6604.0, "qsc_code_mean_word_length": 4.16612729, "qsc_code_frac_words_unique": 0.201726, "qsc_code_frac_chars_top_2grams": 0.04168824, "qsc_code_frac_chars_top_3grams": 0.01553599, "qsc_code_frac_chars_top_4grams": 0.01708959, "qsc_code_frac_chars_dupe_5grams": 0.30372864, "qsc_code_frac_chars_dupe_6grams": 0.24210254, "qsc_code_frac_chars_dupe_7grams": 0.21310202, "qsc_code_frac_chars_dupe_8grams": 0.17762817, "qsc_code_frac_chars_dupe_9grams": 0.17762817, "qsc_code_frac_chars_dupe_10grams": 0.16312791, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00038528, "qsc_code_frac_chars_whitespace": 0.21396124, "qsc_code_size_file_byte": 6604.0, "qsc_code_num_lines": 238.0, "qsc_code_num_chars_line_max": 110.0, "qsc_code_num_chars_line_mean": 27.74789916, "qsc_code_frac_chars_alphabet": 0.74359468, "qsc_code_frac_chars_comments": 0.56102362, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.18072289, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.02345636, "qsc_code_frac_chars_long_word_length": 0.00724388, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.01260504, "qsc_code_frac_lines_assert": 0.04819277, "qsc_codec_frac_lines_func_ratio": 0.13253012, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.21686747, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.06024096}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 1, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
007revad/Synology_SMART_info
how_to_schedule.md
# How to schedule a script in Synology Task Scheduler To schedule a script to run on your Synology at boot-up or shut-down follow these steps: **Note:** You can setup a schedule task and leave it disabled, so it only runs when you select the task in the Task Scheduler and click on the Run button. 1. Go to **Control Panel** > **Task Scheduler** > click **Create** > and select **Triggered Task**. 2. Select **User-defined script**. 3. Enter a task name. 4. Select **root** as the user (The script needs to run as root). 5. Select **Boot-up** as the event that triggers the task. 6. Leave **Enable** ticked. 7. Click **Task Settings**. 8. Optionally you can tick **Send run details by email** and **Send run details only when the script terminates abnormally** then enter your email address. 9. In the box under **User-defined script** type the path to the script. - e.g. If you saved the script to a shared folder on volume1 called "scripts" you'd type: - **/volume1/scripts/syno_smart_info_db.sh --email** - For information on the options see [Options](README.md#options) 11. Click **OK** to save the settings. Here's some screenshots showing what needs to be set: <p align="leftr"><img src="images/schedule1.png"></p> <p align="leftr"><img src="images/schedule2.png"></p> <p align="leftr"><img src="images/schedule3.png"></p>
1,349
how_to_schedule
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.2439759, "qsc_doc_num_sentences": 29.0, "qsc_doc_num_words": 231, "qsc_doc_num_chars": 1349.0, "qsc_doc_num_lines": 27.0, "qsc_doc_mean_word_length": 4.15584416, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.51948052, "qsc_doc_entropy_unigram": 4.48184327, "qsc_doc_frac_words_all_caps": 0.0060241, "qsc_doc_frac_lines_dupe_lines": 0.0, "qsc_doc_frac_chars_dupe_lines": 0.0, "qsc_doc_frac_chars_top_2grams": 0.0375, "qsc_doc_frac_chars_top_3grams": 0.034375, "qsc_doc_frac_chars_top_4grams": 0.04375, "qsc_doc_frac_chars_dupe_5grams": 0.08020833, "qsc_doc_frac_chars_dupe_6grams": 0.08020833, "qsc_doc_frac_chars_dupe_7grams": 0.05625, "qsc_doc_frac_chars_dupe_8grams": 0.05625, "qsc_doc_frac_chars_dupe_9grams": 0.0, "qsc_doc_frac_chars_dupe_10grams": 0.0, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 0.0, "qsc_doc_num_chars_sentence_length_mean": 23.10714286, "qsc_doc_frac_chars_hyperlink_html_tag": 0.11786509, "qsc_doc_frac_chars_alphabet": 0.8383659, "qsc_doc_frac_chars_digital": 0.01420959, "qsc_doc_frac_chars_whitespace": 0.16530764, "qsc_doc_frac_chars_hex_words": 0.0}
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_all_caps": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_chart.c
/** * @file lv_chart.c * */ /********************* * INCLUDES *********************/ #include "lv_chart.h" #if LV_USE_CHART != 0 #include "../lv_misc/lv_debug.h" #include "../lv_core/lv_refr.h" #include "../lv_draw/lv_draw.h" #include "../lv_misc/lv_math.h" #include "../lv_themes/lv_theme.h" /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_chart" #define LV_CHART_YMIN_DEF 0 #define LV_CHART_YMAX_DEF 100 #define LV_CHART_HDIV_DEF 3 #define LV_CHART_VDIV_DEF 5 #define LV_CHART_PNUM_DEF 10 #define LV_CHART_AXIS_MAJOR_TICK_LEN_COE 1 / 15 #define LV_CHART_AXIS_MINOR_TICK_LEN_COE 2 / 3 #define LV_CHART_LABEL_ITERATOR_FORWARD 1 #define LV_CHART_LABEL_ITERATOR_REVERSE 0 /********************** * TYPEDEFS **********************/ typedef struct { const char * list_start; const char * current_pos; uint8_t items_left; uint8_t is_reverse_iter; } lv_chart_label_iterator_t; /********************** * STATIC PROTOTYPES **********************/ static lv_design_res_t lv_chart_design(lv_obj_t * chart, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_res_t lv_chart_signal(lv_obj_t * chart, lv_signal_t sign, void * param); static lv_style_list_t * lv_chart_get_style(lv_obj_t * chart, uint8_t part); static void draw_series_bg(lv_obj_t * chart, const lv_area_t * series_area, const lv_area_t * mask); static void draw_series_line(lv_obj_t * chart, const lv_area_t * series_area, const lv_area_t * clip_area); static void draw_series_column(lv_obj_t * chart, const lv_area_t * series_area, const lv_area_t * clip_area); static void draw_axes(lv_obj_t * chart, const lv_area_t * series_area, const lv_area_t * mask); static void invalidate_lines(lv_obj_t * chart, uint16_t i); static void invalidate_columns(lv_obj_t * chart, uint16_t i); static void get_series_area(lv_obj_t * chart, lv_area_t * series_area); static void get_next_axis_label(lv_chart_label_iterator_t * iterator, char * buf); static inline bool is_tick_with_label(uint8_t tick_num, lv_chart_axis_cfg_t * axis); static lv_chart_label_iterator_t create_axis_label_iter(const char * list, uint8_t iterator_dir); /********************** * STATIC VARIABLES **********************/ static lv_design_cb_t ancestor_design; static lv_signal_cb_t ancestor_signal; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a chart background objects * @param par pointer to an object, it will be the parent of the new chart background * @param copy pointer to a chart background object, if not NULL then the new object will be copied * from it * @return pointer to the created chart background */ lv_obj_t * lv_chart_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("chart create started"); /*Create the ancestor basic object*/ lv_obj_t * chart = lv_obj_create(par, copy); LV_ASSERT_MEM(chart); if(chart == NULL) return NULL; /*Allocate the object type specific extended data*/ lv_chart_ext_t * ext = lv_obj_allocate_ext_attr(chart, sizeof(lv_chart_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(chart); return NULL; } _lv_ll_init(&ext->series_ll, sizeof(lv_chart_series_t)); uint8_t i; for(i = 0; i < _LV_CHART_AXIS_LAST; i++) { ext->ymin[i] = LV_CHART_YMIN_DEF; ext->ymax[i] = LV_CHART_YMAX_DEF; } ext->hdiv_cnt = LV_CHART_HDIV_DEF; ext->vdiv_cnt = LV_CHART_VDIV_DEF; ext->point_cnt = LV_CHART_PNUM_DEF; ext->type = LV_CHART_TYPE_LINE; ext->update_mode = LV_CHART_UPDATE_MODE_SHIFT; _lv_memset_00(&ext->x_axis, sizeof(ext->x_axis)); _lv_memset_00(&ext->y_axis, sizeof(ext->y_axis)); _lv_memset_00(&ext->secondary_y_axis, sizeof(ext->secondary_y_axis)); ext->x_axis.major_tick_len = LV_CHART_TICK_LENGTH_AUTO; ext->x_axis.minor_tick_len = LV_CHART_TICK_LENGTH_AUTO; ext->y_axis.major_tick_len = LV_CHART_TICK_LENGTH_AUTO; ext->y_axis.minor_tick_len = LV_CHART_TICK_LENGTH_AUTO; ext->secondary_y_axis.major_tick_len = LV_CHART_TICK_LENGTH_AUTO; ext->secondary_y_axis.minor_tick_len = LV_CHART_TICK_LENGTH_AUTO; lv_style_list_init(&ext->style_series_bg); lv_style_list_init(&ext->style_series); if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(chart); if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(chart); lv_obj_set_signal_cb(chart, lv_chart_signal); lv_obj_set_design_cb(chart, lv_chart_design); /*Init the new chart background object*/ if(copy == NULL) { lv_obj_set_size(chart, LV_DPI * 3, LV_DPI * 2); lv_theme_apply(chart, LV_THEME_CHART); } else { lv_chart_ext_t * ext_copy = lv_obj_get_ext_attr(copy); lv_style_list_copy(&ext->style_series, &ext_copy->style_series); lv_style_list_copy(&ext->style_series_bg, &ext_copy->style_series_bg); ext->type = ext_copy->type; ext->hdiv_cnt = ext_copy->hdiv_cnt; ext->vdiv_cnt = ext_copy->vdiv_cnt; ext->point_cnt = ext_copy->point_cnt; _lv_memcpy_small(ext->ymin, ext_copy->ymin, sizeof(ext->ymin)); _lv_memcpy_small(ext->ymax, ext_copy->ymax, sizeof(ext->ymax)); _lv_memcpy(&ext->x_axis, &ext_copy->x_axis, sizeof(lv_chart_axis_cfg_t)); _lv_memcpy(&ext->y_axis, &ext_copy->y_axis, sizeof(lv_chart_axis_cfg_t)); _lv_memcpy(&ext->secondary_y_axis, &ext_copy->secondary_y_axis, sizeof(lv_chart_axis_cfg_t)); /*Refresh the style with new signal function*/ lv_obj_refresh_style(chart, LV_STYLE_PROP_ALL); } LV_LOG_INFO("chart created"); return chart; } /*====================== * Add/remove functions *=====================*/ /** * Allocate and add a data series to the chart * @param chart pointer to a chart object * @param color color of the data series * @return pointer to the allocated data series */ lv_chart_series_t * lv_chart_add_series(lv_obj_t * chart, lv_color_t color) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); lv_chart_series_t * ser = _lv_ll_ins_head(&ext->series_ll); LV_ASSERT_MEM(ser); if(ser == NULL) return NULL; lv_coord_t def = LV_CHART_POINT_DEF; ser->color = color; ser->points = lv_mem_alloc(sizeof(lv_coord_t) * ext->point_cnt); LV_ASSERT_MEM(ser->points); if(ser->points == NULL) { _lv_ll_remove(&ext->series_ll, ser); lv_mem_free(ser); return NULL; } ser->start_point = 0; ser->ext_buf_assigned = false; ser->y_axis = LV_CHART_AXIS_PRIMARY_Y; uint16_t i; lv_coord_t * p_tmp = ser->points; for(i = 0; i < ext->point_cnt; i++) { *p_tmp = def; p_tmp++; } return ser; } /** * Clear the point of a series * @param chart pointer to a chart object * @param series pointer to the chart's series to clear */ void lv_chart_clear_series(lv_obj_t * chart, lv_chart_series_t * series) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(series); if(chart == NULL || series == NULL) return; lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext == NULL) return; uint32_t i; for(i = 0; i < ext->point_cnt; i++) { series->points[i] = LV_CHART_POINT_DEF; } series->start_point = 0; } /*===================== * Setter functions *====================*/ /** * Set the number of horizontal and vertical division lines * @param chart pointer to a graph background object * @param hdiv number of horizontal division lines * @param vdiv number of vertical division lines */ void lv_chart_set_div_line_count(lv_obj_t * chart, uint8_t hdiv, uint8_t vdiv) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext->hdiv_cnt == hdiv && ext->vdiv_cnt == vdiv) return; ext->hdiv_cnt = hdiv; ext->vdiv_cnt = vdiv; lv_obj_invalidate(chart); } /** * Set the minimal and maximal y values on an axis * @param chart pointer to a graph background object * @param axis `LV_CHART_AXIS_PRIMARY_Y` or `LV_CHART_AXIS_SECONDARY_Y` * @param ymin y minimum value * @param ymax y maximum value */ void lv_chart_set_y_range(lv_obj_t * chart, lv_chart_axis_t axis, lv_coord_t ymin, lv_coord_t ymax) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); if(axis >= _LV_CHART_AXIS_LAST) { LV_LOG_WARN("Invalid axis: %d", axis); return; } lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext->ymin[axis] == ymin && ext->ymax[axis] == ymax) return; ext->ymin[axis] = ymin; ext->ymax[axis] = ymax; lv_chart_refresh(chart); } /** * Set a new type for a chart * @param chart pointer to a chart object * @param type new type of the chart (from 'lv_chart_type_t' enum) */ void lv_chart_set_type(lv_obj_t * chart, lv_chart_type_t type) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext->type == type) return; ext->type = type; lv_chart_refresh(chart); } /** * Set the number of points on a data line on a chart * @param chart pointer r to chart object * @param point_cnt new number of points on the data lines */ void lv_chart_set_point_count(lv_obj_t * chart, uint16_t point_cnt) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext->point_cnt == point_cnt) return; lv_chart_series_t * ser; uint16_t point_cnt_old = ext->point_cnt; uint16_t i; lv_coord_t def = LV_CHART_POINT_DEF; if(point_cnt < 1) point_cnt = 1; _LV_LL_READ_BACK(ext->series_ll, ser) { if(!ser->ext_buf_assigned) { if(ser->start_point != 0) { lv_coord_t * new_points = lv_mem_alloc(sizeof(lv_coord_t) * point_cnt); LV_ASSERT_MEM(new_points); if(new_points == NULL) return; if(point_cnt >= point_cnt_old) { for(i = 0; i < point_cnt_old; i++) { new_points[i] = ser->points[(i + ser->start_point) % point_cnt_old]; /*Copy old contents to new array*/ } for(i = point_cnt_old; i < point_cnt; i++) { new_points[i] = def; /*Fill up the rest with default value*/ } } else { for(i = 0; i < point_cnt; i++) { new_points[i] = ser->points[(i + ser->start_point) % point_cnt_old]; /*Copy old contents to new array*/ } } /*Switch over pointer from old to new*/ lv_mem_free(ser->points); ser->points = new_points; } else { ser->points = lv_mem_realloc(ser->points, sizeof(lv_coord_t) * point_cnt); LV_ASSERT_MEM(ser->points); if(ser->points == NULL) return; /*Initialize the new points*/ if(point_cnt > point_cnt_old) { for(i = point_cnt_old - 1; i < point_cnt; i++) { ser->points[i] = def; } } } } ser->start_point = 0; } ext->point_cnt = point_cnt; lv_chart_refresh(chart); } /** * Initialize all data points with a value * @param chart pointer to chart object * @param ser pointer to a data series on 'chart' * @param y the new value for all points */ void lv_chart_init_points(lv_obj_t * chart, lv_chart_series_t * ser, lv_coord_t y) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(ser); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); uint16_t i; for(i = 0; i < ext->point_cnt; i++) { ser->points[i] = y; } ser->start_point = 0; lv_chart_refresh(chart); } /** * Set the value of points from an array * @param chart pointer to chart object * @param ser pointer to a data series on 'chart' * @param y_array array of 'lv_coord_t' points (with 'points count' elements ) */ void lv_chart_set_points(lv_obj_t * chart, lv_chart_series_t * ser, lv_coord_t y_array[]) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(ser); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); memcpy(ser->points, y_array, ext->point_cnt * (sizeof(lv_coord_t))); ser->start_point = 0; lv_chart_refresh(chart); } /** * Shift all data left and set the rightmost data on a data line * @param chart pointer to chart object * @param ser pointer to a data series on 'chart' * @param y the new value of the rightmost data */ void lv_chart_set_next(lv_obj_t * chart, lv_chart_series_t * ser, lv_coord_t y) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(ser); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext->update_mode == LV_CHART_UPDATE_MODE_SHIFT) { ser->points[ser->start_point] = y; /*This was the place of the former left most value, after shifting it is the rightmost*/ ser->start_point = (ser->start_point + 1) % ext->point_cnt; lv_chart_refresh(chart); } else if(ext->update_mode == LV_CHART_UPDATE_MODE_CIRCULAR) { ser->points[ser->start_point] = y; if(ext->type & LV_CHART_TYPE_LINE) invalidate_lines(chart, ser->start_point); if(ext->type & LV_CHART_TYPE_COLUMN) invalidate_columns(chart, ser->start_point); ser->start_point = (ser->start_point + 1) % ext->point_cnt; /*update the x for next incoming y*/ } } /** * Set update mode of the chart object. * @param chart pointer to a chart object * @param update mode */ void lv_chart_set_update_mode(lv_obj_t * chart, lv_chart_update_mode_t update_mode) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext->update_mode == update_mode) return; ext->update_mode = update_mode; lv_obj_invalidate(chart); } /** * Set the length of the tick marks on the x axis * @param chart pointer to the chart * @param major_tick_len the length of the major tick or `LV_CHART_TICK_LENGTH_AUTO` to set automatically * (where labels are added) * @param minor_tick_len the length of the minor tick, `LV_CHART_TICK_LENGTH_AUTO` to set automatically * (where no labels are added) */ void lv_chart_set_x_tick_length(lv_obj_t * chart, uint8_t major_tick_len, uint8_t minor_tick_len) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); ext->x_axis.major_tick_len = major_tick_len; ext->x_axis.minor_tick_len = minor_tick_len; } /** * Set the length of the tick marks on the y axis * @param chart pointer to the chart * @param major_tick_len the length of the major tick or `LV_CHART_TICK_LENGTH_AUTO` to set automatically * (where labels are added) * @param minor_tick_len the length of the minor tick, `LV_CHART_TICK_LENGTH_AUTO` to set automatically * (where no labels are added) */ void lv_chart_set_y_tick_length(lv_obj_t * chart, uint8_t major_tick_len, uint8_t minor_tick_len) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); ext->y_axis.major_tick_len = major_tick_len; ext->y_axis.minor_tick_len = minor_tick_len; } /** * Set the length of the tick marks on the secondary y axis * @param chart pointer to the chart * @param major_tick_len the length of the major tick or `LV_CHART_TICK_LENGTH_AUTO` to set automatically * (where labels are added) * @param minor_tick_len the length of the minor tick, `LV_CHART_TICK_LENGTH_AUTO` to set automatically * (where no labels are added) */ void lv_chart_set_secondary_y_tick_length(lv_obj_t * chart, uint8_t major_tick_len, uint8_t minor_tick_len) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); ext->secondary_y_axis.major_tick_len = major_tick_len; ext->secondary_y_axis.minor_tick_len = minor_tick_len; } /** * Set the x-axis tick count and labels of a chart * @param chart pointer to a chart object * @param list_of_values list of string values, terminated with \n, except the last * @param num_tick_marks if list_of_values is NULL: total number of ticks per axis * else number of ticks between two value labels * @param options extra options */ void lv_chart_set_x_tick_texts(lv_obj_t * chart, const char * list_of_values, uint8_t num_tick_marks, lv_chart_axis_options_t options) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(list_of_values); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); ext->x_axis.num_tick_marks = num_tick_marks; ext->x_axis.list_of_values = list_of_values; ext->x_axis.options = options; } /** * Set the y-axis tick count and labels of a chart * @param chart pointer to a chart object * @param list_of_values list of string values, terminated with \n, except the last * @param num_tick_marks if list_of_values is NULL: total number of ticks per axis * else number of ticks between two value labels * @param options extra options */ void lv_chart_set_y_tick_texts(lv_obj_t * chart, const char * list_of_values, uint8_t num_tick_marks, lv_chart_axis_options_t options) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(list_of_values); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); ext->y_axis.num_tick_marks = num_tick_marks; ext->y_axis.list_of_values = list_of_values; ext->y_axis.options = options; } /** * Set the secondary y-axis tick count and labels of a chart * @param chart pointer to a chart object * @param list_of_values list of string values, terminated with \n, except the last * @param num_tick_marks if list_of_values is NULL: total number of ticks per axis * else number of ticks between two value labels * @param options extra options */ void lv_chart_set_secondary_y_tick_texts(lv_obj_t * chart, const char * list_of_values, uint8_t num_tick_marks, lv_chart_axis_options_t options) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(list_of_values); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); ext->secondary_y_axis.num_tick_marks = num_tick_marks; ext->secondary_y_axis.list_of_values = list_of_values; ext->secondary_y_axis.options = options; } /** * Set the index of the x-axis start point in the data array * @param chart pointer to a chart object * @param ser pointer to a data series on 'chart' * @param id the index of the x point in the data array */ void lv_chart_set_x_start_point(lv_obj_t * chart, lv_chart_series_t * ser, uint16_t id) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(ser); if(chart == NULL || ser == NULL) return; lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext == NULL) return; if(id >= ext->point_cnt) return; ser->start_point = id; } /** * Set an external array of data points to use for the chart * NOTE: It is the users responsibility to make sure the point_cnt matches the external array size. * @param chart pointer to a chart object * @param ser pointer to a data series on 'chart' * @param array external array of points for chart * @param point_cnt number of external points in the array */ void lv_chart_set_ext_array(lv_obj_t * chart, lv_chart_series_t * ser, lv_coord_t array[], uint16_t point_cnt) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(ser); if(chart == NULL || ser == NULL) return; lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(!ser->ext_buf_assigned && ser->points) lv_mem_free(ser->points); ser->ext_buf_assigned = true; ser->points = array; ext->point_cnt = point_cnt; } /** * Set an individual point y value in the chart series directly based on index * @param chart pointer to a chart object * @param ser pointer to a data series on 'chart' * @param value value to assign to array point * @param id the index of the x point in the array */ void lv_chart_set_point_id(lv_obj_t * chart, lv_chart_series_t * ser, lv_coord_t value, uint16_t id) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(ser); if(chart == NULL || ser == NULL) return; lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext == NULL) return; if(id >= ext->point_cnt) return; ser->points[id] = value; } /** * Set the Y axis of a series * @param chart pointer to a chart object * @param ser pointer to series * @param axis `LV_CHART_AXIS_PRIMARY_Y` or `LV_CHART_AXIS_SECONDARY_Y` */ void lv_chart_set_series_axis(lv_obj_t * chart, lv_chart_series_t * ser, lv_chart_axis_t axis) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(ser); if(axis >= _LV_CHART_AXIS_LAST) { LV_LOG_WARN("Invalid axis: %d", axis); return; } if(ser->y_axis == axis) return; ser->y_axis = axis; lv_chart_refresh(chart); } /*===================== * Getter functions *====================*/ /** * Get the type of a chart * @param chart pointer to chart object * @return type of the chart (from 'lv_chart_t' enum) */ lv_chart_type_t lv_chart_get_type(const lv_obj_t * chart) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); return ext->type; } /** * Get the data point number per data line on chart * @param chart pointer to chart object * @return point number on each data line */ uint16_t lv_chart_get_point_count(const lv_obj_t * chart) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); return ext->point_cnt; } /** * Get the current index of the x-axis start point in the data array * @param ser pointer to a data series on 'chart' * @return the index of the current x start point in the data array */ uint16_t lv_chart_get_x_start_point(lv_chart_series_t * ser) { LV_ASSERT_NULL(ser); return(ser->start_point); } /** * Get an individual point y value in the chart series directly based on index * @param chart pointer to a chart object * @param ser pointer to a data series on 'chart' * @param id the index of the x point in the array * @return value of array point at index id */ lv_coord_t lv_chart_get_point_id(lv_obj_t * chart, lv_chart_series_t * ser, uint16_t id) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(ser); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(id >= ext->point_cnt) id = 0; return(ser->points[id]); } /** * Get the Y axis of a series * @param chart pointer to a chart object * @param ser pointer to series * @return `LV_CHART_AXIS_PRIMARY_Y` or `LV_CHART_AXIS_SECONDARY_Y` */ lv_chart_axis_t lv_chart_get_series_axis(lv_obj_t * chart, lv_chart_series_t * ser) { LV_ASSERT_NULL(ser); LV_UNUSED(chart); return ser->y_axis; } /*===================== * Other functions *====================*/ /** * Refresh a chart if its data line has changed * @param chart pointer to chart object */ void lv_chart_refresh(lv_obj_t * chart) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_obj_invalidate(chart); } /********************** * STATIC FUNCTIONS **********************/ /** * Handle the drawing related tasks of the chart backgrounds * @param chart pointer to an object * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_chart_design(lv_obj_t * chart, const lv_area_t * clip_area, lv_design_mode_t mode) { if(mode == LV_DESIGN_COVER_CHK) { return ancestor_design(chart, clip_area, mode); } else if(mode == LV_DESIGN_DRAW_MAIN) { /*Draw the background*/ lv_draw_rect_dsc_t bg_dsc; lv_draw_rect_dsc_init(&bg_dsc); lv_obj_init_draw_rect_dsc(chart, LV_CHART_PART_BG, &bg_dsc); lv_draw_rect(&chart->coords, clip_area, &bg_dsc); lv_area_t series_area; get_series_area(chart, &series_area); draw_series_bg(chart, &series_area, clip_area); draw_axes(chart, &series_area, clip_area); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext->type & LV_CHART_TYPE_LINE) draw_series_line(chart, &series_area, clip_area); if(ext->type & LV_CHART_TYPE_COLUMN) draw_series_column(chart, &series_area, clip_area); } return LV_DESIGN_RES_OK; } /** * Signal function of the chart background * @param chart pointer to a chart background object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable */ static lv_res_t lv_chart_signal(lv_obj_t * chart, lv_signal_t sign, void * param) { /* Include the ancient signal function */ lv_res_t res; if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_chart_get_style(chart, info->part); if(info->result != NULL) return LV_RES_OK; else return ancestor_signal(chart, sign, param); } res = ancestor_signal(chart, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(sign == LV_SIGNAL_CLEANUP) { lv_chart_series_t * ser; while(ext->series_ll.head != NULL) { ser = _lv_ll_get_head(&ext->series_ll); if(!ser->ext_buf_assigned) lv_mem_free(ser->points); _lv_ll_remove(&ext->series_ll, ser); lv_mem_free(ser); } _lv_ll_clear(&ext->series_ll); lv_obj_clean_style_list(chart, LV_CHART_PART_SERIES); lv_obj_clean_style_list(chart, LV_CHART_PART_SERIES_BG); } return res; } /** * Get the style descriptor of a part of the object * @param chart pointer the object * @param part the part of the chart. (LV_CHART_PART_...) * @return pointer to the style descriptor of the specified part */ static lv_style_list_t * lv_chart_get_style(lv_obj_t * chart, uint8_t part) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); lv_style_list_t * style_dsc_p; switch(part) { case LV_CHART_PART_BG: style_dsc_p = &chart->style_list; break; case LV_CHART_PART_SERIES_BG: style_dsc_p = &ext->style_series_bg; break; case LV_CHART_PART_SERIES: style_dsc_p = &ext->style_series; break; default: style_dsc_p = NULL; } return style_dsc_p; } /** * Draw the division lines on chart background * @param chart pointer to chart object * @param clip_area mask, inherited from the design function */ static void draw_series_bg(lv_obj_t * chart, const lv_area_t * series_area, const lv_area_t * clip_area) { /*Draw the background of the series*/ lv_draw_rect_dsc_t bg_dsc; lv_draw_rect_dsc_init(&bg_dsc); lv_obj_init_draw_rect_dsc(chart, LV_CHART_PART_SERIES_BG, &bg_dsc); lv_draw_rect(series_area, clip_area, &bg_dsc); lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); uint8_t div_i; uint8_t div_i_end; uint8_t div_i_start; lv_point_t p1; lv_point_t p2; lv_coord_t w = lv_area_get_width(series_area); lv_coord_t h = lv_area_get_height(series_area); lv_coord_t x_ofs = series_area->x1; lv_coord_t y_ofs = series_area->y1; lv_draw_line_dsc_t line_dsc; lv_draw_line_dsc_init(&line_dsc); lv_obj_init_draw_line_dsc(chart, LV_CHART_PART_SERIES_BG, &line_dsc); if(ext->hdiv_cnt != 0) { /*Draw side lines if no border*/ if(bg_dsc.border_width != 0) { div_i_start = 1; div_i_end = ext->hdiv_cnt; } else { div_i_start = 0; div_i_end = ext->hdiv_cnt + 1; } p1.x = 0 + x_ofs; p2.x = w - 1 + x_ofs; for(div_i = div_i_start; div_i <= div_i_end; div_i++) { p1.y = (int32_t)((int32_t)(h - line_dsc.width) * div_i) / (ext->hdiv_cnt + 1); p1.y += y_ofs; p2.y = p1.y; lv_draw_line(&p1, &p2, clip_area, &line_dsc); } } if(ext->vdiv_cnt != 0) { /*Draw side lines if no border*/ if(bg_dsc.border_width != 0) { div_i_start = 1; div_i_end = ext->vdiv_cnt; } else { div_i_start = 0; div_i_end = ext->vdiv_cnt + 1; } p1.y = 0 + y_ofs; p2.y = h + y_ofs - 1; for(div_i = div_i_start; div_i <= div_i_end; div_i++) { p1.x = (int32_t)((int32_t)(w - line_dsc.width) * div_i) / (ext->vdiv_cnt + 1); p1.x += x_ofs; p2.x = p1.x; lv_draw_line(&p1, &p2, clip_area, &line_dsc); } } } /** * Draw the data lines as lines on a chart * @param obj pointer to chart object */ static void draw_series_line(lv_obj_t * chart, const lv_area_t * series_area, const lv_area_t * clip_area) { lv_area_t com_area; if(_lv_area_intersect(&com_area, series_area, clip_area) == false) return; lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); uint16_t i; lv_point_t p1; lv_point_t p2; lv_coord_t w = lv_area_get_width(series_area); lv_coord_t h = lv_area_get_height(series_area); lv_coord_t x_ofs = series_area->x1; lv_coord_t y_ofs = series_area->y1; lv_chart_series_t * ser; lv_area_t series_mask; bool mask_ret = _lv_area_intersect(&series_mask, series_area, clip_area); if(mask_ret == false) return; lv_draw_line_dsc_t line_dsc; lv_draw_line_dsc_init(&line_dsc); lv_obj_init_draw_line_dsc(chart, LV_CHART_PART_SERIES, &line_dsc); lv_draw_mask_fade_param_t mask_fade_p; int16_t mask_fade_id = LV_MASK_ID_INV; lv_draw_rect_dsc_t area_dsc; bool has_area = lv_obj_get_style_bg_opa(chart, LV_CHART_PART_SERIES) > LV_OPA_MIN ? true : false; bool has_fade = false; if(has_area) { lv_draw_rect_dsc_init(&area_dsc); lv_obj_init_draw_rect_dsc(chart, LV_CHART_PART_SERIES, &area_dsc); area_dsc.border_width = 0; has_fade = area_dsc.bg_grad_dir == LV_GRAD_DIR_VER ? true : false; if(has_fade) { lv_draw_mask_fade_init(&mask_fade_p, series_area, area_dsc.bg_main_color_stop, series_area->y1, area_dsc.bg_grad_color_stop, series_area->y2); } } lv_draw_rect_dsc_t point_dsc; lv_draw_rect_dsc_init(&point_dsc); point_dsc.bg_opa = line_dsc.opa; point_dsc.radius = LV_RADIUS_CIRCLE; lv_coord_t point_radius = lv_obj_get_style_size(chart, LV_CHART_PART_SERIES); /*Do not bother with line ending is the point will over it*/ if(point_radius > line_dsc.width / 2) line_dsc.raw_end = 1; /*Go through all data lines*/ _LV_LL_READ_BACK(ext->series_ll, ser) { line_dsc.color = ser->color; point_dsc.bg_color = ser->color; area_dsc.bg_color = ser->color; area_dsc.bg_grad_color = ser->color; lv_coord_t start_point = ext->update_mode == LV_CHART_UPDATE_MODE_SHIFT ? ser->start_point : 0; p1.x = 0 + x_ofs; p2.x = 0 + x_ofs; lv_coord_t p_act = start_point; lv_coord_t p_prev = start_point; int32_t y_tmp = (int32_t)((int32_t)ser->points[p_prev] - ext->ymin[ser->y_axis]) * h; y_tmp = y_tmp / (ext->ymax[ser->y_axis] - ext->ymin[ser->y_axis]); p2.y = h - y_tmp + y_ofs; for(i = 0; i < ext->point_cnt; i++) { p1.x = p2.x; p1.y = p2.y; p2.x = ((w * i) / (ext->point_cnt - 1)) + x_ofs; p_act = (start_point + i) % ext->point_cnt; y_tmp = (int32_t)((int32_t)ser->points[p_act] - ext->ymin[ser->y_axis]) * h; y_tmp = y_tmp / (ext->ymax[ser->y_axis] - ext->ymin[ser->y_axis]); p2.y = h - y_tmp + y_ofs; /*Don't draw the first point. A second point is also required to draw the line*/ if(i != 0 && ser->points[p_prev] != LV_CHART_POINT_DEF && ser->points[p_act] != LV_CHART_POINT_DEF) { lv_draw_line(&p1, &p2, &series_mask, &line_dsc); lv_coord_t y_top = LV_MATH_MIN(p1.y, p2.y); if(has_area && y_top <= clip_area->y2) { int16_t mask_line_id; lv_draw_mask_line_param_t mask_line_p; lv_draw_mask_line_points_init(&mask_line_p, p1.x, p1.y, p2.x, p2.y, LV_DRAW_MASK_LINE_SIDE_BOTTOM); mask_line_id = lv_draw_mask_add(&mask_line_p, NULL); lv_area_t a; a.x1 = p1.x; a.x2 = p2.x - 1; a.y1 = y_top; a.y2 = series_area->y2; if(has_fade) mask_fade_id = lv_draw_mask_add(&mask_fade_p, NULL); lv_draw_rect(&a, &series_mask, &area_dsc); lv_draw_mask_remove_id(mask_line_id); lv_draw_mask_remove_id(mask_fade_id); } } if(point_radius) { lv_area_t point_area; point_area.x1 = p1.x; point_area.x2 = point_area.x1 + point_radius; point_area.x1 -= point_radius; point_area.y1 = p1.y; point_area.y2 = point_area.y1 + point_radius; point_area.y1 -= point_radius; if(ser->points[p_act] != LV_CHART_POINT_DEF) { /*Don't limit to `series_mask` to get full circles on the ends*/ lv_draw_rect(&point_area, clip_area, &point_dsc); } } p_prev = p_act; } /*Draw the last point*/ if(point_radius) { lv_area_t point_area; point_area.x1 = p2.x; point_area.x2 = point_area.x1 + point_radius; point_area.x1 -= point_radius; point_area.y1 = p2.y; point_area.y2 = point_area.y1 + point_radius; point_area.y1 -= point_radius; if(ser->points[p_act] != LV_CHART_POINT_DEF) { /*Don't limit to `series_mask` to get full circles on the ends*/ lv_draw_rect(&point_area, clip_area, &point_dsc); } } } } /** * Draw the data lines as columns on a chart * @param chart pointer to chart object * @param mask mask, inherited from the design function */ static void draw_series_column(lv_obj_t * chart, const lv_area_t * series_area, const lv_area_t * clip_area) { lv_area_t com_area; if(_lv_area_intersect(&com_area, series_area, clip_area) == false) return; lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); uint16_t i; lv_area_t col_a; lv_coord_t w = lv_area_get_width(series_area); lv_coord_t h = lv_area_get_height(series_area); int32_t y_tmp; lv_chart_series_t * ser; lv_coord_t col_w = w / ((_lv_ll_get_len(&ext->series_ll) + 1) * ext->point_cnt); /* Suppose + 1 series as separator*/ lv_coord_t x_ofs = col_w / 2; /*Shift with a half col.*/ lv_style_int_t col_space = lv_obj_get_style_pad_inner(chart, LV_CHART_PART_SERIES); lv_draw_rect_dsc_t col_dsc; lv_draw_rect_dsc_init(&col_dsc); lv_obj_init_draw_rect_dsc(chart, LV_CHART_PART_SERIES, &col_dsc); col_dsc.bg_grad_dir = LV_GRAD_DIR_NONE; col_dsc.bg_opa = LV_OPA_COVER; /*Make the cols longer with `radius` to clip the rounding from the bottom*/ col_a.y2 = series_area->y2 + col_dsc.radius; lv_area_t series_mask; bool mask_ret = _lv_area_intersect(&series_mask, series_area, clip_area); if(mask_ret == false) return; /*Go through all points*/ for(i = 0; i < ext->point_cnt; i++) { lv_coord_t x_act = (int32_t)((int32_t)w * i) / ext->point_cnt; x_act += series_area->x1 + x_ofs; /*Draw the current point of all data line*/ _LV_LL_READ_BACK(ext->series_ll, ser) { lv_coord_t start_point = ext->update_mode == LV_CHART_UPDATE_MODE_SHIFT ? ser->start_point : 0; col_a.x1 = x_act; col_a.x2 = col_a.x1 + col_w - col_space; x_act += col_w; if(col_a.x2 < series_mask.x1) continue; if(col_a.x1 > series_mask.x2) break; col_dsc.bg_color = ser->color; lv_coord_t p_act = (start_point + i) % ext->point_cnt; y_tmp = (int32_t)((int32_t)ser->points[p_act] - ext->ymin[ser->y_axis]) * h; y_tmp = y_tmp / (ext->ymax[ser->y_axis] - ext->ymin[ser->y_axis]); col_a.y1 = h - y_tmp + series_area->y1; if(ser->points[p_act] != LV_CHART_POINT_DEF) { lv_draw_rect(&col_a, &series_mask, &col_dsc); } } } } /** * Create iterator for newline-separated list * @param list pointer to newline-separated labels list * @param iterator_dir LV_CHART_ITERATOR_FORWARD or LV_CHART_LABEL_ITERATOR_REVERSE * @return lv_chart_label_iterator_t */ static lv_chart_label_iterator_t create_axis_label_iter(const char * list, uint8_t iterator_dir) { lv_chart_label_iterator_t iterator = {0}; uint8_t j; iterator.list_start = list; /* count number of list items */ for(j = 0; list[j] != '\0'; j++) { if(list[j] == '\n') iterator.items_left++; } if(iterator_dir == LV_CHART_LABEL_ITERATOR_FORWARD) { iterator.is_reverse_iter = 0; iterator.current_pos = list; } else { iterator.is_reverse_iter = 1; // -1 to skip '\0' at the end of the string iterator.current_pos = list + j - 1; } iterator.items_left++; return iterator; } /** * Get next label from iterator created by lv_chart_create_label_iter() * @param iterator iterator to get label from * @param[out] buf buffer to point next label to */ static void get_next_axis_label(lv_chart_label_iterator_t * iterator, char * buf) { uint32_t label_len = 0; if(iterator->is_reverse_iter) { const char * label_start; /* count the length of the current label*/ while((*iterator->current_pos != '\n') && (iterator->current_pos != iterator->list_start)) { iterator->current_pos--; label_len++; } label_start = iterator->current_pos; if(*iterator->current_pos == '\n') { /* do not copy \n symbol, +1 to skip it*/ label_start++; /* skip newline*/ iterator->current_pos--; } else { /* it is last label in list (first one from the beginning )*/ label_len++; } /* do not allow output buffer overflow */ if(label_len > LV_CHART_AXIS_TICK_LABEL_MAX_LEN) { label_len = LV_CHART_AXIS_TICK_LABEL_MAX_LEN; } strncpy(buf, label_start, label_len); } else { /* search for tick string */ while(iterator->current_pos[label_len] != '\n' && iterator->current_pos[label_len] != '\0') { /* do not overflow the buffer, but move to the end of the current label */ if(label_len < LV_CHART_AXIS_TICK_LABEL_MAX_LEN) { buf[label_len] = iterator->current_pos[label_len]; label_len++; } else { label_len++; } } iterator->current_pos += label_len; /* do not allow output buffer overflow */ if(label_len > LV_CHART_AXIS_TICK_LABEL_MAX_LEN) { label_len = LV_CHART_AXIS_TICK_LABEL_MAX_LEN; } if(*iterator->current_pos == '\n') iterator->current_pos++; } /* terminate the string */ buf[label_len] = '\0'; } /** * Check whether there should be a label next to tick with given * number * @param tick_num number of the tick to check * @param axis pointer to struct containing info on the axis * @return true if label should be located next to current tick */ static inline bool is_tick_with_label(uint8_t tick_num, lv_chart_axis_cfg_t * axis) { return ((tick_num == 0) || ((tick_num % axis->num_tick_marks) == 0)); } static void draw_y_ticks(lv_obj_t * chart, const lv_area_t * series_area, const lv_area_t * mask, uint8_t which_axis) { lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); lv_chart_axis_cfg_t * y_axis = (which_axis == LV_CHART_AXIS_PRIMARY_Y) ? &ext->y_axis : &ext->secondary_y_axis; if(y_axis->list_of_values == NULL && y_axis->num_tick_marks == 0) return; uint8_t i; uint8_t num_of_labels; uint8_t num_scale_ticks; int8_t major_tick_len, minor_tick_len; uint8_t iter_dir; lv_point_t p1; lv_point_t p2; lv_coord_t x_ofs; lv_chart_label_iterator_t iter; lv_coord_t y_ofs = series_area->y1; lv_coord_t h = lv_area_get_height(series_area); lv_coord_t w = lv_area_get_width(series_area); char buf[LV_CHART_AXIS_TICK_LABEL_MAX_LEN + 1]; /* up to N symbols per label + null terminator */ /* chose correct side of the chart */ if(which_axis == LV_CHART_AXIS_PRIMARY_Y) x_ofs = series_area->x1; else x_ofs = series_area->x2; /* calculate the size of tick marks */ if(y_axis->major_tick_len == LV_CHART_TICK_LENGTH_AUTO) major_tick_len = (int32_t)w * LV_CHART_AXIS_MAJOR_TICK_LEN_COE; else major_tick_len = y_axis->major_tick_len; if(y_axis->minor_tick_len == LV_CHART_TICK_LENGTH_AUTO) minor_tick_len = major_tick_len * LV_CHART_AXIS_MINOR_TICK_LEN_COE; else minor_tick_len = y_axis->minor_tick_len; /* tick lines on secondary y axis are drawn in other direction*/ if(which_axis == LV_CHART_AXIS_SECONDARY_Y) { major_tick_len *= -1; minor_tick_len *= -1; } iter_dir = (y_axis->options & LV_CHART_AXIS_INVERSE_LABELS_ORDER) ? LV_CHART_LABEL_ITERATOR_REVERSE : LV_CHART_LABEL_ITERATOR_FORWARD; iter = create_axis_label_iter(y_axis->list_of_values, iter_dir); /*determine the number of options */ num_of_labels = iter.items_left; /* we can't have string labels without ticks step, set to 1 if not specified */ if(y_axis->num_tick_marks == 0) y_axis->num_tick_marks = 1; /* calculate total number of ticks */ if(num_of_labels < 2) num_scale_ticks = y_axis->num_tick_marks; else num_scale_ticks = (y_axis->num_tick_marks * (num_of_labels - 1)); lv_style_int_t label_dist = which_axis == LV_CHART_AXIS_PRIMARY_Y ? lv_obj_get_style_pad_left(chart, LV_CHART_PART_SERIES_BG) : lv_obj_get_style_pad_right(chart, LV_CHART_PART_SERIES_BG); lv_draw_line_dsc_t line_dsc; lv_draw_line_dsc_init(&line_dsc); lv_obj_init_draw_line_dsc(chart, LV_CHART_PART_BG, &line_dsc); lv_draw_label_dsc_t label_dsc; lv_draw_label_dsc_init(&label_dsc); lv_obj_init_draw_label_dsc(chart, LV_CHART_PART_BG, &label_dsc); for(i = 0; i < (num_scale_ticks + 1); i++) { /* one extra loop - it may not exist in the list, empty label */ /* draw a line at moving y position */ p2.y = p1.y = y_ofs + (int32_t)((int32_t)(h - line_dsc.width) * i) / num_scale_ticks; if(p2.y - label_dsc.font->line_height > mask->y2) return; if(p2.y + label_dsc.font->line_height < mask->y1) { if(is_tick_with_label(i, y_axis)) { get_next_axis_label(&iter, buf); } continue; } /* first point of the tick */ p1.x = x_ofs; /* move extra pixel out of chart boundary */ if(which_axis == LV_CHART_AXIS_PRIMARY_Y) p1.x--; else p1.x++; /* second point of the tick */ if((num_of_labels != 0) && (i == 0 || i % y_axis->num_tick_marks == 0)) p2.x = p1.x - major_tick_len; /* major tick */ else p2.x = p1.x - minor_tick_len; /* minor tick */ if(y_axis->options & LV_CHART_AXIS_INVERSE_LABELS_ORDER) { /*if label order is inversed last tick have number 0*/ if(i != 0) lv_draw_line(&p1, &p2, mask, &line_dsc); else if((y_axis->options & LV_CHART_AXIS_DRAW_LAST_TICK) != 0) lv_draw_line(&p1, &p2, mask, &line_dsc); } else { if(i != num_scale_ticks) lv_draw_line(&p1, &p2, mask, &line_dsc); else if((y_axis->options & LV_CHART_AXIS_DRAW_LAST_TICK) != 0) lv_draw_line(&p1, &p2, mask, &line_dsc); } /* draw values if available */ if(num_of_labels != 0) { /* add text only to major tick */ if(is_tick_with_label(i, y_axis)) { get_next_axis_label(&iter, buf); /* reserve appropriate area */ lv_point_t size; _lv_txt_get_size(&size, buf, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, LV_COORD_MAX, LV_TXT_FLAG_CENTER); /* set the area at some distance of the major tick len left of the tick */ lv_area_t a = {.y1 = p2.y - size.y / 2, .y2 = p2.y + size.y / 2}; if(which_axis == LV_CHART_AXIS_PRIMARY_Y) { a.x1 = p2.x - size.x - label_dist; a.x2 = p2.x - label_dist; } else { a.x1 = p2.x + label_dist; a.x2 = p2.x + size.x + label_dist; } lv_draw_label(&a, mask, &label_dsc, buf, NULL); } } } } static void draw_x_ticks(lv_obj_t * chart, const lv_area_t * series_area, const lv_area_t * mask) { lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(ext->x_axis.list_of_values == NULL && ext->x_axis.num_tick_marks == 0) return; uint8_t i; uint8_t num_of_labels; uint8_t num_scale_ticks; uint8_t major_tick_len, minor_tick_len; lv_chart_label_iterator_t iter; lv_point_t p1; lv_point_t p2; lv_coord_t x_ofs = series_area->x1; lv_coord_t y_ofs = series_area->y1; lv_coord_t h = lv_area_get_height(series_area); lv_coord_t w = lv_area_get_width(series_area); lv_style_int_t label_dist = lv_obj_get_style_pad_bottom(chart, LV_CHART_PART_SERIES_BG); lv_draw_label_dsc_t label_dsc; lv_draw_label_dsc_init(&label_dsc); lv_obj_init_draw_label_dsc(chart, LV_CHART_PART_BG, &label_dsc); /* calculate the size of tick marks */ if(ext->x_axis.major_tick_len == LV_CHART_TICK_LENGTH_AUTO) major_tick_len = (int32_t)w * LV_CHART_AXIS_MAJOR_TICK_LEN_COE; else major_tick_len = ext->x_axis.major_tick_len; if(ext->x_axis.minor_tick_len == LV_CHART_TICK_LENGTH_AUTO) minor_tick_len = major_tick_len * LV_CHART_AXIS_MINOR_TICK_LEN_COE; else minor_tick_len = ext->x_axis.minor_tick_len; if(h + y_ofs > mask->y2) return; if(h + y_ofs + label_dist + label_dsc.font->line_height + major_tick_len < mask->y1) return; lv_draw_line_dsc_t line_dsc; lv_draw_line_dsc_init(&line_dsc); lv_obj_init_draw_line_dsc(chart, LV_CHART_PART_BG, &line_dsc); /* The columns don't start at the most right position * so change the width and offset accordingly. */ if(ext->type == LV_CHART_TYPE_COLUMN) { uint32_t ser_num = _lv_ll_get_len(&ext->series_ll); lv_coord_t col_w = w / ((ser_num + 1) * ext->point_cnt); /* Suppose + 1 series as separator*/ x_ofs += col_w / 2 + (col_w * (ser_num) / 2); w -= col_w * ser_num + col_w; } char buf[LV_CHART_AXIS_TICK_LABEL_MAX_LEN + 1]; /* up to N symbols per label + null terminator */ /*determine the number of options */ iter = create_axis_label_iter(ext->x_axis.list_of_values, LV_CHART_LABEL_ITERATOR_FORWARD); num_of_labels = iter.items_left; /* we can't have string labels without ticks step, set to 1 if not specified */ if(ext->x_axis.num_tick_marks == 0) ext->x_axis.num_tick_marks = 1; /* calculate total number of marks */ if(num_of_labels < 2) num_scale_ticks = ext->x_axis.num_tick_marks; else num_scale_ticks = (ext->x_axis.num_tick_marks * (num_of_labels - 1)); for(i = 0; i < (num_scale_ticks + 1); i++) { /* one extra loop - it may not exist in the list, empty label */ /* first point of the tick */ p1.y = h + y_ofs; /* second point of the tick */ if((num_of_labels != 0) && (i == 0 || i % ext->x_axis.num_tick_marks == 0)) p2.y = p1.y + major_tick_len; /* major tick */ else p2.y = p1.y + minor_tick_len; /* minor tick */ /* draw a line at moving x position */ p2.x = p1.x = x_ofs + (int32_t)((int32_t)(w - line_dsc.width) * i) / num_scale_ticks; if(i != num_scale_ticks) lv_draw_line(&p1, &p2, mask, &line_dsc); else if((ext->x_axis.options & LV_CHART_AXIS_DRAW_LAST_TICK) != 0) lv_draw_line(&p1, &p2, mask, &line_dsc); /* draw values if available */ if(num_of_labels != 0) { /* add text only to major tick */ if(is_tick_with_label(i, &(ext->x_axis))) { get_next_axis_label(&iter, buf); /* reserve appropriate area */ lv_point_t size; _lv_txt_get_size(&size, buf, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, LV_COORD_MAX, LV_TXT_FLAG_CENTER); /* set the area at some distance of the major tick len under of the tick */ lv_area_t a = {(p2.x - size.x / 2), (p2.y + label_dist), (p2.x + size.x / 2), (p2.y + size.y + label_dist) }; lv_draw_label(&a, mask, &label_dsc, buf, NULL); } } } } static void draw_axes(lv_obj_t * chart, const lv_area_t * series_area, const lv_area_t * mask) { draw_y_ticks(chart, series_area, mask, LV_CHART_AXIS_PRIMARY_Y); draw_y_ticks(chart, series_area, mask, LV_CHART_AXIS_SECONDARY_Y); draw_x_ticks(chart, series_area, mask); } /** * invalid area of the new line data lines on a chart * @param obj pointer to chart object */ static void invalidate_lines(lv_obj_t * chart, uint16_t i) { lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); if(i >= ext->point_cnt) return; lv_area_t series_area; get_series_area(chart, &series_area); lv_coord_t w = lv_area_get_width(&series_area); lv_coord_t x_ofs = series_area.x1; lv_style_int_t line_width = lv_obj_get_style_line_width(chart, LV_CHART_PART_SERIES); lv_style_int_t point_radius = lv_obj_get_style_size(chart, LV_CHART_PART_SERIES); lv_area_t coords; lv_area_copy(&coords, &series_area); coords.y1 -= line_width + point_radius; coords.y2 += line_width + point_radius; if(i < ext->point_cnt - 1) { coords.x1 = ((w * i) / (ext->point_cnt - 1)) + x_ofs - line_width - point_radius; coords.x2 = ((w * (i + 1)) / (ext->point_cnt - 1)) + x_ofs + line_width + point_radius; lv_obj_invalidate_area(chart, &coords); } if(i > 0) { coords.x1 = ((w * (i - 1)) / (ext->point_cnt - 1)) + x_ofs - line_width - point_radius; coords.x2 = ((w * i) / (ext->point_cnt - 1)) + x_ofs + line_width + point_radius; lv_obj_invalidate_area(chart, &coords); } } /** * invalid area of the new column data lines on a chart * @param chart pointer to chart object * @param mask mask, inherited from the design function */ static void invalidate_columns(lv_obj_t * chart, uint16_t i) { lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart); lv_area_t series_area; get_series_area(chart, &series_area); lv_area_t col_a; lv_coord_t w = lv_area_get_width(&series_area); lv_coord_t col_w = w / ((_lv_ll_get_len(&ext->series_ll) + 1) * ext->point_cnt); /* Suppose + 1 series as separator*/ lv_coord_t x_ofs = col_w / 2; /*Shift with a half col.*/ lv_coord_t x_act; x_act = (int32_t)((int32_t)w * i) / ext->point_cnt; x_act += series_area.x1 + x_ofs; lv_obj_get_coords(chart, &col_a); col_a.x1 = x_act; col_a.x2 = col_a.x1 + col_w; _lv_inv_area(lv_obj_get_disp(chart), &col_a); } static void get_series_area(lv_obj_t * chart, lv_area_t * series_area) { lv_area_copy(series_area, &chart->coords); series_area->x1 += lv_obj_get_style_pad_left(chart, LV_CHART_PART_BG); series_area->x2 -= lv_obj_get_style_pad_right(chart, LV_CHART_PART_BG); series_area->y1 += lv_obj_get_style_pad_top(chart, LV_CHART_PART_BG); series_area->y2 -= lv_obj_get_style_pad_bottom(chart, LV_CHART_PART_BG); } #endif
54,208
lv_chart
c
en
c
code
{"qsc_code_num_words": 8521, "qsc_code_num_chars": 54208.0, "qsc_code_mean_word_length": 3.66060322, "qsc_code_frac_words_unique": 0.05151977, "qsc_code_frac_chars_top_2grams": 0.05453321, "qsc_code_frac_chars_top_3grams": 0.01333675, "qsc_code_frac_chars_top_4grams": 0.01692742, "qsc_code_frac_chars_dupe_5grams": 0.71736343, "qsc_code_frac_chars_dupe_6grams": 0.66074635, "qsc_code_frac_chars_dupe_7grams": 0.60858553, "qsc_code_frac_chars_dupe_8grams": 0.5679982, "qsc_code_frac_chars_dupe_9grams": 0.52946268, "qsc_code_frac_chars_dupe_10grams": 0.49942293, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01033681, "qsc_code_frac_chars_whitespace": 0.25402155, "qsc_code_size_file_byte": 54208.0, "qsc_code_num_lines": 1564.0, "qsc_code_num_chars_line_max": 154.0, "qsc_code_num_chars_line_mean": 34.65984655, "qsc_code_frac_chars_alphabet": 0.76101687, "qsc_code_frac_chars_comments": 0.24221517, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.34229576, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00494182, "qsc_code_frac_chars_long_word_length": 0.00107113, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.04653568, "qsc_codec_frac_lines_func_ratio": 0.06514995, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.08169597, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.0196484}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_gauge.c
/** * @file lv_gauge.c * */ /********************* * INCLUDES *********************/ #include "lv_gauge.h" #if LV_USE_GAUGE != 0 #include "../lv_misc/lv_debug.h" #include "../lv_draw/lv_draw.h" #include "../lv_themes/lv_theme.h" #include "../lv_misc/lv_txt.h" #include "../lv_misc/lv_math.h" #include "../lv_misc/lv_utils.h" #include "lv_img.h" #include <stdio.h> #include <string.h> /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_gauge" #define LV_GAUGE_DEF_NEEDLE_COLOR LV_COLOR_RED #define LV_GAUGE_DEF_LABEL_COUNT 6 #define LV_GAUGE_DEF_LINE_COUNT 21 /*Should be: ((label_cnt - 1) * internal_lines) + 1*/ #define LV_GAUGE_DEF_ANGLE 270 /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_design_res_t lv_gauge_design(lv_obj_t * gauge, const lv_area_t * clip_area, lv_design_mode_t mode); static lv_res_t lv_gauge_signal(lv_obj_t * gauge, lv_signal_t sign, void * param); static lv_style_list_t * lv_gauge_get_style(lv_obj_t * gauge, uint8_t part); static void lv_gauge_draw_labels(lv_obj_t * gauge, const lv_area_t * mask); static void lv_gauge_draw_needle(lv_obj_t * gauge, const lv_area_t * clip_area); /********************** * STATIC VARIABLES **********************/ static lv_design_cb_t ancestor_design; static lv_signal_cb_t ancestor_signal; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a gauge objects * @param par pointer to an object, it will be the parent of the new gauge * @param copy pointer to a gauge object, if not NULL then the new object will be copied from it * @return pointer to the created gauge */ lv_obj_t * lv_gauge_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("gauge create started"); /*Create the ancestor gauge*/ lv_obj_t * gauge = lv_linemeter_create(par, copy); LV_ASSERT_MEM(gauge); if(gauge == NULL) return NULL; /*Allocate the gauge type specific extended data*/ lv_gauge_ext_t * ext = lv_obj_allocate_ext_attr(gauge, sizeof(lv_gauge_ext_t)); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(gauge); return NULL; } /*Initialize the allocated 'ext' */ ext->needle_count = 0; ext->values = NULL; ext->needle_colors = NULL; ext->label_count = LV_GAUGE_DEF_LABEL_COUNT; ext->format_cb = NULL; ext->needle_img = 0; ext->needle_img_pivot.x = 0; ext->needle_img_pivot.y = 0; if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(gauge); if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(gauge); lv_style_list_init(&ext->style_strong); lv_style_list_init(&ext->style_needle); /*The signal and design functions are not copied so set them here*/ lv_obj_set_signal_cb(gauge, lv_gauge_signal); lv_obj_set_design_cb(gauge, lv_gauge_design); /*Init the new gauge gauge*/ if(copy == NULL) { lv_gauge_set_scale(gauge, LV_GAUGE_DEF_ANGLE, LV_GAUGE_DEF_LINE_COUNT, LV_GAUGE_DEF_LABEL_COUNT); lv_gauge_set_needle_count(gauge, 1, NULL); lv_gauge_set_critical_value(gauge, 80); lv_theme_apply(gauge, LV_THEME_GAUGE); } /*Copy an existing gauge*/ else { lv_gauge_ext_t * copy_ext = lv_obj_get_ext_attr(copy); lv_gauge_set_needle_count(gauge, copy_ext->needle_count, copy_ext->needle_colors); lv_style_list_copy(&ext->style_strong, &copy_ext->style_strong); lv_style_list_copy(&ext->style_needle, &copy_ext->style_needle); uint8_t i; for(i = 0; i < ext->needle_count; i++) { ext->values[i] = copy_ext->values[i]; } ext->label_count = copy_ext->label_count; ext->format_cb = copy_ext->format_cb; /*Refresh the style with new signal function*/ lv_obj_refresh_style(gauge, LV_STYLE_PROP_ALL); } LV_LOG_INFO("gauge created"); return gauge; } /*===================== * Setter functions *====================*/ /** * Set the number of needles * @param gauge pointer to gauge object * @param needle_cnt new count of needles * @param colors an array of colors for needles (with 'num' elements) */ void lv_gauge_set_needle_count(lv_obj_t * gauge, uint8_t needle_cnt, const lv_color_t colors[]) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); if(ext->needle_count != needle_cnt) { if(ext->values != NULL) { lv_mem_free(ext->values); ext->values = NULL; } ext->values = lv_mem_realloc(ext->values, needle_cnt * sizeof(ext->values[0])); LV_ASSERT_MEM(ext->values); if(ext->values == NULL) return; int16_t min = lv_gauge_get_min_value(gauge); uint8_t n; for(n = ext->needle_count; n < needle_cnt; n++) { ext->values[n] = min; } ext->needle_count = needle_cnt; } ext->needle_colors = colors; lv_obj_invalidate(gauge); } /** * Set the value of a needle * @param gauge pointer to a gauge * @param needle_id the id of the needle * @param value the new value */ void lv_gauge_set_value(lv_obj_t * gauge, uint8_t needle_id, int32_t value) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); if(needle_id >= ext->needle_count) return; if(ext->values[needle_id] == value) return; int16_t min = lv_gauge_get_min_value(gauge); int16_t max = lv_gauge_get_max_value(gauge); if(value > max) value = max; else if(value < min) value = min; int32_t old_value = ext->values[needle_id]; ext->values[needle_id] = value; // lv_obj_invalidate(gauge); lv_style_int_t pad = lv_obj_get_style_pad_inner(gauge, LV_GAUGE_PART_NEEDLE); lv_style_int_t left = lv_obj_get_style_pad_left(gauge, LV_GAUGE_PART_MAIN); lv_style_int_t right = lv_obj_get_style_pad_right(gauge, LV_GAUGE_PART_MAIN); lv_style_int_t top = lv_obj_get_style_pad_top(gauge, LV_GAUGE_PART_MAIN); lv_coord_t r = (lv_obj_get_width(gauge) - left - right) / 2 - pad; lv_coord_t x_ofs = gauge->coords.x1 + r + left + pad; lv_coord_t y_ofs = gauge->coords.y1 + r + top + pad; uint16_t angle = lv_linemeter_get_scale_angle(gauge); int16_t angle_ofs = 90 + (360 - angle) / 2; lv_point_t p_mid; lv_point_t p_end; lv_coord_t needle_w; if(ext->needle_img) { lv_img_header_t info; lv_img_decoder_get_info(ext->needle_img, &info); needle_w = info.h; } else { needle_w = lv_obj_get_style_line_width(gauge, LV_GAUGE_PART_NEEDLE); } p_mid.x = x_ofs; p_mid.y = y_ofs; /*Calculate the end point of a needle*/ int16_t needle_angle = (old_value - min) * angle / (max - min) + angle_ofs; p_end.y = (_lv_trigo_sin(needle_angle) * r) / LV_TRIGO_SIN_MAX + y_ofs; p_end.x = (_lv_trigo_sin(needle_angle + 90) * r) / LV_TRIGO_SIN_MAX + x_ofs; lv_area_t a; a.x1 = LV_MATH_MIN(p_mid.x, p_end.x) - needle_w; a.y1 = LV_MATH_MIN(p_mid.y, p_end.y) - needle_w; a.x2 = LV_MATH_MAX(p_mid.x, p_end.x) + needle_w; a.y2 = LV_MATH_MAX(p_mid.y, p_end.y) + needle_w; lv_obj_invalidate_area(gauge, &a); needle_angle = (value - min) * angle / (max - min) + angle_ofs; p_end.y = (_lv_trigo_sin(needle_angle) * r) / LV_TRIGO_SIN_MAX + y_ofs; p_end.x = (_lv_trigo_sin(needle_angle + 90) * r) / LV_TRIGO_SIN_MAX + x_ofs; a.x1 = LV_MATH_MIN(p_mid.x, p_end.x); a.y1 = LV_MATH_MIN(p_mid.y, p_end.y); a.x2 = LV_MATH_MAX(p_mid.x, p_end.x); a.y2 = LV_MATH_MAX(p_mid.y, p_end.y); lv_obj_invalidate_area(gauge, &a); } /** * Set the scale settings of a gauge * @param gauge pointer to a gauge object * @param angle angle of the scale (0..360) * @param line_cnt count of scale lines. * To get a given "subdivision" lines between labels: * `line_cnt = (sub_div + 1) * (label_cnt - 1) + 1 ` * @param label_cnt count of scale labels. */ void lv_gauge_set_scale(lv_obj_t * gauge, uint16_t angle, uint8_t line_cnt, uint8_t label_cnt) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_linemeter_set_scale(gauge, angle, line_cnt); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); ext->label_count = label_cnt; lv_obj_invalidate(gauge); } /** * Set an image to display as needle(s). * The needle image should be horizontal and pointing to the right (`--->`). * @param gauge pointer to a gauge object * @param img_src pointer to an `lv_img_dsc_t` variable or a path to an image * (not an `lv_img` object) * @param pivot_x the X coordinate of rotation center of the image * @param pivot_y the Y coordinate of rotation center of the image */ void lv_gauge_set_needle_img(lv_obj_t * gauge, const void * img, lv_coord_t pivot_x, lv_coord_t pivot_y) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); ext->needle_img = img; ext->needle_img_pivot.x = pivot_x; ext->needle_img_pivot.y = pivot_y; lv_obj_invalidate(gauge); } /** * Assign a function to format gauge values * @param gauge pointer to a gauge object * @param format_cb pointer to function of lv_gauge_format_cb_t */ void lv_gauge_set_formatter_cb(lv_obj_t * gauge, lv_gauge_format_cb_t format_cb) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); ext->format_cb = format_cb; } /*===================== * Getter functions *====================*/ /** * Get the value of a needle * @param gauge pointer to gauge object * @param needle the id of the needle * @return the value of the needle [min,max] */ int32_t lv_gauge_get_value(const lv_obj_t * gauge, uint8_t needle) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); int16_t min = lv_gauge_get_min_value(gauge); if(needle >= ext->needle_count) return min; return ext->values[needle]; } /** * Get the count of needles on a gauge * @param gauge pointer to gauge * @return count of needles */ uint8_t lv_gauge_get_needle_count(const lv_obj_t * gauge) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); return ext->needle_count; } /** * Set the number of labels (and the thicker lines too) * @param gauge pointer to a gauge object * @return count of labels */ uint8_t lv_gauge_get_label_count(const lv_obj_t * gauge) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); return ext->label_count; } /** * Get an image to display as needle(s). * @param gauge pointer to a gauge object * @return pointer to an `lv_img_dsc_t` variable or a path to an image * (not an `lv_img` object). `NULL` if not used. */ const void * lv_gauge_get_needle_img(lv_obj_t * gauge) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); return ext->needle_img; } /** * Get the X coordinate of the rotation center of the needle image * @param gauge pointer to a gauge object * @return the X coordinate of rotation center of the image */ lv_coord_t lv_gauge_get_needle_img_pivot_x(lv_obj_t * gauge) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); return ext->needle_img_pivot.x; } /** * Get the Y coordinate of the rotation center of the needle image * @param gauge pointer to a gauge object * @return the X coordinate of rotation center of the image */ lv_coord_t lv_gauge_get_needle_img_pivot_y(lv_obj_t * gauge) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); return ext->needle_img_pivot.y; } /********************** * STATIC FUNCTIONS **********************/ /** * Handle the drawing related tasks of the gauges * @param gauge pointer to an object * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_gauge_design(lv_obj_t * gauge, const lv_area_t * clip_area, lv_design_mode_t mode) { /*Return false if the object is not covers the mask_p area*/ if(mode == LV_DESIGN_COVER_CHK) { return LV_DESIGN_RES_NOT_COVER; } /*Draw the object*/ else if(mode == LV_DESIGN_DRAW_MAIN) { ancestor_design(gauge, clip_area, mode); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); lv_gauge_draw_labels(gauge, clip_area); /*Add the strong lines*/ uint16_t line_cnt_tmp = ext->lmeter.line_cnt; ext->lmeter.line_cnt = ext->label_count; /*Only to labels*/ lv_linemeter_draw_scale(gauge, clip_area, LV_GAUGE_PART_MAJOR); ext->lmeter.line_cnt = line_cnt_tmp; /*Restore the parameters*/ lv_gauge_draw_needle(gauge, clip_area); } /*Post draw when the children are drawn*/ else if(mode == LV_DESIGN_DRAW_POST) { ancestor_design(gauge, clip_area, mode); } return LV_DESIGN_RES_OK; } /** * Signal function of the gauge * @param gauge pointer to a gauge object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_gauge_signal(lv_obj_t * gauge, lv_signal_t sign, void * param) { lv_res_t res; if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_gauge_get_style(gauge, info->part); if(info->result != NULL) return LV_RES_OK; else return ancestor_signal(gauge, sign, param); } /* Include the ancient signal function */ res = ancestor_signal(gauge, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); if(sign == LV_SIGNAL_CLEANUP) { lv_mem_free(ext->values); ext->values = NULL; lv_obj_clean_style_list(gauge, LV_GAUGE_PART_NEEDLE); lv_obj_clean_style_list(gauge, LV_GAUGE_PART_MAJOR); } return res; } /** * Get the style descriptor of a part of the object * @param page pointer the object * @param part the part from `lv_gauge_part_t`. (LV_GAUGE_PART_...) * @return pointer to the style descriptor of the specified part */ static lv_style_list_t * lv_gauge_get_style(lv_obj_t * gauge, uint8_t part) { LV_ASSERT_OBJ(gauge, LV_OBJX_NAME); lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); lv_style_list_t * style_dsc_p; switch(part) { case LV_GAUGE_PART_MAIN: style_dsc_p = &gauge->style_list; break; case LV_GAUGE_PART_MAJOR: style_dsc_p = &ext->style_strong; break; case LV_GAUGE_PART_NEEDLE: style_dsc_p = &ext->style_needle; break; default: style_dsc_p = NULL; } return style_dsc_p; } /** * Draw the scale on a gauge * @param gauge pointer to gauge object * @param mask mask of drawing */ static void lv_gauge_draw_labels(lv_obj_t * gauge, const lv_area_t * mask) { lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); lv_style_int_t scale_width = lv_obj_get_style_scale_width(gauge, LV_GAUGE_PART_MAJOR); lv_style_int_t left = lv_obj_get_style_pad_left(gauge, LV_GAUGE_PART_MAIN); lv_style_int_t right = lv_obj_get_style_pad_right(gauge, LV_GAUGE_PART_MAIN); lv_style_int_t top = lv_obj_get_style_pad_top(gauge, LV_GAUGE_PART_MAIN); lv_style_int_t txt_pad = lv_obj_get_style_pad_inner(gauge, LV_GAUGE_PART_MAIN); lv_coord_t r = (lv_obj_get_width(gauge) - left - right) / 2 - scale_width - txt_pad; lv_coord_t x_ofs = gauge->coords.x1 + r + left + scale_width + txt_pad; lv_coord_t y_ofs = gauge->coords.y1 + r + top + scale_width + txt_pad; int16_t scale_angle = lv_linemeter_get_scale_angle(gauge); uint16_t label_num = ext->label_count; int16_t angle_ofs = 90 + (360 - scale_angle) / 2 + lv_gauge_get_angle_offset(gauge); int32_t min = lv_gauge_get_min_value(gauge); int32_t max = lv_gauge_get_max_value(gauge); lv_draw_label_dsc_t label_dsc; lv_draw_label_dsc_init(&label_dsc); lv_obj_init_draw_label_dsc(gauge, LV_GAUGE_PART_MAJOR, &label_dsc); uint8_t i; for(i = 0; i < label_num; i++) { /*Calculate the position a scale label*/ int16_t angle = (i * scale_angle) / (label_num - 1) + angle_ofs; lv_coord_t y = (int32_t)((int32_t)_lv_trigo_sin(angle) * r) / LV_TRIGO_SIN_MAX; y += y_ofs; lv_coord_t x = (int32_t)((int32_t)_lv_trigo_sin(angle + 90) * r) / LV_TRIGO_SIN_MAX; x += x_ofs; int32_t scale_act = (int32_t)((int32_t)(max - min) * i) / (label_num - 1); scale_act += min; char scale_txt[16]; if(ext->format_cb == NULL) _lv_utils_num_to_str(scale_act, scale_txt); else ext->format_cb(gauge, scale_txt, sizeof(scale_txt), scale_act); lv_area_t label_cord; lv_point_t label_size; _lv_txt_get_size(&label_size, scale_txt, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, LV_COORD_MAX, LV_TXT_FLAG_NONE); /*Draw the label*/ label_cord.x1 = x - label_size.x / 2; label_cord.y1 = y - label_size.y / 2; label_cord.x2 = label_cord.x1 + label_size.x; label_cord.y2 = label_cord.y1 + label_size.y; lv_draw_label(&label_cord, mask, &label_dsc, scale_txt, NULL); } } /** * Draw the needles of a gauge * @param gauge pointer to gauge object * @param mask mask of drawing */ static void lv_gauge_draw_needle(lv_obj_t * gauge, const lv_area_t * clip_area) { lv_gauge_ext_t * ext = lv_obj_get_ext_attr(gauge); lv_style_int_t pad = lv_obj_get_style_pad_inner(gauge, LV_GAUGE_PART_NEEDLE); lv_style_int_t left = lv_obj_get_style_pad_left(gauge, LV_GAUGE_PART_MAIN); lv_style_int_t right = lv_obj_get_style_pad_right(gauge, LV_GAUGE_PART_MAIN); lv_style_int_t top = lv_obj_get_style_pad_top(gauge, LV_GAUGE_PART_MAIN); lv_coord_t r = (lv_obj_get_width(gauge) - left - right) / 2 - pad; lv_coord_t x_ofs = gauge->coords.x1 + r + left + pad; lv_coord_t y_ofs = gauge->coords.y1 + r + top + pad; uint16_t angle = lv_linemeter_get_scale_angle(gauge); int16_t angle_ofs = 90 + (360 - angle) / 2 + lv_gauge_get_angle_offset(gauge); int16_t min = lv_gauge_get_min_value(gauge); int16_t max = lv_gauge_get_max_value(gauge); lv_point_t p_mid; lv_point_t p_end; uint8_t i; lv_draw_line_dsc_t line_dsc; lv_draw_line_dsc_init(&line_dsc); lv_obj_init_draw_line_dsc(gauge, LV_GAUGE_PART_NEEDLE, &line_dsc); p_mid.x = x_ofs; p_mid.y = y_ofs; for(i = 0; i < ext->needle_count; i++) { /*Calculate the end point of a needle*/ int16_t needle_angle = (ext->values[i] - min) * angle / (max - min) + angle_ofs; /*Draw line*/ if(ext->needle_img == NULL) { p_end.y = (_lv_trigo_sin(needle_angle) * r) / LV_TRIGO_SIN_MAX + y_ofs; p_end.x = (_lv_trigo_sin(needle_angle + 90) * r) / LV_TRIGO_SIN_MAX + x_ofs; /*Draw the needle with the corresponding color*/ if(ext->needle_colors != NULL) line_dsc.color = ext->needle_colors[i]; lv_draw_line(&p_mid, &p_end, clip_area, &line_dsc); } /*Draw image*/ else { lv_img_header_t info; lv_img_decoder_get_info(ext->needle_img, &info); lv_area_t a; a.x1 = gauge->coords.x1 + lv_area_get_width(&gauge->coords) / 2 - ext->needle_img_pivot.x; a.y1 = gauge->coords.y1 + lv_area_get_height(&gauge->coords) / 2 - ext->needle_img_pivot.y; a.x2 = a.x1 + info.w - 1; a.y2 = a.y1 + info.h - 1; lv_draw_img_dsc_t img_dsc; lv_draw_img_dsc_init(&img_dsc); lv_obj_init_draw_img_dsc(gauge, LV_GAUGE_PART_MAIN, &img_dsc); img_dsc.recolor_opa = LV_OPA_COVER; img_dsc.pivot.x = ext->needle_img_pivot.x; img_dsc.pivot.y = ext->needle_img_pivot.y; if(ext->needle_colors != NULL) img_dsc.recolor = ext->needle_colors[i]; needle_angle = (needle_angle * 10); if(needle_angle > 3600) needle_angle -= 3600; img_dsc.angle = needle_angle; lv_draw_img(&a, clip_area, ext->needle_img, &img_dsc); } } lv_draw_rect_dsc_t mid_dsc; lv_draw_rect_dsc_init(&mid_dsc); lv_obj_init_draw_rect_dsc(gauge, LV_GAUGE_PART_NEEDLE, &mid_dsc); lv_style_int_t size = lv_obj_get_style_size(gauge, LV_GAUGE_PART_NEEDLE) / 2; lv_area_t nm_cord; nm_cord.x1 = x_ofs - size; nm_cord.y1 = y_ofs - size; nm_cord.x2 = x_ofs + size; nm_cord.y2 = y_ofs + size; lv_draw_rect(&nm_cord, clip_area, &mid_dsc); } #endif
21,649
lv_gauge
c
en
c
code
{"qsc_code_num_words": 3516, "qsc_code_num_chars": 21649.0, "qsc_code_mean_word_length": 3.66951081, "qsc_code_frac_words_unique": 0.07935154, "qsc_code_frac_chars_top_2grams": 0.05425515, "qsc_code_frac_chars_top_3grams": 0.02294218, "qsc_code_frac_chars_top_4grams": 0.01875678, "qsc_code_frac_chars_dupe_5grams": 0.55929313, "qsc_code_frac_chars_dupe_6grams": 0.47217486, "qsc_code_frac_chars_dupe_7grams": 0.42373275, "qsc_code_frac_chars_dupe_8grams": 0.39800031, "qsc_code_frac_chars_dupe_9grams": 0.35630135, "qsc_code_frac_chars_dupe_10grams": 0.33180902, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01076223, "qsc_code_frac_chars_whitespace": 0.21885537, "qsc_code_size_file_byte": 21649.0, "qsc_code_num_lines": 648.0, "qsc_code_num_chars_line_max": 111.0, "qsc_code_num_chars_line_mean": 33.40895062, "qsc_code_frac_chars_alphabet": 0.75217314, "qsc_code_frac_chars_comments": 0.23853296, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.25396825, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.011101, "qsc_code_frac_chars_long_word_length": 0.00394298, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.03968254, "qsc_codec_frac_lines_func_ratio": 0.07407407, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.11640212, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.04497354}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_textarea.h
/** * @file lv_ta.h * */ #ifndef LV_TEXTAREA_H #define LV_TEXTAREA_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #if LV_USE_TEXTAREA != 0 /*Testing of dependencies*/ #if LV_USE_PAGE == 0 #error "lv_ta: lv_page is required. Enable it in lv_conf.h (LV_USE_PAGE 1) " #endif #if LV_USE_LABEL == 0 #error "lv_ta: lv_label is required. Enable it in lv_conf.h (LV_USE_LABEL 1) " #endif #include "../lv_core/lv_obj.h" #include "lv_page.h" #include "lv_label.h" /********************* * DEFINES *********************/ #define LV_TEXTAREA_CURSOR_LAST (0x7FFF) /*Put the cursor after the last character*/ LV_EXPORT_CONST_INT(LV_TEXTAREA_CURSOR_LAST); /********************** * TYPEDEFS **********************/ /*Data of text area*/ typedef struct { lv_page_ext_t page; /*Ext. of ancestor*/ /*New data for this type */ lv_obj_t * label; /*Label of the text area*/ char * placeholder_txt; /*Place holder label. only visible if text is an empty string*/ lv_style_list_t style_placeholder; char * pwd_tmp; /*Used to store the original text in password mode*/ const char * accapted_chars; /*Only these characters will be accepted. NULL: accept all*/ uint32_t max_length; /*The max. number of characters. 0: no limit*/ uint16_t pwd_show_time; /*Time to show characters in password mode before change them to '*' */ struct { lv_style_list_t style; /* Style of the cursor (NULL to use label's style)*/ lv_coord_t valid_x; /* Used when stepping up/down to a shorter line. * (Used by the library)*/ uint32_t pos; /* The current cursor position * (0: before 1st letter; 1: before 2nd letter ...)*/ uint16_t blink_time; /*Blink period*/ lv_area_t area; /* Cursor area relative to the Text Area*/ uint32_t txt_byte_pos; /* Byte index of the letter after (on) the cursor*/ uint8_t state : 1; /*Cursor is visible now or not (Handled by the library)*/ uint8_t hidden : 1; /*Cursor is hidden by he user */ uint8_t click_pos : 1; /*1: Enable positioning the cursor by clicking the text area*/ } cursor; #if LV_LABEL_TEXT_SEL uint32_t sel_start; /*Temporary values for text selection*/ uint32_t sel_end; uint8_t text_sel_in_prog : 1; /*User is in process of selecting */ uint8_t text_sel_en : 1; /*Text can be selected on this text area*/ #endif uint8_t pwd_mode : 1; /*Replace characters with '*' */ uint8_t one_line : 1; /*One line mode (ignore line breaks)*/ } lv_textarea_ext_t; /** Possible text areas styles. */ enum { LV_TEXTAREA_PART_BG = LV_PAGE_PART_BG, /**< Text area background style */ LV_TEXTAREA_PART_SCROLLBAR = LV_PAGE_PART_SCROLLBAR, /**< Scrollbar style */ LV_TEXTAREA_PART_EDGE_FLASH = LV_PAGE_PART_EDGE_FLASH, /**< Edge flash style */ LV_TEXTAREA_PART_CURSOR = _LV_PAGE_PART_VIRTUAL_LAST, /**< Cursor style */ LV_TEXTAREA_PART_PLACEHOLDER, /**< Placeholder style */ _LV_TEXTAREA_PART_VIRTUAL_LAST, _LV_TEXTAREA_PART_REAL_LAST = _LV_PAGE_PART_REAL_LAST, }; typedef uint8_t lv_textarea_style_t; /********************** * GLOBAL PROTOTYPES **********************/ /** * Create a text area objects * @param par pointer to an object, it will be the parent of the new text area * @param copy pointer to a text area object, if not NULL then the new object will be copied from it * @return pointer to the created text area */ lv_obj_t * lv_textarea_create(lv_obj_t * par, const lv_obj_t * copy); /*====================== * Add/remove functions *=====================*/ /** * Insert a character to the current cursor position. * To add a wide char, e.g. 'Á' use `_lv_txt_encoded_conv_wc('Á')` * @param ta pointer to a text area object * @param c a character (e.g. 'a') */ void lv_textarea_add_char(lv_obj_t * ta, uint32_t c); /** * Insert a text to the current cursor position * @param ta pointer to a text area object * @param txt a '\0' terminated string to insert */ void lv_textarea_add_text(lv_obj_t * ta, const char * txt); /** * Delete a the left character from the current cursor position * @param ta pointer to a text area object */ void lv_textarea_del_char(lv_obj_t * ta); /** * Delete the right character from the current cursor position * @param ta pointer to a text area object */ void lv_textarea_del_char_forward(lv_obj_t * ta); /*===================== * Setter functions *====================*/ /** * Set the text of a text area * @param ta pointer to a text area * @param txt pointer to the text */ void lv_textarea_set_text(lv_obj_t * ta, const char * txt); /** * Set the placeholder text of a text area * @param ta pointer to a text area * @param txt pointer to the text */ void lv_textarea_set_placeholder_text(lv_obj_t * ta, const char * txt); /** * Set the cursor position * @param obj pointer to a text area object * @param pos the new cursor position in character index * < 0 : index from the end of the text * LV_TEXTAREA_CURSOR_LAST: go after the last character */ void lv_textarea_set_cursor_pos(lv_obj_t * ta, int32_t pos); /** * Hide/Unhide the cursor. * @param ta pointer to a text area object * @param hide: true: hide the cursor */ void lv_textarea_set_cursor_hidden(lv_obj_t * ta, bool hide); /** * Enable/Disable the positioning of the the cursor by clicking the text on the text area. * @param ta pointer to a text area object * @param en true: enable click positions; false: disable */ void lv_textarea_set_cursor_click_pos(lv_obj_t * ta, bool en); /** * Enable/Disable password mode * @param ta pointer to a text area object * @param en true: enable, false: disable */ void lv_textarea_set_pwd_mode(lv_obj_t * ta, bool en); /** * Configure the text area to one line or back to normal * @param ta pointer to a Text area object * @param en true: one line, false: normal */ void lv_textarea_set_one_line(lv_obj_t * ta, bool en); /** * Set the alignment of the text area. * In one line mode the text can be scrolled only with `LV_LABEL_ALIGN_LEFT`. * This function should be called if the size of text area changes. * @param ta pointer to a text are object * @param align the desired alignment from `lv_label_align_t`. (LV_LABEL_ALIGN_LEFT/CENTER/RIGHT) */ void lv_textarea_set_text_align(lv_obj_t * ta, lv_label_align_t align); /** * Set a list of characters. Only these characters will be accepted by the text area * @param ta pointer to Text Area * @param list list of characters. Only the pointer is saved. E.g. "+-.,0123456789" */ void lv_textarea_set_accepted_chars(lv_obj_t * ta, const char * list); /** * Set max length of a Text Area. * @param ta pointer to Text Area * @param num the maximal number of characters can be added (`lv_textarea_set_text` ignores it) */ void lv_textarea_set_max_length(lv_obj_t * ta, uint32_t num); /** * In `LV_EVENT_INSERT` the text which planned to be inserted can be replaced by an other text. * It can be used to add automatic formatting to the text area. * @param ta pointer to a text area. * @param txt pointer to a new string to insert. If `""` no text will be added. * The variable must be live after the `event_cb` exists. (Should be `global` or * `static`) */ void lv_textarea_set_insert_replace(lv_obj_t * ta, const char * txt); /** * Set the scroll bar mode of a text area * @param ta pointer to a text area object * @param sb_mode the new mode from 'lv_scrollbar_mode_t' enum */ static inline void lv_textarea_set_scrollbar_mode(lv_obj_t * ta, lv_scrollbar_mode_t mode) { lv_page_set_scrollbar_mode(ta, mode); } /** * Enable the scroll propagation feature. If enabled then the Text area will move its parent if * there is no more space to scroll. * @param ta pointer to a Text area * @param en true or false to enable/disable scroll propagation */ static inline void lv_textarea_set_scroll_propagation(lv_obj_t * ta, bool en) { lv_page_set_scroll_propagation(ta, en); } /** * Enable the edge flash effect. (Show an arc when the an edge is reached) * @param page pointer to a Text Area * @param en true or false to enable/disable end flash */ static inline void lv_textarea_set_edge_flash(lv_obj_t * ta, bool en) { lv_page_set_edge_flash(ta, en); } /** * Enable/disable selection mode. * @param ta pointer to a text area object * @param en true or false to enable/disable selection mode */ void lv_textarea_set_text_sel(lv_obj_t * ta, bool en); /** * Set how long show the password before changing it to '*' * @param ta pointer to Text area * @param time show time in milliseconds. 0: hide immediately. */ void lv_textarea_set_pwd_show_time(lv_obj_t * ta, uint16_t time); /** * Set cursor blink animation time * @param ta pointer to Text area * @param time blink period. 0: disable blinking */ void lv_textarea_set_cursor_blink_time(lv_obj_t * ta, uint16_t time); /*===================== * Getter functions *====================*/ /** * Get the text of a text area. In password mode it gives the real text (not '*'s). * @param ta pointer to a text area object * @return pointer to the text */ const char * lv_textarea_get_text(const lv_obj_t * ta); /** * Get the placeholder text of a text area * @param ta pointer to a text area object * @return pointer to the text */ const char * lv_textarea_get_placeholder_text(lv_obj_t * ta); /** * Get the label of a text area * @param ta pointer to a text area object * @return pointer to the label object */ lv_obj_t * lv_textarea_get_label(const lv_obj_t * ta); /** * Get the current cursor position in character index * @param ta pointer to a text area object * @return the cursor position */ uint32_t lv_textarea_get_cursor_pos(const lv_obj_t * ta); /** * Get whether the cursor is hidden or not * @param ta pointer to a text area object * @return true: the cursor is hidden */ bool lv_textarea_get_cursor_hidden(const lv_obj_t * ta); /** * Get whether the cursor click positioning is enabled or not. * @param ta pointer to a text area object * @return true: enable click positions; false: disable */ bool lv_textarea_get_cursor_click_pos(lv_obj_t * ta); /** * Get the password mode attribute * @param ta pointer to a text area object * @return true: password mode is enabled, false: disabled */ bool lv_textarea_get_pwd_mode(const lv_obj_t * ta); /** * Get the one line configuration attribute * @param ta pointer to a text area object * @return true: one line configuration is enabled, false: disabled */ bool lv_textarea_get_one_line(const lv_obj_t * ta); /** * Get a list of accepted characters. * @param ta pointer to Text Area * @return list of accented characters. */ const char * lv_textarea_get_accepted_chars(lv_obj_t * ta); /** * Get max length of a Text Area. * @param ta pointer to Text Area * @return the maximal number of characters to be add */ uint32_t lv_textarea_get_max_length(lv_obj_t * ta); /** * Get the scroll bar mode of a text area * @param ta pointer to a text area object * @return scrollbar mode from 'lv_scrollbar_mode_t' enum */ static inline lv_scrollbar_mode_t lv_textarea_get_scrollbar_mode(const lv_obj_t * ta) { return lv_page_get_scrollbar_mode(ta); } /** * Get the scroll propagation property * @param ta pointer to a Text area * @return true or false */ static inline bool lv_textarea_get_scroll_propagation(lv_obj_t * ta) { return lv_page_get_scroll_propagation(ta); } /** * Get the scroll propagation property * @param ta pointer to a Text area * @return true or false */ static inline bool lv_textarea_get_edge_flash(lv_obj_t * ta) { return lv_page_get_edge_flash(ta); } /** * Find whether text is selected or not. * @param ta Text area object * @return whether text is selected or not */ bool lv_textarea_text_is_selected(const lv_obj_t * ta); /** * Find whether selection mode is enabled. * @param ta pointer to a text area object * @return true: selection mode is enabled, false: disabled */ bool lv_textarea_get_text_sel_en(lv_obj_t * ta); /** * Set how long show the password before changing it to '*' * @param ta pointer to Text area * @return show time in milliseconds. 0: hide immediately. */ uint16_t lv_textarea_get_pwd_show_time(lv_obj_t * ta); /** * Set cursor blink animation time * @param ta pointer to Text area * @return time blink period. 0: disable blinking */ uint16_t lv_textarea_get_cursor_blink_time(lv_obj_t * ta); /*===================== * Other functions *====================*/ /** * Clear the selection on the text area. * @param ta Text area object */ void lv_textarea_clear_selection(lv_obj_t * ta); /** * Move the cursor one character right * @param ta pointer to a text area object */ void lv_textarea_cursor_right(lv_obj_t * ta); /** * Move the cursor one character left * @param ta pointer to a text area object */ void lv_textarea_cursor_left(lv_obj_t * ta); /** * Move the cursor one line down * @param ta pointer to a text area object */ void lv_textarea_cursor_down(lv_obj_t * ta); /** * Move the cursor one line up * @param ta pointer to a text area object */ void lv_textarea_cursor_up(lv_obj_t * ta); /********************** * MACROS **********************/ #endif /*LV_USE_TEXTAREA_H*/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_TEXTAREA_H*/
13,636
lv_textarea
h
en
c
code
{"qsc_code_num_words": 2180, "qsc_code_num_chars": 13636.0, "qsc_code_mean_word_length": 4.07155963, "qsc_code_frac_words_unique": 0.12706422, "qsc_code_frac_chars_top_2grams": 0.06219018, "qsc_code_frac_chars_top_3grams": 0.03244705, "qsc_code_frac_chars_top_4grams": 0.0387562, "qsc_code_frac_chars_dupe_5grams": 0.5442767, "qsc_code_frac_chars_dupe_6grams": 0.47498873, "qsc_code_frac_chars_dupe_7grams": 0.38711131, "qsc_code_frac_chars_dupe_8grams": 0.34035602, "qsc_code_frac_chars_dupe_9grams": 0.31500676, "qsc_code_frac_chars_dupe_10grams": 0.25, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00695652, "qsc_code_frac_chars_whitespace": 0.19881197, "qsc_code_size_file_byte": 13636.0, "qsc_code_num_lines": 450.0, "qsc_code_num_chars_line_max": 105.0, "qsc_code_num_chars_line_mean": 30.30222222, "qsc_code_frac_chars_alphabet": 0.80549199, "qsc_code_frac_chars_comments": 0.64439718, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.07258065, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.04083316, "qsc_code_frac_chars_long_word_length": 0.00433079, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00123737, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.37903226, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.41129032, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_label.c
/** * @file lv_label.c * */ /********************* * INCLUDES *********************/ #include "lv_label.h" #if LV_USE_LABEL != 0 #include "../lv_core/lv_obj.h" #include "../lv_misc/lv_debug.h" #include "../lv_core/lv_group.h" #include "../lv_draw/lv_draw.h" #include "../lv_misc/lv_color.h" #include "../lv_misc/lv_math.h" #include "../lv_misc/lv_bidi.h" #include "../lv_misc/lv_txt_ap.h" #include "../lv_misc/lv_printf.h" #include "../lv_themes/lv_theme.h" /********************* * DEFINES *********************/ #define LV_OBJX_NAME "lv_label" /*Test configurations*/ #ifndef LV_LABEL_DEF_SCROLL_SPEED #define LV_LABEL_DEF_SCROLL_SPEED (25) #endif #define LV_LABEL_DOT_END_INV 0xFFFF #define LV_LABEL_HINT_HEIGHT_LIMIT \ 1024 /*Enable "hint" to buffer info about labels larger than this. (Speed up their drawing)*/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ static lv_res_t lv_label_signal(lv_obj_t * label, lv_signal_t sign, void * param); static lv_design_res_t lv_label_design(lv_obj_t * label, const lv_area_t * clip_area, lv_design_mode_t mode); static void lv_label_refr_text(lv_obj_t * label); static void lv_label_revert_dots(lv_obj_t * label); #if LV_USE_ANIMATION static void lv_label_set_offset_x(lv_obj_t * label, lv_coord_t x); static void lv_label_set_offset_y(lv_obj_t * label, lv_coord_t y); #endif static bool lv_label_set_dot_tmp(lv_obj_t * label, char * data, uint32_t len); static char * lv_label_get_dot_tmp(lv_obj_t * label); static void lv_label_dot_tmp_free(lv_obj_t * label); static void get_txt_coords(const lv_obj_t * label, lv_area_t * area); /********************** * STATIC VARIABLES **********************/ static lv_signal_cb_t ancestor_signal; /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /** * Create a label objects * @param par pointer to an object, it will be the parent of the new label * @param copy pointer to a label object, if not NULL then the new object will be copied from it * @return pointer to the created button */ lv_obj_t * lv_label_create(lv_obj_t * par, const lv_obj_t * copy) { LV_LOG_TRACE("label create started"); /*Create a basic object*/ lv_obj_t * new_label = lv_obj_create(par, copy); LV_ASSERT_MEM(new_label); if(new_label == NULL) return NULL; if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(new_label); /*Extend the basic object to a label object*/ lv_obj_allocate_ext_attr(new_label, sizeof(lv_label_ext_t)); lv_label_ext_t * ext = lv_obj_get_ext_attr(new_label); LV_ASSERT_MEM(ext); if(ext == NULL) { lv_obj_del(new_label); return NULL; } ext->text = NULL; ext->static_txt = 0; ext->recolor = 0; ext->align = LV_LABEL_ALIGN_AUTO; ext->dot_end = LV_LABEL_DOT_END_INV; ext->long_mode = LV_LABEL_LONG_EXPAND; #if LV_USE_ANIMATION ext->anim_speed = LV_LABEL_DEF_SCROLL_SPEED; #endif ext->offset.x = 0; ext->offset.y = 0; #if LV_LABEL_LONG_TXT_HINT ext->hint.line_start = -1; ext->hint.coord_y = 0; ext->hint.y = 0; #endif #if LV_LABEL_TEXT_SEL ext->sel_start = LV_DRAW_LABEL_NO_TXT_SEL; ext->sel_end = LV_DRAW_LABEL_NO_TXT_SEL; #endif ext->dot.tmp_ptr = NULL; ext->dot_tmp_alloc = 0; lv_obj_set_design_cb(new_label, lv_label_design); lv_obj_set_signal_cb(new_label, lv_label_signal); /*Init the new label*/ if(copy == NULL) { lv_theme_apply(new_label, LV_THEME_LABEL); lv_obj_set_click(new_label, false); lv_label_set_long_mode(new_label, LV_LABEL_LONG_EXPAND); lv_label_set_text(new_label, "Text"); } /*Copy 'copy' if not NULL*/ else { lv_label_ext_t * copy_ext = lv_obj_get_ext_attr(copy); lv_label_set_long_mode(new_label, lv_label_get_long_mode(copy)); lv_label_set_recolor(new_label, lv_label_get_recolor(copy)); lv_label_set_align(new_label, lv_label_get_align(copy)); if(copy_ext->static_txt == 0) lv_label_set_text(new_label, lv_label_get_text(copy)); else lv_label_set_text_static(new_label, lv_label_get_text(copy)); /*In DOT mode save the text byte-to-byte because a '\0' can be in the middle*/ if(copy_ext->long_mode == LV_LABEL_LONG_DOT) { ext->text = lv_mem_realloc(ext->text, _lv_mem_get_size(copy_ext->text)); LV_ASSERT_MEM(ext->text); if(ext->text == NULL) return NULL; _lv_memcpy(ext->text, copy_ext->text, _lv_mem_get_size(copy_ext->text)); } if(copy_ext->dot_tmp_alloc && copy_ext->dot.tmp_ptr) { uint32_t len = (uint32_t)strlen(copy_ext->dot.tmp_ptr); lv_label_set_dot_tmp(new_label, ext->dot.tmp_ptr, len); } else { _lv_memcpy(ext->dot.tmp, copy_ext->dot.tmp, sizeof(ext->dot.tmp)); } ext->dot_tmp_alloc = copy_ext->dot_tmp_alloc; ext->dot_end = copy_ext->dot_end; /*Refresh the style with new signal function*/ lv_obj_refresh_style(new_label, LV_STYLE_PROP_ALL); } LV_LOG_INFO("label created"); return new_label; } /*===================== * Setter functions *====================*/ /** * Set a new text for a label. Memory will be allocated to store the text by the label. * @param label pointer to a label object * @param text '\0' terminated character string. NULL to refresh with the current text. */ void lv_label_set_text(lv_obj_t * label, const char * text) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); lv_obj_invalidate(label); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); /*If text is NULL then refresh */ if(text == NULL) { lv_label_refr_text(label); return; } LV_ASSERT_STR(text); if(ext->text == text && ext->static_txt == 0) { /*If set its own text then reallocate it (maybe its size changed)*/ #if LV_USE_ARABIC_PERSIAN_CHARS /*Get the size of the text and process it*/ size_t len = _lv_txt_ap_calc_bytes_cnt(text); ext->text = lv_mem_realloc(ext->text, len); LV_ASSERT_MEM(ext->text); if(ext->text == NULL) return; _lv_txt_ap_proc(ext->text, ext->text); #else ext->text = lv_mem_realloc(ext->text, strlen(ext->text) + 1); #endif LV_ASSERT_MEM(ext->text); if(ext->text == NULL) return; } else { /*Free the old text*/ if(ext->text != NULL && ext->static_txt == 0) { lv_mem_free(ext->text); ext->text = NULL; } #if LV_USE_ARABIC_PERSIAN_CHARS /*Get the size of the text and process it*/ size_t len = _lv_txt_ap_calc_bytes_cnt(text); ext->text = lv_mem_alloc(len); LV_ASSERT_MEM(ext->text); if(ext->text == NULL) return; _lv_txt_ap_proc(text, ext->text); #else /*Get the size of the text*/ size_t len = strlen(text) + 1; /*Allocate space for the new text*/ ext->text = lv_mem_alloc(len); LV_ASSERT_MEM(ext->text); if(ext->text == NULL) return; strcpy(ext->text, text); #endif /*Now the text is dynamically allocated*/ ext->static_txt = 0; } lv_label_refr_text(label); } /** * Set a new formatted text for a label. Memory will be allocated to store the text by the label. * @param label pointer to a label object * @param fmt `printf`-like format */ void lv_label_set_text_fmt(lv_obj_t * label, const char * fmt, ...) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); LV_ASSERT_STR(fmt); lv_obj_invalidate(label); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); /*If text is NULL then refresh */ if(fmt == NULL) { lv_label_refr_text(label); return; } if(ext->text != NULL && ext->static_txt == 0) { lv_mem_free(ext->text); ext->text = NULL; } va_list ap, ap2; va_start(ap, fmt); va_copy(ap2, ap); /*Allocate space for the new text by using trick from C99 standard section 7.19.6.12 */ uint32_t len = lv_vsnprintf(NULL, 0, fmt, ap); va_end(ap); #if LV_USE_ARABIC_PERSIAN_CHARS /*Put together the text according to the format string*/ char * raw_txt = _lv_mem_buf_get(len + 1); LV_ASSERT_MEM(raw_txt); if(raw_txt == NULL) { va_end(ap2); return; } lv_vsnprintf(raw_txt, len + 1, fmt, ap2); /*Get the size of the Arabic text and process it*/ size_t len_ap = _lv_txt_ap_calc_bytes_cnt(raw_txt); ext->text = lv_mem_alloc(len_ap + 1); LV_ASSERT_MEM(ext->text); if(ext->text == NULL) { va_end(ap2); return; } _lv_txt_ap_proc(raw_txt, ext->text); _lv_mem_buf_release(raw_txt); #else ext->text = lv_mem_alloc(len + 1); LV_ASSERT_MEM(ext->text); if(ext->text == NULL) { va_end(ap2); return; } ext->text[len - 1] = 0; /* Ensure NULL termination */ lv_vsnprintf(ext->text, len + 1, fmt, ap2); #endif va_end(ap2); ext->static_txt = 0; /*Now the text is dynamically allocated*/ lv_label_refr_text(label); } /** * Set a static text. It will not be saved by the label so the 'text' variable * has to be 'alive' while the label exist. * @param label pointer to a label object * @param text pointer to a text. NULL to refresh with the current text. */ void lv_label_set_text_static(lv_obj_t * label, const char * text) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); if(ext->static_txt == 0 && ext->text != NULL) { lv_mem_free(ext->text); ext->text = NULL; } if(text != NULL) { ext->static_txt = 1; ext->text = (char *)text; } lv_label_refr_text(label); } /** * Set the behavior of the label with longer text then the object size * @param label pointer to a label object * @param long_mode the new mode from 'lv_label_long_mode' enum. * In LV_LONG_BREAK/LONG/ROLL the size of the label should be set AFTER this * function */ void lv_label_set_long_mode(lv_obj_t * label, lv_label_long_mode_t long_mode) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); #if LV_USE_ANIMATION /*Delete the old animation (if exists)*/ lv_anim_del(label, (lv_anim_exec_xcb_t)lv_obj_set_x); lv_anim_del(label, (lv_anim_exec_xcb_t)lv_obj_set_y); lv_anim_del(label, (lv_anim_exec_xcb_t)lv_label_set_offset_x); lv_anim_del(label, (lv_anim_exec_xcb_t)lv_label_set_offset_y); #endif ext->offset.x = 0; ext->offset.y = 0; if(long_mode == LV_LABEL_LONG_SROLL || long_mode == LV_LABEL_LONG_SROLL_CIRC || long_mode == LV_LABEL_LONG_CROP) ext->expand = 1; else ext->expand = 0; /*Restore the character under the dots*/ if(ext->long_mode == LV_LABEL_LONG_DOT && ext->dot_end != LV_LABEL_DOT_END_INV) { lv_label_revert_dots(label); } ext->long_mode = long_mode; lv_label_refr_text(label); } /** * Set the align of the label (left or center) * @param label pointer to a label object * @param align 'LV_LABEL_ALIGN_LEFT' or 'LV_LABEL_ALIGN_LEFT' */ void lv_label_set_align(lv_obj_t * label, lv_label_align_t align) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); if(ext->align == align) return; ext->align = align; lv_obj_invalidate(label); /*Enough to invalidate because alignment is only drawing related (lv_refr_label_text() not required)*/ } /** * Enable the recoloring by in-line commands * @param label pointer to a label object * @param en true: enable recoloring, false: disable */ void lv_label_set_recolor(lv_obj_t * label, bool en) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); if(ext->recolor == en) return; ext->recolor = en == false ? 0 : 1; lv_label_refr_text(label); /*Refresh the text because the potential color codes in text needs to be hided or revealed*/ } /** * Set the label's animation speed in LV_LABEL_LONG_SROLL/SCROLL_CIRC modes * @param label pointer to a label object * @param anim_speed speed of animation in px/sec unit */ void lv_label_set_anim_speed(lv_obj_t * label, uint16_t anim_speed) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); #if LV_USE_ANIMATION lv_label_ext_t * ext = lv_obj_get_ext_attr(label); if(ext->anim_speed == anim_speed) return; ext->anim_speed = anim_speed; if(ext->long_mode == LV_LABEL_LONG_SROLL || ext->long_mode == LV_LABEL_LONG_SROLL_CIRC) { lv_label_refr_text(label); } #else (void)label; /*Unused*/ (void)anim_speed; /*Unused*/ #endif } void lv_label_set_text_sel_start(lv_obj_t * label, uint32_t index) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); #if LV_LABEL_TEXT_SEL lv_label_ext_t * ext = lv_obj_get_ext_attr(label); ext->sel_start = index; lv_obj_invalidate(label); #else (void)label; /*Unused*/ (void)index; /*Unused*/ #endif } void lv_label_set_text_sel_end(lv_obj_t * label, uint32_t index) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); #if LV_LABEL_TEXT_SEL lv_label_ext_t * ext = lv_obj_get_ext_attr(label); ext->sel_end = index; lv_obj_invalidate(label); #else (void)label; /*Unused*/ (void)index; /*Unused*/ #endif } /*===================== * Getter functions *====================*/ /** * Get the text of a label * @param label pointer to a label object * @return the text of the label */ char * lv_label_get_text(const lv_obj_t * label) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); return ext->text; } /** * Get the long mode of a label * @param label pointer to a label object * @return the long mode */ lv_label_long_mode_t lv_label_get_long_mode(const lv_obj_t * label) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); return ext->long_mode; } /** * Get the align attribute * @param label pointer to a label object * @return LV_LABEL_ALIGN_LEFT or LV_LABEL_ALIGN_CENTER */ lv_label_align_t lv_label_get_align(const lv_obj_t * label) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); lv_label_align_t align = ext->align; if(align == LV_LABEL_ALIGN_AUTO) { #if LV_USE_BIDI lv_bidi_dir_t base_dir = lv_obj_get_base_dir(label); if(base_dir == LV_BIDI_DIR_AUTO) base_dir = _lv_bidi_detect_base_dir(ext->text); if(base_dir == LV_BIDI_DIR_LTR) align = LV_LABEL_ALIGN_LEFT; else if(base_dir == LV_BIDI_DIR_RTL) align = LV_LABEL_ALIGN_RIGHT; #else align = LV_LABEL_ALIGN_LEFT; #endif } return align; } /** * Get the recoloring attribute * @param label pointer to a label object * @return true: recoloring is enabled, false: disable */ bool lv_label_get_recolor(const lv_obj_t * label) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); return ext->recolor == 0 ? false : true; } /** * Get the label's animation speed in LV_LABEL_LONG_ROLL and SCROLL modes * @param label pointer to a label object * @return speed of animation in px/sec unit */ uint16_t lv_label_get_anim_speed(const lv_obj_t * label) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); #if LV_USE_ANIMATION lv_label_ext_t * ext = lv_obj_get_ext_attr(label); return ext->anim_speed; #else (void)label; /*Unused*/ return 0; #endif } /** * Get the relative x and y coordinates of a letter * @param label pointer to a label object * @param index index of the letter [0 ... text length]. Expressed in character index, not byte * index (different in UTF-8) * @param pos store the result here (E.g. index = 0 gives 0;0 coordinates) */ void lv_label_get_letter_pos(const lv_obj_t * label, uint32_t char_id, lv_point_t * pos) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); LV_ASSERT_NULL(pos); const char * txt = lv_label_get_text(label); lv_label_align_t align = lv_label_get_align(label); if(txt[0] == '\0') { pos->y = 0; switch(align) { case LV_LABEL_ALIGN_LEFT: pos->x = 0; break; case LV_LABEL_ALIGN_RIGHT: pos->x = lv_obj_get_width(label); break; case LV_LABEL_ALIGN_CENTER: pos->x = lv_obj_get_width(label) / 2; break; } return; } lv_area_t txt_coords; get_txt_coords(label, &txt_coords); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); uint32_t line_start = 0; uint32_t new_line_start = 0; lv_coord_t max_w = lv_area_get_width(&txt_coords); const lv_font_t * font = lv_obj_get_style_text_font(label, LV_LABEL_PART_MAIN); lv_style_int_t line_space = lv_obj_get_style_text_line_space(label, LV_LABEL_PART_MAIN); lv_style_int_t letter_space = lv_obj_get_style_text_letter_space(label, LV_LABEL_PART_MAIN); lv_coord_t letter_height = lv_font_get_line_height(font); lv_coord_t y = 0; lv_txt_flag_t flag = LV_TXT_FLAG_NONE; if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; if(align == LV_LABEL_ALIGN_CENTER) flag |= LV_TXT_FLAG_CENTER; if(align == LV_LABEL_ALIGN_RIGHT) flag |= LV_TXT_FLAG_RIGHT; uint32_t byte_id = _lv_txt_encoded_get_byte_id(txt, char_id); /*Search the line of the index letter */; while(txt[new_line_start] != '\0') { new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, flag); if(byte_id < new_line_start || txt[new_line_start] == '\0') break; /*The line of 'index' letter begins at 'line_start'*/ y += letter_height + line_space; line_start = new_line_start; } /*If the last character is line break then go to the next line*/ if(byte_id > 0) { if((txt[byte_id - 1] == '\n' || txt[byte_id - 1] == '\r') && txt[byte_id] == '\0') { y += letter_height + line_space; line_start = byte_id; } } const char * bidi_txt; uint32_t visual_byte_pos; #if LV_USE_BIDI char * mutable_bidi_txt = NULL; /*Handle Bidi*/ if(new_line_start == byte_id) { visual_byte_pos = byte_id - line_start; bidi_txt = &txt[line_start]; } else { uint32_t line_char_id = _lv_txt_encoded_get_char_id(&txt[line_start], byte_id - line_start); bool is_rtl; uint32_t visual_char_pos = _lv_bidi_get_visual_pos(&txt[line_start], &mutable_bidi_txt, new_line_start - line_start, lv_obj_get_base_dir(label), line_char_id, &is_rtl); bidi_txt = mutable_bidi_txt; if(is_rtl) visual_char_pos++; visual_byte_pos = _lv_txt_encoded_get_byte_id(bidi_txt, visual_char_pos); } #else bidi_txt = &txt[line_start]; visual_byte_pos = byte_id - line_start; #endif /*Calculate the x coordinate*/ lv_coord_t x = _lv_txt_get_width(bidi_txt, visual_byte_pos, font, letter_space, flag); if(char_id != line_start) x += letter_space; if(align == LV_LABEL_ALIGN_CENTER) { lv_coord_t line_w; line_w = _lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); x += lv_area_get_width(&txt_coords) / 2 - line_w / 2; } else if(align == LV_LABEL_ALIGN_RIGHT) { lv_coord_t line_w; line_w = _lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); x += lv_area_get_width(&txt_coords) - line_w; } pos->x = x; pos->y = y; #if LV_USE_BIDI if(mutable_bidi_txt) _lv_mem_buf_release(mutable_bidi_txt); #endif } /** * Get the index of letter on a relative point of a label * @param label pointer to label object * @param pos pointer to point with coordinates on a the label * @return the index of the letter on the 'pos_p' point (E.g. on 0;0 is the 0. letter) * Expressed in character index and not byte index (different in UTF-8) */ uint32_t lv_label_get_letter_on(const lv_obj_t * label, lv_point_t * pos) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); LV_ASSERT_NULL(pos); lv_area_t txt_coords; get_txt_coords(label, &txt_coords); const char * txt = lv_label_get_text(label); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); uint32_t line_start = 0; uint32_t new_line_start = 0; lv_coord_t max_w = lv_area_get_width(&txt_coords); const lv_font_t * font = lv_obj_get_style_text_font(label, LV_LABEL_PART_MAIN); lv_style_int_t line_space = lv_obj_get_style_text_line_space(label, LV_LABEL_PART_MAIN); lv_style_int_t letter_space = lv_obj_get_style_text_letter_space(label, LV_LABEL_PART_MAIN); lv_coord_t letter_height = lv_font_get_line_height(font); lv_coord_t y = 0; lv_txt_flag_t flag = LV_TXT_FLAG_NONE; uint32_t logical_pos; char * bidi_txt; if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; lv_label_align_t align = lv_label_get_align(label); if(align == LV_LABEL_ALIGN_CENTER) flag |= LV_TXT_FLAG_CENTER; if(align == LV_LABEL_ALIGN_RIGHT) flag |= LV_TXT_FLAG_RIGHT; /*Search the line of the index letter */; while(txt[line_start] != '\0') { new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, flag); if(pos->y <= y + letter_height) { /*The line is found (stored in 'line_start')*/ /* Include the NULL terminator in the last line */ uint32_t tmp = new_line_start; uint32_t letter; letter = _lv_txt_encoded_prev(txt, &tmp); if(letter != '\n' && txt[new_line_start] == '\0') new_line_start++; break; } y += letter_height + line_space; line_start = new_line_start; } #if LV_USE_BIDI bidi_txt = _lv_mem_buf_get(new_line_start - line_start + 1); uint32_t txt_len = new_line_start - line_start; if(new_line_start > 0 && txt[new_line_start - 1] == '\0' && txt_len > 0) txt_len--; _lv_bidi_process_paragraph(txt + line_start, bidi_txt, txt_len, lv_obj_get_base_dir(label), NULL, 0); #else bidi_txt = (char *)txt + line_start; #endif /*Calculate the x coordinate*/ lv_coord_t x = 0; if(align == LV_LABEL_ALIGN_CENTER) { lv_coord_t line_w; line_w = _lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); x += lv_area_get_width(&txt_coords) / 2 - line_w / 2; } else if(align == LV_LABEL_ALIGN_RIGHT) { lv_coord_t line_w; line_w = _lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); x += lv_area_get_width(&txt_coords) - line_w; } lv_txt_cmd_state_t cmd_state = LV_TXT_CMD_STATE_WAIT; uint32_t i = 0; uint32_t i_act = i; if(new_line_start > 0) { while(i + line_start < new_line_start) { /* Get the current letter.*/ uint32_t letter = _lv_txt_encoded_next(bidi_txt, &i); /*Get the next letter too for kerning*/ uint32_t letter_next = _lv_txt_encoded_next(&bidi_txt[i], NULL); /*Handle the recolor command*/ if((flag & LV_TXT_FLAG_RECOLOR) != 0) { if(_lv_txt_is_cmd(&cmd_state, bidi_txt[i]) != false) { continue; /*Skip the letter is it is part of a command*/ } } lv_coord_t gw = lv_font_get_glyph_width(font, letter, letter_next); /*Finish if the x position or the last char of the next line is reached*/ if(pos->x < x + (gw >> 1) || i + line_start == new_line_start || txt[i_act + line_start] == '\0') { i = i_act; break; } x += gw; x += letter_space; i_act = i; } } #if LV_USE_BIDI /*Handle Bidi*/ uint32_t cid = _lv_txt_encoded_get_char_id(bidi_txt, i); if(txt[line_start + cid] == '\0') { logical_pos = i; } else { bool is_rtl; logical_pos = _lv_bidi_get_logical_pos(&txt[line_start], NULL, txt_len, lv_obj_get_base_dir(label), cid, &is_rtl); if(is_rtl) logical_pos++; _lv_mem_buf_release(bidi_txt); } #else logical_pos = _lv_txt_encoded_get_char_id(bidi_txt, i); #endif return logical_pos + _lv_txt_encoded_get_char_id(txt, line_start); } /** * @brief Get the selection start index. * @param label pointer to a label object. * @return selection start index. `LV_LABEL_TXT_SEL_OFF` if nothing is selected. */ uint32_t lv_label_get_text_sel_start(const lv_obj_t * label) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); #if LV_LABEL_TEXT_SEL lv_label_ext_t * ext = lv_obj_get_ext_attr(label); return ext->sel_start; #else (void)label; /*Unused*/ return LV_LABEL_TEXT_SEL_OFF; #endif } /** * @brief Get the selection end index. * @param label pointer to a label object. * @return selection end index. `LV_LABEL_TXT_SEL_OFF` if nothing is selected. */ uint32_t lv_label_get_text_sel_end(const lv_obj_t * label) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); #if LV_LABEL_TEXT_SEL lv_label_ext_t * ext = lv_obj_get_ext_attr(label); return ext->sel_end; #else (void)label; /*Unused*/ return LV_LABEL_TEXT_SEL_OFF; #endif } /** * Check if a character is drawn under a point. * @param label Label object * @param pos Point to check for character under * @return whether a character is drawn under the point */ bool lv_label_is_char_under_pos(const lv_obj_t * label, lv_point_t * pos) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); LV_ASSERT_NULL(pos); lv_area_t txt_coords; get_txt_coords(label, &txt_coords); const char * txt = lv_label_get_text(label); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); uint32_t line_start = 0; uint32_t new_line_start = 0; lv_coord_t max_w = lv_area_get_width(&txt_coords); const lv_font_t * font = lv_obj_get_style_text_font(label, LV_LABEL_PART_MAIN); lv_style_int_t line_space = lv_obj_get_style_text_line_space(label, LV_LABEL_PART_MAIN); lv_style_int_t letter_space = lv_obj_get_style_text_letter_space(label, LV_LABEL_PART_MAIN); lv_coord_t letter_height = lv_font_get_line_height(font); lv_coord_t y = 0; lv_txt_flag_t flag = LV_TXT_FLAG_NONE; lv_label_align_t align = lv_label_get_align(label); if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; if(align == LV_LABEL_ALIGN_CENTER) flag |= LV_TXT_FLAG_CENTER; /*Search the line of the index letter */; while(txt[line_start] != '\0') { new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, flag); if(pos->y <= y + letter_height) break; /*The line is found (stored in 'line_start')*/ y += letter_height + line_space; line_start = new_line_start; } /*Calculate the x coordinate*/ lv_coord_t x = 0; lv_coord_t last_x = 0; if(align == LV_LABEL_ALIGN_CENTER) { lv_coord_t line_w; line_w = _lv_txt_get_width(&txt[line_start], new_line_start - line_start, font, letter_space, flag); x += lv_area_get_width(&txt_coords) / 2 - line_w / 2; } else if(align == LV_LABEL_ALIGN_RIGHT) { lv_coord_t line_w; line_w = _lv_txt_get_width(&txt[line_start], new_line_start - line_start, font, letter_space, flag); x += lv_area_get_width(&txt_coords) - line_w; } lv_txt_cmd_state_t cmd_state = LV_TXT_CMD_STATE_WAIT; uint32_t i = line_start; uint32_t i_current = i; uint32_t letter = '\0'; uint32_t letter_next = '\0'; if(new_line_start > 0) { while(i <= new_line_start - 1) { /* Get the current letter * Be careful 'i' already points to the next character */ letter = _lv_txt_encoded_next(txt, &i); /*Get the next letter for kerning*/ letter_next = _lv_txt_encoded_next(&txt[i], NULL); /*Handle the recolor command*/ if((flag & LV_TXT_FLAG_RECOLOR) != 0) { if(_lv_txt_is_cmd(&cmd_state, txt[i]) != false) { continue; /*Skip the letter is it is part of a command*/ } } last_x = x; x += lv_font_get_glyph_width(font, letter, letter_next); if(pos->x < x) { i = i_current; break; } x += letter_space; i_current = i; } } int32_t max_diff = lv_font_get_glyph_width(font, letter, letter_next) + letter_space + 1; return (pos->x >= (last_x - letter_space) && pos->x <= (last_x + max_diff)); } lv_style_list_t * lv_label_get_style(lv_obj_t * label, uint8_t type) { lv_style_list_t * style_dsc_p; switch(type) { case LV_LABEL_PART_MAIN: style_dsc_p = &label->style_list; break; default: style_dsc_p = NULL; } return style_dsc_p; } /*===================== * Other functions *====================*/ /** * Insert a text to the label. The label text can not be static. * @param label pointer to a label object * @param pos character index to insert. Expressed in character index and not byte index (Different * in UTF-8) 0: before first char. LV_LABEL_POS_LAST: after last char. * @param txt pointer to the text to insert */ void lv_label_ins_text(lv_obj_t * label, uint32_t pos, const char * txt) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); LV_ASSERT_STR(txt); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); /*Can not append to static text*/ if(ext->static_txt != 0) return; lv_obj_invalidate(label); /*Allocate space for the new text*/ size_t old_len = strlen(ext->text); size_t ins_len = strlen(txt); size_t new_len = ins_len + old_len; ext->text = lv_mem_realloc(ext->text, new_len + 1); LV_ASSERT_MEM(ext->text); if(ext->text == NULL) return; if(pos == LV_LABEL_POS_LAST) { pos = _lv_txt_get_encoded_length(ext->text); } #if LV_USE_BIDI char * bidi_buf = _lv_mem_buf_get(ins_len + 1); LV_ASSERT_MEM(bidi_buf); if(bidi_buf == NULL) return; _lv_bidi_process(txt, bidi_buf, lv_obj_get_base_dir(label)); _lv_txt_ins(ext->text, pos, bidi_buf); _lv_mem_buf_release(bidi_buf); #else _lv_txt_ins(ext->text, pos, txt); #endif lv_label_refr_text(label); } /** * Delete characters from a label. The label text can not be static. * @param label pointer to a label object * @param pos character index to insert. Expressed in character index and not byte index (Different * in UTF-8) 0: before first char. * @param cnt number of characters to cut */ void lv_label_cut_text(lv_obj_t * label, uint32_t pos, uint32_t cnt) { LV_ASSERT_OBJ(label, LV_OBJX_NAME); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); /*Can not append to static text*/ if(ext->static_txt != 0) return; lv_obj_invalidate(label); char * label_txt = lv_label_get_text(label); /*Delete the characters*/ _lv_txt_cut(label_txt, pos, cnt); /*Refresh the label*/ lv_label_refr_text(label); } /********************** * STATIC FUNCTIONS **********************/ /** * Handle the drawing related tasks of the labels * @param label pointer to a label object * @param clip_area the object will be drawn only in this area * @param mode LV_DESIGN_COVER_CHK: only check if the object fully covers the 'mask_p' area * (return 'true' if yes) * LV_DESIGN_DRAW: draw the object (always return 'true') * LV_DESIGN_DRAW_POST: drawing after every children are drawn * @param return an element of `lv_design_res_t` */ static lv_design_res_t lv_label_design(lv_obj_t * label, const lv_area_t * clip_area, lv_design_mode_t mode) { /* A label never covers an area */ if(mode == LV_DESIGN_COVER_CHK) return LV_DESIGN_RES_NOT_COVER; else if(mode == LV_DESIGN_DRAW_MAIN) { lv_label_ext_t * ext = lv_obj_get_ext_attr(label); lv_coord_t w = lv_obj_get_style_transform_width(label, LV_LABEL_PART_MAIN); lv_coord_t h = lv_obj_get_style_transform_height(label, LV_LABEL_PART_MAIN); lv_area_t bg_coords; lv_area_copy(&bg_coords, &label->coords); bg_coords.x1 -= w; bg_coords.x2 += w; bg_coords.y1 -= h; bg_coords.y2 += h; lv_draw_rect_dsc_t draw_rect_dsc; lv_draw_rect_dsc_init(&draw_rect_dsc); lv_obj_init_draw_rect_dsc(label, LV_LABEL_PART_MAIN, &draw_rect_dsc); lv_draw_rect(&bg_coords, clip_area, &draw_rect_dsc); lv_area_t txt_coords; get_txt_coords(label, &txt_coords); lv_area_t txt_clip; bool is_common = _lv_area_intersect(&txt_clip, clip_area, &txt_coords); if(!is_common) return LV_DESIGN_RES_OK; lv_label_align_t align = lv_label_get_align(label); lv_txt_flag_t flag = LV_TXT_FLAG_NONE; if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; if(align == LV_LABEL_ALIGN_CENTER) flag |= LV_TXT_FLAG_CENTER; if(align == LV_LABEL_ALIGN_RIGHT) flag |= LV_TXT_FLAG_RIGHT; lv_draw_label_dsc_t label_draw_dsc; lv_draw_label_dsc_init(&label_draw_dsc); label_draw_dsc.sel_start = lv_label_get_text_sel_start(label); label_draw_dsc.sel_end = lv_label_get_text_sel_end(label); label_draw_dsc.ofs_x = ext->offset.x; label_draw_dsc.ofs_y = ext->offset.y; label_draw_dsc.flag = flag; lv_obj_init_draw_label_dsc(label, LV_LABEL_PART_MAIN, &label_draw_dsc); /* In SCROLL and SCROLL_CIRC mode the CENTER and RIGHT are pointless so remove them. * (In addition they will result misalignment is this case)*/ if((ext->long_mode == LV_LABEL_LONG_SROLL || ext->long_mode == LV_LABEL_LONG_SROLL_CIRC) && (ext->align == LV_LABEL_ALIGN_CENTER || ext->align == LV_LABEL_ALIGN_RIGHT)) { lv_point_t size; _lv_txt_get_size(&size, ext->text, label_draw_dsc.font, label_draw_dsc.letter_space, label_draw_dsc.line_space, LV_COORD_MAX, flag); if(size.x > lv_area_get_width(&txt_coords)) { label_draw_dsc.flag &= ~LV_TXT_FLAG_RIGHT; label_draw_dsc.flag &= ~LV_TXT_FLAG_CENTER; } } #if LV_LABEL_LONG_TXT_HINT lv_draw_label_hint_t * hint = &ext->hint; if(ext->long_mode == LV_LABEL_LONG_SROLL_CIRC || lv_area_get_height(&txt_coords) < LV_LABEL_HINT_HEIGHT_LIMIT) hint = NULL; #else /*Just for compatibility*/ lv_draw_label_hint_t * hint = NULL; #endif lv_draw_label(&txt_coords, &txt_clip, &label_draw_dsc, ext->text, hint); if(ext->long_mode == LV_LABEL_LONG_SROLL_CIRC) { lv_point_t size; _lv_txt_get_size(&size, ext->text, label_draw_dsc.font, label_draw_dsc.letter_space, label_draw_dsc.line_space, LV_COORD_MAX, flag); /*Draw the text again next to the original to make an circular effect */ if(size.x > lv_area_get_width(&txt_coords)) { label_draw_dsc.ofs_x = ext->offset.x + size.x + lv_font_get_glyph_width(label_draw_dsc.font, ' ', ' ') * LV_LABEL_WAIT_CHAR_COUNT; label_draw_dsc.ofs_y = ext->offset.y; lv_draw_label(&txt_coords, &txt_clip, &label_draw_dsc, ext->text, hint); } /*Draw the text again below the original to make an circular effect */ if(size.y > lv_area_get_height(&txt_coords)) { label_draw_dsc.ofs_x = ext->offset.x; label_draw_dsc.ofs_y = ext->offset.y + size.y + lv_font_get_line_height(label_draw_dsc.font); lv_draw_label(&txt_coords, &txt_clip, &label_draw_dsc, ext->text, hint); } } } return LV_DESIGN_RES_OK; } /** * Signal function of the label * @param label pointer to a label object * @param sign a signal type from lv_signal_t enum * @param param pointer to a signal specific variable * @return LV_RES_OK: the object is not deleted in the function; LV_RES_INV: the object is deleted */ static lv_res_t lv_label_signal(lv_obj_t * label, lv_signal_t sign, void * param) { lv_res_t res; if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = lv_label_get_style(label, info->part); if(info->result != NULL) return LV_RES_OK; else return ancestor_signal(label, sign, param); } /* Include the ancient signal function */ res = ancestor_signal(label, sign, param); if(res != LV_RES_OK) return res; if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME); lv_label_ext_t * ext = lv_obj_get_ext_attr(label); if(sign == LV_SIGNAL_CLEANUP) { if(ext->static_txt == 0) { lv_mem_free(ext->text); ext->text = NULL; } lv_label_dot_tmp_free(label); } else if(sign == LV_SIGNAL_STYLE_CHG) { /*Revert dots for proper refresh*/ lv_label_revert_dots(label); lv_label_refr_text(label); } else if(sign == LV_SIGNAL_COORD_CHG) { if(lv_area_get_width(&label->coords) != lv_area_get_width(param) || lv_area_get_height(&label->coords) != lv_area_get_height(param)) { lv_label_revert_dots(label); lv_label_refr_text(label); } } else if(sign == LV_SIGNAL_BASE_DIR_CHG) { #if LV_USE_BIDI if(ext->static_txt == 0) lv_label_set_text(label, NULL); #endif } else if(sign == LV_SIGNAL_GET_TYPE) { lv_obj_type_t * buf = param; uint8_t i; for(i = 0; i < LV_MAX_ANCESTOR_NUM - 1; i++) { /*Find the last set data*/ if(buf->type[i] == NULL) break; } buf->type[i] = "lv_label"; } return res; } /** * Refresh the label with its text stored in its extended data * @param label pointer to a label object */ static void lv_label_refr_text(lv_obj_t * label) { lv_label_ext_t * ext = lv_obj_get_ext_attr(label); if(ext->text == NULL) return; #if LV_LABEL_LONG_TXT_HINT ext->hint.line_start = -1; /*The hint is invalid if the text changes*/ #endif lv_area_t txt_coords; get_txt_coords(label, &txt_coords); lv_coord_t max_w = lv_area_get_width(&txt_coords); const lv_font_t * font = lv_obj_get_style_text_font(label, LV_LABEL_PART_MAIN); lv_style_int_t line_space = lv_obj_get_style_text_line_space(label, LV_LABEL_PART_MAIN); lv_style_int_t letter_space = lv_obj_get_style_text_letter_space(label, LV_LABEL_PART_MAIN); /*Calc. the height and longest line*/ lv_point_t size; lv_txt_flag_t flag = LV_TXT_FLAG_NONE; if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; _lv_txt_get_size(&size, ext->text, font, letter_space, line_space, max_w, flag); /*Set the full size in expand mode*/ if(ext->long_mode == LV_LABEL_LONG_EXPAND) { size.x += lv_obj_get_style_pad_left(label, LV_LABEL_PART_MAIN) + lv_obj_get_style_pad_right(label, LV_LABEL_PART_MAIN); size.y += lv_obj_get_style_pad_top(label, LV_LABEL_PART_MAIN) + lv_obj_get_style_pad_bottom(label, LV_LABEL_PART_MAIN); lv_obj_set_size(label, size.x, size.y); } /*In roll mode keep the size but start offset animations*/ else if(ext->long_mode == LV_LABEL_LONG_SROLL) { #if LV_USE_ANIMATION lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, label); lv_anim_set_repeat_count(&a, LV_ANIM_REPEAT_INFINITE); lv_anim_set_playback_delay(&a, (((lv_font_get_glyph_width(font, ' ', ' ') + letter_space) * 1000) / ext->anim_speed) * LV_LABEL_WAIT_CHAR_COUNT); lv_anim_set_repeat_delay(&a, a.playback_delay); bool hor_anim = false; if(size.x > lv_area_get_width(&txt_coords)) { lv_anim_set_values(&a, 0, lv_area_get_width(&txt_coords) - size.x); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_label_set_offset_x); lv_anim_set_time(&a, lv_anim_speed_to_time(ext->anim_speed, a.start, a.end)); lv_anim_set_playback_time(&a, a.time); lv_anim_t * anim_cur = lv_anim_get(label, (lv_anim_exec_xcb_t)lv_label_set_offset_x); int32_t act_time = 0; bool playback_now = false; if(anim_cur) { act_time = anim_cur->act_time; playback_now = anim_cur->playback_now; } if(act_time < a.time) { a.act_time = act_time; /*To keep the old position*/ a.early_apply = 0; if(playback_now) { a.playback_now = 1; /*Swap the start and end values*/ int32_t tmp; tmp = a.start; a.start = a.end; a.end = tmp; } } lv_anim_start(&a); hor_anim = true; } else { /*Delete the offset animation if not required*/ lv_anim_del(label, (lv_anim_exec_xcb_t)lv_label_set_offset_x); ext->offset.x = 0; } if(size.y > lv_area_get_height(&txt_coords) && hor_anim == false) { lv_anim_set_values(&a, 0, lv_area_get_height(&txt_coords) - size.y - (lv_font_get_line_height(font))); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_label_set_offset_y); lv_anim_set_time(&a, lv_anim_speed_to_time(ext->anim_speed, a.start, a.end)); lv_anim_set_playback_time(&a, a.time); lv_anim_t * anim_cur = lv_anim_get(label, (lv_anim_exec_xcb_t)lv_label_set_offset_y); int32_t act_time = 0; bool playback_now = false; if(anim_cur) { act_time = anim_cur->act_time; playback_now = anim_cur->playback_now; } if(act_time < a.time) { a.act_time = act_time; /*To keep the old position*/ a.early_apply = 0; if(playback_now) { a.playback_now = 1; /*Swap the start and end values*/ int32_t tmp; tmp = a.start; a.start = a.end; a.end = tmp; } } lv_anim_start(&a); } else { /*Delete the offset animation if not required*/ lv_anim_del(label, (lv_anim_exec_xcb_t)lv_label_set_offset_y); ext->offset.y = 0; } #endif } /*In roll inf. mode keep the size but start offset animations*/ else if(ext->long_mode == LV_LABEL_LONG_SROLL_CIRC) { #if LV_USE_ANIMATION lv_anim_t a; lv_anim_init(&a); lv_anim_set_var(&a, label); lv_anim_set_repeat_count(&a, LV_ANIM_REPEAT_INFINITE); bool hor_anim = false; if(size.x > lv_area_get_width(&txt_coords)) { lv_anim_set_values(&a, 0, -size.x - lv_font_get_glyph_width(font, ' ', ' ') * LV_LABEL_WAIT_CHAR_COUNT); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_label_set_offset_x); lv_anim_set_time(&a, lv_anim_speed_to_time(ext->anim_speed, a.start, a.end)); lv_anim_t * anim_cur = lv_anim_get(label, (lv_anim_exec_xcb_t)lv_label_set_offset_x); int32_t act_time = anim_cur ? anim_cur->act_time : 0; if(act_time < a.time) { a.act_time = act_time; /*To keep the old position*/ a.early_apply = 0; } lv_anim_start(&a); hor_anim = true; } else { /*Delete the offset animation if not required*/ lv_anim_del(label, (lv_anim_exec_xcb_t)lv_label_set_offset_x); ext->offset.x = 0; } if(size.y > lv_area_get_height(&txt_coords) && hor_anim == false) { lv_anim_set_values(&a, 0, -size.y - (lv_font_get_line_height(font))); lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t)lv_label_set_offset_y); lv_anim_set_time(&a, lv_anim_speed_to_time(ext->anim_speed, a.start, a.end)); lv_anim_t * anim_cur = lv_anim_get(label, (lv_anim_exec_xcb_t)lv_label_set_offset_y); int32_t act_time = anim_cur ? anim_cur->act_time : 0; if(act_time < a.time) { a.act_time = act_time; /*To keep the old position*/ a.early_apply = 0; } lv_anim_start(&a); } else { /*Delete the offset animation if not required*/ lv_anim_del(label, (lv_anim_exec_xcb_t)lv_label_set_offset_y); ext->offset.y = 0; } #endif } else if(ext->long_mode == LV_LABEL_LONG_DOT) { if(size.y <= lv_area_get_height(&txt_coords)) { /*No dots are required, the text is short enough*/ ext->dot_end = LV_LABEL_DOT_END_INV; } else if(_lv_txt_get_encoded_length(ext->text) <= LV_LABEL_DOT_NUM) { /*Don't turn to dots all the characters*/ ext->dot_end = LV_LABEL_DOT_END_INV; } else { lv_point_t p; p.x = lv_area_get_width(&txt_coords) - (lv_font_get_glyph_width(font, '.', '.') + letter_space) * LV_LABEL_DOT_NUM; /*Shrink with dots*/ p.y = lv_area_get_height(&txt_coords); p.y -= p.y % (lv_font_get_line_height(font) + line_space); /*Round down to the last line*/ p.y -= line_space; /*Trim the last line space*/ uint32_t letter_id = lv_label_get_letter_on(label, &p); /*Be sure there is space for the dots*/ size_t txt_len = strlen(ext->text); uint32_t byte_id = _lv_txt_encoded_get_byte_id(ext->text, letter_id); while(byte_id + LV_LABEL_DOT_NUM > txt_len) { byte_id -= _lv_txt_encoded_size(&ext->text[byte_id]); letter_id--; } /*Save letters under the dots and replace them with dots*/ uint32_t byte_id_ori = byte_id; uint32_t i; uint8_t len = 0; for(i = 0; i <= LV_LABEL_DOT_NUM; i++) { len += _lv_txt_encoded_size(&ext->text[byte_id]); _lv_txt_encoded_next(ext->text, &byte_id); } if(lv_label_set_dot_tmp(label, &ext->text[byte_id_ori], len)) { for(i = 0; i < LV_LABEL_DOT_NUM; i++) { ext->text[byte_id_ori + i] = '.'; } ext->text[byte_id_ori + LV_LABEL_DOT_NUM] = '\0'; ext->dot_end = letter_id + LV_LABEL_DOT_NUM; } } } /*In break mode only the height can change*/ else if(ext->long_mode == LV_LABEL_LONG_BREAK) { size.y += lv_obj_get_style_pad_top(label, LV_LABEL_PART_MAIN) + lv_obj_get_style_pad_bottom(label, LV_LABEL_PART_MAIN); lv_obj_set_height(label, size.y); } /*Do not set the size in Clip mode*/ else if(ext->long_mode == LV_LABEL_LONG_CROP) { /*Do nothing*/ } lv_obj_invalidate(label); } static void lv_label_revert_dots(lv_obj_t * label) { lv_label_ext_t * ext = lv_obj_get_ext_attr(label); if(ext->long_mode != LV_LABEL_LONG_DOT) return; if(ext->dot_end == LV_LABEL_DOT_END_INV) return; uint32_t letter_i = ext->dot_end - LV_LABEL_DOT_NUM; uint32_t byte_i = _lv_txt_encoded_get_byte_id(ext->text, letter_i); /*Restore the characters*/ uint8_t i = 0; char * dot_tmp = lv_label_get_dot_tmp(label); while(ext->text[byte_i + i] != '\0') { ext->text[byte_i + i] = dot_tmp[i]; i++; } ext->text[byte_i + i] = dot_tmp[i]; lv_label_dot_tmp_free(label); ext->dot_end = LV_LABEL_DOT_END_INV; } #if LV_USE_ANIMATION static void lv_label_set_offset_x(lv_obj_t * label, lv_coord_t x) { lv_label_ext_t * ext = lv_obj_get_ext_attr(label); ext->offset.x = x; lv_obj_invalidate(label); } static void lv_label_set_offset_y(lv_obj_t * label, lv_coord_t y) { lv_label_ext_t * ext = lv_obj_get_ext_attr(label); ext->offset.y = y; lv_obj_invalidate(label); } #endif /** * Store `len` characters from `data`. Allocates space if necessary. * * @param label pointer to label object * @param len Number of characters to store. * @return true on success. */ static bool lv_label_set_dot_tmp(lv_obj_t * label, char * data, uint32_t len) { lv_label_ext_t * ext = lv_obj_get_ext_attr(label); lv_label_dot_tmp_free(label); /* Deallocate any existing space */ if(len > sizeof(char *)) { /* Memory needs to be allocated. Allocates an additional byte * for a NULL-terminator so it can be copied. */ ext->dot.tmp_ptr = lv_mem_alloc(len + 1); if(ext->dot.tmp_ptr == NULL) { LV_LOG_ERROR("Failed to allocate memory for dot_tmp_ptr"); return false; } _lv_memcpy(ext->dot.tmp_ptr, data, len); ext->dot.tmp_ptr[len] = '\0'; ext->dot_tmp_alloc = true; } else { /* Characters can be directly stored in object */ ext->dot_tmp_alloc = false; _lv_memcpy(ext->dot.tmp, data, len); } return true; } /** * Get the stored dot_tmp characters * @param label pointer to label object * @return char pointer to a stored characters. Is *not* necessarily NULL-terminated. */ static char * lv_label_get_dot_tmp(lv_obj_t * label) { lv_label_ext_t * ext = lv_obj_get_ext_attr(label); if(ext->dot_tmp_alloc) { return ext->dot.tmp_ptr; } else { return ext->dot.tmp; } } /** * Free the dot_tmp_ptr field if it was previously allocated. * Always clears the field * @param label pointer to label object. */ static void lv_label_dot_tmp_free(lv_obj_t * label) { lv_label_ext_t * ext = lv_obj_get_ext_attr(label); if(ext->dot_tmp_alloc && ext->dot.tmp_ptr) { lv_mem_free(ext->dot.tmp_ptr); } ext->dot_tmp_alloc = false; ext->dot.tmp_ptr = NULL; } static void get_txt_coords(const lv_obj_t * label, lv_area_t * area) { lv_obj_get_coords(label, area); lv_coord_t left = lv_obj_get_style_pad_left(label, LV_LABEL_PART_MAIN); lv_coord_t right = lv_obj_get_style_pad_right(label, LV_LABEL_PART_MAIN); lv_coord_t top = lv_obj_get_style_pad_top(label, LV_LABEL_PART_MAIN); lv_coord_t bottom = lv_obj_get_style_pad_bottom(label, LV_LABEL_PART_MAIN); area->x1 += left; area->x2 -= right; area->y1 += top; area->y2 -= bottom; } #endif
52,290
lv_label
c
en
c
code
{"qsc_code_num_words": 8164, "qsc_code_num_chars": 52290.0, "qsc_code_mean_word_length": 3.65715336, "qsc_code_frac_words_unique": 0.05793729, "qsc_code_frac_chars_top_2grams": 0.06283284, "qsc_code_frac_chars_top_3grams": 0.01741635, "qsc_code_frac_chars_top_4grams": 0.01547376, "qsc_code_frac_chars_dupe_5grams": 0.69856315, "qsc_code_frac_chars_dupe_6grams": 0.63415614, "qsc_code_frac_chars_dupe_7grams": 0.5799645, "qsc_code_frac_chars_dupe_8grams": 0.54352413, "qsc_code_frac_chars_dupe_9grams": 0.49891148, "qsc_code_frac_chars_dupe_10grams": 0.46669123, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00736592, "qsc_code_frac_chars_whitespace": 0.25226621, "qsc_code_size_file_byte": 52290.0, "qsc_code_num_lines": 1544.0, "qsc_code_num_chars_line_max": 128.0, "qsc_code_num_chars_line_mean": 33.86658031, "qsc_code_frac_chars_alphabet": 0.75625975, "qsc_code_frac_chars_comments": 0.19860394, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.44497154, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00854313, "qsc_code_frac_chars_long_word_length": 0.00310226, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00014318, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0370019, "qsc_codec_frac_lines_func_ratio": 0.0654649, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.09487666, "qsc_codec_frac_lines_print": 0.00379507, "qsc_codec_frac_lines_preprocessor_directives": 0.08159393}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_widgets/lv_table.h
/** * @file lv_table.h * */ #ifndef LV_TABLE_H #define LV_TABLE_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #if LV_USE_TABLE != 0 /*Testing of dependencies*/ #if LV_USE_LABEL == 0 #error "lv_table: lv_label is required. Enable it in lv_conf.h (LV_USE_LABEL 1) " #endif #include "../lv_core/lv_obj.h" #include "lv_label.h" /********************* * DEFINES *********************/ #ifndef LV_TABLE_COL_MAX #define LV_TABLE_COL_MAX 12 #endif #define LV_TABLE_CELL_STYLE_CNT 4 /********************** * TYPEDEFS **********************/ /** * Internal table cell format structure. * * Use the `lv_table` APIs instead. */ typedef union { struct { uint8_t align : 2; uint8_t right_merge : 1; uint8_t type : 2; uint8_t crop : 1; } s; uint8_t format_byte; } lv_table_cell_format_t; /*Data of table*/ typedef struct { /*New data for this type */ uint16_t col_cnt; uint16_t row_cnt; char ** cell_data; lv_coord_t * row_h; lv_style_list_t cell_style[LV_TABLE_CELL_STYLE_CNT]; lv_coord_t col_w[LV_TABLE_COL_MAX]; uint8_t cell_types : 4; /*Keep track which cell types exists to avoid dealing with unused ones*/ } lv_table_ext_t; /*Parts of the table*/ enum { LV_TABLE_PART_BG, LV_TABLE_PART_CELL1, LV_TABLE_PART_CELL2, LV_TABLE_PART_CELL3, LV_TABLE_PART_CELL4, }; /********************** * GLOBAL PROTOTYPES **********************/ /** * Create a table object * @param par pointer to an object, it will be the parent of the new table * @param copy pointer to a table object, if not NULL then the new object will be copied from it * @return pointer to the created table */ lv_obj_t * lv_table_create(lv_obj_t * par, const lv_obj_t * copy); /*===================== * Setter functions *====================*/ /** * Set the value of a cell. * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @param txt text to display in the cell. It will be copied and saved so this variable is not * required after this function call. */ void lv_table_set_cell_value(lv_obj_t * table, uint16_t row, uint16_t col, const char * txt); /** * Set the number of rows * @param table table pointer to a Table object * @param row_cnt number of rows */ void lv_table_set_row_cnt(lv_obj_t * table, uint16_t row_cnt); /** * Set the number of columns * @param table table pointer to a Table object * @param col_cnt number of columns. Must be < LV_TABLE_COL_MAX */ void lv_table_set_col_cnt(lv_obj_t * table, uint16_t col_cnt); /** * Set the width of a column * @param table table pointer to a Table object * @param col_id id of the column [0 .. LV_TABLE_COL_MAX -1] * @param w width of the column */ void lv_table_set_col_width(lv_obj_t * table, uint16_t col_id, lv_coord_t w); /** * Set the text align in a cell * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @param align LV_LABEL_ALIGN_LEFT or LV_LABEL_ALIGN_CENTER or LV_LABEL_ALIGN_RIGHT */ void lv_table_set_cell_align(lv_obj_t * table, uint16_t row, uint16_t col, lv_label_align_t align); /** * Set the type of a cell. * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @param type 1,2,3 or 4. The cell style will be chosen accordingly. */ void lv_table_set_cell_type(lv_obj_t * table, uint16_t row, uint16_t col, uint8_t type); /** * Set the cell crop. (Don't adjust the height of the cell according to its content) * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @param crop true: crop the cell content; false: set the cell height to the content. */ void lv_table_set_cell_crop(lv_obj_t * table, uint16_t row, uint16_t col, bool crop); /** * Merge a cell with the right neighbor. The value of the cell to the right won't be displayed. * @param table table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @param en true: merge right; false: don't merge right */ void lv_table_set_cell_merge_right(lv_obj_t * table, uint16_t row, uint16_t col, bool en); /*===================== * Getter functions *====================*/ /** * Get the value of a cell. * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @return text in the cell */ const char * lv_table_get_cell_value(lv_obj_t * table, uint16_t row, uint16_t col); /** * Get the number of rows. * @param table table pointer to a Table object * @return number of rows. */ uint16_t lv_table_get_row_cnt(lv_obj_t * table); /** * Get the number of columns. * @param table table pointer to a Table object * @return number of columns. */ uint16_t lv_table_get_col_cnt(lv_obj_t * table); /** * Get the width of a column * @param table table pointer to a Table object * @param col_id id of the column [0 .. LV_TABLE_COL_MAX -1] * @return width of the column */ lv_coord_t lv_table_get_col_width(lv_obj_t * table, uint16_t col_id); /** * Get the text align of a cell * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @return LV_LABEL_ALIGN_LEFT (default in case of error) or LV_LABEL_ALIGN_CENTER or * LV_LABEL_ALIGN_RIGHT */ lv_label_align_t lv_table_get_cell_align(lv_obj_t * table, uint16_t row, uint16_t col); /** * Get the type of a cell * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @return 1,2,3 or 4 */ lv_label_align_t lv_table_get_cell_type(lv_obj_t * table, uint16_t row, uint16_t col); /** * Get the crop property of a cell * @param table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @return true: text crop enabled; false: disabled */ lv_label_align_t lv_table_get_cell_crop(lv_obj_t * table, uint16_t row, uint16_t col); /** * Get the cell merge attribute. * @param table table pointer to a Table object * @param row id of the row [0 .. row_cnt -1] * @param col id of the column [0 .. col_cnt -1] * @return true: merge right; false: don't merge right */ bool lv_table_get_cell_merge_right(lv_obj_t * table, uint16_t row, uint16_t col); /** * Get the last pressed or being pressed cell * @param table pointer to a table object * @param row pointer to variable to store the pressed row * @param col pointer to variable to store the pressed column * @return LV_RES_OK: a valid pressed cell was found, LV_RES_INV: no valid cell is pressed */ lv_res_t lv_table_get_pressed_cell(lv_obj_t * table, uint16_t * row, uint16_t * col); /*===================== * Other functions *====================*/ /********************** * MACROS **********************/ #endif /*LV_USE_TABLE*/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LV_TABLE_H*/
7,323
lv_table
h
en
c
code
{"qsc_code_num_words": 1267, "qsc_code_num_chars": 7323.0, "qsc_code_mean_word_length": 3.60852407, "qsc_code_frac_words_unique": 0.13496448, "qsc_code_frac_chars_top_2grams": 0.05971129, "qsc_code_frac_chars_top_3grams": 0.03368329, "qsc_code_frac_chars_top_4grams": 0.05905512, "qsc_code_frac_chars_dupe_5grams": 0.58114611, "qsc_code_frac_chars_dupe_6grams": 0.52909011, "qsc_code_frac_chars_dupe_7grams": 0.52034121, "qsc_code_frac_chars_dupe_8grams": 0.48753281, "qsc_code_frac_chars_dupe_9grams": 0.45888014, "qsc_code_frac_chars_dupe_10grams": 0.45888014, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.02271571, "qsc_code_frac_chars_whitespace": 0.19445582, "qsc_code_size_file_byte": 7323.0, "qsc_code_num_lines": 255.0, "qsc_code_num_chars_line_max": 101.0, "qsc_code_num_chars_line_mean": 28.71764706, "qsc_code_frac_chars_alphabet": 0.7523309, "qsc_code_frac_chars_comments": 0.65765397, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.125, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.04946151, "qsc_code_frac_chars_long_word_length": 0.00837655, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.28125, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.328125, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 1, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/T-Glass-Applications
ancs_app/sdkconfig
# # Automatically generated file. DO NOT EDIT. # Espressif IoT Development Framework (ESP-IDF) 5.3.2 Project Configuration # CONFIG_SOC_MPU_MIN_REGION_SIZE=0x20000000 CONFIG_SOC_MPU_REGIONS_MAX_NUM=8 CONFIG_SOC_ADC_SUPPORTED=y CONFIG_SOC_UART_SUPPORTED=y CONFIG_SOC_PCNT_SUPPORTED=y CONFIG_SOC_PHY_SUPPORTED=y CONFIG_SOC_WIFI_SUPPORTED=y CONFIG_SOC_TWAI_SUPPORTED=y CONFIG_SOC_GDMA_SUPPORTED=y CONFIG_SOC_AHB_GDMA_SUPPORTED=y CONFIG_SOC_GPTIMER_SUPPORTED=y CONFIG_SOC_LCDCAM_SUPPORTED=y CONFIG_SOC_LCDCAM_I80_LCD_SUPPORTED=y CONFIG_SOC_LCDCAM_RGB_LCD_SUPPORTED=y CONFIG_SOC_MCPWM_SUPPORTED=y CONFIG_SOC_DEDICATED_GPIO_SUPPORTED=y CONFIG_SOC_CACHE_SUPPORT_WRAP=y CONFIG_SOC_ULP_SUPPORTED=y CONFIG_SOC_ULP_FSM_SUPPORTED=y CONFIG_SOC_RISCV_COPROC_SUPPORTED=y CONFIG_SOC_BT_SUPPORTED=y CONFIG_SOC_USB_OTG_SUPPORTED=y CONFIG_SOC_USB_SERIAL_JTAG_SUPPORTED=y CONFIG_SOC_CCOMP_TIMER_SUPPORTED=y CONFIG_SOC_ASYNC_MEMCPY_SUPPORTED=y CONFIG_SOC_SUPPORTS_SECURE_DL_MODE=y CONFIG_SOC_EFUSE_KEY_PURPOSE_FIELD=y CONFIG_SOC_EFUSE_SUPPORTED=y CONFIG_SOC_SDMMC_HOST_SUPPORTED=y CONFIG_SOC_RTC_FAST_MEM_SUPPORTED=y CONFIG_SOC_RTC_SLOW_MEM_SUPPORTED=y CONFIG_SOC_RTC_MEM_SUPPORTED=y CONFIG_SOC_PSRAM_DMA_CAPABLE=y CONFIG_SOC_XT_WDT_SUPPORTED=y CONFIG_SOC_I2S_SUPPORTED=y CONFIG_SOC_RMT_SUPPORTED=y CONFIG_SOC_SDM_SUPPORTED=y CONFIG_SOC_GPSPI_SUPPORTED=y CONFIG_SOC_LEDC_SUPPORTED=y CONFIG_SOC_I2C_SUPPORTED=y CONFIG_SOC_SYSTIMER_SUPPORTED=y CONFIG_SOC_SUPPORT_COEXISTENCE=y CONFIG_SOC_TEMP_SENSOR_SUPPORTED=y CONFIG_SOC_AES_SUPPORTED=y CONFIG_SOC_MPI_SUPPORTED=y CONFIG_SOC_SHA_SUPPORTED=y CONFIG_SOC_HMAC_SUPPORTED=y CONFIG_SOC_DIG_SIGN_SUPPORTED=y CONFIG_SOC_FLASH_ENC_SUPPORTED=y CONFIG_SOC_SECURE_BOOT_SUPPORTED=y CONFIG_SOC_MEMPROT_SUPPORTED=y CONFIG_SOC_TOUCH_SENSOR_SUPPORTED=y CONFIG_SOC_BOD_SUPPORTED=y CONFIG_SOC_CLK_TREE_SUPPORTED=y CONFIG_SOC_MPU_SUPPORTED=y CONFIG_SOC_WDT_SUPPORTED=y CONFIG_SOC_SPI_FLASH_SUPPORTED=y CONFIG_SOC_RNG_SUPPORTED=y CONFIG_SOC_LIGHT_SLEEP_SUPPORTED=y CONFIG_SOC_DEEP_SLEEP_SUPPORTED=y CONFIG_SOC_LP_PERIPH_SHARE_INTERRUPT=y CONFIG_SOC_PM_SUPPORTED=y CONFIG_SOC_XTAL_SUPPORT_40M=y CONFIG_SOC_APPCPU_HAS_CLOCK_GATING_BUG=y CONFIG_SOC_ADC_RTC_CTRL_SUPPORTED=y CONFIG_SOC_ADC_DIG_CTRL_SUPPORTED=y CONFIG_SOC_ADC_ARBITER_SUPPORTED=y CONFIG_SOC_ADC_DIG_IIR_FILTER_SUPPORTED=y CONFIG_SOC_ADC_MONITOR_SUPPORTED=y CONFIG_SOC_ADC_DMA_SUPPORTED=y CONFIG_SOC_ADC_PERIPH_NUM=2 CONFIG_SOC_ADC_MAX_CHANNEL_NUM=10 CONFIG_SOC_ADC_ATTEN_NUM=4 CONFIG_SOC_ADC_DIGI_CONTROLLER_NUM=2 CONFIG_SOC_ADC_PATT_LEN_MAX=24 CONFIG_SOC_ADC_DIGI_MIN_BITWIDTH=12 CONFIG_SOC_ADC_DIGI_MAX_BITWIDTH=12 CONFIG_SOC_ADC_DIGI_RESULT_BYTES=4 CONFIG_SOC_ADC_DIGI_DATA_BYTES_PER_CONV=4 CONFIG_SOC_ADC_DIGI_IIR_FILTER_NUM=2 CONFIG_SOC_ADC_DIGI_MONITOR_NUM=2 CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_HIGH=83333 CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_LOW=611 CONFIG_SOC_ADC_RTC_MIN_BITWIDTH=12 CONFIG_SOC_ADC_RTC_MAX_BITWIDTH=12 CONFIG_SOC_ADC_CALIBRATION_V1_SUPPORTED=y CONFIG_SOC_ADC_SELF_HW_CALI_SUPPORTED=y CONFIG_SOC_ADC_SHARED_POWER=y CONFIG_SOC_APB_BACKUP_DMA=y CONFIG_SOC_BROWNOUT_RESET_SUPPORTED=y CONFIG_SOC_CACHE_WRITEBACK_SUPPORTED=y CONFIG_SOC_CACHE_FREEZE_SUPPORTED=y CONFIG_SOC_CPU_CORES_NUM=2 CONFIG_SOC_CPU_INTR_NUM=32 CONFIG_SOC_CPU_HAS_FPU=y CONFIG_SOC_HP_CPU_HAS_MULTIPLE_CORES=y CONFIG_SOC_CPU_BREAKPOINTS_NUM=2 CONFIG_SOC_CPU_WATCHPOINTS_NUM=2 CONFIG_SOC_CPU_WATCHPOINT_MAX_REGION_SIZE=64 CONFIG_SOC_DS_SIGNATURE_MAX_BIT_LEN=4096 CONFIG_SOC_DS_KEY_PARAM_MD_IV_LENGTH=16 CONFIG_SOC_DS_KEY_CHECK_MAX_WAIT_US=1100 CONFIG_SOC_AHB_GDMA_VERSION=1 CONFIG_SOC_GDMA_NUM_GROUPS_MAX=1 CONFIG_SOC_GDMA_PAIRS_PER_GROUP=5 CONFIG_SOC_GDMA_PAIRS_PER_GROUP_MAX=5 CONFIG_SOC_AHB_GDMA_SUPPORT_PSRAM=y CONFIG_SOC_GPIO_PORT=1 CONFIG_SOC_GPIO_PIN_COUNT=49 CONFIG_SOC_GPIO_SUPPORT_PIN_GLITCH_FILTER=y CONFIG_SOC_GPIO_FILTER_CLK_SUPPORT_APB=y CONFIG_SOC_GPIO_SUPPORT_RTC_INDEPENDENT=y CONFIG_SOC_GPIO_SUPPORT_FORCE_HOLD=y CONFIG_SOC_GPIO_VALID_GPIO_MASK=0x1FFFFFFFFFFFF CONFIG_SOC_GPIO_IN_RANGE_MAX=48 CONFIG_SOC_GPIO_OUT_RANGE_MAX=48 CONFIG_SOC_GPIO_VALID_DIGITAL_IO_PAD_MASK=0x0001FFFFFC000000 CONFIG_SOC_GPIO_CLOCKOUT_BY_IO_MUX=y CONFIG_SOC_GPIO_CLOCKOUT_CHANNEL_NUM=3 CONFIG_SOC_GPIO_SUPPORT_HOLD_IO_IN_DSLP=y CONFIG_SOC_DEDIC_GPIO_OUT_CHANNELS_NUM=8 CONFIG_SOC_DEDIC_GPIO_IN_CHANNELS_NUM=8 CONFIG_SOC_DEDIC_GPIO_OUT_AUTO_ENABLE=y CONFIG_SOC_I2C_NUM=2 CONFIG_SOC_HP_I2C_NUM=2 CONFIG_SOC_I2C_FIFO_LEN=32 CONFIG_SOC_I2C_CMD_REG_NUM=8 CONFIG_SOC_I2C_SUPPORT_SLAVE=y CONFIG_SOC_I2C_SUPPORT_HW_CLR_BUS=y CONFIG_SOC_I2C_SUPPORT_XTAL=y CONFIG_SOC_I2C_SUPPORT_RTC=y CONFIG_SOC_I2C_SUPPORT_10BIT_ADDR=y CONFIG_SOC_I2C_SLAVE_SUPPORT_BROADCAST=y CONFIG_SOC_I2C_SLAVE_SUPPORT_I2CRAM_ACCESS=y CONFIG_SOC_I2S_NUM=2 CONFIG_SOC_I2S_HW_VERSION_2=y CONFIG_SOC_I2S_SUPPORTS_XTAL=y CONFIG_SOC_I2S_SUPPORTS_PLL_F160M=y CONFIG_SOC_I2S_SUPPORTS_PCM=y CONFIG_SOC_I2S_SUPPORTS_PDM=y CONFIG_SOC_I2S_SUPPORTS_PDM_TX=y CONFIG_SOC_I2S_PDM_MAX_TX_LINES=2 CONFIG_SOC_I2S_SUPPORTS_PDM_RX=y CONFIG_SOC_I2S_PDM_MAX_RX_LINES=4 CONFIG_SOC_I2S_SUPPORTS_TDM=y CONFIG_SOC_LEDC_SUPPORT_APB_CLOCK=y CONFIG_SOC_LEDC_SUPPORT_XTAL_CLOCK=y CONFIG_SOC_LEDC_CHANNEL_NUM=8 CONFIG_SOC_LEDC_TIMER_BIT_WIDTH=14 CONFIG_SOC_LEDC_SUPPORT_FADE_STOP=y CONFIG_SOC_MCPWM_GROUPS=2 CONFIG_SOC_MCPWM_TIMERS_PER_GROUP=3 CONFIG_SOC_MCPWM_OPERATORS_PER_GROUP=3 CONFIG_SOC_MCPWM_COMPARATORS_PER_OPERATOR=2 CONFIG_SOC_MCPWM_GENERATORS_PER_OPERATOR=2 CONFIG_SOC_MCPWM_TRIGGERS_PER_OPERATOR=2 CONFIG_SOC_MCPWM_GPIO_FAULTS_PER_GROUP=3 CONFIG_SOC_MCPWM_CAPTURE_TIMERS_PER_GROUP=y CONFIG_SOC_MCPWM_CAPTURE_CHANNELS_PER_TIMER=3 CONFIG_SOC_MCPWM_GPIO_SYNCHROS_PER_GROUP=3 CONFIG_SOC_MCPWM_SWSYNC_CAN_PROPAGATE=y CONFIG_SOC_MMU_LINEAR_ADDRESS_REGION_NUM=1 CONFIG_SOC_MMU_PERIPH_NUM=1 CONFIG_SOC_PCNT_GROUPS=1 CONFIG_SOC_PCNT_UNITS_PER_GROUP=4 CONFIG_SOC_PCNT_CHANNELS_PER_UNIT=2 CONFIG_SOC_PCNT_THRES_POINT_PER_UNIT=2 CONFIG_SOC_RMT_GROUPS=1 CONFIG_SOC_RMT_TX_CANDIDATES_PER_GROUP=4 CONFIG_SOC_RMT_RX_CANDIDATES_PER_GROUP=4 CONFIG_SOC_RMT_CHANNELS_PER_GROUP=8 CONFIG_SOC_RMT_MEM_WORDS_PER_CHANNEL=48 CONFIG_SOC_RMT_SUPPORT_RX_PINGPONG=y CONFIG_SOC_RMT_SUPPORT_RX_DEMODULATION=y CONFIG_SOC_RMT_SUPPORT_TX_ASYNC_STOP=y CONFIG_SOC_RMT_SUPPORT_TX_LOOP_COUNT=y CONFIG_SOC_RMT_SUPPORT_TX_LOOP_AUTO_STOP=y CONFIG_SOC_RMT_SUPPORT_TX_SYNCHRO=y CONFIG_SOC_RMT_SUPPORT_TX_CARRIER_DATA_ONLY=y CONFIG_SOC_RMT_SUPPORT_XTAL=y CONFIG_SOC_RMT_SUPPORT_RC_FAST=y CONFIG_SOC_RMT_SUPPORT_APB=y CONFIG_SOC_RMT_SUPPORT_DMA=y CONFIG_SOC_LCD_I80_SUPPORTED=y CONFIG_SOC_LCD_RGB_SUPPORTED=y CONFIG_SOC_LCD_I80_BUSES=1 CONFIG_SOC_LCD_RGB_PANELS=1 CONFIG_SOC_LCD_I80_BUS_WIDTH=16 CONFIG_SOC_LCD_RGB_DATA_WIDTH=16 CONFIG_SOC_LCD_SUPPORT_RGB_YUV_CONV=y CONFIG_SOC_LCDCAM_I80_NUM_BUSES=1 CONFIG_SOC_LCDCAM_I80_BUS_WIDTH=16 CONFIG_SOC_LCDCAM_RGB_NUM_PANELS=1 CONFIG_SOC_LCDCAM_RGB_DATA_WIDTH=16 CONFIG_SOC_RTC_CNTL_CPU_PD_DMA_BUS_WIDTH=128 CONFIG_SOC_RTC_CNTL_CPU_PD_REG_FILE_NUM=549 CONFIG_SOC_RTC_CNTL_TAGMEM_PD_DMA_BUS_WIDTH=128 CONFIG_SOC_RTCIO_PIN_COUNT=22 CONFIG_SOC_RTCIO_INPUT_OUTPUT_SUPPORTED=y CONFIG_SOC_RTCIO_HOLD_SUPPORTED=y CONFIG_SOC_RTCIO_WAKE_SUPPORTED=y CONFIG_SOC_SDM_GROUPS=y CONFIG_SOC_SDM_CHANNELS_PER_GROUP=8 CONFIG_SOC_SDM_CLK_SUPPORT_APB=y CONFIG_SOC_SPI_PERIPH_NUM=3 CONFIG_SOC_SPI_MAX_CS_NUM=6 CONFIG_SOC_SPI_MAXIMUM_BUFFER_SIZE=64 CONFIG_SOC_SPI_SUPPORT_DDRCLK=y CONFIG_SOC_SPI_SLAVE_SUPPORT_SEG_TRANS=y CONFIG_SOC_SPI_SUPPORT_CD_SIG=y CONFIG_SOC_SPI_SUPPORT_CONTINUOUS_TRANS=y CONFIG_SOC_SPI_SUPPORT_SLAVE_HD_VER2=y CONFIG_SOC_SPI_SUPPORT_CLK_APB=y CONFIG_SOC_SPI_SUPPORT_CLK_XTAL=y CONFIG_SOC_SPI_PERIPH_SUPPORT_CONTROL_DUMMY_OUT=y CONFIG_SOC_MEMSPI_IS_INDEPENDENT=y CONFIG_SOC_SPI_MAX_PRE_DIVIDER=16 CONFIG_SOC_SPI_SUPPORT_OCT=y CONFIG_SOC_SPI_SCT_SUPPORTED=y CONFIG_SOC_SPI_SCT_REG_NUM=14 CONFIG_SOC_SPI_SCT_BUFFER_NUM_MAX=y CONFIG_SOC_SPI_SCT_CONF_BITLEN_MAX=0x3FFFA CONFIG_SOC_MEMSPI_SRC_FREQ_120M=y CONFIG_SOC_MEMSPI_SRC_FREQ_80M_SUPPORTED=y CONFIG_SOC_MEMSPI_SRC_FREQ_40M_SUPPORTED=y CONFIG_SOC_MEMSPI_SRC_FREQ_20M_SUPPORTED=y CONFIG_SOC_SPIRAM_SUPPORTED=y CONFIG_SOC_SPIRAM_XIP_SUPPORTED=y CONFIG_SOC_SYSTIMER_COUNTER_NUM=2 CONFIG_SOC_SYSTIMER_ALARM_NUM=3 CONFIG_SOC_SYSTIMER_BIT_WIDTH_LO=32 CONFIG_SOC_SYSTIMER_BIT_WIDTH_HI=20 CONFIG_SOC_SYSTIMER_FIXED_DIVIDER=y CONFIG_SOC_SYSTIMER_INT_LEVEL=y CONFIG_SOC_SYSTIMER_ALARM_MISS_COMPENSATE=y CONFIG_SOC_TIMER_GROUPS=2 CONFIG_SOC_TIMER_GROUP_TIMERS_PER_GROUP=2 CONFIG_SOC_TIMER_GROUP_COUNTER_BIT_WIDTH=54 CONFIG_SOC_TIMER_GROUP_SUPPORT_XTAL=y CONFIG_SOC_TIMER_GROUP_SUPPORT_APB=y CONFIG_SOC_TIMER_GROUP_TOTAL_TIMERS=4 CONFIG_SOC_TOUCH_SENSOR_VERSION=2 CONFIG_SOC_TOUCH_SENSOR_NUM=15 CONFIG_SOC_TOUCH_SUPPORT_SLEEP_WAKEUP=y CONFIG_SOC_TOUCH_SUPPORT_WATERPROOF=y CONFIG_SOC_TOUCH_SUPPORT_PROX_SENSING=y CONFIG_SOC_TOUCH_PROXIMITY_CHANNEL_NUM=3 CONFIG_SOC_TOUCH_PROXIMITY_MEAS_DONE_SUPPORTED=y CONFIG_SOC_TOUCH_SAMPLE_CFG_NUM=1 CONFIG_SOC_TWAI_CONTROLLER_NUM=1 CONFIG_SOC_TWAI_CLK_SUPPORT_APB=y CONFIG_SOC_TWAI_BRP_MIN=2 CONFIG_SOC_TWAI_BRP_MAX=16384 CONFIG_SOC_TWAI_SUPPORTS_RX_STATUS=y CONFIG_SOC_UART_NUM=3 CONFIG_SOC_UART_HP_NUM=3 CONFIG_SOC_UART_FIFO_LEN=128 CONFIG_SOC_UART_BITRATE_MAX=5000000 CONFIG_SOC_UART_SUPPORT_FSM_TX_WAIT_SEND=y CONFIG_SOC_UART_SUPPORT_WAKEUP_INT=y CONFIG_SOC_UART_SUPPORT_APB_CLK=y CONFIG_SOC_UART_SUPPORT_RTC_CLK=y CONFIG_SOC_UART_SUPPORT_XTAL_CLK=y CONFIG_SOC_USB_OTG_PERIPH_NUM=1 CONFIG_SOC_SHA_DMA_MAX_BUFFER_SIZE=3968 CONFIG_SOC_SHA_SUPPORT_DMA=y CONFIG_SOC_SHA_SUPPORT_RESUME=y CONFIG_SOC_SHA_GDMA=y CONFIG_SOC_SHA_SUPPORT_SHA1=y CONFIG_SOC_SHA_SUPPORT_SHA224=y CONFIG_SOC_SHA_SUPPORT_SHA256=y CONFIG_SOC_SHA_SUPPORT_SHA384=y CONFIG_SOC_SHA_SUPPORT_SHA512=y CONFIG_SOC_SHA_SUPPORT_SHA512_224=y CONFIG_SOC_SHA_SUPPORT_SHA512_256=y CONFIG_SOC_SHA_SUPPORT_SHA512_T=y CONFIG_SOC_MPI_MEM_BLOCKS_NUM=4 CONFIG_SOC_MPI_OPERATIONS_NUM=3 CONFIG_SOC_RSA_MAX_BIT_LEN=4096 CONFIG_SOC_AES_SUPPORT_DMA=y CONFIG_SOC_AES_GDMA=y CONFIG_SOC_AES_SUPPORT_AES_128=y CONFIG_SOC_AES_SUPPORT_AES_256=y CONFIG_SOC_PM_SUPPORT_EXT0_WAKEUP=y CONFIG_SOC_PM_SUPPORT_EXT1_WAKEUP=y CONFIG_SOC_PM_SUPPORT_EXT_WAKEUP=y CONFIG_SOC_PM_SUPPORT_WIFI_WAKEUP=y CONFIG_SOC_PM_SUPPORT_BT_WAKEUP=y CONFIG_SOC_PM_SUPPORT_TOUCH_SENSOR_WAKEUP=y CONFIG_SOC_PM_SUPPORT_CPU_PD=y CONFIG_SOC_PM_SUPPORT_TAGMEM_PD=y CONFIG_SOC_PM_SUPPORT_RTC_PERIPH_PD=y CONFIG_SOC_PM_SUPPORT_RC_FAST_PD=y CONFIG_SOC_PM_SUPPORT_VDDSDIO_PD=y CONFIG_SOC_PM_SUPPORT_MAC_BB_PD=y CONFIG_SOC_PM_SUPPORT_MODEM_PD=y CONFIG_SOC_CONFIGURABLE_VDDSDIO_SUPPORTED=y CONFIG_SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY=y CONFIG_SOC_PM_CPU_RETENTION_BY_RTCCNTL=y CONFIG_SOC_PM_MODEM_RETENTION_BY_BACKUPDMA=y CONFIG_SOC_CLK_RC_FAST_D256_SUPPORTED=y CONFIG_SOC_RTC_SLOW_CLK_SUPPORT_RC_FAST_D256=y CONFIG_SOC_CLK_RC_FAST_SUPPORT_CALIBRATION=y CONFIG_SOC_CLK_XTAL32K_SUPPORTED=y CONFIG_SOC_EFUSE_DIS_DOWNLOAD_ICACHE=y CONFIG_SOC_EFUSE_DIS_DOWNLOAD_DCACHE=y CONFIG_SOC_EFUSE_HARD_DIS_JTAG=y CONFIG_SOC_EFUSE_DIS_USB_JTAG=y CONFIG_SOC_EFUSE_SOFT_DIS_JTAG=y CONFIG_SOC_EFUSE_DIS_DIRECT_BOOT=y CONFIG_SOC_EFUSE_DIS_ICACHE=y CONFIG_SOC_EFUSE_BLOCK9_KEY_PURPOSE_QUIRK=y CONFIG_SOC_SECURE_BOOT_V2_RSA=y CONFIG_SOC_EFUSE_SECURE_BOOT_KEY_DIGESTS=3 CONFIG_SOC_EFUSE_REVOKE_BOOT_KEY_DIGESTS=y CONFIG_SOC_SUPPORT_SECURE_BOOT_REVOKE_KEY=y CONFIG_SOC_FLASH_ENCRYPTED_XTS_AES_BLOCK_MAX=64 CONFIG_SOC_FLASH_ENCRYPTION_XTS_AES=y CONFIG_SOC_FLASH_ENCRYPTION_XTS_AES_OPTIONS=y CONFIG_SOC_FLASH_ENCRYPTION_XTS_AES_128=y CONFIG_SOC_FLASH_ENCRYPTION_XTS_AES_256=y CONFIG_SOC_MEMPROT_CPU_PREFETCH_PAD_SIZE=16 CONFIG_SOC_MEMPROT_MEM_ALIGN_SIZE=256 CONFIG_SOC_PHY_DIG_REGS_MEM_SIZE=21 CONFIG_SOC_MAC_BB_PD_MEM_SIZE=192 CONFIG_SOC_WIFI_LIGHT_SLEEP_CLK_WIDTH=12 CONFIG_SOC_SPI_MEM_SUPPORT_AUTO_WAIT_IDLE=y CONFIG_SOC_SPI_MEM_SUPPORT_AUTO_SUSPEND=y CONFIG_SOC_SPI_MEM_SUPPORT_AUTO_RESUME=y CONFIG_SOC_SPI_MEM_SUPPORT_SW_SUSPEND=y CONFIG_SOC_SPI_MEM_SUPPORT_OPI_MODE=y CONFIG_SOC_SPI_MEM_SUPPORT_TIMING_TUNING=y CONFIG_SOC_SPI_MEM_SUPPORT_CONFIG_GPIO_BY_EFUSE=y CONFIG_SOC_SPI_MEM_SUPPORT_WRAP=y CONFIG_SOC_MEMSPI_TIMING_TUNING_BY_MSPI_DELAY=y CONFIG_SOC_MEMSPI_CORE_CLK_SHARED_WITH_PSRAM=y CONFIG_SOC_SPI_MEM_SUPPORT_CACHE_32BIT_ADDR_MAP=y CONFIG_SOC_COEX_HW_PTI=y CONFIG_SOC_EXTERNAL_COEX_LEADER_TX_LINE=y CONFIG_SOC_SDMMC_USE_GPIO_MATRIX=y CONFIG_SOC_SDMMC_NUM_SLOTS=2 CONFIG_SOC_SDMMC_SUPPORT_XTAL_CLOCK=y CONFIG_SOC_SDMMC_DELAY_PHASE_NUM=4 CONFIG_SOC_TEMPERATURE_SENSOR_SUPPORT_FAST_RC=y CONFIG_SOC_WIFI_HW_TSF=y CONFIG_SOC_WIFI_FTM_SUPPORT=y CONFIG_SOC_WIFI_GCMP_SUPPORT=y CONFIG_SOC_WIFI_WAPI_SUPPORT=y CONFIG_SOC_WIFI_CSI_SUPPORT=y CONFIG_SOC_WIFI_MESH_SUPPORT=y CONFIG_SOC_WIFI_SUPPORT_VARIABLE_BEACON_WINDOW=y CONFIG_SOC_WIFI_PHY_NEEDS_USB_WORKAROUND=y CONFIG_SOC_BLE_SUPPORTED=y CONFIG_SOC_BLE_MESH_SUPPORTED=y CONFIG_SOC_BLE_50_SUPPORTED=y CONFIG_SOC_BLE_DEVICE_PRIVACY_SUPPORTED=y CONFIG_SOC_BLUFI_SUPPORTED=y CONFIG_SOC_ULP_HAS_ADC=y CONFIG_SOC_PHY_COMBO_MODULE=y CONFIG_IDF_CMAKE=y CONFIG_IDF_TOOLCHAIN="gcc" CONFIG_IDF_TARGET_ARCH_XTENSA=y CONFIG_IDF_TARGET_ARCH="xtensa" CONFIG_IDF_TARGET="esp32s3" CONFIG_IDF_INIT_VERSION="5.3.2" CONFIG_IDF_TARGET_ESP32S3=y CONFIG_IDF_FIRMWARE_CHIP_ID=0x0009 # # Build type # CONFIG_APP_BUILD_TYPE_APP_2NDBOOT=y # CONFIG_APP_BUILD_TYPE_RAM is not set CONFIG_APP_BUILD_GENERATE_BINARIES=y CONFIG_APP_BUILD_BOOTLOADER=y CONFIG_APP_BUILD_USE_FLASH_SECTIONS=y # CONFIG_APP_REPRODUCIBLE_BUILD is not set # CONFIG_APP_NO_BLOBS is not set # end of Build type # # Bootloader config # # # Bootloader manager # CONFIG_BOOTLOADER_COMPILE_TIME_DATE=y CONFIG_BOOTLOADER_PROJECT_VER=1 # end of Bootloader manager CONFIG_BOOTLOADER_OFFSET_IN_FLASH=0x0 CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y # CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set # CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF is not set # CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set # CONFIG_BOOTLOADER_LOG_LEVEL_NONE is not set # CONFIG_BOOTLOADER_LOG_LEVEL_ERROR is not set # CONFIG_BOOTLOADER_LOG_LEVEL_WARN is not set CONFIG_BOOTLOADER_LOG_LEVEL_INFO=y # CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG is not set # CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE is not set CONFIG_BOOTLOADER_LOG_LEVEL=3 # # Serial Flash Configurations # # CONFIG_BOOTLOADER_FLASH_DC_AWARE is not set CONFIG_BOOTLOADER_FLASH_XMC_SUPPORT=y # end of Serial Flash Configurations CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y # CONFIG_BOOTLOADER_FACTORY_RESET is not set # CONFIG_BOOTLOADER_APP_TEST is not set CONFIG_BOOTLOADER_REGION_PROTECTION_ENABLE=y CONFIG_BOOTLOADER_WDT_ENABLE=y # CONFIG_BOOTLOADER_WDT_DISABLE_IN_USER_CODE is not set CONFIG_BOOTLOADER_WDT_TIME_MS=9000 # CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is not set # CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not set # CONFIG_BOOTLOADER_SKIP_VALIDATE_ON_POWER_ON is not set # CONFIG_BOOTLOADER_SKIP_VALIDATE_ALWAYS is not set CONFIG_BOOTLOADER_RESERVE_RTC_SIZE=0 # CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC is not set # end of Bootloader config # # Security features # CONFIG_SECURE_BOOT_V2_RSA_SUPPORTED=y CONFIG_SECURE_BOOT_V2_PREFERRED=y # CONFIG_SECURE_SIGNED_APPS_NO_SECURE_BOOT is not set # CONFIG_SECURE_BOOT is not set # CONFIG_SECURE_FLASH_ENC_ENABLED is not set CONFIG_SECURE_ROM_DL_MODE_ENABLED=y # end of Security features # # Application manager # CONFIG_APP_COMPILE_TIME_DATE=y # CONFIG_APP_EXCLUDE_PROJECT_VER_VAR is not set # CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR is not set # CONFIG_APP_PROJECT_VER_FROM_CONFIG is not set CONFIG_APP_RETRIEVE_LEN_ELF_SHA=9 # end of Application manager CONFIG_ESP_ROM_HAS_CRC_LE=y CONFIG_ESP_ROM_HAS_CRC_BE=y CONFIG_ESP_ROM_HAS_MZ_CRC32=y CONFIG_ESP_ROM_HAS_JPEG_DECODE=y CONFIG_ESP_ROM_UART_CLK_IS_XTAL=y CONFIG_ESP_ROM_HAS_RETARGETABLE_LOCKING=y CONFIG_ESP_ROM_USB_OTG_NUM=3 CONFIG_ESP_ROM_USB_SERIAL_DEVICE_NUM=4 CONFIG_ESP_ROM_HAS_ERASE_0_REGION_BUG=y CONFIG_ESP_ROM_HAS_ENCRYPTED_WRITES_USING_LEGACY_DRV=y CONFIG_ESP_ROM_GET_CLK_FREQ=y CONFIG_ESP_ROM_HAS_HAL_WDT=y CONFIG_ESP_ROM_NEEDS_SWSETUP_WORKAROUND=y CONFIG_ESP_ROM_HAS_LAYOUT_TABLE=y CONFIG_ESP_ROM_HAS_SPI_FLASH=y CONFIG_ESP_ROM_HAS_ETS_PRINTF_BUG=y CONFIG_ESP_ROM_HAS_NEWLIB=y CONFIG_ESP_ROM_HAS_NEWLIB_NANO_FORMAT=y CONFIG_ESP_ROM_HAS_NEWLIB_32BIT_TIME=y CONFIG_ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE=y CONFIG_ESP_ROM_RAM_APP_NEEDS_MMU_INIT=y CONFIG_ESP_ROM_HAS_FLASH_COUNT_PAGES_BUG=y CONFIG_ESP_ROM_HAS_CACHE_SUSPEND_WAITI_BUG=y CONFIG_ESP_ROM_HAS_CACHE_WRITEBACK_BUG=y CONFIG_ESP_ROM_HAS_SW_FLOAT=y CONFIG_ESP_ROM_HAS_VERSION=y CONFIG_ESP_ROM_SUPPORT_DEEP_SLEEP_WAKEUP_STUB=y # # Boot ROM Behavior # CONFIG_BOOT_ROM_LOG_ALWAYS_ON=y # CONFIG_BOOT_ROM_LOG_ALWAYS_OFF is not set # CONFIG_BOOT_ROM_LOG_ON_GPIO_HIGH is not set # CONFIG_BOOT_ROM_LOG_ON_GPIO_LOW is not set # end of Boot ROM Behavior # # Serial flasher config # # CONFIG_ESPTOOLPY_NO_STUB is not set # CONFIG_ESPTOOLPY_OCT_FLASH is not set CONFIG_ESPTOOLPY_FLASH_MODE_AUTO_DETECT=y # CONFIG_ESPTOOLPY_FLASHMODE_QIO is not set # CONFIG_ESPTOOLPY_FLASHMODE_QOUT is not set CONFIG_ESPTOOLPY_FLASHMODE_DIO=y # CONFIG_ESPTOOLPY_FLASHMODE_DOUT is not set CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_STR=y CONFIG_ESPTOOLPY_FLASHMODE="dio" # CONFIG_ESPTOOLPY_FLASHFREQ_120M is not set CONFIG_ESPTOOLPY_FLASHFREQ_80M=y # CONFIG_ESPTOOLPY_FLASHFREQ_40M is not set # CONFIG_ESPTOOLPY_FLASHFREQ_20M is not set CONFIG_ESPTOOLPY_FLASHFREQ_80M_DEFAULT=y CONFIG_ESPTOOLPY_FLASHFREQ="80m" # CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set # CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y # CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set # CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set # CONFIG_ESPTOOLPY_FLASHSIZE_32MB is not set # CONFIG_ESPTOOLPY_FLASHSIZE_64MB is not set # CONFIG_ESPTOOLPY_FLASHSIZE_128MB is not set CONFIG_ESPTOOLPY_FLASHSIZE="4MB" # CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE is not set CONFIG_ESPTOOLPY_BEFORE_RESET=y # CONFIG_ESPTOOLPY_BEFORE_NORESET is not set CONFIG_ESPTOOLPY_BEFORE="default_reset" CONFIG_ESPTOOLPY_AFTER_RESET=y # CONFIG_ESPTOOLPY_AFTER_NORESET is not set CONFIG_ESPTOOLPY_AFTER="hard_reset" CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 # end of Serial flasher config # # Partition Table # # CONFIG_PARTITION_TABLE_SINGLE_APP is not set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y # CONFIG_PARTITION_TABLE_TWO_OTA is not set # CONFIG_PARTITION_TABLE_CUSTOM is not set CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp_large.csv" CONFIG_PARTITION_TABLE_OFFSET=0x8000 CONFIG_PARTITION_TABLE_MD5=y # end of Partition Table # # Compiler options # CONFIG_COMPILER_OPTIMIZATION_DEBUG=y # CONFIG_COMPILER_OPTIMIZATION_SIZE is not set # CONFIG_COMPILER_OPTIMIZATION_PERF is not set # CONFIG_COMPILER_OPTIMIZATION_NONE is not set CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set CONFIG_COMPILER_FLOAT_LIB_FROM_GCCLIB=y CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2 # CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is not set CONFIG_COMPILER_HIDE_PATHS_MACROS=y # CONFIG_COMPILER_CXX_EXCEPTIONS is not set # CONFIG_COMPILER_CXX_RTTI is not set CONFIG_COMPILER_STACK_CHECK_MODE_NONE=y # CONFIG_COMPILER_STACK_CHECK_MODE_NORM is not set # CONFIG_COMPILER_STACK_CHECK_MODE_STRONG is not set # CONFIG_COMPILER_STACK_CHECK_MODE_ALL is not set # CONFIG_COMPILER_WARN_WRITE_STRINGS is not set # CONFIG_COMPILER_DISABLE_GCC12_WARNINGS is not set # CONFIG_COMPILER_DISABLE_GCC13_WARNINGS is not set # CONFIG_COMPILER_DUMP_RTL_FILES is not set CONFIG_COMPILER_RT_LIB_GCCLIB=y CONFIG_COMPILER_RT_LIB_NAME="gcc" # CONFIG_COMPILER_ORPHAN_SECTIONS_WARNING is not set CONFIG_COMPILER_ORPHAN_SECTIONS_PLACE=y # end of Compiler options # # Component config # # # Application Level Tracing # # CONFIG_APPTRACE_DEST_JTAG is not set CONFIG_APPTRACE_DEST_NONE=y # CONFIG_APPTRACE_DEST_UART1 is not set # CONFIG_APPTRACE_DEST_UART2 is not set # CONFIG_APPTRACE_DEST_USB_CDC is not set CONFIG_APPTRACE_DEST_UART_NONE=y CONFIG_APPTRACE_UART_TASK_PRIO=1 CONFIG_APPTRACE_LOCK_ENABLE=y # end of Application Level Tracing # # Bluetooth # CONFIG_BT_ENABLED=y CONFIG_BT_BLUEDROID_ENABLED=y # CONFIG_BT_NIMBLE_ENABLED is not set # CONFIG_BT_CONTROLLER_ONLY is not set CONFIG_BT_CONTROLLER_ENABLED=y # CONFIG_BT_CONTROLLER_DISABLED is not set # # Bluedroid Options # CONFIG_BT_BTC_TASK_STACK_SIZE=3072 CONFIG_BT_BLUEDROID_PINNED_TO_CORE_0=y # CONFIG_BT_BLUEDROID_PINNED_TO_CORE_1 is not set CONFIG_BT_BLUEDROID_PINNED_TO_CORE=0 CONFIG_BT_BTU_TASK_STACK_SIZE=4352 # CONFIG_BT_BLUEDROID_MEM_DEBUG is not set CONFIG_BT_BLUEDROID_ESP_COEX_VSC=y CONFIG_BT_BLE_ENABLED=y CONFIG_BT_GATTS_ENABLE=y # CONFIG_BT_GATTS_PPCP_CHAR_GAP is not set # CONFIG_BT_BLE_BLUFI_ENABLE is not set CONFIG_BT_GATT_MAX_SR_PROFILES=8 CONFIG_BT_GATT_MAX_SR_ATTRIBUTES=100 # CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_MANUAL is not set CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_AUTO=y CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_MODE=0 # CONFIG_BT_GATTS_ROBUST_CACHING_ENABLED is not set # CONFIG_BT_GATTS_DEVICE_NAME_WRITABLE is not set # CONFIG_BT_GATTS_APPEARANCE_WRITABLE is not set CONFIG_BT_GATTC_ENABLE=y CONFIG_BT_GATTC_MAX_CACHE_CHAR=40 CONFIG_BT_GATTC_NOTIF_REG_MAX=5 # CONFIG_BT_GATTC_CACHE_NVS_FLASH is not set CONFIG_BT_GATTC_CONNECT_RETRY_COUNT=3 CONFIG_BT_BLE_SMP_ENABLE=y # CONFIG_BT_SMP_SLAVE_CON_PARAMS_UPD_ENABLE is not set # CONFIG_BT_BLE_SMP_ID_RESET_ENABLE is not set # CONFIG_BT_STACK_NO_LOG is not set # # BT DEBUG LOG LEVEL # # CONFIG_BT_LOG_HCI_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_HCI_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_HCI_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_HCI_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_HCI_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_HCI_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_HCI_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_HCI_TRACE_LEVEL=2 # CONFIG_BT_LOG_BTM_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_BTM_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_BTM_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_BTM_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_BTM_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_BTM_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_BTM_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_BTM_TRACE_LEVEL=2 # CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_L2CAP_TRACE_LEVEL=2 # CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL=2 # CONFIG_BT_LOG_SDP_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_SDP_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_SDP_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_SDP_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_SDP_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_SDP_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_SDP_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_SDP_TRACE_LEVEL=2 # CONFIG_BT_LOG_GAP_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_GAP_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_GAP_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_GAP_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_GAP_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_GAP_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_GAP_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_GAP_TRACE_LEVEL=2 # CONFIG_BT_LOG_BNEP_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_BNEP_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_BNEP_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_BNEP_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_BNEP_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_BNEP_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_BNEP_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_BNEP_TRACE_LEVEL=2 # CONFIG_BT_LOG_PAN_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_PAN_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_PAN_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_PAN_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_PAN_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_PAN_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_PAN_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_PAN_TRACE_LEVEL=2 # CONFIG_BT_LOG_A2D_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_A2D_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_A2D_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_A2D_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_A2D_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_A2D_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_A2D_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_A2D_TRACE_LEVEL=2 # CONFIG_BT_LOG_AVDT_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_AVDT_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_AVDT_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_AVDT_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_AVDT_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_AVDT_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_AVDT_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_AVDT_TRACE_LEVEL=2 # CONFIG_BT_LOG_AVCT_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_AVCT_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_AVCT_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_AVCT_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_AVCT_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_AVCT_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_AVCT_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_AVCT_TRACE_LEVEL=2 # CONFIG_BT_LOG_AVRC_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_AVRC_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_AVRC_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_AVRC_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_AVRC_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_AVRC_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_AVRC_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_AVRC_TRACE_LEVEL=2 # CONFIG_BT_LOG_MCA_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_MCA_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_MCA_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_MCA_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_MCA_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_MCA_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_MCA_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_MCA_TRACE_LEVEL=2 # CONFIG_BT_LOG_HID_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_HID_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_HID_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_HID_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_HID_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_HID_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_HID_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_HID_TRACE_LEVEL=2 # CONFIG_BT_LOG_APPL_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_APPL_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_APPL_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_APPL_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_APPL_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_APPL_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_APPL_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_APPL_TRACE_LEVEL=2 # CONFIG_BT_LOG_GATT_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_GATT_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_GATT_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_GATT_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_GATT_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_GATT_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_GATT_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_GATT_TRACE_LEVEL=2 # CONFIG_BT_LOG_SMP_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_SMP_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_SMP_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_SMP_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_SMP_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_SMP_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_SMP_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_SMP_TRACE_LEVEL=2 # CONFIG_BT_LOG_BTIF_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_BTIF_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_BTIF_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_BTIF_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_BTIF_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_BTIF_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_BTIF_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_BTIF_TRACE_LEVEL=2 # CONFIG_BT_LOG_BTC_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_BTC_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_BTC_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_BTC_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_BTC_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_BTC_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_BTC_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_BTC_TRACE_LEVEL=2 # CONFIG_BT_LOG_OSI_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_OSI_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_OSI_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_OSI_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_OSI_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_OSI_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_OSI_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_OSI_TRACE_LEVEL=2 # CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_NONE is not set # CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_ERROR is not set CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_WARNING=y # CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_API is not set # CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_EVENT is not set # CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_DEBUG is not set # CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_VERBOSE is not set CONFIG_BT_LOG_BLUFI_TRACE_LEVEL=2 # end of BT DEBUG LOG LEVEL CONFIG_BT_ACL_CONNECTIONS=4 CONFIG_BT_MULTI_CONNECTION_ENBALE=y # CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST is not set # CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is not set # CONFIG_BT_BLE_HOST_QUEUE_CONG_CHECK is not set CONFIG_BT_SMP_ENABLE=y CONFIG_BT_SMP_MAX_BONDS=15 # CONFIG_BT_BLE_ACT_SCAN_REP_ADV_SCAN is not set CONFIG_BT_BLE_ESTAB_LINK_CONN_TOUT=30 CONFIG_BT_MAX_DEVICE_NAME_LEN=32 CONFIG_BT_BLE_RPA_TIMEOUT=900 # CONFIG_BT_BLE_50_FEATURES_SUPPORTED is not set CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y # CONFIG_BT_BLE_HIGH_DUTY_ADV_INTERVAL is not set # CONFIG_BT_ABORT_WHEN_ALLOCATION_FAILS is not set # end of Bluedroid Options # # Controller Options # CONFIG_BT_CTRL_MODE_EFF=1 CONFIG_BT_CTRL_BLE_MAX_ACT=6 CONFIG_BT_CTRL_BLE_MAX_ACT_EFF=6 CONFIG_BT_CTRL_BLE_STATIC_ACL_TX_BUF_NB=0 CONFIG_BT_CTRL_PINNED_TO_CORE_0=y # CONFIG_BT_CTRL_PINNED_TO_CORE_1 is not set CONFIG_BT_CTRL_PINNED_TO_CORE=0 CONFIG_BT_CTRL_HCI_MODE_VHCI=y # CONFIG_BT_CTRL_HCI_MODE_UART_H4 is not set CONFIG_BT_CTRL_HCI_TL=1 CONFIG_BT_CTRL_ADV_DUP_FILT_MAX=30 CONFIG_BT_BLE_CCA_MODE_NONE=y # CONFIG_BT_BLE_CCA_MODE_HW is not set # CONFIG_BT_BLE_CCA_MODE_SW is not set CONFIG_BT_BLE_CCA_MODE=0 CONFIG_BT_CTRL_HW_CCA_VAL=20 CONFIG_BT_CTRL_HW_CCA_EFF=0 CONFIG_BT_CTRL_CE_LENGTH_TYPE_ORIG=y # CONFIG_BT_CTRL_CE_LENGTH_TYPE_CE is not set # CONFIG_BT_CTRL_CE_LENGTH_TYPE_SD is not set CONFIG_BT_CTRL_CE_LENGTH_TYPE_EFF=0 CONFIG_BT_CTRL_TX_ANTENNA_INDEX_0=y # CONFIG_BT_CTRL_TX_ANTENNA_INDEX_1 is not set CONFIG_BT_CTRL_TX_ANTENNA_INDEX_EFF=0 CONFIG_BT_CTRL_RX_ANTENNA_INDEX_0=y # CONFIG_BT_CTRL_RX_ANTENNA_INDEX_1 is not set CONFIG_BT_CTRL_RX_ANTENNA_INDEX_EFF=0 # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_N24 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_N21 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_N18 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_N15 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_N12 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_N9 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_N6 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_N3 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_N0 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_P3 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_P6 is not set CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_P9=y # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_P12 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_P15 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_P18 is not set # CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_P20 is not set CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_EFF=11 CONFIG_BT_CTRL_BLE_ADV_REPORT_FLOW_CTRL_SUPP=y CONFIG_BT_CTRL_BLE_ADV_REPORT_FLOW_CTRL_NUM=100 CONFIG_BT_CTRL_BLE_ADV_REPORT_DISCARD_THRSHOLD=20 CONFIG_BT_CTRL_BLE_SCAN_DUPL=y CONFIG_BT_CTRL_SCAN_DUPL_TYPE_DEVICE=y # CONFIG_BT_CTRL_SCAN_DUPL_TYPE_DATA is not set # CONFIG_BT_CTRL_SCAN_DUPL_TYPE_DATA_DEVICE is not set CONFIG_BT_CTRL_SCAN_DUPL_TYPE=0 CONFIG_BT_CTRL_SCAN_DUPL_CACHE_SIZE=100 CONFIG_BT_CTRL_DUPL_SCAN_CACHE_REFRESH_PERIOD=0 # CONFIG_BT_CTRL_BLE_MESH_SCAN_DUPL_EN is not set # CONFIG_BT_CTRL_COEX_PHY_CODED_TX_RX_TLIM_EN is not set CONFIG_BT_CTRL_COEX_PHY_CODED_TX_RX_TLIM_DIS=y CONFIG_BT_CTRL_COEX_PHY_CODED_TX_RX_TLIM_EFF=0 # # MODEM SLEEP Options # # CONFIG_BT_CTRL_MODEM_SLEEP is not set # end of MODEM SLEEP Options CONFIG_BT_CTRL_SLEEP_MODE_EFF=0 CONFIG_BT_CTRL_SLEEP_CLOCK_EFF=0 CONFIG_BT_CTRL_HCI_TL_EFF=1 # CONFIG_BT_CTRL_AGC_RECORRECT_EN is not set # CONFIG_BT_CTRL_SCAN_BACKOFF_UPPERLIMITMAX is not set # CONFIG_BT_BLE_ADV_DATA_LENGTH_ZERO_AUX is not set CONFIG_BT_CTRL_CHAN_ASS_EN=y CONFIG_BT_CTRL_LE_PING_EN=y # # BLE disconnect when instant passed # # CONFIG_BT_CTRL_BLE_LLCP_CONN_UPDATE is not set # CONFIG_BT_CTRL_BLE_LLCP_CHAN_MAP_UPDATE is not set # CONFIG_BT_CTRL_BLE_LLCP_PHY_UPDATE is not set # end of BLE disconnect when instant passed # CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY is not set # end of Controller Options # # Common Options # CONFIG_BT_ALARM_MAX_NUM=50 # end of Common Options # CONFIG_BT_HCI_LOG_DEBUG_EN is not set # end of Bluetooth # CONFIG_BLE_MESH is not set # # Console Library # # CONFIG_CONSOLE_SORTED_HELP is not set # end of Console Library # # Driver Configurations # # # TWAI Configuration # # CONFIG_TWAI_ISR_IN_IRAM is not set CONFIG_TWAI_ERRATA_FIX_LISTEN_ONLY_DOM=y # end of TWAI Configuration # # Legacy ADC Driver Configuration # # CONFIG_ADC_SUPPRESS_DEPRECATE_WARN is not set # # Legacy ADC Calibration Configuration # # CONFIG_ADC_CALI_SUPPRESS_DEPRECATE_WARN is not set # end of Legacy ADC Calibration Configuration # end of Legacy ADC Driver Configuration # # Legacy MCPWM Driver Configurations # # CONFIG_MCPWM_SUPPRESS_DEPRECATE_WARN is not set # end of Legacy MCPWM Driver Configurations # # Legacy Timer Group Driver Configurations # # CONFIG_GPTIMER_SUPPRESS_DEPRECATE_WARN is not set # end of Legacy Timer Group Driver Configurations # # Legacy RMT Driver Configurations # # CONFIG_RMT_SUPPRESS_DEPRECATE_WARN is not set # end of Legacy RMT Driver Configurations # # Legacy I2S Driver Configurations # # CONFIG_I2S_SUPPRESS_DEPRECATE_WARN is not set # end of Legacy I2S Driver Configurations # # Legacy PCNT Driver Configurations # # CONFIG_PCNT_SUPPRESS_DEPRECATE_WARN is not set # end of Legacy PCNT Driver Configurations # # Legacy SDM Driver Configurations # # CONFIG_SDM_SUPPRESS_DEPRECATE_WARN is not set # end of Legacy SDM Driver Configurations # # Legacy Temperature Sensor Driver Configurations # # CONFIG_TEMP_SENSOR_SUPPRESS_DEPRECATE_WARN is not set # end of Legacy Temperature Sensor Driver Configurations # end of Driver Configurations # # eFuse Bit Manager # # CONFIG_EFUSE_CUSTOM_TABLE is not set # CONFIG_EFUSE_VIRTUAL is not set CONFIG_EFUSE_MAX_BLK_LEN=256 # end of eFuse Bit Manager # # ESP-TLS # CONFIG_ESP_TLS_USING_MBEDTLS=y CONFIG_ESP_TLS_USE_DS_PERIPHERAL=y # CONFIG_ESP_TLS_CLIENT_SESSION_TICKETS is not set # CONFIG_ESP_TLS_SERVER_SESSION_TICKETS is not set # CONFIG_ESP_TLS_SERVER_CERT_SELECT_HOOK is not set # CONFIG_ESP_TLS_SERVER_MIN_AUTH_MODE_OPTIONAL is not set # CONFIG_ESP_TLS_PSK_VERIFICATION is not set # CONFIG_ESP_TLS_INSECURE is not set # end of ESP-TLS # # ADC and ADC Calibration # # CONFIG_ADC_ONESHOT_CTRL_FUNC_IN_IRAM is not set # CONFIG_ADC_CONTINUOUS_ISR_IRAM_SAFE is not set # CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 is not set # CONFIG_ADC_ENABLE_DEBUG_LOG is not set # end of ADC and ADC Calibration # # Wireless Coexistence # CONFIG_ESP_COEX_ENABLED=y CONFIG_ESP_COEX_SW_COEXIST_ENABLE=y # CONFIG_ESP_COEX_POWER_MANAGEMENT is not set # CONFIG_ESP_COEX_GPIO_DEBUG is not set # end of Wireless Coexistence # # Common ESP-related # CONFIG_ESP_ERR_TO_NAME_LOOKUP=y # end of Common ESP-related # # ESP-Driver:GPIO Configurations # # CONFIG_GPIO_CTRL_FUNC_IN_IRAM is not set # end of ESP-Driver:GPIO Configurations # # ESP-Driver:GPTimer Configurations # CONFIG_GPTIMER_ISR_HANDLER_IN_IRAM=y # CONFIG_GPTIMER_CTRL_FUNC_IN_IRAM is not set # CONFIG_GPTIMER_ISR_IRAM_SAFE is not set # CONFIG_GPTIMER_ENABLE_DEBUG_LOG is not set # end of ESP-Driver:GPTimer Configurations # # ESP-Driver:I2C Configurations # # CONFIG_I2C_ISR_IRAM_SAFE is not set # CONFIG_I2C_ENABLE_DEBUG_LOG is not set # end of ESP-Driver:I2C Configurations # # ESP-Driver:I2S Configurations # # CONFIG_I2S_ISR_IRAM_SAFE is not set # CONFIG_I2S_ENABLE_DEBUG_LOG is not set # end of ESP-Driver:I2S Configurations # # ESP-Driver:LEDC Configurations # # CONFIG_LEDC_CTRL_FUNC_IN_IRAM is not set # end of ESP-Driver:LEDC Configurations # # ESP-Driver:MCPWM Configurations # # CONFIG_MCPWM_ISR_IRAM_SAFE is not set # CONFIG_MCPWM_CTRL_FUNC_IN_IRAM is not set # CONFIG_MCPWM_ENABLE_DEBUG_LOG is not set # end of ESP-Driver:MCPWM Configurations # # ESP-Driver:PCNT Configurations # # CONFIG_PCNT_CTRL_FUNC_IN_IRAM is not set # CONFIG_PCNT_ISR_IRAM_SAFE is not set # CONFIG_PCNT_ENABLE_DEBUG_LOG is not set # end of ESP-Driver:PCNT Configurations # # ESP-Driver:RMT Configurations # # CONFIG_RMT_ISR_IRAM_SAFE is not set # CONFIG_RMT_RECV_FUNC_IN_IRAM is not set # CONFIG_RMT_ENABLE_DEBUG_LOG is not set # end of ESP-Driver:RMT Configurations # # ESP-Driver:Sigma Delta Modulator Configurations # # CONFIG_SDM_CTRL_FUNC_IN_IRAM is not set # CONFIG_SDM_ENABLE_DEBUG_LOG is not set # end of ESP-Driver:Sigma Delta Modulator Configurations # # ESP-Driver:SPI Configurations # # CONFIG_SPI_MASTER_IN_IRAM is not set CONFIG_SPI_MASTER_ISR_IN_IRAM=y # CONFIG_SPI_SLAVE_IN_IRAM is not set CONFIG_SPI_SLAVE_ISR_IN_IRAM=y # end of ESP-Driver:SPI Configurations # # ESP-Driver:Touch Sensor Configurations # # CONFIG_TOUCH_CTRL_FUNC_IN_IRAM is not set # CONFIG_TOUCH_ISR_IRAM_SAFE is not set # CONFIG_TOUCH_ENABLE_DEBUG_LOG is not set # end of ESP-Driver:Touch Sensor Configurations # # ESP-Driver:Temperature Sensor Configurations # # CONFIG_TEMP_SENSOR_ENABLE_DEBUG_LOG is not set # end of ESP-Driver:Temperature Sensor Configurations # # ESP-Driver:UART Configurations # # CONFIG_UART_ISR_IN_IRAM is not set # end of ESP-Driver:UART Configurations # # ESP-Driver:USB Serial/JTAG Configuration # CONFIG_USJ_ENABLE_USB_SERIAL_JTAG=y # end of ESP-Driver:USB Serial/JTAG Configuration # # Ethernet # CONFIG_ETH_ENABLED=y CONFIG_ETH_USE_SPI_ETHERNET=y # CONFIG_ETH_SPI_ETHERNET_DM9051 is not set # CONFIG_ETH_SPI_ETHERNET_W5500 is not set # CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set # CONFIG_ETH_USE_OPENETH is not set # CONFIG_ETH_TRANSMIT_MUTEX is not set # end of Ethernet # # Event Loop Library # # CONFIG_ESP_EVENT_LOOP_PROFILING is not set CONFIG_ESP_EVENT_POST_FROM_ISR=y CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR=y # end of Event Loop Library # # GDB Stub # CONFIG_ESP_GDBSTUB_ENABLED=y # CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME is not set CONFIG_ESP_GDBSTUB_SUPPORT_TASKS=y CONFIG_ESP_GDBSTUB_MAX_TASKS=32 # end of GDB Stub # # ESP HTTP client # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=y # CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH is not set # CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH is not set # CONFIG_ESP_HTTP_CLIENT_ENABLE_CUSTOM_TRANSPORT is not set # end of ESP HTTP client # # HTTP Server # CONFIG_HTTPD_MAX_REQ_HDR_LEN=512 CONFIG_HTTPD_MAX_URI_LEN=512 CONFIG_HTTPD_ERR_RESP_NO_DELAY=y CONFIG_HTTPD_PURGE_BUF_LEN=32 # CONFIG_HTTPD_LOG_PURGE_DATA is not set # CONFIG_HTTPD_WS_SUPPORT is not set # CONFIG_HTTPD_QUEUE_WORK_BLOCKING is not set # end of HTTP Server # # ESP HTTPS OTA # # CONFIG_ESP_HTTPS_OTA_DECRYPT_CB is not set # CONFIG_ESP_HTTPS_OTA_ALLOW_HTTP is not set # end of ESP HTTPS OTA # # ESP HTTPS server # # CONFIG_ESP_HTTPS_SERVER_ENABLE is not set # end of ESP HTTPS server # # Hardware Settings # # # Chip revision # CONFIG_ESP32S3_REV_MIN_0=y # CONFIG_ESP32S3_REV_MIN_1 is not set # CONFIG_ESP32S3_REV_MIN_2 is not set CONFIG_ESP32S3_REV_MIN_FULL=0 CONFIG_ESP_REV_MIN_FULL=0 # # Maximum Supported ESP32-S3 Revision (Rev v0.99) # CONFIG_ESP32S3_REV_MAX_FULL=99 CONFIG_ESP_REV_MAX_FULL=99 CONFIG_ESP_EFUSE_BLOCK_REV_MIN_FULL=0 CONFIG_ESP_EFUSE_BLOCK_REV_MAX_FULL=199 # # Maximum Supported ESP32-S3 eFuse Block Revision (eFuse Block Rev v1.99) # # end of Chip revision # # MAC Config # CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_STA=y CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_AP=y CONFIG_ESP_MAC_ADDR_UNIVERSE_BT=y CONFIG_ESP_MAC_ADDR_UNIVERSE_ETH=y CONFIG_ESP_MAC_UNIVERSAL_MAC_ADDRESSES_FOUR=y CONFIG_ESP_MAC_UNIVERSAL_MAC_ADDRESSES=4 # CONFIG_ESP32S3_UNIVERSAL_MAC_ADDRESSES_TWO is not set CONFIG_ESP32S3_UNIVERSAL_MAC_ADDRESSES_FOUR=y CONFIG_ESP32S3_UNIVERSAL_MAC_ADDRESSES=4 # CONFIG_ESP_MAC_USE_CUSTOM_MAC_AS_BASE_MAC is not set # end of MAC Config # # Sleep Config # CONFIG_ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND=y CONFIG_ESP_SLEEP_PSRAM_LEAKAGE_WORKAROUND=y CONFIG_ESP_SLEEP_MSPI_NEED_ALL_IO_PU=y CONFIG_ESP_SLEEP_RTC_BUS_ISO_WORKAROUND=y CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND=y CONFIG_ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY=2000 # CONFIG_ESP_SLEEP_CACHE_SAFE_ASSERTION is not set # CONFIG_ESP_SLEEP_DEBUG is not set CONFIG_ESP_SLEEP_GPIO_ENABLE_INTERNAL_RESISTORS=y # end of Sleep Config # # RTC Clock Config # CONFIG_RTC_CLK_SRC_INT_RC=y # CONFIG_RTC_CLK_SRC_EXT_CRYS is not set # CONFIG_RTC_CLK_SRC_EXT_OSC is not set # CONFIG_RTC_CLK_SRC_INT_8MD256 is not set CONFIG_RTC_CLK_CAL_CYCLES=1024 # end of RTC Clock Config # # Peripheral Control # CONFIG_PERIPH_CTRL_FUNC_IN_IRAM=y # end of Peripheral Control # # GDMA Configurations # CONFIG_GDMA_CTRL_FUNC_IN_IRAM=y # CONFIG_GDMA_ISR_IRAM_SAFE is not set # CONFIG_GDMA_ENABLE_DEBUG_LOG is not set # end of GDMA Configurations # # Main XTAL Config # CONFIG_XTAL_FREQ_40=y CONFIG_XTAL_FREQ=40 # end of Main XTAL Config CONFIG_ESP_SPI_BUS_LOCK_ISR_FUNCS_IN_IRAM=y # end of Hardware Settings # # LCD and Touch Panel # # # LCD Touch Drivers are maintained in the IDF Component Registry # # # LCD Peripheral Configuration # # CONFIG_LCD_ENABLE_DEBUG_LOG is not set # CONFIG_LCD_RGB_ISR_IRAM_SAFE is not set # CONFIG_LCD_RGB_RESTART_IN_VSYNC is not set # end of LCD Peripheral Configuration # end of LCD and Touch Panel # # ESP NETIF Adapter # CONFIG_ESP_NETIF_IP_LOST_TIMER_INTERVAL=120 CONFIG_ESP_NETIF_TCPIP_LWIP=y # CONFIG_ESP_NETIF_LOOPBACK is not set CONFIG_ESP_NETIF_USES_TCPIP_WITH_BSD_API=y # CONFIG_ESP_NETIF_RECEIVE_REPORT_ERRORS is not set # CONFIG_ESP_NETIF_L2_TAP is not set # CONFIG_ESP_NETIF_BRIDGE_EN is not set # CONFIG_ESP_NETIF_SET_DNS_PER_DEFAULT_NETIF is not set # end of ESP NETIF Adapter # # Partition API Configuration # # end of Partition API Configuration # # PHY # CONFIG_ESP_PHY_ENABLED=y CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=y # CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION is not set CONFIG_ESP_PHY_MAX_WIFI_TX_POWER=20 CONFIG_ESP_PHY_MAX_TX_POWER=20 # CONFIG_ESP_PHY_REDUCE_TX_POWER is not set CONFIG_ESP_PHY_ENABLE_USB=y # CONFIG_ESP_PHY_ENABLE_CERT_TEST is not set CONFIG_ESP_PHY_RF_CAL_PARTIAL=y # CONFIG_ESP_PHY_RF_CAL_NONE is not set # CONFIG_ESP_PHY_RF_CAL_FULL is not set CONFIG_ESP_PHY_CALIBRATION_MODE=0 # CONFIG_ESP_PHY_PLL_TRACK_DEBUG is not set # end of PHY # # Power Management # # CONFIG_PM_ENABLE is not set # CONFIG_PM_SLP_IRAM_OPT is not set CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP=y CONFIG_PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP=y # end of Power Management # # ESP PSRAM # CONFIG_SPIRAM=y # # SPI RAM config # CONFIG_SPIRAM_MODE_QUAD=y # CONFIG_SPIRAM_MODE_OCT is not set CONFIG_SPIRAM_TYPE_AUTO=y # CONFIG_SPIRAM_TYPE_ESPPSRAM16 is not set # CONFIG_SPIRAM_TYPE_ESPPSRAM32 is not set # CONFIG_SPIRAM_TYPE_ESPPSRAM64 is not set CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y CONFIG_SPIRAM_CLK_IO=30 CONFIG_SPIRAM_CS_IO=26 # CONFIG_SPIRAM_XIP_FROM_PSRAM is not set # CONFIG_SPIRAM_FETCH_INSTRUCTIONS is not set # CONFIG_SPIRAM_RODATA is not set # CONFIG_SPIRAM_SPEED_120M is not set # CONFIG_SPIRAM_SPEED_80M is not set CONFIG_SPIRAM_SPEED_40M=y CONFIG_SPIRAM_SPEED=40 CONFIG_SPIRAM_BOOT_INIT=y # CONFIG_SPIRAM_IGNORE_NOTFOUND is not set # CONFIG_SPIRAM_USE_MEMMAP is not set # CONFIG_SPIRAM_USE_CAPS_ALLOC is not set CONFIG_SPIRAM_USE_MALLOC=y CONFIG_SPIRAM_MEMTEST=y CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=16384 # CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP is not set CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768 # CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set # CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY is not set # end of SPI RAM config # end of ESP PSRAM # # ESP Ringbuf # # CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH is not set # end of ESP Ringbuf # # ESP System Settings # # CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_80 is not set # CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_160 is not set CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ=240 # # Cache config # CONFIG_ESP32S3_INSTRUCTION_CACHE_16KB=y # CONFIG_ESP32S3_INSTRUCTION_CACHE_32KB is not set CONFIG_ESP32S3_INSTRUCTION_CACHE_SIZE=0x4000 # CONFIG_ESP32S3_INSTRUCTION_CACHE_4WAYS is not set CONFIG_ESP32S3_INSTRUCTION_CACHE_8WAYS=y CONFIG_ESP32S3_ICACHE_ASSOCIATED_WAYS=8 # CONFIG_ESP32S3_INSTRUCTION_CACHE_LINE_16B is not set CONFIG_ESP32S3_INSTRUCTION_CACHE_LINE_32B=y CONFIG_ESP32S3_INSTRUCTION_CACHE_LINE_SIZE=32 # CONFIG_ESP32S3_DATA_CACHE_16KB is not set CONFIG_ESP32S3_DATA_CACHE_32KB=y # CONFIG_ESP32S3_DATA_CACHE_64KB is not set CONFIG_ESP32S3_DATA_CACHE_SIZE=0x8000 # CONFIG_ESP32S3_DATA_CACHE_4WAYS is not set CONFIG_ESP32S3_DATA_CACHE_8WAYS=y CONFIG_ESP32S3_DCACHE_ASSOCIATED_WAYS=8 # CONFIG_ESP32S3_DATA_CACHE_LINE_16B is not set CONFIG_ESP32S3_DATA_CACHE_LINE_32B=y # CONFIG_ESP32S3_DATA_CACHE_LINE_64B is not set CONFIG_ESP32S3_DATA_CACHE_LINE_SIZE=32 # end of Cache config # # Memory # # CONFIG_ESP32S3_RTCDATA_IN_FAST_MEM is not set # CONFIG_ESP32S3_USE_FIXED_STATIC_RAM_SIZE is not set # end of Memory # # Trace memory # # CONFIG_ESP32S3_TRAX is not set CONFIG_ESP32S3_TRACEMEM_RESERVE_DRAM=0x0 # end of Trace memory # CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT is not set CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT is not set # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_PANIC_REBOOT_DELAY_SECONDS=0 CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y # # Memory protection # CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=y CONFIG_ESP_SYSTEM_MEMPROT_FEATURE_LOCK=y # end of Memory protection CONFIG_ESP_SYSTEM_EVENT_QUEUE_SIZE=32 CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=2304 CONFIG_ESP_MAIN_TASK_STACK_SIZE=3584 CONFIG_ESP_MAIN_TASK_AFFINITY_CPU0=y # CONFIG_ESP_MAIN_TASK_AFFINITY_CPU1 is not set # CONFIG_ESP_MAIN_TASK_AFFINITY_NO_AFFINITY is not set CONFIG_ESP_MAIN_TASK_AFFINITY=0x0 CONFIG_ESP_MINIMAL_SHARED_STACK_SIZE=2048 CONFIG_ESP_CONSOLE_UART_DEFAULT=y # CONFIG_ESP_CONSOLE_USB_CDC is not set # CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG is not set # CONFIG_ESP_CONSOLE_UART_CUSTOM is not set # CONFIG_ESP_CONSOLE_NONE is not set # CONFIG_ESP_CONSOLE_SECONDARY_NONE is not set CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG=y CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG_ENABLED=y CONFIG_ESP_CONSOLE_UART=y CONFIG_ESP_CONSOLE_UART_NUM=0 CONFIG_ESP_CONSOLE_ROM_SERIAL_PORT_NUM=0 CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200 CONFIG_ESP_INT_WDT=y CONFIG_ESP_INT_WDT_TIMEOUT_MS=300 CONFIG_ESP_INT_WDT_CHECK_CPU1=y CONFIG_ESP_TASK_WDT_EN=y CONFIG_ESP_TASK_WDT_INIT=y # CONFIG_ESP_TASK_WDT_PANIC is not set CONFIG_ESP_TASK_WDT_TIMEOUT_S=5 CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=y CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=y # CONFIG_ESP_PANIC_HANDLER_IRAM is not set # CONFIG_ESP_DEBUG_STUBS_ENABLE is not set CONFIG_ESP_DEBUG_OCDAWARE=y CONFIG_ESP_SYSTEM_CHECK_INT_LEVEL_4=y # # Brownout Detector # CONFIG_ESP_BROWNOUT_DET=y CONFIG_ESP_BROWNOUT_DET_LVL_SEL_7=y # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_6 is not set # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_5 is not set # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_4 is not set # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_3 is not set # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_2 is not set # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_1 is not set CONFIG_ESP_BROWNOUT_DET_LVL=7 # end of Brownout Detector CONFIG_ESP_SYSTEM_BROWNOUT_INTR=y CONFIG_ESP_SYSTEM_BBPLL_RECALIB=y # end of ESP System Settings # # IPC (Inter-Processor Call) # CONFIG_ESP_IPC_TASK_STACK_SIZE=1280 CONFIG_ESP_IPC_USES_CALLERS_PRIORITY=y CONFIG_ESP_IPC_ISR_ENABLE=y # end of IPC (Inter-Processor Call) # # ESP Timer (High Resolution Timer) # # CONFIG_ESP_TIMER_PROFILING is not set CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER=y CONFIG_ESP_TIME_FUNCS_USE_ESP_TIMER=y CONFIG_ESP_TIMER_TASK_STACK_SIZE=3584 CONFIG_ESP_TIMER_INTERRUPT_LEVEL=1 # CONFIG_ESP_TIMER_SHOW_EXPERIMENTAL is not set CONFIG_ESP_TIMER_TASK_AFFINITY=0x0 CONFIG_ESP_TIMER_TASK_AFFINITY_CPU0=y CONFIG_ESP_TIMER_ISR_AFFINITY_CPU0=y # CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD is not set CONFIG_ESP_TIMER_IMPL_SYSTIMER=y # end of ESP Timer (High Resolution Timer) # # Wi-Fi # CONFIG_ESP_WIFI_ENABLED=y CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM=10 CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=32 CONFIG_ESP_WIFI_STATIC_TX_BUFFER=y CONFIG_ESP_WIFI_TX_BUFFER_TYPE=0 CONFIG_ESP_WIFI_STATIC_TX_BUFFER_NUM=16 CONFIG_ESP_WIFI_CACHE_TX_BUFFER_NUM=32 CONFIG_ESP_WIFI_STATIC_RX_MGMT_BUFFER=y # CONFIG_ESP_WIFI_DYNAMIC_RX_MGMT_BUFFER is not set CONFIG_ESP_WIFI_DYNAMIC_RX_MGMT_BUF=0 CONFIG_ESP_WIFI_RX_MGMT_BUF_NUM_DEF=5 # CONFIG_ESP_WIFI_CSI_ENABLED is not set CONFIG_ESP_WIFI_AMPDU_TX_ENABLED=y CONFIG_ESP_WIFI_TX_BA_WIN=6 CONFIG_ESP_WIFI_AMPDU_RX_ENABLED=y CONFIG_ESP_WIFI_RX_BA_WIN=6 # CONFIG_ESP_WIFI_AMSDU_TX_ENABLED is not set CONFIG_ESP_WIFI_NVS_ENABLED=y CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_0=y # CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1 is not set CONFIG_ESP_WIFI_SOFTAP_BEACON_MAX_LEN=752 CONFIG_ESP_WIFI_MGMT_SBUF_NUM=32 CONFIG_ESP_WIFI_IRAM_OPT=y # CONFIG_ESP_WIFI_EXTRA_IRAM_OPT is not set CONFIG_ESP_WIFI_RX_IRAM_OPT=y CONFIG_ESP_WIFI_ENABLE_WPA3_SAE=y CONFIG_ESP_WIFI_ENABLE_SAE_PK=y CONFIG_ESP_WIFI_SOFTAP_SAE_SUPPORT=y CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA=y # CONFIG_ESP_WIFI_SLP_IRAM_OPT is not set CONFIG_ESP_WIFI_SLP_DEFAULT_MIN_ACTIVE_TIME=50 CONFIG_ESP_WIFI_SLP_DEFAULT_MAX_ACTIVE_TIME=10 CONFIG_ESP_WIFI_SLP_DEFAULT_WAIT_BROADCAST_DATA_TIME=15 # CONFIG_ESP_WIFI_FTM_ENABLE is not set CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE=y # CONFIG_ESP_WIFI_GCMP_SUPPORT is not set CONFIG_ESP_WIFI_GMAC_SUPPORT=y CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y # CONFIG_ESP_WIFI_SLP_BEACON_LOST_OPT is not set CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7 CONFIG_ESP_WIFI_MBEDTLS_CRYPTO=y CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT=y # CONFIG_ESP_WIFI_WAPI_PSK is not set # CONFIG_ESP_WIFI_SUITE_B_192 is not set # CONFIG_ESP_WIFI_11KV_SUPPORT is not set # CONFIG_ESP_WIFI_MBO_SUPPORT is not set # CONFIG_ESP_WIFI_DPP_SUPPORT is not set # CONFIG_ESP_WIFI_11R_SUPPORT is not set # CONFIG_ESP_WIFI_WPS_SOFTAP_REGISTRAR is not set # # WPS Configuration Options # # CONFIG_ESP_WIFI_WPS_STRICT is not set # CONFIG_ESP_WIFI_WPS_PASSPHRASE is not set # end of WPS Configuration Options # CONFIG_ESP_WIFI_DEBUG_PRINT is not set # CONFIG_ESP_WIFI_TESTING_OPTIONS is not set CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT=y # CONFIG_ESP_WIFI_ENT_FREE_DYNAMIC_BUFFER is not set # end of Wi-Fi # # Core dump # # CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH is not set # CONFIG_ESP_COREDUMP_ENABLE_TO_UART is not set CONFIG_ESP_COREDUMP_ENABLE_TO_NONE=y # end of Core dump # # FAT Filesystem support # CONFIG_FATFS_VOLUME_COUNT=2 CONFIG_FATFS_LFN_NONE=y # CONFIG_FATFS_LFN_HEAP is not set # CONFIG_FATFS_LFN_STACK is not set # CONFIG_FATFS_SECTOR_512 is not set CONFIG_FATFS_SECTOR_4096=y # CONFIG_FATFS_CODEPAGE_DYNAMIC is not set CONFIG_FATFS_CODEPAGE_437=y # CONFIG_FATFS_CODEPAGE_720 is not set # CONFIG_FATFS_CODEPAGE_737 is not set # CONFIG_FATFS_CODEPAGE_771 is not set # CONFIG_FATFS_CODEPAGE_775 is not set # CONFIG_FATFS_CODEPAGE_850 is not set # CONFIG_FATFS_CODEPAGE_852 is not set # CONFIG_FATFS_CODEPAGE_855 is not set # CONFIG_FATFS_CODEPAGE_857 is not set # CONFIG_FATFS_CODEPAGE_860 is not set # CONFIG_FATFS_CODEPAGE_861 is not set # CONFIG_FATFS_CODEPAGE_862 is not set # CONFIG_FATFS_CODEPAGE_863 is not set # CONFIG_FATFS_CODEPAGE_864 is not set # CONFIG_FATFS_CODEPAGE_865 is not set # CONFIG_FATFS_CODEPAGE_866 is not set # CONFIG_FATFS_CODEPAGE_869 is not set # CONFIG_FATFS_CODEPAGE_932 is not set # CONFIG_FATFS_CODEPAGE_936 is not set # CONFIG_FATFS_CODEPAGE_949 is not set # CONFIG_FATFS_CODEPAGE_950 is not set CONFIG_FATFS_CODEPAGE=437 CONFIG_FATFS_FS_LOCK=0 CONFIG_FATFS_TIMEOUT_MS=10000 CONFIG_FATFS_PER_FILE_CACHE=y CONFIG_FATFS_ALLOC_PREFER_EXTRAM=y # CONFIG_FATFS_USE_FASTSEEK is not set CONFIG_FATFS_VFS_FSTAT_BLKSIZE=0 # CONFIG_FATFS_IMMEDIATE_FSYNC is not set # CONFIG_FATFS_USE_LABEL is not set CONFIG_FATFS_LINK_LOCK=y # end of FAT Filesystem support # # FreeRTOS # # # Kernel # # CONFIG_FREERTOS_SMP is not set # CONFIG_FREERTOS_UNICORE is not set CONFIG_FREERTOS_HZ=100 # CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE is not set # CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1536 # CONFIG_FREERTOS_USE_IDLE_HOOK is not set # CONFIG_FREERTOS_USE_TICK_HOOK is not set CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16 # CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY is not set CONFIG_FREERTOS_TIMER_SERVICE_TASK_NAME="Tmr Svc" # CONFIG_FREERTOS_TIMER_TASK_AFFINITY_CPU0 is not set # CONFIG_FREERTOS_TIMER_TASK_AFFINITY_CPU1 is not set CONFIG_FREERTOS_TIMER_TASK_NO_AFFINITY=y CONFIG_FREERTOS_TIMER_SERVICE_TASK_CORE_AFFINITY=0x7FFFFFFF CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=1 # CONFIG_FREERTOS_USE_TRACE_FACILITY is not set # CONFIG_FREERTOS_USE_LIST_DATA_INTEGRITY_CHECK_BYTES is not set # CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set # CONFIG_FREERTOS_USE_APPLICATION_TASK_TAG is not set # end of Kernel # # Port # CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=y # CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS=y # CONFIG_FREERTOS_TASK_PRE_DELETION_HOOK is not set # CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP is not set CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y CONFIG_FREERTOS_ISR_STACKSIZE=1536 CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y CONFIG_FREERTOS_TICK_SUPPORT_SYSTIMER=y CONFIG_FREERTOS_CORETIMER_SYSTIMER_LVL1=y # CONFIG_FREERTOS_CORETIMER_SYSTIMER_LVL3 is not set CONFIG_FREERTOS_SYSTICK_USES_SYSTIMER=y # CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is not set # CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set # end of Port CONFIG_FREERTOS_PORT=y CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y CONFIG_FREERTOS_DEBUG_OCDAWARE=y CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT=y CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH=y CONFIG_FREERTOS_NUMBER_OF_CORES=2 # end of FreeRTOS # # Hardware Abstraction Layer (HAL) and Low Level (LL) # CONFIG_HAL_ASSERTION_EQUALS_SYSTEM=y # CONFIG_HAL_ASSERTION_DISABLE is not set # CONFIG_HAL_ASSERTION_SILENT is not set # CONFIG_HAL_ASSERTION_ENABLE is not set CONFIG_HAL_DEFAULT_ASSERTION_LEVEL=2 CONFIG_HAL_WDT_USE_ROM_IMPL=y CONFIG_HAL_SPI_MASTER_FUNC_IN_IRAM=y CONFIG_HAL_SPI_SLAVE_FUNC_IN_IRAM=y # CONFIG_HAL_ECDSA_GEN_SIG_CM is not set # end of Hardware Abstraction Layer (HAL) and Low Level (LL) # # Heap memory debugging # CONFIG_HEAP_POISONING_DISABLED=y # CONFIG_HEAP_POISONING_LIGHT is not set # CONFIG_HEAP_POISONING_COMPREHENSIVE is not set CONFIG_HEAP_TRACING_OFF=y # CONFIG_HEAP_TRACING_STANDALONE is not set # CONFIG_HEAP_TRACING_TOHOST is not set # CONFIG_HEAP_USE_HOOKS is not set # CONFIG_HEAP_TASK_TRACKING is not set # CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS is not set # CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH is not set # end of Heap memory debugging # # Log output # # CONFIG_LOG_DEFAULT_LEVEL_NONE is not set # CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set # CONFIG_LOG_DEFAULT_LEVEL_WARN is not set CONFIG_LOG_DEFAULT_LEVEL_INFO=y # CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set # CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set CONFIG_LOG_DEFAULT_LEVEL=3 CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y # CONFIG_LOG_MAXIMUM_LEVEL_DEBUG is not set # CONFIG_LOG_MAXIMUM_LEVEL_VERBOSE is not set CONFIG_LOG_MAXIMUM_LEVEL=3 # CONFIG_LOG_MASTER_LEVEL is not set CONFIG_LOG_COLORS=y CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y # CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set # end of Log output # # LWIP # CONFIG_LWIP_ENABLE=y CONFIG_LWIP_LOCAL_HOSTNAME="espressif" # CONFIG_LWIP_NETIF_API is not set CONFIG_LWIP_TCPIP_TASK_PRIO=18 # CONFIG_LWIP_TCPIP_CORE_LOCKING is not set # CONFIG_LWIP_CHECK_THREAD_SAFETY is not set CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES=y # CONFIG_LWIP_L2_TO_L3_COPY is not set # CONFIG_LWIP_IRAM_OPTIMIZATION is not set # CONFIG_LWIP_EXTRA_IRAM_OPTIMIZATION is not set CONFIG_LWIP_TIMERS_ONDEMAND=y CONFIG_LWIP_ND6=y # CONFIG_LWIP_FORCE_ROUTER_FORWARDING is not set CONFIG_LWIP_MAX_SOCKETS=10 # CONFIG_LWIP_USE_ONLY_LWIP_SELECT is not set # CONFIG_LWIP_SO_LINGER is not set CONFIG_LWIP_SO_REUSE=y CONFIG_LWIP_SO_REUSE_RXTOALL=y # CONFIG_LWIP_SO_RCVBUF is not set # CONFIG_LWIP_NETBUF_RECVINFO is not set CONFIG_LWIP_IP_DEFAULT_TTL=64 CONFIG_LWIP_IP4_FRAG=y CONFIG_LWIP_IP6_FRAG=y # CONFIG_LWIP_IP4_REASSEMBLY is not set # CONFIG_LWIP_IP6_REASSEMBLY is not set CONFIG_LWIP_IP_REASS_MAX_PBUFS=10 # CONFIG_LWIP_IP_FORWARD is not set # CONFIG_LWIP_STATS is not set CONFIG_LWIP_ESP_GRATUITOUS_ARP=y CONFIG_LWIP_GARP_TMR_INTERVAL=60 CONFIG_LWIP_ESP_MLDV6_REPORT=y CONFIG_LWIP_MLDV6_TMR_INTERVAL=40 CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=32 CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y # CONFIG_LWIP_DHCP_DISABLE_CLIENT_ID is not set CONFIG_LWIP_DHCP_DISABLE_VENDOR_CLASS_ID=y # CONFIG_LWIP_DHCP_RESTORE_LAST_IP is not set CONFIG_LWIP_DHCP_OPTIONS_LEN=68 CONFIG_LWIP_NUM_NETIF_CLIENT_DATA=0 CONFIG_LWIP_DHCP_COARSE_TIMER_SECS=1 # # DHCP server # CONFIG_LWIP_DHCPS=y CONFIG_LWIP_DHCPS_LEASE_UNIT=60 CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8 CONFIG_LWIP_DHCPS_STATIC_ENTRIES=y # end of DHCP server # CONFIG_LWIP_AUTOIP is not set CONFIG_LWIP_IPV4=y CONFIG_LWIP_IPV6=y # CONFIG_LWIP_IPV6_AUTOCONFIG is not set CONFIG_LWIP_IPV6_NUM_ADDRESSES=3 # CONFIG_LWIP_IPV6_FORWARD is not set # CONFIG_LWIP_NETIF_STATUS_CALLBACK is not set CONFIG_LWIP_NETIF_LOOPBACK=y CONFIG_LWIP_LOOPBACK_MAX_PBUFS=8 # # TCP # CONFIG_LWIP_MAX_ACTIVE_TCP=16 CONFIG_LWIP_MAX_LISTENING_TCP=16 CONFIG_LWIP_TCP_HIGH_SPEED_RETRANSMISSION=y CONFIG_LWIP_TCP_MAXRTX=12 CONFIG_LWIP_TCP_SYNMAXRTX=12 CONFIG_LWIP_TCP_MSS=1440 CONFIG_LWIP_TCP_TMR_INTERVAL=250 CONFIG_LWIP_TCP_MSL=60000 CONFIG_LWIP_TCP_FIN_WAIT_TIMEOUT=20000 CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5760 CONFIG_LWIP_TCP_WND_DEFAULT=5760 CONFIG_LWIP_TCP_RECVMBOX_SIZE=6 CONFIG_LWIP_TCP_ACCEPTMBOX_SIZE=6 CONFIG_LWIP_TCP_QUEUE_OOSEQ=y CONFIG_LWIP_TCP_OOSEQ_TIMEOUT=6 CONFIG_LWIP_TCP_OOSEQ_MAX_PBUFS=4 # CONFIG_LWIP_TCP_SACK_OUT is not set CONFIG_LWIP_TCP_OVERSIZE_MSS=y # CONFIG_LWIP_TCP_OVERSIZE_QUARTER_MSS is not set # CONFIG_LWIP_TCP_OVERSIZE_DISABLE is not set CONFIG_LWIP_TCP_RTO_TIME=1500 # end of TCP # # UDP # CONFIG_LWIP_MAX_UDP_PCBS=16 CONFIG_LWIP_UDP_RECVMBOX_SIZE=6 # end of UDP # # Checksums # # CONFIG_LWIP_CHECKSUM_CHECK_IP is not set # CONFIG_LWIP_CHECKSUM_CHECK_UDP is not set CONFIG_LWIP_CHECKSUM_CHECK_ICMP=y # end of Checksums CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=3072 CONFIG_LWIP_TCPIP_TASK_AFFINITY_NO_AFFINITY=y # CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0 is not set # CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU1 is not set CONFIG_LWIP_TCPIP_TASK_AFFINITY=0x7FFFFFFF CONFIG_LWIP_IPV6_ND6_NUM_PREFIXES=5 CONFIG_LWIP_IPV6_ND6_NUM_ROUTERS=3 CONFIG_LWIP_IPV6_ND6_NUM_DESTINATIONS=10 # CONFIG_LWIP_PPP_SUPPORT is not set CONFIG_LWIP_IPV6_MEMP_NUM_ND6_QUEUE=3 CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS=5 # CONFIG_LWIP_SLIP_SUPPORT is not set # # ICMP # CONFIG_LWIP_ICMP=y # CONFIG_LWIP_MULTICAST_PING is not set # CONFIG_LWIP_BROADCAST_PING is not set # end of ICMP # # LWIP RAW API # CONFIG_LWIP_MAX_RAW_PCBS=16 # end of LWIP RAW API # # SNTP # CONFIG_LWIP_SNTP_MAX_SERVERS=1 # CONFIG_LWIP_DHCP_GET_NTP_SRV is not set CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000 CONFIG_LWIP_SNTP_STARTUP_DELAY=y CONFIG_LWIP_SNTP_MAXIMUM_STARTUP_DELAY=5000 # end of SNTP # # DNS # CONFIG_LWIP_DNS_MAX_HOST_IP=1 CONFIG_LWIP_DNS_MAX_SERVERS=3 # CONFIG_LWIP_FALLBACK_DNS_SERVER_SUPPORT is not set # CONFIG_LWIP_DNS_SETSERVER_WITH_NETIF is not set # end of DNS CONFIG_LWIP_BRIDGEIF_MAX_PORTS=7 CONFIG_LWIP_ESP_LWIP_ASSERT=y # # Hooks # # CONFIG_LWIP_HOOK_TCP_ISN_NONE is not set CONFIG_LWIP_HOOK_TCP_ISN_DEFAULT=y # CONFIG_LWIP_HOOK_TCP_ISN_CUSTOM is not set CONFIG_LWIP_HOOK_IP6_ROUTE_NONE=y # CONFIG_LWIP_HOOK_IP6_ROUTE_DEFAULT is not set # CONFIG_LWIP_HOOK_IP6_ROUTE_CUSTOM is not set CONFIG_LWIP_HOOK_ND6_GET_GW_NONE=y # CONFIG_LWIP_HOOK_ND6_GET_GW_DEFAULT is not set # CONFIG_LWIP_HOOK_ND6_GET_GW_CUSTOM is not set CONFIG_LWIP_HOOK_IP6_SELECT_SRC_ADDR_NONE=y # CONFIG_LWIP_HOOK_IP6_SELECT_SRC_ADDR_DEFAULT is not set # CONFIG_LWIP_HOOK_IP6_SELECT_SRC_ADDR_CUSTOM is not set CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_NONE=y # CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_DEFAULT is not set # CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_CUSTOM is not set CONFIG_LWIP_HOOK_DNS_EXT_RESOLVE_NONE=y # CONFIG_LWIP_HOOK_DNS_EXT_RESOLVE_CUSTOM is not set CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y # CONFIG_LWIP_HOOK_IP6_INPUT_DEFAULT is not set # CONFIG_LWIP_HOOK_IP6_INPUT_CUSTOM is not set # end of Hooks # CONFIG_LWIP_DEBUG is not set # end of LWIP # # mbedTLS # CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=y # CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC is not set # CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC is not set # CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC is not set CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384 CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096 # CONFIG_MBEDTLS_DYNAMIC_BUFFER is not set # CONFIG_MBEDTLS_DEBUG is not set # # mbedTLS v3.x related # # CONFIG_MBEDTLS_SSL_PROTO_TLS1_3 is not set # CONFIG_MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH is not set # CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK is not set # CONFIG_MBEDTLS_SSL_CONTEXT_SERIALIZATION is not set CONFIG_MBEDTLS_SSL_KEEP_PEER_CERTIFICATE=y CONFIG_MBEDTLS_PKCS7_C=y # end of mbedTLS v3.x related # # Certificate Bundle # CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL=y # CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN is not set # CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_NONE is not set # CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE is not set # CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEPRECATED_LIST is not set CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_MAX_CERTS=200 # end of Certificate Bundle # CONFIG_MBEDTLS_ECP_RESTARTABLE is not set CONFIG_MBEDTLS_CMAC_C=y CONFIG_MBEDTLS_HARDWARE_AES=y CONFIG_MBEDTLS_AES_USE_INTERRUPT=y CONFIG_MBEDTLS_AES_INTERRUPT_LEVEL=0 CONFIG_MBEDTLS_GCM_SUPPORT_NON_AES_CIPHER=y CONFIG_MBEDTLS_HARDWARE_MPI=y # CONFIG_MBEDTLS_LARGE_KEY_SOFTWARE_MPI is not set CONFIG_MBEDTLS_MPI_USE_INTERRUPT=y CONFIG_MBEDTLS_MPI_INTERRUPT_LEVEL=0 CONFIG_MBEDTLS_HARDWARE_SHA=y CONFIG_MBEDTLS_ROM_MD5=y # CONFIG_MBEDTLS_ATCA_HW_ECDSA_SIGN is not set # CONFIG_MBEDTLS_ATCA_HW_ECDSA_VERIFY is not set CONFIG_MBEDTLS_HAVE_TIME=y # CONFIG_MBEDTLS_PLATFORM_TIME_ALT is not set # CONFIG_MBEDTLS_HAVE_TIME_DATE is not set CONFIG_MBEDTLS_ECDSA_DETERMINISTIC=y CONFIG_MBEDTLS_SHA512_C=y # CONFIG_MBEDTLS_SHA3_C is not set CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y # CONFIG_MBEDTLS_TLS_SERVER_ONLY is not set # CONFIG_MBEDTLS_TLS_CLIENT_ONLY is not set # CONFIG_MBEDTLS_TLS_DISABLED is not set CONFIG_MBEDTLS_TLS_SERVER=y CONFIG_MBEDTLS_TLS_CLIENT=y CONFIG_MBEDTLS_TLS_ENABLED=y # # TLS Key Exchange Methods # # CONFIG_MBEDTLS_PSK_MODES is not set CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE=y CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA=y CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA=y CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA=y CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA=y # end of TLS Key Exchange Methods CONFIG_MBEDTLS_SSL_RENEGOTIATION=y CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y # CONFIG_MBEDTLS_SSL_PROTO_GMTSSL1_1 is not set # CONFIG_MBEDTLS_SSL_PROTO_DTLS is not set CONFIG_MBEDTLS_SSL_ALPN=y CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS=y CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS=y # # Symmetric Ciphers # CONFIG_MBEDTLS_AES_C=y # CONFIG_MBEDTLS_CAMELLIA_C is not set # CONFIG_MBEDTLS_DES_C is not set # CONFIG_MBEDTLS_BLOWFISH_C is not set # CONFIG_MBEDTLS_XTEA_C is not set CONFIG_MBEDTLS_CCM_C=y CONFIG_MBEDTLS_GCM_C=y # CONFIG_MBEDTLS_NIST_KW_C is not set # end of Symmetric Ciphers # CONFIG_MBEDTLS_RIPEMD160_C is not set # # Certificates # CONFIG_MBEDTLS_PEM_PARSE_C=y CONFIG_MBEDTLS_PEM_WRITE_C=y CONFIG_MBEDTLS_X509_CRL_PARSE_C=y CONFIG_MBEDTLS_X509_CSR_PARSE_C=y # end of Certificates CONFIG_MBEDTLS_ECP_C=y # CONFIG_MBEDTLS_DHM_C is not set CONFIG_MBEDTLS_ECDH_C=y CONFIG_MBEDTLS_ECDSA_C=y # CONFIG_MBEDTLS_ECJPAKE_C is not set CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=y CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED=y CONFIG_MBEDTLS_ECP_NIST_OPTIM=y CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y # CONFIG_MBEDTLS_POLY1305_C is not set # CONFIG_MBEDTLS_CHACHA20_C is not set # CONFIG_MBEDTLS_HKDF_C is not set # CONFIG_MBEDTLS_THREADING_C is not set CONFIG_MBEDTLS_ERROR_STRINGS=y CONFIG_MBEDTLS_FS_IO=y # end of mbedTLS # # ESP-MQTT Configurations # CONFIG_MQTT_PROTOCOL_311=y # CONFIG_MQTT_PROTOCOL_5 is not set CONFIG_MQTT_TRANSPORT_SSL=y CONFIG_MQTT_TRANSPORT_WEBSOCKET=y CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE=y # CONFIG_MQTT_MSG_ID_INCREMENTAL is not set # CONFIG_MQTT_SKIP_PUBLISH_IF_DISCONNECTED is not set # CONFIG_MQTT_REPORT_DELETED_MESSAGES is not set # CONFIG_MQTT_USE_CUSTOM_CONFIG is not set # CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED is not set # CONFIG_MQTT_CUSTOM_OUTBOX is not set # end of ESP-MQTT Configurations # # Newlib # CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y # CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF is not set # CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR is not set # CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF is not set # CONFIG_NEWLIB_STDIN_LINE_ENDING_LF is not set CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y # CONFIG_NEWLIB_NANO_FORMAT is not set CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT=y # CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC is not set # CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT is not set # CONFIG_NEWLIB_TIME_SYSCALL_USE_NONE is not set # end of Newlib CONFIG_STDATOMIC_S32C1I_SPIRAM_WORKAROUND=y # # NVS # # CONFIG_NVS_ENCRYPTION is not set # CONFIG_NVS_ASSERT_ERROR_CHECK is not set # CONFIG_NVS_LEGACY_DUP_KEYS_COMPATIBILITY is not set # end of NVS # # OpenThread # # CONFIG_OPENTHREAD_ENABLED is not set # # Thread Operational Dataset # CONFIG_OPENTHREAD_NETWORK_NAME="OpenThread-ESP" CONFIG_OPENTHREAD_MESH_LOCAL_PREFIX="fd00:db8:a0:0::/64" CONFIG_OPENTHREAD_NETWORK_CHANNEL=15 CONFIG_OPENTHREAD_NETWORK_PANID=0x1234 CONFIG_OPENTHREAD_NETWORK_EXTPANID="dead00beef00cafe" CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff" CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53" # end of Thread Operational Dataset CONFIG_OPENTHREAD_XTAL_ACCURACY=130 # CONFIG_OPENTHREAD_SPINEL_ONLY is not set CONFIG_OPENTHREAD_RX_ON_WHEN_IDLE=y # # Thread Address Query Config # # end of Thread Address Query Config # end of OpenThread # # Protocomm # CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0=y CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1=y CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2=y # end of Protocomm # # PThreads # CONFIG_PTHREAD_TASK_PRIO_DEFAULT=5 CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072 CONFIG_PTHREAD_STACK_MIN=768 CONFIG_PTHREAD_DEFAULT_CORE_NO_AFFINITY=y # CONFIG_PTHREAD_DEFAULT_CORE_0 is not set # CONFIG_PTHREAD_DEFAULT_CORE_1 is not set CONFIG_PTHREAD_TASK_CORE_DEFAULT=-1 CONFIG_PTHREAD_TASK_NAME_DEFAULT="pthread" # end of PThreads # # MMU Config # CONFIG_MMU_PAGE_SIZE_64KB=y CONFIG_MMU_PAGE_MODE="64KB" CONFIG_MMU_PAGE_SIZE=0x10000 # end of MMU Config # # Main Flash configuration # # # SPI Flash behavior when brownout # CONFIG_SPI_FLASH_BROWNOUT_RESET_XMC=y CONFIG_SPI_FLASH_BROWNOUT_RESET=y # end of SPI Flash behavior when brownout # # Optional and Experimental Features (READ DOCS FIRST) # # # Features here require specific hardware (READ DOCS FIRST!) # # CONFIG_SPI_FLASH_HPM_ENA is not set CONFIG_SPI_FLASH_HPM_AUTO=y # CONFIG_SPI_FLASH_HPM_DIS is not set CONFIG_SPI_FLASH_HPM_ON=y CONFIG_SPI_FLASH_HPM_DC_AUTO=y # CONFIG_SPI_FLASH_HPM_DC_DISABLE is not set CONFIG_SPI_FLASH_SUSPEND_QVL_SUPPORTED=y # CONFIG_SPI_FLASH_AUTO_SUSPEND is not set CONFIG_SPI_FLASH_SUSPEND_TSUS_VAL_US=50 # CONFIG_SPI_FLASH_FORCE_ENABLE_XMC_C_SUSPEND is not set # end of Optional and Experimental Features (READ DOCS FIRST) # end of Main Flash configuration # # SPI Flash driver # # CONFIG_SPI_FLASH_VERIFY_WRITE is not set # CONFIG_SPI_FLASH_ENABLE_COUNTERS is not set CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y # CONFIG_SPI_FLASH_ROM_IMPL is not set CONFIG_SPI_FLASH_DANGEROUS_WRITE_ABORTS=y # CONFIG_SPI_FLASH_DANGEROUS_WRITE_FAILS is not set # CONFIG_SPI_FLASH_DANGEROUS_WRITE_ALLOWED is not set # CONFIG_SPI_FLASH_BYPASS_BLOCK_ERASE is not set CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=20 CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=1 CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=8192 # CONFIG_SPI_FLASH_SIZE_OVERRIDE is not set # CONFIG_SPI_FLASH_CHECK_ERASE_TIMEOUT_DISABLED is not set # CONFIG_SPI_FLASH_OVERRIDE_CHIP_DRIVER_LIST is not set # # Auto-detect flash chips # CONFIG_SPI_FLASH_VENDOR_XMC_SUPPORTED=y CONFIG_SPI_FLASH_VENDOR_GD_SUPPORTED=y CONFIG_SPI_FLASH_VENDOR_ISSI_SUPPORTED=y CONFIG_SPI_FLASH_VENDOR_MXIC_SUPPORTED=y CONFIG_SPI_FLASH_VENDOR_WINBOND_SUPPORTED=y CONFIG_SPI_FLASH_VENDOR_BOYA_SUPPORTED=y CONFIG_SPI_FLASH_VENDOR_TH_SUPPORTED=y CONFIG_SPI_FLASH_SUPPORT_ISSI_CHIP=y CONFIG_SPI_FLASH_SUPPORT_MXIC_CHIP=y CONFIG_SPI_FLASH_SUPPORT_GD_CHIP=y CONFIG_SPI_FLASH_SUPPORT_WINBOND_CHIP=y CONFIG_SPI_FLASH_SUPPORT_BOYA_CHIP=y CONFIG_SPI_FLASH_SUPPORT_TH_CHIP=y CONFIG_SPI_FLASH_SUPPORT_MXIC_OPI_CHIP=y # end of Auto-detect flash chips CONFIG_SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE=y # end of SPI Flash driver # # SPIFFS Configuration # CONFIG_SPIFFS_MAX_PARTITIONS=3 # # SPIFFS Cache Configuration # CONFIG_SPIFFS_CACHE=y CONFIG_SPIFFS_CACHE_WR=y # CONFIG_SPIFFS_CACHE_STATS is not set # end of SPIFFS Cache Configuration CONFIG_SPIFFS_PAGE_CHECK=y CONFIG_SPIFFS_GC_MAX_RUNS=10 # CONFIG_SPIFFS_GC_STATS is not set CONFIG_SPIFFS_PAGE_SIZE=256 CONFIG_SPIFFS_OBJ_NAME_LEN=32 # CONFIG_SPIFFS_FOLLOW_SYMLINKS is not set CONFIG_SPIFFS_USE_MAGIC=y CONFIG_SPIFFS_USE_MAGIC_LENGTH=y CONFIG_SPIFFS_META_LENGTH=4 CONFIG_SPIFFS_USE_MTIME=y # # Debug Configuration # # CONFIG_SPIFFS_DBG is not set # CONFIG_SPIFFS_API_DBG is not set # CONFIG_SPIFFS_GC_DBG is not set # CONFIG_SPIFFS_CACHE_DBG is not set # CONFIG_SPIFFS_CHECK_DBG is not set # CONFIG_SPIFFS_TEST_VISUALISATION is not set # end of Debug Configuration # end of SPIFFS Configuration # # TCP Transport # # # Websocket # CONFIG_WS_TRANSPORT=y CONFIG_WS_BUFFER_SIZE=1024 # CONFIG_WS_DYNAMIC_BUFFER is not set # end of Websocket # end of TCP Transport # # Ultra Low Power (ULP) Co-processor # # CONFIG_ULP_COPROC_ENABLED is not set # # ULP Debugging Options # # end of ULP Debugging Options # end of Ultra Low Power (ULP) Co-processor # # Unity unit testing library # CONFIG_UNITY_ENABLE_FLOAT=y CONFIG_UNITY_ENABLE_DOUBLE=y # CONFIG_UNITY_ENABLE_64BIT is not set # CONFIG_UNITY_ENABLE_COLOR is not set CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y # CONFIG_UNITY_ENABLE_FIXTURE is not set # CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL is not set # end of Unity unit testing library # # USB-OTG # CONFIG_USB_HOST_CONTROL_TRANSFER_MAX_SIZE=256 CONFIG_USB_HOST_HW_BUFFER_BIAS_BALANCED=y # CONFIG_USB_HOST_HW_BUFFER_BIAS_IN is not set # CONFIG_USB_HOST_HW_BUFFER_BIAS_PERIODIC_OUT is not set # # Hub Driver Configuration # # # Root Port configuration # CONFIG_USB_HOST_DEBOUNCE_DELAY_MS=250 CONFIG_USB_HOST_RESET_HOLD_MS=30 CONFIG_USB_HOST_RESET_RECOVERY_MS=30 CONFIG_USB_HOST_SET_ADDR_RECOVERY_MS=10 # end of Root Port configuration # CONFIG_USB_HOST_HUBS_SUPPORTED is not set # end of Hub Driver Configuration # CONFIG_USB_HOST_ENABLE_ENUM_FILTER_CALLBACK is not set CONFIG_USB_OTG_SUPPORTED=y # end of USB-OTG # # Virtual file system # CONFIG_VFS_SUPPORT_IO=y CONFIG_VFS_SUPPORT_DIR=y CONFIG_VFS_SUPPORT_SELECT=y CONFIG_VFS_SUPPRESS_SELECT_DEBUG_OUTPUT=y # CONFIG_VFS_SELECT_IN_RAM is not set CONFIG_VFS_SUPPORT_TERMIOS=y CONFIG_VFS_MAX_COUNT=8 # # Host File System I/O (Semihosting) # CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS=1 # end of Host File System I/O (Semihosting) # end of Virtual file system # # Wear Levelling # # CONFIG_WL_SECTOR_SIZE_512 is not set CONFIG_WL_SECTOR_SIZE_4096=y CONFIG_WL_SECTOR_SIZE=4096 # end of Wear Levelling # # Wi-Fi Provisioning Manager # CONFIG_WIFI_PROV_SCAN_MAX_ENTRIES=16 CONFIG_WIFI_PROV_AUTOSTOP_TIMEOUT=30 # CONFIG_WIFI_PROV_BLE_BONDING is not set # CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION is not set # CONFIG_WIFI_PROV_BLE_NOTIFY is not set # CONFIG_WIFI_PROV_KEEP_BLE_ON_AFTER_PROV is not set CONFIG_WIFI_PROV_STA_ALL_CHANNEL_SCAN=y # CONFIG_WIFI_PROV_STA_FAST_SCAN is not set # end of Wi-Fi Provisioning Manager # # IoT Button # CONFIG_BUTTON_PERIOD_TIME_MS=5 CONFIG_BUTTON_DEBOUNCE_TICKS=2 CONFIG_BUTTON_SHORT_PRESS_TIME_MS=180 CONFIG_BUTTON_LONG_PRESS_TIME_MS=1500 CONFIG_BUTTON_SERIAL_TIME_MS=20 # CONFIG_GPIO_BUTTON_SUPPORT_POWER_SAVE is not set CONFIG_ADC_BUTTON_MAX_CHANNEL=3 CONFIG_ADC_BUTTON_MAX_BUTTON_PER_CHANNEL=8 CONFIG_ADC_BUTTON_SAMPLE_TIMES=1 # end of IoT Button # # CMake Utilities # # CONFIG_CU_RELINKER_ENABLE is not set # CONFIG_CU_DIAGNOSTICS_COLOR_NEVER is not set CONFIG_CU_DIAGNOSTICS_COLOR_ALWAYS=y # CONFIG_CU_DIAGNOSTICS_COLOR_AUTO is not set # CONFIG_CU_GCC_LTO_ENABLE is not set # CONFIG_CU_GCC_STRING_1BYTE_ALIGN is not set # end of CMake Utilities # # Board Support Package (generic) # CONFIG_BSP_ERROR_CHECK=y # # I2C # # # Pins # CONFIG_BSP_I2C_GPIO_SCL=-1 CONFIG_BSP_I2C_GPIO_SDA=-1 # end of Pins CONFIG_BSP_I2C_NUM=1 CONFIG_BSP_I2C_FAST_MODE=y CONFIG_BSP_I2C_CLK_SPEED_HZ=400000 # end of I2C # # Buttons # CONFIG_BSP_BUTTONS_NUM=2 # # Button 1 # CONFIG_BSP_BUTTON_1_TYPE_GPIO=y # CONFIG_BSP_BUTTON_1_TYPE_ADC is not set CONFIG_BSP_BUTTON_1_GPIO=0 CONFIG_BSP_BUTTON_1_LEVEL=0 # end of Button 1 # # Button 2 # CONFIG_BSP_BUTTON_2_TYPE_GPIO=y # CONFIG_BSP_BUTTON_2_TYPE_ADC is not set CONFIG_BSP_BUTTON_2_GPIO=-1 CONFIG_BSP_BUTTON_2_LEVEL=0 # end of Button 2 # end of Buttons # # LEDs # CONFIG_BSP_LED_TYPE_GPIO=y # CONFIG_BSP_LED_TYPE_RGB_CLASSIC is not set # CONFIG_BSP_LED_TYPE_RGB is not set CONFIG_ENV_MAX_LEDS=5 CONFIG_BSP_LEDS_NUM=1 CONFIG_BSP_ESP_IDF_VERSION="5.3" # # LED 1 # CONFIG_BSP_LED_1_GPIO=0 CONFIG_BSP_LED_1_LEVEL=1 # end of LED 1 # end of LEDs # # Display # # CONFIG_BSP_DISPLAY_ENABLED is not set # CONFIG_BSP_DISPLAY_INVERT_COLOR is not set # CONFIG_BSP_DISPLAY_BRIGHTNESS_INVERT is not set # end of Display # # Display Touch # # CONFIG_BSP_TOUCH_ENABLED is not set # end of Display Touch # # uSD card - Virtual File System # # # Pins # CONFIG_BSP_SD_CLK=-1 CONFIG_BSP_SD_CMD=-1 CONFIG_BSP_SD_D0=-1 CONFIG_BSP_SD_D1=-1 CONFIG_BSP_SD_D2=-1 CONFIG_BSP_SD_D3=-1 # end of Pins # CONFIG_BSP_SD_FORMAT_ON_MOUNT_FAIL is not set CONFIG_BSP_SD_MOUNT_POINT="/sdcard" CONFIG_BSP_SD_MAX_FILES=2 # end of uSD card - Virtual File System # # SPIFFS - Virtual File System # # CONFIG_BSP_SPIFFS_FORMAT_ON_MOUNT_FAIL is not set CONFIG_BSP_SPIFFS_MOUNT_POINT="/spiffs" CONFIG_BSP_SPIFFS_PARTITION_LABEL="storage" CONFIG_BSP_SPIFFS_MAX_FILES=2 # end of SPIFFS - Virtual File System CONFIG_ENV_GPIO_RANGE_MIN=0 CONFIG_ENV_GPIO_RANGE_MAX=48 CONFIG_ENV_GPIO_IN_RANGE_MAX=48 CONFIG_ENV_GPIO_OUT_RANGE_MAX=48 # end of Board Support Package (generic) # # ESP LCD TOUCH # CONFIG_ESP_LCD_TOUCH_MAX_POINTS=5 CONFIG_ESP_LCD_TOUCH_MAX_BUTTONS=1 # end of ESP LCD TOUCH # # LED Indicator # CONFIG_BRIGHTNESS_TICKS=10 CONFIG_USE_GAMMA_CORRECTION=y # # LEDC Config # CONFIG_LEDC_LOW_SPEED_MODE=y CONFIG_LEDC_SPEED_MODE_VALUE=0 CONFIG_LEDC_TIMER_BIT_NUM=13 CONFIG_LEDC_TIMER_FREQ_HZ=5000 # end of LEDC Config # end of LED Indicator # # LVGL configuration # CONFIG_LV_CONF_SKIP=y # CONFIG_LV_CONF_MINIMAL is not set # # Color Settings # # CONFIG_LV_COLOR_DEPTH_32 is not set # CONFIG_LV_COLOR_DEPTH_24 is not set CONFIG_LV_COLOR_DEPTH_16=y # CONFIG_LV_COLOR_DEPTH_8 is not set # CONFIG_LV_COLOR_DEPTH_1 is not set CONFIG_LV_COLOR_DEPTH=16 # end of Color Settings # # Memory Settings # CONFIG_LV_USE_BUILTIN_MALLOC=y # CONFIG_LV_USE_CLIB_MALLOC is not set # CONFIG_LV_USE_MICROPYTHON_MALLOC is not set # CONFIG_LV_USE_RTTHREAD_MALLOC is not set # CONFIG_LV_USE_CUSTOM_MALLOC is not set CONFIG_LV_USE_BUILTIN_STRING=y # CONFIG_LV_USE_CLIB_STRING is not set # CONFIG_LV_USE_CUSTOM_STRING is not set CONFIG_LV_USE_BUILTIN_SPRINTF=y # CONFIG_LV_USE_CLIB_SPRINTF is not set # CONFIG_LV_USE_CUSTOM_SPRINTF is not set CONFIG_LV_MEM_SIZE_KILOBYTES=64 CONFIG_LV_MEM_POOL_EXPAND_SIZE_KILOBYTES=0 CONFIG_LV_MEM_ADR=0x0 # end of Memory Settings # # HAL Settings # CONFIG_LV_DEF_REFR_PERIOD=33 CONFIG_LV_DPI_DEF=130 # end of HAL Settings # # Operating System (OS) # CONFIG_LV_OS_NONE=y # CONFIG_LV_OS_PTHREAD is not set # CONFIG_LV_OS_FREERTOS is not set # CONFIG_LV_OS_CMSIS_RTOS2 is not set # CONFIG_LV_OS_RTTHREAD is not set # CONFIG_LV_OS_WINDOWS is not set # CONFIG_LV_OS_MQX is not set # CONFIG_LV_OS_CUSTOM is not set CONFIG_LV_USE_OS=0 # end of Operating System (OS) # # Rendering Configuration # CONFIG_LV_DRAW_BUF_STRIDE_ALIGN=1 CONFIG_LV_DRAW_BUF_ALIGN=4 CONFIG_LV_DRAW_LAYER_SIMPLE_BUF_SIZE=24576 CONFIG_LV_USE_DRAW_SW=y CONFIG_LV_DRAW_SW_SUPPORT_RGB565=y CONFIG_LV_DRAW_SW_SUPPORT_RGB565A8=y CONFIG_LV_DRAW_SW_SUPPORT_RGB888=y CONFIG_LV_DRAW_SW_SUPPORT_XRGB8888=y CONFIG_LV_DRAW_SW_SUPPORT_ARGB8888=y CONFIG_LV_DRAW_SW_SUPPORT_L8=y CONFIG_LV_DRAW_SW_SUPPORT_AL88=y CONFIG_LV_DRAW_SW_SUPPORT_A8=y CONFIG_LV_DRAW_SW_SUPPORT_I1=y CONFIG_LV_DRAW_SW_DRAW_UNIT_CNT=1 # CONFIG_LV_USE_DRAW_ARM2D_SYNC is not set # CONFIG_LV_USE_NATIVE_HELIUM_ASM is not set CONFIG_LV_DRAW_SW_COMPLEX=y # CONFIG_LV_USE_DRAW_SW_COMPLEX_GRADIENTS is not set CONFIG_LV_DRAW_SW_SHADOW_CACHE_SIZE=0 CONFIG_LV_DRAW_SW_CIRCLE_CACHE_SIZE=4 CONFIG_LV_DRAW_SW_ASM_NONE=y # CONFIG_LV_DRAW_SW_ASM_NEON is not set # CONFIG_LV_DRAW_SW_ASM_HELIUM is not set # CONFIG_LV_DRAW_SW_ASM_CUSTOM is not set CONFIG_LV_USE_DRAW_SW_ASM=0 # CONFIG_LV_USE_DRAW_VGLITE is not set # CONFIG_LV_USE_PXP is not set # CONFIG_LV_USE_DRAW_DAVE2D is not set # CONFIG_LV_USE_DRAW_SDL is not set # CONFIG_LV_USE_DRAW_VG_LITE is not set # CONFIG_LV_USE_VECTOR_GRAPHIC is not set # end of Rendering Configuration # # Feature Configuration # # # Logging # # CONFIG_LV_USE_LOG is not set # end of Logging # # Asserts # CONFIG_LV_USE_ASSERT_NULL=y CONFIG_LV_USE_ASSERT_MALLOC=y # CONFIG_LV_USE_ASSERT_STYLE is not set # CONFIG_LV_USE_ASSERT_MEM_INTEGRITY is not set # CONFIG_LV_USE_ASSERT_OBJ is not set CONFIG_LV_ASSERT_HANDLER_INCLUDE="assert.h" # end of Asserts # # Debug # # CONFIG_LV_USE_REFR_DEBUG is not set # CONFIG_LV_USE_LAYER_DEBUG is not set # CONFIG_LV_USE_PARALLEL_DRAW_DEBUG is not set # end of Debug # # Others # # CONFIG_LV_ENABLE_GLOBAL_CUSTOM is not set CONFIG_LV_CACHE_DEF_SIZE=0 CONFIG_LV_IMAGE_HEADER_CACHE_DEF_CNT=0 CONFIG_LV_GRADIENT_MAX_STOPS=2 CONFIG_LV_COLOR_MIX_ROUND_OFS=128 # CONFIG_LV_OBJ_STYLE_CACHE is not set # CONFIG_LV_USE_OBJ_ID is not set # CONFIG_LV_USE_OBJ_PROPERTY is not set # end of Others # end of Feature Configuration # # Compiler Settings # # CONFIG_LV_BIG_ENDIAN_SYSTEM is not set CONFIG_LV_ATTRIBUTE_MEM_ALIGN_SIZE=1 # CONFIG_LV_ATTRIBUTE_FAST_MEM_USE_IRAM is not set # CONFIG_LV_USE_FLOAT is not set # CONFIG_LV_USE_MATRIX is not set # CONFIG_LV_USE_PRIVATE_API is not set # end of Compiler Settings # # Font Usage # # # Enable built-in fonts # # CONFIG_LV_FONT_MONTSERRAT_8 is not set CONFIG_LV_FONT_MONTSERRAT_10=y CONFIG_LV_FONT_MONTSERRAT_12=y CONFIG_LV_FONT_MONTSERRAT_14=y # CONFIG_LV_FONT_MONTSERRAT_16 is not set # CONFIG_LV_FONT_MONTSERRAT_18 is not set CONFIG_LV_FONT_MONTSERRAT_20=y # CONFIG_LV_FONT_MONTSERRAT_22 is not set # CONFIG_LV_FONT_MONTSERRAT_24 is not set # CONFIG_LV_FONT_MONTSERRAT_26 is not set # CONFIG_LV_FONT_MONTSERRAT_28 is not set # CONFIG_LV_FONT_MONTSERRAT_30 is not set CONFIG_LV_FONT_MONTSERRAT_32=y # CONFIG_LV_FONT_MONTSERRAT_34 is not set # CONFIG_LV_FONT_MONTSERRAT_36 is not set # CONFIG_LV_FONT_MONTSERRAT_38 is not set # CONFIG_LV_FONT_MONTSERRAT_40 is not set # CONFIG_LV_FONT_MONTSERRAT_42 is not set # CONFIG_LV_FONT_MONTSERRAT_44 is not set # CONFIG_LV_FONT_MONTSERRAT_46 is not set # CONFIG_LV_FONT_MONTSERRAT_48 is not set # CONFIG_LV_FONT_MONTSERRAT_28_COMPRESSED is not set # CONFIG_LV_FONT_DEJAVU_16_PERSIAN_HEBREW is not set # CONFIG_LV_FONT_SIMSUN_14_CJK is not set # CONFIG_LV_FONT_SIMSUN_16_CJK is not set # CONFIG_LV_FONT_UNSCII_8 is not set # CONFIG_LV_FONT_UNSCII_16 is not set # end of Enable built-in fonts # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_8 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_10 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_12 is not set CONFIG_LV_FONT_DEFAULT_MONTSERRAT_14=y # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_16 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_18 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_20 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_22 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_24 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_26 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_28 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_30 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_32 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_34 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_36 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_38 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_40 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_42 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_44 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_46 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_48 is not set # CONFIG_LV_FONT_DEFAULT_MONTSERRAT_28_COMPRESSED is not set # CONFIG_LV_FONT_DEFAULT_DEJAVU_16_PERSIAN_HEBREW is not set # CONFIG_LV_FONT_DEFAULT_SIMSUN_14_CJK is not set # CONFIG_LV_FONT_DEFAULT_SIMSUN_16_CJK is not set # CONFIG_LV_FONT_DEFAULT_UNSCII_8 is not set # CONFIG_LV_FONT_DEFAULT_UNSCII_16 is not set # CONFIG_LV_FONT_FMT_TXT_LARGE is not set # CONFIG_LV_USE_FONT_COMPRESSED is not set CONFIG_LV_USE_FONT_PLACEHOLDER=y # end of Font Usage # # Text Settings # CONFIG_LV_TXT_ENC_UTF8=y # CONFIG_LV_TXT_ENC_ASCII is not set CONFIG_LV_TXT_BREAK_CHARS=" ,.;:-_)}" CONFIG_LV_TXT_LINE_BREAK_LONG_LEN=0 # CONFIG_LV_USE_BIDI is not set # CONFIG_LV_USE_ARABIC_PERSIAN_CHARS is not set # end of Text Settings # # Widget Usage # CONFIG_LV_WIDGETS_HAS_DEFAULT_VALUE=y CONFIG_LV_USE_ANIMIMG=y CONFIG_LV_USE_ARC=y CONFIG_LV_USE_BAR=y CONFIG_LV_USE_BUTTON=y CONFIG_LV_USE_BUTTONMATRIX=y CONFIG_LV_USE_CALENDAR=y # CONFIG_LV_CALENDAR_WEEK_STARTS_MONDAY is not set CONFIG_LV_USE_CALENDAR_HEADER_ARROW=y CONFIG_LV_USE_CALENDAR_HEADER_DROPDOWN=y # CONFIG_LV_USE_CALENDAR_CHINESE is not set CONFIG_LV_USE_CANVAS=y CONFIG_LV_USE_CHART=y CONFIG_LV_USE_CHECKBOX=y CONFIG_LV_USE_DROPDOWN=y CONFIG_LV_USE_IMAGE=y CONFIG_LV_USE_IMAGEBUTTON=y CONFIG_LV_USE_KEYBOARD=y CONFIG_LV_USE_LABEL=y CONFIG_LV_LABEL_TEXT_SELECTION=y CONFIG_LV_LABEL_LONG_TXT_HINT=y CONFIG_LV_LABEL_WAIT_CHAR_COUNT=3 CONFIG_LV_USE_LED=y CONFIG_LV_USE_LINE=y CONFIG_LV_USE_LIST=y CONFIG_LV_USE_MENU=y CONFIG_LV_USE_MSGBOX=y CONFIG_LV_USE_ROLLER=y CONFIG_LV_USE_SCALE=y CONFIG_LV_USE_SLIDER=y CONFIG_LV_USE_SPAN=y CONFIG_LV_SPAN_SNIPPET_STACK_SIZE=64 CONFIG_LV_USE_SPINBOX=y CONFIG_LV_USE_SPINNER=y CONFIG_LV_USE_SWITCH=y CONFIG_LV_USE_TEXTAREA=y CONFIG_LV_TEXTAREA_DEF_PWD_SHOW_TIME=1500 CONFIG_LV_USE_TABLE=y CONFIG_LV_USE_TABVIEW=y CONFIG_LV_USE_TILEVIEW=y CONFIG_LV_USE_WIN=y # end of Widget Usage # # Themes # CONFIG_LV_USE_THEME_DEFAULT=y # CONFIG_LV_THEME_DEFAULT_DARK is not set CONFIG_LV_THEME_DEFAULT_GROW=y CONFIG_LV_THEME_DEFAULT_TRANSITION_TIME=80 CONFIG_LV_USE_THEME_SIMPLE=y # CONFIG_LV_USE_THEME_MONO is not set # end of Themes # # Layouts # CONFIG_LV_USE_FLEX=y CONFIG_LV_USE_GRID=y # end of Layouts # # 3rd Party Libraries # CONFIG_LV_FS_DEFAULT_DRIVE_LETTER=0 # CONFIG_LV_USE_FS_STDIO is not set # CONFIG_LV_USE_FS_POSIX is not set # CONFIG_LV_USE_FS_WIN32 is not set # CONFIG_LV_USE_FS_FATFS is not set # CONFIG_LV_USE_FS_MEMFS is not set # CONFIG_LV_USE_FS_LITTLEFS is not set # CONFIG_LV_USE_FS_ARDUINO_ESP_LITTLEFS is not set # CONFIG_LV_USE_FS_ARDUINO_SD is not set # CONFIG_LV_USE_LODEPNG is not set # CONFIG_LV_USE_LIBPNG is not set # CONFIG_LV_USE_BMP is not set # CONFIG_LV_USE_TJPGD is not set # CONFIG_LV_USE_LIBJPEG_TURBO is not set # CONFIG_LV_USE_GIF is not set # CONFIG_LV_BIN_DECODER_RAM_LOAD is not set # CONFIG_LV_USE_RLE is not set # CONFIG_LV_USE_QRCODE is not set # CONFIG_LV_USE_BARCODE is not set # CONFIG_LV_USE_FREETYPE is not set # CONFIG_LV_USE_TINY_TTF is not set # CONFIG_LV_USE_RLOTTIE is not set # CONFIG_LV_USE_THORVG is not set # CONFIG_LV_USE_LZ4 is not set # CONFIG_LV_USE_FFMPEG is not set # end of 3rd Party Libraries # # Others # # CONFIG_LV_USE_SNAPSHOT is not set # CONFIG_LV_USE_SYSMON is not set # CONFIG_LV_USE_PROFILER is not set # CONFIG_LV_USE_MONKEY is not set # CONFIG_LV_USE_GRIDNAV is not set # CONFIG_LV_USE_FRAGMENT is not set # CONFIG_LV_USE_IMGFONT is not set CONFIG_LV_USE_OBSERVER=y # CONFIG_LV_USE_IME_PINYIN is not set # CONFIG_LV_USE_FILE_EXPLORER is not set CONFIG_LVGL_VERSION_MAJOR=9 CONFIG_LVGL_VERSION_MINOR=2 CONFIG_LVGL_VERSION_PATCH=2 # end of Others # # Devices # # CONFIG_LV_USE_SDL is not set # CONFIG_LV_USE_X11 is not set # CONFIG_LV_USE_WAYLAND is not set # CONFIG_LV_USE_LINUX_FBDEV is not set # CONFIG_LV_USE_NUTTX is not set # CONFIG_LV_USE_LINUX_DRM is not set # CONFIG_LV_USE_TFT_ESPI is not set # CONFIG_LV_USE_EVDEV is not set # CONFIG_LV_USE_LIBINPUT is not set # CONFIG_LV_USE_ST7735 is not set # CONFIG_LV_USE_ST7789 is not set # CONFIG_LV_USE_ST7796 is not set # CONFIG_LV_USE_ILI9341 is not set # CONFIG_LV_USE_GENERIC_MIPI is not set # CONFIG_LV_USE_RENESAS_GLCDC is not set # CONFIG_LV_USE_OPENGLES is not set # CONFIG_LV_USE_QNX is not set # end of Devices # # Examples # CONFIG_LV_BUILD_EXAMPLES=y # end of Examples # # Demos # # CONFIG_LV_USE_DEMO_WIDGETS is not set # CONFIG_LV_USE_DEMO_KEYPAD_AND_ENCODER is not set # CONFIG_LV_USE_DEMO_RENDER is not set # CONFIG_LV_USE_DEMO_SCROLL is not set # CONFIG_LV_USE_DEMO_STRESS is not set # CONFIG_LV_USE_DEMO_MUSIC is not set # CONFIG_LV_USE_DEMO_FLEX_LAYOUT is not set # CONFIG_LV_USE_DEMO_MULTILANG is not set # end of Demos # end of LVGL configuration # end of Component config # CONFIG_IDF_EXPERIMENTAL_FEATURES is not set # Deprecated options for backward compatibility # CONFIG_APP_BUILD_TYPE_ELF_RAM is not set # CONFIG_NO_BLOBS is not set # CONFIG_LOG_BOOTLOADER_LEVEL_NONE is not set # CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set # CONFIG_LOG_BOOTLOADER_LEVEL_WARN is not set CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y # CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG is not set # CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE is not set CONFIG_LOG_BOOTLOADER_LEVEL=3 # CONFIG_APP_ROLLBACK_ENABLE is not set # CONFIG_FLASH_ENCRYPTION_ENABLED is not set # CONFIG_FLASHMODE_QIO is not set # CONFIG_FLASHMODE_QOUT is not set CONFIG_FLASHMODE_DIO=y # CONFIG_FLASHMODE_DOUT is not set CONFIG_MONITOR_BAUD=115200 CONFIG_OPTIMIZATION_LEVEL_DEBUG=y CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG=y CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y # CONFIG_OPTIMIZATION_LEVEL_RELEASE is not set # CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE is not set CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y # CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is not set # CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED is not set CONFIG_OPTIMIZATION_ASSERTION_LEVEL=2 # CONFIG_CXX_EXCEPTIONS is not set CONFIG_STACK_CHECK_NONE=y # CONFIG_STACK_CHECK_NORM is not set # CONFIG_STACK_CHECK_STRONG is not set # CONFIG_STACK_CHECK_ALL is not set # CONFIG_WARN_WRITE_STRINGS is not set # CONFIG_ESP32_APPTRACE_DEST_TRAX is not set CONFIG_ESP32_APPTRACE_DEST_NONE=y CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y CONFIG_BLUEDROID_ENABLED=y # CONFIG_NIMBLE_ENABLED is not set CONFIG_BTC_TASK_STACK_SIZE=3072 CONFIG_BLUEDROID_PINNED_TO_CORE_0=y # CONFIG_BLUEDROID_PINNED_TO_CORE_1 is not set CONFIG_BLUEDROID_PINNED_TO_CORE=0 CONFIG_BTU_TASK_STACK_SIZE=4352 # CONFIG_BLUEDROID_MEM_DEBUG is not set CONFIG_GATTS_ENABLE=y # CONFIG_GATTS_SEND_SERVICE_CHANGE_MANUAL is not set CONFIG_GATTS_SEND_SERVICE_CHANGE_AUTO=y CONFIG_GATTS_SEND_SERVICE_CHANGE_MODE=0 CONFIG_GATTC_ENABLE=y # CONFIG_GATTC_CACHE_NVS_FLASH is not set CONFIG_BLE_SMP_ENABLE=y # CONFIG_SMP_SLAVE_CON_PARAMS_UPD_ENABLE is not set # CONFIG_HCI_TRACE_LEVEL_NONE is not set # CONFIG_HCI_TRACE_LEVEL_ERROR is not set CONFIG_HCI_TRACE_LEVEL_WARNING=y # CONFIG_HCI_TRACE_LEVEL_API is not set # CONFIG_HCI_TRACE_LEVEL_EVENT is not set # CONFIG_HCI_TRACE_LEVEL_DEBUG is not set # CONFIG_HCI_TRACE_LEVEL_VERBOSE is not set CONFIG_HCI_INITIAL_TRACE_LEVEL=2 # CONFIG_BTM_TRACE_LEVEL_NONE is not set # CONFIG_BTM_TRACE_LEVEL_ERROR is not set CONFIG_BTM_TRACE_LEVEL_WARNING=y # CONFIG_BTM_TRACE_LEVEL_API is not set # CONFIG_BTM_TRACE_LEVEL_EVENT is not set # CONFIG_BTM_TRACE_LEVEL_DEBUG is not set # CONFIG_BTM_TRACE_LEVEL_VERBOSE is not set CONFIG_BTM_INITIAL_TRACE_LEVEL=2 # CONFIG_L2CAP_TRACE_LEVEL_NONE is not set # CONFIG_L2CAP_TRACE_LEVEL_ERROR is not set CONFIG_L2CAP_TRACE_LEVEL_WARNING=y # CONFIG_L2CAP_TRACE_LEVEL_API is not set # CONFIG_L2CAP_TRACE_LEVEL_EVENT is not set # CONFIG_L2CAP_TRACE_LEVEL_DEBUG is not set # CONFIG_L2CAP_TRACE_LEVEL_VERBOSE is not set CONFIG_L2CAP_INITIAL_TRACE_LEVEL=2 # CONFIG_RFCOMM_TRACE_LEVEL_NONE is not set # CONFIG_RFCOMM_TRACE_LEVEL_ERROR is not set CONFIG_RFCOMM_TRACE_LEVEL_WARNING=y # CONFIG_RFCOMM_TRACE_LEVEL_API is not set # CONFIG_RFCOMM_TRACE_LEVEL_EVENT is not set # CONFIG_RFCOMM_TRACE_LEVEL_DEBUG is not set # CONFIG_RFCOMM_TRACE_LEVEL_VERBOSE is not set CONFIG_RFCOMM_INITIAL_TRACE_LEVEL=2 # CONFIG_SDP_TRACE_LEVEL_NONE is not set # CONFIG_SDP_TRACE_LEVEL_ERROR is not set CONFIG_SDP_TRACE_LEVEL_WARNING=y # CONFIG_SDP_TRACE_LEVEL_API is not set # CONFIG_SDP_TRACE_LEVEL_EVENT is not set # CONFIG_SDP_TRACE_LEVEL_DEBUG is not set # CONFIG_SDP_TRACE_LEVEL_VERBOSE is not set CONFIG_BTH_LOG_SDP_INITIAL_TRACE_LEVEL=2 # CONFIG_GAP_TRACE_LEVEL_NONE is not set # CONFIG_GAP_TRACE_LEVEL_ERROR is not set CONFIG_GAP_TRACE_LEVEL_WARNING=y # CONFIG_GAP_TRACE_LEVEL_API is not set # CONFIG_GAP_TRACE_LEVEL_EVENT is not set # CONFIG_GAP_TRACE_LEVEL_DEBUG is not set # CONFIG_GAP_TRACE_LEVEL_VERBOSE is not set CONFIG_GAP_INITIAL_TRACE_LEVEL=2 CONFIG_BNEP_INITIAL_TRACE_LEVEL=2 # CONFIG_PAN_TRACE_LEVEL_NONE is not set # CONFIG_PAN_TRACE_LEVEL_ERROR is not set CONFIG_PAN_TRACE_LEVEL_WARNING=y # CONFIG_PAN_TRACE_LEVEL_API is not set # CONFIG_PAN_TRACE_LEVEL_EVENT is not set # CONFIG_PAN_TRACE_LEVEL_DEBUG is not set # CONFIG_PAN_TRACE_LEVEL_VERBOSE is not set CONFIG_PAN_INITIAL_TRACE_LEVEL=2 # CONFIG_A2D_TRACE_LEVEL_NONE is not set # CONFIG_A2D_TRACE_LEVEL_ERROR is not set CONFIG_A2D_TRACE_LEVEL_WARNING=y # CONFIG_A2D_TRACE_LEVEL_API is not set # CONFIG_A2D_TRACE_LEVEL_EVENT is not set # CONFIG_A2D_TRACE_LEVEL_DEBUG is not set # CONFIG_A2D_TRACE_LEVEL_VERBOSE is not set CONFIG_A2D_INITIAL_TRACE_LEVEL=2 # CONFIG_AVDT_TRACE_LEVEL_NONE is not set # CONFIG_AVDT_TRACE_LEVEL_ERROR is not set CONFIG_AVDT_TRACE_LEVEL_WARNING=y # CONFIG_AVDT_TRACE_LEVEL_API is not set # CONFIG_AVDT_TRACE_LEVEL_EVENT is not set # CONFIG_AVDT_TRACE_LEVEL_DEBUG is not set # CONFIG_AVDT_TRACE_LEVEL_VERBOSE is not set CONFIG_AVDT_INITIAL_TRACE_LEVEL=2 # CONFIG_AVCT_TRACE_LEVEL_NONE is not set # CONFIG_AVCT_TRACE_LEVEL_ERROR is not set CONFIG_AVCT_TRACE_LEVEL_WARNING=y # CONFIG_AVCT_TRACE_LEVEL_API is not set # CONFIG_AVCT_TRACE_LEVEL_EVENT is not set # CONFIG_AVCT_TRACE_LEVEL_DEBUG is not set # CONFIG_AVCT_TRACE_LEVEL_VERBOSE is not set CONFIG_AVCT_INITIAL_TRACE_LEVEL=2 # CONFIG_AVRC_TRACE_LEVEL_NONE is not set # CONFIG_AVRC_TRACE_LEVEL_ERROR is not set CONFIG_AVRC_TRACE_LEVEL_WARNING=y # CONFIG_AVRC_TRACE_LEVEL_API is not set # CONFIG_AVRC_TRACE_LEVEL_EVENT is not set # CONFIG_AVRC_TRACE_LEVEL_DEBUG is not set # CONFIG_AVRC_TRACE_LEVEL_VERBOSE is not set CONFIG_AVRC_INITIAL_TRACE_LEVEL=2 # CONFIG_MCA_TRACE_LEVEL_NONE is not set # CONFIG_MCA_TRACE_LEVEL_ERROR is not set CONFIG_MCA_TRACE_LEVEL_WARNING=y # CONFIG_MCA_TRACE_LEVEL_API is not set # CONFIG_MCA_TRACE_LEVEL_EVENT is not set # CONFIG_MCA_TRACE_LEVEL_DEBUG is not set # CONFIG_MCA_TRACE_LEVEL_VERBOSE is not set CONFIG_MCA_INITIAL_TRACE_LEVEL=2 # CONFIG_HID_TRACE_LEVEL_NONE is not set # CONFIG_HID_TRACE_LEVEL_ERROR is not set CONFIG_HID_TRACE_LEVEL_WARNING=y # CONFIG_HID_TRACE_LEVEL_API is not set # CONFIG_HID_TRACE_LEVEL_EVENT is not set # CONFIG_HID_TRACE_LEVEL_DEBUG is not set # CONFIG_HID_TRACE_LEVEL_VERBOSE is not set CONFIG_HID_INITIAL_TRACE_LEVEL=2 # CONFIG_APPL_TRACE_LEVEL_NONE is not set # CONFIG_APPL_TRACE_LEVEL_ERROR is not set CONFIG_APPL_TRACE_LEVEL_WARNING=y # CONFIG_APPL_TRACE_LEVEL_API is not set # CONFIG_APPL_TRACE_LEVEL_EVENT is not set # CONFIG_APPL_TRACE_LEVEL_DEBUG is not set # CONFIG_APPL_TRACE_LEVEL_VERBOSE is not set CONFIG_APPL_INITIAL_TRACE_LEVEL=2 # CONFIG_GATT_TRACE_LEVEL_NONE is not set # CONFIG_GATT_TRACE_LEVEL_ERROR is not set CONFIG_GATT_TRACE_LEVEL_WARNING=y # CONFIG_GATT_TRACE_LEVEL_API is not set # CONFIG_GATT_TRACE_LEVEL_EVENT is not set # CONFIG_GATT_TRACE_LEVEL_DEBUG is not set # CONFIG_GATT_TRACE_LEVEL_VERBOSE is not set CONFIG_GATT_INITIAL_TRACE_LEVEL=2 # CONFIG_SMP_TRACE_LEVEL_NONE is not set # CONFIG_SMP_TRACE_LEVEL_ERROR is not set CONFIG_SMP_TRACE_LEVEL_WARNING=y # CONFIG_SMP_TRACE_LEVEL_API is not set # CONFIG_SMP_TRACE_LEVEL_EVENT is not set # CONFIG_SMP_TRACE_LEVEL_DEBUG is not set # CONFIG_SMP_TRACE_LEVEL_VERBOSE is not set CONFIG_SMP_INITIAL_TRACE_LEVEL=2 # CONFIG_BTIF_TRACE_LEVEL_NONE is not set # CONFIG_BTIF_TRACE_LEVEL_ERROR is not set CONFIG_BTIF_TRACE_LEVEL_WARNING=y # CONFIG_BTIF_TRACE_LEVEL_API is not set # CONFIG_BTIF_TRACE_LEVEL_EVENT is not set # CONFIG_BTIF_TRACE_LEVEL_DEBUG is not set # CONFIG_BTIF_TRACE_LEVEL_VERBOSE is not set CONFIG_BTIF_INITIAL_TRACE_LEVEL=2 # CONFIG_BTC_TRACE_LEVEL_NONE is not set # CONFIG_BTC_TRACE_LEVEL_ERROR is not set CONFIG_BTC_TRACE_LEVEL_WARNING=y # CONFIG_BTC_TRACE_LEVEL_API is not set # CONFIG_BTC_TRACE_LEVEL_EVENT is not set # CONFIG_BTC_TRACE_LEVEL_DEBUG is not set # CONFIG_BTC_TRACE_LEVEL_VERBOSE is not set CONFIG_BTC_INITIAL_TRACE_LEVEL=2 # CONFIG_OSI_TRACE_LEVEL_NONE is not set # CONFIG_OSI_TRACE_LEVEL_ERROR is not set CONFIG_OSI_TRACE_LEVEL_WARNING=y # CONFIG_OSI_TRACE_LEVEL_API is not set # CONFIG_OSI_TRACE_LEVEL_EVENT is not set # CONFIG_OSI_TRACE_LEVEL_DEBUG is not set # CONFIG_OSI_TRACE_LEVEL_VERBOSE is not set CONFIG_OSI_INITIAL_TRACE_LEVEL=2 # CONFIG_BLUFI_TRACE_LEVEL_NONE is not set # CONFIG_BLUFI_TRACE_LEVEL_ERROR is not set CONFIG_BLUFI_TRACE_LEVEL_WARNING=y # CONFIG_BLUFI_TRACE_LEVEL_API is not set # CONFIG_BLUFI_TRACE_LEVEL_EVENT is not set # CONFIG_BLUFI_TRACE_LEVEL_DEBUG is not set # CONFIG_BLUFI_TRACE_LEVEL_VERBOSE is not set CONFIG_BLUFI_INITIAL_TRACE_LEVEL=2 # CONFIG_BLE_HOST_QUEUE_CONGESTION_CHECK is not set CONFIG_SMP_ENABLE=y # CONFIG_BLE_ACTIVE_SCAN_REPORT_ADV_SCAN_RSP_INDIVIDUALLY is not set CONFIG_BLE_ESTABLISH_LINK_CONNECTION_TIMEOUT=30 # CONFIG_BT_NIMBLE_COEX_PHY_CODED_TX_RX_TLIM_EN is not set CONFIG_BT_NIMBLE_COEX_PHY_CODED_TX_RX_TLIM_DIS=y CONFIG_SW_COEXIST_ENABLE=y CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE=y CONFIG_ESP_WIFI_SW_COEXIST_ENABLE=y # CONFIG_MCPWM_ISR_IN_IRAM is not set # CONFIG_EVENT_LOOP_PROFILING is not set CONFIG_POST_EVENTS_FROM_ISR=y CONFIG_POST_EVENTS_FROM_IRAM_ISR=y CONFIG_GDBSTUB_SUPPORT_TASKS=y CONFIG_GDBSTUB_MAX_TASKS=32 # CONFIG_OTA_ALLOW_HTTP is not set CONFIG_ESP32S3_DEEP_SLEEP_WAKEUP_DELAY=2000 CONFIG_ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY=2000 CONFIG_ESP32S3_RTC_CLK_SRC_INT_RC=y # CONFIG_ESP32S3_RTC_CLK_SRC_EXT_CRYS is not set # CONFIG_ESP32S3_RTC_CLK_SRC_EXT_OSC is not set # CONFIG_ESP32S3_RTC_CLK_SRC_INT_8MD256 is not set CONFIG_ESP32S3_RTC_CLK_CAL_CYCLES=1024 CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y # CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION is not set CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20 CONFIG_ESP32_PHY_MAX_TX_POWER=20 # CONFIG_REDUCE_PHY_TX_POWER is not set # CONFIG_ESP32_REDUCE_PHY_TX_POWER is not set CONFIG_ESP_SYSTEM_PM_POWER_DOWN_CPU=y CONFIG_PM_POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP=y CONFIG_ESP32S3_SPIRAM_SUPPORT=y CONFIG_DEFAULT_PSRAM_CLK_IO=30 CONFIG_DEFAULT_PSRAM_CS_IO=26 # CONFIG_ESP32S3_DEFAULT_CPU_FREQ_80 is not set # CONFIG_ESP32S3_DEFAULT_CPU_FREQ_160 is not set CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y CONFIG_ESP32S3_DEFAULT_CPU_FREQ_MHZ=240 CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32 CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2304 CONFIG_MAIN_TASK_STACK_SIZE=3584 CONFIG_CONSOLE_UART_DEFAULT=y # CONFIG_CONSOLE_UART_CUSTOM is not set # CONFIG_CONSOLE_UART_NONE is not set # CONFIG_ESP_CONSOLE_UART_NONE is not set CONFIG_CONSOLE_UART=y CONFIG_CONSOLE_UART_NUM=0 CONFIG_CONSOLE_UART_BAUDRATE=115200 CONFIG_INT_WDT=y CONFIG_INT_WDT_TIMEOUT_MS=300 CONFIG_INT_WDT_CHECK_CPU1=y CONFIG_TASK_WDT=y CONFIG_ESP_TASK_WDT=y # CONFIG_TASK_WDT_PANIC is not set CONFIG_TASK_WDT_TIMEOUT_S=5 CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y # CONFIG_ESP32_DEBUG_STUBS_ENABLE is not set CONFIG_ESP32S3_DEBUG_OCDAWARE=y CONFIG_BROWNOUT_DET=y CONFIG_ESP32S3_BROWNOUT_DET=y CONFIG_ESP32S3_BROWNOUT_DET=y CONFIG_BROWNOUT_DET_LVL_SEL_7=y CONFIG_ESP32S3_BROWNOUT_DET_LVL_SEL_7=y # CONFIG_BROWNOUT_DET_LVL_SEL_6 is not set # CONFIG_ESP32S3_BROWNOUT_DET_LVL_SEL_6 is not set # CONFIG_BROWNOUT_DET_LVL_SEL_5 is not set # CONFIG_ESP32S3_BROWNOUT_DET_LVL_SEL_5 is not set # CONFIG_BROWNOUT_DET_LVL_SEL_4 is not set # CONFIG_ESP32S3_BROWNOUT_DET_LVL_SEL_4 is not set # CONFIG_BROWNOUT_DET_LVL_SEL_3 is not set # CONFIG_ESP32S3_BROWNOUT_DET_LVL_SEL_3 is not set # CONFIG_BROWNOUT_DET_LVL_SEL_2 is not set # CONFIG_ESP32S3_BROWNOUT_DET_LVL_SEL_2 is not set # CONFIG_BROWNOUT_DET_LVL_SEL_1 is not set # CONFIG_ESP32S3_BROWNOUT_DET_LVL_SEL_1 is not set CONFIG_BROWNOUT_DET_LVL=7 CONFIG_ESP32S3_BROWNOUT_DET_LVL=7 CONFIG_IPC_TASK_STACK_SIZE=1280 CONFIG_TIMER_TASK_STACK_SIZE=3584 CONFIG_ESP32_WIFI_ENABLED=y CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10 CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32 CONFIG_ESP32_WIFI_STATIC_TX_BUFFER=y CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=0 CONFIG_ESP32_WIFI_STATIC_TX_BUFFER_NUM=16 CONFIG_ESP32_WIFI_CACHE_TX_BUFFER_NUM=32 # CONFIG_ESP32_WIFI_CSI_ENABLED is not set CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y CONFIG_ESP32_WIFI_TX_BA_WIN=6 CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y CONFIG_ESP32_WIFI_RX_BA_WIN=6 CONFIG_ESP32_WIFI_RX_BA_WIN=6 # CONFIG_ESP32_WIFI_AMSDU_TX_ENABLED is not set CONFIG_ESP32_WIFI_NVS_ENABLED=y CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y # CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1 is not set CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752 CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32 CONFIG_ESP32_WIFI_IRAM_OPT=y CONFIG_ESP32_WIFI_RX_IRAM_OPT=y CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE=y CONFIG_ESP32_WIFI_ENABLE_WPA3_OWE_STA=y CONFIG_WPA_MBEDTLS_CRYPTO=y CONFIG_WPA_MBEDTLS_TLS_CLIENT=y # CONFIG_WPA_WAPI_PSK is not set # CONFIG_WPA_SUITE_B_192 is not set # CONFIG_WPA_11KV_SUPPORT is not set # CONFIG_WPA_MBO_SUPPORT is not set # CONFIG_WPA_DPP_SUPPORT is not set # CONFIG_WPA_11R_SUPPORT is not set # CONFIG_WPA_WPS_SOFTAP_REGISTRAR is not set # CONFIG_WPA_WPS_STRICT is not set # CONFIG_WPA_DEBUG_PRINT is not set # CONFIG_WPA_TESTING_OPTIONS is not set # CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH is not set # CONFIG_ESP32_ENABLE_COREDUMP_TO_UART is not set CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y CONFIG_TIMER_TASK_PRIORITY=1 CONFIG_TIMER_TASK_STACK_DEPTH=2048 CONFIG_TIMER_QUEUE_LENGTH=10 # CONFIG_ENABLE_STATIC_TASK_CLEAN_UP_HOOK is not set # CONFIG_HAL_ASSERTION_SILIENT is not set # CONFIG_L2_TO_L3_COPY is not set CONFIG_ESP_GRATUITOUS_ARP=y CONFIG_GARP_TMR_INTERVAL=60 CONFIG_TCPIP_RECVMBOX_SIZE=32 CONFIG_TCP_MAXRTX=12 CONFIG_TCP_SYNMAXRTX=12 CONFIG_TCP_MSS=1440 CONFIG_TCP_MSL=60000 CONFIG_TCP_SND_BUF_DEFAULT=5760 CONFIG_TCP_WND_DEFAULT=5760 CONFIG_TCP_RECVMBOX_SIZE=6 CONFIG_TCP_QUEUE_OOSEQ=y CONFIG_TCP_OVERSIZE_MSS=y # CONFIG_TCP_OVERSIZE_QUARTER_MSS is not set # CONFIG_TCP_OVERSIZE_DISABLE is not set CONFIG_UDP_RECVMBOX_SIZE=6 CONFIG_TCPIP_TASK_STACK_SIZE=3072 CONFIG_TCPIP_TASK_AFFINITY_NO_AFFINITY=y # CONFIG_TCPIP_TASK_AFFINITY_CPU0 is not set # CONFIG_TCPIP_TASK_AFFINITY_CPU1 is not set CONFIG_TCPIP_TASK_AFFINITY=0x7FFFFFFF # CONFIG_PPP_SUPPORT is not set CONFIG_ESP32S3_TIME_SYSCALL_USE_RTC_SYSTIMER=y CONFIG_ESP32S3_TIME_SYSCALL_USE_RTC_FRC1=y # CONFIG_ESP32S3_TIME_SYSCALL_USE_RTC is not set # CONFIG_ESP32S3_TIME_SYSCALL_USE_SYSTIMER is not set # CONFIG_ESP32S3_TIME_SYSCALL_USE_FRC1 is not set # CONFIG_ESP32S3_TIME_SYSCALL_USE_NONE is not set CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5 CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072 CONFIG_ESP32_PTHREAD_STACK_MIN=768 CONFIG_ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y # CONFIG_ESP32_DEFAULT_PTHREAD_CORE_0 is not set # CONFIG_ESP32_DEFAULT_PTHREAD_CORE_1 is not set CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1 CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread" CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y # CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS is not set # CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED is not set CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y CONFIG_SUPPORT_TERMIOS=y CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS=1 # End of deprecated options
101,718
sdkconfig
en
unknown
unknown
{}
0
{}
0015/T-Glass-Applications
ancs_app/README.md
## T-Glass v2 Notification Viewer This project demonstrates a BLE-based notification viewer for the T-Glass v2 hardware. It integrates ESP-IDF, LVGL, and esp-bsp-generic to display notifications from an iPhone on the T-Glass v2 prism display. ### Features - **BLE ANCS (Apple Notification Center Service)**: Connects to an iPhone to receive and display notifications. - **Dynamic UI with LVGL**: Uses LVGL to create a tile-based UI to display notification details. - **Battery Monitoring**: Tracks and displays the T-Glass v2 battery status. - **Non-Volatile Storage**: Stores and retrieves data using NVS. - **Custom Display Driver**: Manages the JD9613 display. ### Requirements #### Hardware • T-Glass v2: Wearable device with ESP32-S3. #### Software • ESP-IDF v5.3.2: The development framework for ESP32 series. • esp-bsp-generic v2.0.0: Board support package. • LVGL v9.2.2: Graphics library for creating UIs. ### Setup Instructions 1. Install ESP-IDF ``` Follow the official ESP-IDF installation guide for your platform. ``` 2. Clone the Repository ``` git clone https://github.com/0015/T-Glass-Applications.git cd ancs_app ``` 3. Open this folder with VS Code or your IDE ### Folder Structure ``` . ├── main/ # Main application source code │ ├── include/ # Header files for all modules │ │ ├── ancs_app.h │ │ ├── battery_measurement.h │ │ ├── ble_ancs.h │ │ ├── jd9613.h │ │ ├── nvs_manager.h │ │ └── t_glass.h │ │ │ ├── ancs_app.c # BLE ANCS logic │ ├── battery_measurement.c # Battery measurement functions │ ├── ble_ancs.c # BLE functionality implementation │ ├── jd9613.c # JD9613 display driver │ ├── main.c # Entry point of the project │ ├── nvs_manager.c # NVS storage management │ └── t_glass.c # T-Glass UI (LVGL) │ ├── CMakeLists.txt # Build configuration for the ESP-IDF ├── README.md # Project overview └── sdkconfig.thatproject # ESP-IDF Settings ``` Here’s the CMakeLists.txt configuration file for this project: ``` idf_component_register(SRCS "ancs_app.c" "nvs_manager.c" "ble_ancs.c" "battery_measurement.c" "main.c" "jd9613.c" "t_glass.c" INCLUDE_DIRS "include" PRIV_REQUIRES touch_element REQUIRES nvs_flash bt) ``` ### Key Functionality #### BLE ANCS Integration * The ancs_app.c file handles BLE communication with the iPhone: * Fetches notifications via ANCS. * Processes attributes like title and message. * Provides callbacks to update the UI dynamically. * Battery Measurement * The battery_measurement.c file reads and displays the battery status of the T-Glass v2. * Display Management * The jd9613.c driver manages the JD9613 screen, ensuring notifications and battery status are displayed correctly. * Future Improvements * Add support for dismissing notifications from the T-Glass v2. * Enhance the UI with custom themes. * Extend BLE functionality to support Android notifications. ### License This project is licensed under the MIT License. ### Contributing Contributions are welcome! Feel free to fork the repository and submit a pull request.
3,450
README
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.1509434, "qsc_doc_num_sentences": 62.0, "qsc_doc_num_words": 480, "qsc_doc_num_chars": 3450.0, "qsc_doc_num_lines": 103.0, "qsc_doc_mean_word_length": 4.75208333, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.03883495, "qsc_doc_frac_words_unique": 0.41458333, "qsc_doc_entropy_unigram": 4.76918687, "qsc_doc_frac_words_all_caps": 0.09119497, "qsc_doc_frac_lines_dupe_lines": 0.09876543, "qsc_doc_frac_chars_dupe_lines": 0.00773196, "qsc_doc_frac_chars_top_2grams": 0.02279702, "qsc_doc_frac_chars_top_3grams": 0.02455064, "qsc_doc_frac_chars_top_4grams": 0.02411223, "qsc_doc_frac_chars_dupe_5grams": 0.0105217, "qsc_doc_frac_chars_dupe_6grams": 0.0, "qsc_doc_frac_chars_dupe_7grams": 0.0, "qsc_doc_frac_chars_dupe_8grams": 0.0, "qsc_doc_frac_chars_dupe_9grams": 0.0, "qsc_doc_frac_chars_dupe_10grams": 0.0, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 1.0, "qsc_doc_num_chars_sentence_length_mean": 19.78915663, "qsc_doc_frac_chars_hyperlink_html_tag": 0.0, "qsc_doc_frac_chars_alphabet": 0.8430987, "qsc_doc_frac_chars_digital": 0.02202123, "qsc_doc_frac_chars_whitespace": 0.26289855, "qsc_doc_frac_chars_hex_words": 0.0}
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_all_caps": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0}
0015/Fridge-Calendar
main/include/OpenSans_SemiCondensed-Medium-24.h
#pragma once #include "epdiy.h" /* Created with fontconvert.py OpenSans 24 /Users/sil0/Workspace/3_ESP-IDF-Projects/HomeCalendar/epdiy/scripts/OpenSans_24SemiCondensed-Medium.ttf As 'OpenSans' with available 214 characters !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ–—―‗‘’‚‛“”„†‡•…‰′″‹›‼⁄◊ */ const uint8_t OpenSans_24Bitmaps[77895] = { 0xF6, 0xFF, 0xFF, 0x01, 0xF6, 0xFF, 0xFF, 0x00, 0xF5, 0xFF, 0xFF, 0x00, 0xF4, 0xFF, 0xFF, 0x00, 0xF4, 0xFF, 0xEF, 0x00, 0xF3, 0xFF, 0xEF, 0x00, 0xF2, 0xFF, 0xDF, 0x00, 0xF2, 0xFF, 0xCF, 0x00, 0xF1, 0xFF, 0xCF, 0x00, 0xF0, 0xFF, 0xBF, 0x00, 0xF0, 0xFF, 0xAF, 0x00, 0xF0, 0xFF, 0xAF, 0x00, 0xE0, 0xFF, 0x9F, 0x00, 0xE0, 0xFF, 0x8F, 0x00, 0xD0, 0xFF, 0x8F, 0x00, 0xC0, 0xFF, 0x7F, 0x00, 0xC0, 0xFF, 0x6F, 0x00, 0xB0, 0xFF, 0x6F, 0x00, 0xA0, 0xFF, 0x5F, 0x00, 0xA0, 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FF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x0A, 0x00, 0x00, 0xF8, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x08, 0x00, 0x00, 0xFA, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x05, 0x00, 0x00, 0xFD, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x03, 0x00, 0x00, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x00, 0x00, 0x20, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xEF, 0x00, 0x00, 0x40, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xBF, 0x00, 0x00, 0x70, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x9F, 0x00, 0x00, 0x90, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0x6F, 0x00, 0x00, 0xC0, 0xFF, 0x0C, 0x00, 0x00, 0x30, 0x77, 0x77, 0xA7, 0xFF, 0xAF, 0x77, 0x77, 0xF7, 0xFF, 0x7D, 0x77, 0x67, 0x60, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x60, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x60, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x09, 0x00, 0x00, 0xF9, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0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F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x01, 0x00, 0x20, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x00, 0x00, 0x40, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xCF, 0x00, 0x00, 0x70, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xAF, 0x00, 0x00, 0xA0, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x7F, 0x00, 0x00, 0xC0, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0x5F, 0x00, 0x00, 0xF0, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xC8, 0xFE, 0xFF, 0xFF, 0xAD, 0x26, 0x00, 0x00, 0x00, 0x10, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6C, 0x00, 0x00, 0xE3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x10, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0x5F, 0x00, 0xA0, 0xFF, 0xFF, 0x5C, 0xD0, 0xFF, 0x00, 0x73, 0xFC, 0x0F, 0x00, 0xF1, 0xFF, 0xBF, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x10, 0x04, 0x00, 0xF6, 0xFF, 0x1F, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x0D, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x0C, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0E, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xEF, 0x04, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xAF, 0xD2, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xFF, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0xFF, 0x4C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xF9, 0xFF, 0xFF, 0xFF, 0xFF, 0x2C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFE, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x50, 0xFD, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0xB0, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0xFE, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0xF8, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0xF7, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0xF9, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0xFE, 0xFF, 0x08, 0xA8, 0x03, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0xB0, 0xFF, 0xFF, 0x03, 0xF8, 0xEF, 0x59, 0x02, 0xD0, 0xFF, 0x73, 0xFE, 0xFF, 0xBF, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0x1E, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x02, 0x00, 0xA3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x07, 0x00, 0x00, 0x00, 0x40, 0xA8, 0xED, 0xFF, 0xFF, 0x8B, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x51, 0x77, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xEF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x6F, 0x00, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x0C, 0x00, 0xE0, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x06, 0x00, 0x90, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x03, 0x00, 0x50, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x01, 0x00, 0x30, 0xFF, 0x9F, 0x00, 0x00, 0x10, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x20, 0xFF, 0xBF, 0x00, 0x00, 0x80, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x10, 0xFF, 0xBF, 0x00, 0x00, 0xF0, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x10, 0xFF, 0xCF, 0x00, 0x00, 0xF7, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x10, 0xFF, 0xBF, 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0x00, 0x00, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x0E, 0x00, 0xF6, 0xFF, 0x07, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x07, 0x00, 0xF7, 0xFF, 0x05, 0x00, 0x00, 0xFC, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x01, 0x00, 0xF8, 0xFF, 0x05, 0x00, 0x00, 0xFB, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0x9F, 0x00, 0x00, 0xF8, 0xFF, 0x05, 0x00, 0x00, 0xFB, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x2F, 0x00, 0x00, 0xF8, 0xFF, 0x05, 0x00, 0x00, 0xFB, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x0B, 0x00, 0x00, 0xF7, 0xFF, 0x05, 0x00, 0x00, 0xFC, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x03, 0x00, 0x00, 0xF5, 0xFF, 0x07, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x09, 0x00, 0x00, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x0C, 0x00, 0x30, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x2F, 0x00, 0x90, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xCF, 0x01, 0xF5, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xEF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFD, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x77, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x76, 0x67, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFD, 0xFF, 0xFF, 0xDF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0x48, 0xA4, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x4F, 0x00, 0x00, 0xF8, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0B, 0x00, 0x00, 0xF0, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xD0, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0xC0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xE0, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x0C, 0x00, 0x00, 0xF2, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0xF9, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0x30, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x03, 0xE3, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x7E, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD3, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF,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x00, 0x00, 0x00, 0xF4, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x0B, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0xC0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x0A, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0xD0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x06, 0x00, 0x00, 0x90, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x70, 0xAE, 0x15, 0x00, 0xC0, 0xFF, 0x08, 0x00, 0x61, 0xFB, 0x05, 0xA0, 0xFF, 0xFF, 0x7B, 0xB2, 0xFF, 0x37, 0xD8, 0xFF, 0xFF, 0x07, 0xD0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0D, 0x50, 0x86, 0xB9, 0xEC, 0xFF, 0xFF, 0xFF, 0xCE, 0x9A, 0x57, 0x04, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xB7, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xEF, 0x30, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x7F, 0x00, 0xFB, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x1F, 0x00, 0xF3, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x08, 0x00, 0xB0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xE6, 0xFF, 0x01, 0x00, 0x30, 0xFF, 0x4D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00, 0x7A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xDD, 0x6D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xCC, 0xCC, 0xCC, 0xDC, 0xFF, 0xEF, 0xCC, 0xCC, 0xCC, 0xCC, 0x02, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x02, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0xF2, 0xFF, 0xCF, 0x00, 0x00, 0xF5, 0xFF, 0x8F, 0x00, 0x00, 0xF8, 0xFF, 0x3F, 0x00, 0x00, 0xFB, 0xFF, 0x0E, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x10, 0xFF, 0xFF, 0x03, 0x00, 0x50, 0xFF, 0xDF, 0x00, 0x00, 0x80, 0xFF, 0x7F, 0x00, 0x00, 0xC0, 0xFF, 0x1F, 0x00, 0x00, 0xF0, 0xFF, 0x09, 0x00, 0x00, 0x41, 0x44, 0x44, 0x44, 0x44, 0x44, 0x02, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x32, 0x00, 0x00, 0xC1, 0xFF, 0x5F, 0x00, 0xF8, 0xFF, 0xFF, 0x00, 0xFC, 0xFF, 0xFF, 0x04, 0xFC, 0xFF, 0xFF, 0x04, 0xFA, 0xFF, 0xFF, 0x01, 0xE2, 0xFF, 0x8F, 0x00, 0x10, 0x76, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x74, 0x77, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFA, 0xFF, 0xFF, 0xFF, 0x2A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xCF, 0xCA, 0xFF, 0xFF, 0xEF, 0x01, 0x00,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, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x41, 0x76, 0x67, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC6, 0xFF, 0xFF, 0xFF, 0xFF, 0x2A, 0x00, 0x00, 0x00, 0x00, 0xD4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xEF, 0xAB, 0xEB, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xE1, 0xFF, 0xBF, 0x03, 0x00, 0x00, 0xE5, 0xFF, 0xFF, 0x0D, 0x00, 0x30, 0xEF, 0x04, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x06,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00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE5, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xC6, 0xFF, 0xFF, 0x3E, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xFF, 0xAF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xFF, 0xFF, 0x8D, 0x01, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x95, 0xFE, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0xBF, 0x00, 0xFF, 0x49, 0x00, 0x00, 0x00, 0x00, 0xE5, 0xFF, 0xFF, 0x3F, 0x00, 0xFF, 0xFF, 0xCF, 0x9A, 0x98, 0xFB, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x60, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x42, 0x76, 0x77, 0x46, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x9F, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x89, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x92, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0x9F, 0x90, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0x1F, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x07, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xDF, 0x00, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x4F, 0x00, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0B, 0x00, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x02, 0x00, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0x9F, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x1E, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x06, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xF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00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xFC, 0xFF, 0x3A, 0x33, 0x33, 0x33, 0x33, 0x33, 0x02, 0x00, 0x00, 0xFD, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xEF, 0xC9, 0xFE, 0xFF, 0xAD, 0x05, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x05, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xB3, 0x48, 0x02, 0x00, 0x52, 0xFB, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xEF, 0x00, 0x42, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x8F, 0x00, 0xF4, 0x7D, 0x02, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x1E, 0x00, 0xF4, 0xFF, 0xEF, 0x9B, 0x98, 0xFB, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xF4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x03, 0x00, 0x00, 0x20, 0xD9, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x76, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x76, 0x77, 0x56, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA4, 0xFF, 0xFF, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0xB1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x30, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0x9B, 0x88, 0xB9, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xEF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xDF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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x20, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFD, 0xFF, 0xFF, 0xFF, 0x8E, 0x01, 0x00, 0x00, 0x00, 0x20, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x4E, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 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0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x0C, 0xE0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x20, 0xFD, 0xFF, 0xFF, 0x0C, 0x70, 0xFF, 0xFF, 0x9F, 0x02, 0x10, 0xE7, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x9F, 0xFC, 0xFF, 0x0A, 0x00, 0xE2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0C, 0xFD, 0xFF, 0x08, 0x00, 0x20, 0xFD, 0xFF, 0xFF, 0xFF, 0xAF, 0x00, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x50, 0xEB, 0xFF, 0xAD, 0x04, 0x10, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD5, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0xBD, 0x79, 0x87, 0xEA, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x02, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0xBF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x76, 0x77, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x76, 0x04, 0x00, 0xE2, 0xFF, 0x9F, 0x00, 0xF9, 0xFF, 0xFF, 0x01, 0xFC, 0xFF, 0xFF, 0x04, 0xFC, 0xFF, 0xFF, 0x03, 0xF8, 0xFF, 0xFF, 0x00, 0xB0, 0xFF, 0x5F, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0xB0, 0xFF, 0x5F, 0x00, 0xF8, 0xFF, 0xFF, 0x00, 0xFC, 0xFF, 0xFF, 0x04, 0xFC, 0xFF, 0xFF, 0x04, 0xF9, 0xFF, 0xFF, 0x01, 0xE2, 0xFF, 0x8F, 0x00, 0x10, 0x76, 0x03, 0x00, 0x00, 0x10, 0x76, 0x04, 0x00, 0x00, 0xF2, 0xFF, 0x9F, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x01, 0x00, 0xFC, 0xFF, 0xFF, 0x04, 0x00, 0xFC, 0xFF, 0xFF, 0x03, 0x00, 0xF8, 0xFF, 0xFF, 0x00, 0x00, 0xC0, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x01, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0xF4, 0xFF, 0xAF, 0x00, 0x00, 0xF7, 0xFF, 0x6F, 0x00, 0x00, 0xFA, 0xFF, 0x1F, 0x00, 0x00, 0xFD, 0xFF, 0x0C, 0x00, 0x00, 0xFF, 0xFF, 0x06, 0x00, 0x40, 0xFF, 0xFF, 0x01, 0x00, 0x70, 0xFF, 0xBF, 0x00, 0x00, 0xB0, 0xFF, 0x4F, 0x00, 0x00, 0xF0, 0xFF, 0x0E, 0x00, 0x00, 0xF3, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x91, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x91, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFE, 0xFF, 0xFF, 0x8F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFE, 0xFF, 0xFF, 0x8F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x8F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x8F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFD, 0xFF, 0xFF, 0x8F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFD, 0xFF, 0xFF, 0x8F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x8F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x2A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xFF, 0x3A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD5, 0xFF, 0xFF, 0xFF, 0x3B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC5, 0xFF, 0xFF, 0xFF, 0x4C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC4, 0xFF, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC4, 0xFF, 0xFF, 0xFF, 0x6D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC4, 0xFF, 0xFF, 0xFF, 0x7E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB3, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB3, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA3, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA2, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA2, 0x03, 0xCA, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0x1C, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0xCA, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0x1C, 0xB0, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xBF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xAF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0xAF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x9F, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x9F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x8F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x8F, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x7E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x7E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xF8, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xF8, 0xFF, 0xFF, 0xEF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xF9, 0xFF, 0xFF, 0xEF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFA, 0xFF, 0xFF, 0xEF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFB, 0xFF, 0xFF, 0xDF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFC, 0xFF, 0xFF, 0xDF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFD, 0xFF, 0xFF, 0xDF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFD, 0xFF, 0xFF, 0xDF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0xCF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xCF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xCF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x64, 0x77, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x71, 0xFD, 0xFF, 0xFF, 0xFF, 0xAF, 0x02, 0x00, 0x00, 0x81, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xB0, 0xFF, 0xFF, 0xAD, 0xA9, 0xFD, 0xFF, 0xFF, 0x0E, 0x00, 0x40, 0xEF, 0x28, 0x00, 0x00, 0x40, 0xFE, 0xFF, 0x6F, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFE, 0xDF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x72, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x31, 0x76, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xC7, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE5, 0xFF, 0xFF, 0xFF, 0xCE, 0xCC, 0xFD, 0xFF, 0xFF, 0xDF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xBF, 0x15, 0x00, 0x00, 0x00, 0xB5, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xBF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC3, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x04, 0x00, 0x00, 0x80, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0C, 0x00, 0x00, 0xF1, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x64, 0x77, 0x46, 0x01, 0x00, 0x00, 0xB0, 0xFF, 0x2F, 0x00, 0x00, 0xF7, 0xFF, 0x08, 0x00, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0xEF, 0x09, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0xFD, 0xFF, 0x01, 0x00, 0x00, 0xE3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0xFE, 0xDF, 0x00, 0x30, 0xFF, 0xAF, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xCF, 0xAA, 0xFC, 0xFF, 0x0F, 0x00, 0x00, 0xFA, 0xFF, 0x00, 0x70, 0xFF, 0x5F, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x01, 0x00, 0xD0, 0xFF, 0x0F, 0x00, 0x00, 0xF7, 0xFF, 0x03, 0xB0, 0xFF, 0x0F, 0x00, 0x00, 0xF6, 0xFF, 0x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0x00, 0x30, 0xFF, 0x7F, 0x00, 0xF2, 0xFF, 0x09, 0x00, 0x00, 0xFE, 0xFF, 0x04, 0x00, 0xB0, 0xFF, 0xFE, 0x1F, 0x00, 0xB0, 0xFF, 0x1F, 0x00, 0xF0, 0xFF, 0x0C, 0x00, 0x00, 0xF8, 0xFF, 0x8F, 0x43, 0xFB, 0x9F, 0xF9, 0xCF, 0x44, 0xFB, 0xFF, 0x08, 0x00, 0xC0, 0xFF, 0x1F, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xFF, 0xFF, 0x1E, 0xF3, 0xFF, 0xFF, 0xFF, 0xDF, 0x00, 0x00, 0x80, 0xFF, 0x5F, 0x00, 0x00, 0x20, 0xFD, 0xFF, 0xFF, 0xEF, 0x03, 0x80, 0xFF, 0xFF, 0xFF, 0x1D, 0x00, 0x00, 0x40, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x70, 0xFC, 0xEF, 0x19, 0x00, 0x00, 0xC6, 0xFF, 0x7C, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFA, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0xAE, 0x57, 0x44, 0x65, 0xC9, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xB8, 0xFD, 0xFF, 0xEF, 0x9C, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xEF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x9F, 0xFE, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x5F, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x1F, 0xF6, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0E, 0xF2, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x09, 0xE0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x90, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x01, 0x50, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xCF, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x7F, 0x00, 0x00, 0xFC, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x3F, 0x00, 0x00, 0xF7, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x00, 0xF2, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xE0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xAF, 0x44, 0x44, 0x44, 0x44, 0xFD, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0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06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x2E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xEF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x9F, 0x02, 0x00, 0x00, 0x30, 0xD8, 0x09, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0xFF, 0xEF, 0xBC, 0xDC, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x10, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x81, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0x7C, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x57, 0x03, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x9C, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x19, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xF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x00, 0x70, 0xFF, 0xFF, 0x09, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x09, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x08, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x07, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x06, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x04, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x01, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xDF, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x9F, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x4F, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x0D, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x06, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xDF, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0xFD, 0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xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x75, 0x77, 0x56, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7B, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE7, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x01, 0x00, 0x00, 0x00, 0xC2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x30, 0xFE, 0xFF, 0xFF, 0xFF, 0xCE, 0xBB, 0xFC, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0xFF, 0xEF, 0x28, 0x00, 0x00, 0x00, 0x72, 0xFC, 0x1F, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0x1A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x07, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0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0xFF, 0x2F, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xEF, 0x01, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x09, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x2F, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xBF, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0x04, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x0D, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F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FF, 0x0E, 0x00, 0x00, 0xFE, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F, 0x00, 0x30, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x80, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0xB0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0xE0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0A, 0xF1, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x07, 0xD0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xA0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0x60, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x20, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x00, 0xFC, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x5F, 0x00, 0x00, 0xF6, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xCF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 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00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x93, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0xFF, 0xFF, 0xDF, 0xCB, 0xFE, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFD, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xF8, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0xFE, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x6F, 0x00, 0x30, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xBF, 0x00, 0x80, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x00, 0xB0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x03, 0xE0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x06, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0xF1, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x07, 0xD0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xA0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0x60, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x00, 0x10, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x00, 0xFC, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x5F, 0x00, 0x00, 0xF6, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xCF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x75, 0x87, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xFF, 0x4D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xFF, 0x4C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0xFF, 0xFF, 0x4C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD3, 0xFF, 0xFF, 0xFF, 0xFF, 0x2B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE7, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE7, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE7, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0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x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10,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 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF1, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x09, 0xD0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x06, 0x90, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x02, 0x40, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xEF, 0x00, 0x00, 0xFE, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x10, 0xF8, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0xDF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x06, 0xF8, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xDF, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x8F, 0x00, 0xA0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x3F, 0x00, 0x60, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0E, 0x00, 0x10, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0xFC, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0xF7, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0xF3, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0xFB, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x0C, 0x00, 0x40, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x1F, 0x00, 0x80, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0xD0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x9F, 0x00, 0xF1, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0xF5, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x02, 0xF9, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x06, 0xFD, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x19, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x5D, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x9F, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xEF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x1F, 0xF4, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0D, 0xF1, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x09, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x06, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x02, 0x50, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xEF, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0x00, 0xFE, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFA, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x7F, 0x00, 0x00, 0xFA, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xF6, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00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x00, 0xD0, 0xFF, 0x4F, 0xF7, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x2F, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x6F, 0xFA, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x6F, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x9F, 0xFD, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xBF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xBF, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x03, 0x30, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xBF, 0x00, 0x00, 0xFA, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x3F, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xDF, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x05, 0x00, 0xB0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0D, 0x00, 0xF3, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x5F, 0x00, 0xFB, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xCF, 0x30, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xB4, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0xFD, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0xFB, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xB1, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x8F, 0x30, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x1F, 0x00, 0xFB, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x08, 0x00, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0xC0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x8F, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0xF7, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0xFE, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F, 0x00, 0x70, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xDF, 0x00, 0xF1, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x05, 0xF8, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x0D, 0xFC, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xDF, 0x00, 0xD0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x6F, 0x00, 0x70, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xFF, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xF8, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0xF2, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x2F, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x8F, 0x00, 0x00, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x00, 0x00, 0xF6, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x06, 0x00, 0xFD, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x40, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x4F, 0xB0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xAF, 0xF2, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFA, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0E, 0xF1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0E, 0xF1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0E, 0xF1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0D, 0x30, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0xD3, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x46, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x14, 0xF7, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0xF8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0xF8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 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 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xCF, 0xCC, 0xCC, 0x7C, 0xF5, 0xFF, 0xFF, 0xFF, 0xFF, 0x9F, 0xF5, 0xFF, 0xFF, 0xFF, 0xFF, 0x9F, 0xF5, 0xFF, 0xFF, 0xFF, 0xFF, 0x9F, 0xF2, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x8F, 0x00, 0x00, 0x00, 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, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x7F, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x0D, 0xFA, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x06, 0xF2, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xEF, 0x00, 0xA0, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0x7F, 0x00, 0x20, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x1F, 0x00, 0x00, 0xFA, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x08, 0x00, 0x00, 0xF3, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x01, 0x00, 0x00, 0xB0, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x06, 0x00, 0x00, 0xF6, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0E, 0x00, 0x00, 0xFD, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x6F, 0x00, 0x50, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xEF, 0x00, 0xD0, 0xFF, 0x5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0xC7, 0x04, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x30, 0x97, 0xCB, 0xED, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x81, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xF5, 0xFF, 0xFF, 0xCF, 0x68, 0x45, 0x83, 0xFF, 0xFF, 0x04, 0x10, 0xFF, 0xFF, 0xBF, 0x02, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x80, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xC0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x04, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x04, 0xA0, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0x04, 0x40, 0xFF, 0xFF, 0xBF, 0x35, 0x74, 0xFD, 0xAF, 0xFE, 0xFF, 0x04, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0D, 0xFB, 0xFF, 0x04, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x01, 0xF7, 0xFF, 0x04, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0xF4, 0xFF, 0x04, 0x00, 0x00, 0x10, 0x75, 0x67, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x74, 0x77, 0x04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 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x30, 0x5A, 0x00, 0xF3, 0xFF, 0xFF, 0xCF, 0x89, 0xB8, 0xFE, 0x5F, 0x00, 0x60, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0xDF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x63, 0x77, 0x57, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x30, 0x76, 0x57, 0x01, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0xFF, 0x9F, 0x01, 0xF2, 0xFF, 0x7F, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0x3E, 0xF1, 0xFF, 0x7F, 0x00, 0xA0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0xF2, 0xFF, 0x7F, 0x00, 0xF6, 0xFF, 0xFF, 0xAF, 0x88, 0xFB, 0xFF, 0xFC, 0xFF, 0x7F, 0x00, 0xFE, 0xFF, 0xCF, 0x01, 0x00, 0x10, 0xFB, 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x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x77, 0x57, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD6, 0xFF, 0xFF, 0xFF,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, 0x00, 0x00, 0x70, 0xFF, 0xDF, 0xFF, 0xDF, 0x49, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCE, 0x28, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xA1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0xFB, 0xFF, 0x9F, 0x34, 0x33, 0x33, 0x53, 0xF9, 0xFF, 0xFF, 0x08, 0x80, 0xFF, 0xEF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x0C, 0xF1, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x0E, 0xF5, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x0E, 0xF7, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x0D, 0xF8, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x0B, 0xF7, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x07, 0xF3, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0x01, 0xE0, 0xFF, 0xFF, 0x19, 0x00, 0x00, 0x00, 0x60, 0xFE, 0xFF, 0x8F, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0x9B, 0x88, 0xCA, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x40, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x40, 0xC9, 0xFE, 0xFF, 0xCE, 0x6A, 0x02, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5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05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x01, 0x24, 0x10, 0xF9, 0xFF, 0xEF, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0x1E, 0x00, 0xFD, 0xFF, 0xFF, 0xEF, 0x02, 0x00, 0xC7, 0xFF, 0xCE, 0x07, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xCF, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x1E, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x04, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x7F, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x10, 0xFE, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0xF5, 0xFF, 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0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x60, 0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D, 0xF2, 0xFF, 0x7F, 0x00, 0x00, 0x70, 0xFE, 0xFF, 0xFF, 0x9F, 0x00, 0xF2, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x40, 0x76, 0x57, 0x01, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x67, 0x02, 0xF5, 0xFF, 0x07, 0x00, 0xE6, 0xFF, 0xFF, 0x09, 0xF5, 0xFF, 0x09, 0x90, 0xFF, 0xFF, 0xFF, 0x07, 0xF5, 0xFF, 0x0B, 0xF6, 0xFF, 0xFF, 0xFF, 0x05, 0xF5, 0xFF, 0x2D, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0xF5, 0xFF, 0xAF, 0xFF, 0x8F, 0x13, 0x41, 0x00, 0xF5, 0xFF, 0xFF, 0xEF, 0x02, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x64, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x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F, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x7B, 0x97, 0x2D, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0xD4, 0xFF, 0xFF, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x63, 0x77, 0x25, 0x00, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0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 0xFF, 0xAF, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0xFD, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x20, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x60, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x3F, 0x00, 0xB0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0x00, 0xF0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xCF, 0x00, 0xF4, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x01, 0xF8, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0xFD, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x18, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x5C, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x9F, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 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, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x8F, 0xF9, 0xFF, 0x03, 0x00, 0x00, 0xF0, 0xFF, 0x3E, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xAF, 0xFB, 0xFF, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x7F, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xCF, 0xFE, 0xBF, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xBF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x10, 0xFE, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x2F, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0xF1, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0xF9, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x4F, 0x00, 0x20, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xCF, 0x00, 0xB0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x05, 0xF3, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x0D, 0xFC, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xBF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xEF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x2F, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x07, 0xF7, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1,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F, 0x01, 0x00, 0x00, 0xF0, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0xF8, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0xFD, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x20, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x3F, 0x00, 0x70, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x8F, 0x00, 0xB0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xDF, 0x00, 0xF0, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x02, 0xF4, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x06, 0xF9, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0A, 0xFD, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x1E, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xDF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x92, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB1, 0xFE, 0xDF, 0x3A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0E, 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0E, 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0E, 0xA0, 0xCC, 0xCC, 0xCC, 0xCC, 0xDC, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00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FF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x20, 0xFA, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0xC5, 0xFE, 0xFF, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x6C, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xEF, 0x38, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x62, 0xFE, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x16, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xFF, 0x8D, 0x00, 0x00, 0x00, 0x30,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x6A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0xC2, 0xFE, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFB, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xEF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0xFF, 0xBD, 0x00, 0x00, 0x00, 0x00, 0xA3, 0xFE, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFB, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x30, 0xFE, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x4A, 0x01, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x30, 0xFB, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0xC2, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xDE, 0x5A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xEB, 0xEF, 0x7C, 0x01, 0x00, 0x00, 0x00, 0x00, 0x30, 0x03, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0xAF, 0x02, 0x00, 0x00, 0x00, 0xE3, 0x04, 0xB0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0x04, 0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 0xF5, 0xFF, 0xFF, 0x00, 0xF6, 0xFF, 0xFF, 0x00, 0xF7, 0xFF, 0xFF, 0x00, 0xF7, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xD9, 0xFF, 0xFF, 0x9D, 0x05, 0x00, 0x00, 0x00, 0x30, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x03, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x9F, 0x13, 0x20, 0xA5, 0x4F, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0xFE, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xEF, 0x02, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x8F, 0x02, 0x10, 0x84, 0xFE, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x50, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x50, 0xEA, 0xFF, 0xEF, 0x8C, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x76, 0x67, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFE, 0xFF, 0xFF, 0xFF, 0x8D, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xAE, 0xA9, 0xFD, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x20, 0xE8, 0x06, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0x99, 0xF9, 0xFF, 0xFF, 0x99, 0x99, 0x99, 0x89, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xEF, 0x02, 0x00, 0x00, 0x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, 0x00, 0xFA, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xAF, 0x00, 0x00, 0xFB, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xBF, 0x00, 0x00, 0xFA, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xBF, 0x00, 0x00, 0xF7, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0x8F, 0x00, 0x00, 0xF2, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x3F, 0x00, 0x00, 0xC0, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0x0D, 0x00, 0x00, 0x30, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x40, 0xFE, 0xFF, 0x04, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xCF, 0x57, 0x75, 0xFC, 0xFF, 0xFF, 0x0A, 0x00, 0x10, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x01, 0xD0, 0xFF, 0xEF, 0xE6, 0xFF, 0xFF, 0xFF, 0xFF, 0x7D, 0xFF, 0xFF, 0x0D, 0x50, 0xFF, 0x1D, 0x00, 0xB6, 0xFE, 0xEF, 0x5A, 0x00, 0xD2, 0xFF, 0x06, 0x00, 0xB5, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x6B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x05, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xEF, 0x00, 0x60, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x7F, 0x00, 0x00, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x1F, 0x00, 0x00, 0xF8, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xF2, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0xF4, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0C, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x2F, 0x00, 0x10, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x9F, 0x00, 0x60, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xEF, 0x00, 0xD0, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x05, 0xF3, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x0C, 0xF9, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x3F, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xDF, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x31, 0x33, 0x43, 0xFF, 0xFF, 0xFF, 0x4F, 0x33, 0x33, 0x01, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x41, 0x44, 0x44, 0xD4, 0xFF, 0xEF, 0x44, 0x44, 0x44, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 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x00, 0x10, 0xFF, 0xFF, 0x06, 0x40, 0xFD, 0x0A, 0x00, 0x00, 0xE5, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x75, 0x77, 0x56, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xC7, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x5A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0x7B, 0x35, 0x33, 0x64, 0xD9, 0xFF, 0xFF, 0x3D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD2, 0xFF, 0xDF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA3, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC2, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0x2D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xCF, 0x01, 0x00, 0x00, 0x00, 0x41, 0x77, 0x67, 0x03, 0x00, 0x00, 0x60, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0xB3, 0xFF, 0xFF, 0xFF, 0xFF, 0x4A, 0x00, 0x00, 0xF8, 0xFF, 0x02, 0x00, 0x00, 0xF3, 0xFF, 0x03, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0xB0, 0xFF, 0x0B, 0x00, 0x00, 0xFB, 0x8F, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0xBC, 0xDB, 0xFF, 0x5F, 0x00, 0x00, 0x10, 0xFF, 0x3F, 0x00, 0x20, 0xFF, 0x0E, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x18, 0x00, 0x00, 0x61, 0x0B, 0x00, 0x00, 0x00, 0xF8, 0xBF, 0x00, 0x90, 0xFF, 0x08, 0x00, 0x00, 0xF1, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x01, 0xD0, 0xFF, 0x02, 0x00, 0x00, 0xF8, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x06, 0xF2, 0xDF, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0A, 0xF5, 0x9F, 0x00, 0x00, 0x20, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0x0D, 0xF7, 0x7F, 0x00, 0x00, 0x50, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x0F, 0xF8, 0x5F, 0x00, 0x00, 0x60, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0x1F, 0xF9, 0x4F, 0x00, 0x00, 0x70, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0x2F, 0xF9, 0x4F, 0x00, 0x00, 0x70, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0x2F, 0xF8, 0x5F, 0x00, 0x00, 0x70, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0x1F, 0xF7, 0x7F, 0x00, 0x00, 0x50, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x0F, 0xF5, 0x9F, 0x00, 0x00, 0x20, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0x0E, 0xF2, 0xDF, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0A, 0xE0, 0xFF, 0x02, 0x00, 0x00, 0xF9, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x06, 0x90, 0xFF, 0x08, 0x00, 0x00, 0xF2, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x01, 0x30, 0xFF, 0x0E, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x50, 0x1A, 0x00, 0x00, 0x00, 0xF7, 0xBF, 0x00, 0x00, 0xFC, 0x8F, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xBC, 0xDB, 0xFF, 0x2F, 0x00, 0x00, 0x10, 0xFF, 0x4F, 0x00, 0x00, 0xF4, 0xFF, 0x03, 0x00, 0x00, 0xB1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0xA0, 0xFF, 0x0C, 0x00, 0x00, 0xA0, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0xD5, 0xFF, 0xFF, 0xFF, 0xDF, 0x07, 0x00, 0x00, 0xF7, 0xFF, 0x03, 0x00, 0x00, 0x10, 0xFE, 0xCF, 0x01, 0x00, 0x00, 0x00, 0x52, 0x77, 0x57, 0x02, 0x00, 0x00, 0x60, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x2D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC2, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE3, 0xFF, 0xDF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA3, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFA, 0xFF, 0xFF, 0x7B, 0x35, 0x33, 0x64, 0xD9, 0xFF, 0xFF, 0x4E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xD8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x76, 0x77, 0x56, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x77, 0x47, 0x00, 0x00, 0x00, 0xD7, 0xFF, 0xFF, 0xFF, 0x5E, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xFD, 0x6B, 0x44, 0xF8, 0xFF, 0x0D, 0x00, 0x13,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, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x41, 0x44, 0x44, 0x44, 0x44, 0x44, 0x02, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x75, 0x77, 0x56, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xC7, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x5A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0x7B, 0x35, 0x33, 0x64, 0xD9, 0xFF, 0xFF, 0x3D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD2, 0xFF, 0xDF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA3, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC2, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0x2D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xCF, 0x01, 0x00, 0x88, 0x88, 0x88, 0x77, 0x15, 0x00, 0x00, 0x00, 0x60, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x1D, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x4C, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x02, 0x00, 0x00, 0xF3, 0xFF, 0x03, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0xB0, 0xFF, 0x0B, 0x00, 0x00, 0xFB, 0x8F, 0x00, 0x00, 0x00, 0xFF, 0xDF, 0x99, 0xB9, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x10, 0xFF, 0x3F, 0x00, 0x20, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0xFF, 0xAF, 0x00, 0x00, 0xA0, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0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 0x00, 0x00, 0x00, 0xFF, 0x0F, 0xF5, 0x9F, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xAF, 0x00, 0x30, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0x0E, 0xF2, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xAF, 0x00, 0x00, 0xFB, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0A, 0xE0, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xFF, 0xAF, 0x00, 0x00, 0xF2, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x06, 0x90, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xFF, 0xAF, 0x00, 0x00, 0xA0, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x01, 0x30, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0xFF, 0xAF, 0x00, 0x00, 0x20, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0xF7, 0xBF, 0x00, 0x00, 0xFC, 0x8F, 0x00, 0x00, 0x00, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x07, 0x00, 0x10, 0xFF, 0x4F, 0x00, 0x00, 0xF4, 0xFF, 0x03, 0x00, 0x00, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x1F, 0x00, 0xA0, 0xFF, 0x0C, 0x00, 0x00, 0xA0, 0xFF, 0x1D, 0x00, 0x00, 0x88, 0x58, 0x00, 0x00, 0x00, 0x50, 0x88, 0x38, 0x00, 0xF7, 0xFF, 0x03, 0x00, 0x00, 0x10, 0xFE, 0xCF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x2D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC2, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE3, 0xFF, 0xDF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA3, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFA, 0xFF, 0xFF, 0x7B, 0x35, 0x33, 0x64, 0xD9, 0xFF, 0xFF, 0x4E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xD8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x76, 0x77, 0x56, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x05, 0xF2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x20, 0x76, 0x57, 0x01, 0x00, 0x00, 0x00, 0x40, 0xFC, 0xFF, 0xFF, 0xBF, 0x02, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0x4F, 0x00, 0x40, 0xFF, 0xFF, 0x8B, 0xC8, 0xFF, 0xFF, 0x01, 0xD0, 0xFF, 0x2E, 0x00, 0x00, 0xF4, 0xFF, 0x0A, 0xF4, 0xFF, 0x04, 0x00, 0x00, 0x70, 0xFF, 0x1F, 0xF7, 0xDF, 0x00, 0x00, 0x00, 0x10, 0xFF, 0x4F, 0xF9, 0xBF, 0x00, 0x00, 0x00, 0x00, 0xFE, 0x6F, 0xF9, 0xBF, 0x00, 0x00, 0x00, 0x00, 0xFE, 0x6F, 0xF7, 0xDF, 0x00, 0x00, 0x00, 0x10, 0xFF, 0x4F, 0xF4, 0xFF, 0x04, 0x00, 0x00, 0x70, 0xFF, 0x1F, 0xD0, 0xFF, 0x2E, 0x00, 0x00, 0xF4, 0xFF, 0x0A, 0x40, 0xFF, 0xFF, 0x8B, 0xC8, 0xFF, 0xFF, 0x01, 0x00, 0xF7, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x40, 0xFC, 0xFF, 0xFF, 0xAF, 0x02, 0x00, 0x00, 0x00, 0x20, 0x76, 0x57, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xDD, 0x6D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xCC, 0xCC, 0xCC, 0xDC, 0xFF, 0xEF, 0xCC, 0xCC, 0xCC, 0xCC, 0x02, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0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x0A, 0xF5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0xF7, 0xFF, 0x0A, 0xF5, 0xFF, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0x09, 0xF4, 0xFF, 0x0A, 0xF5, 0xFF, 0x3F, 0xF6, 0xFF, 0xFF, 0x6E, 0x00, 0xF1, 0xFF, 0x0A, 0xF5, 0xFF, 0x4F, 0x10, 0x75, 0x47, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xB7, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 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x00, 0xF2, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x0B, 0x00, 0xF2, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x0B, 0x00, 0xF2, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x0B, 0x00, 0xF2, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x0B, 0x00, 0xF2, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x0B, 0x00, 0xF2, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x0B, 0x00, 0xF2, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x0B, 0x00, 0xF2, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x0B, 0x00, 0xF2, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x0B, 0x00, 0xF2, 0xEF, 0x00, 0x32, 0x00, 0x00, 0xC1, 0xFF, 0x5F, 0x00, 0xF8, 0xFF, 0xFF, 0x00, 0xFC, 0xFF, 0xFF, 0x04, 0xFC, 0xFF, 0xFF, 0x04, 0xFA, 0xFF, 0xFF, 0x01, 0xE2, 0xFF, 0x8F, 0x00, 0x10, 0x76, 0x03, 0x00, 0x00, 0x80, 0xFF, 0x06, 0x00, 0x00, 0xE0, 0xEF, 0x00, 0x00, 0x00, 0xF6, 0xCF, 0x04, 0x00, 0x00, 0xFE, 0xFF, 0xDF, 0x03, 0x00, 0x62, 0xFC, 0xFF, 0x2F, 0x00, 0x00, 0x80, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0xFF, 0xBF, 0x00, 0x00, 0x20, 0xFF, 0xBF, 0x01, 0x00, 0xC3, 0xFF, 0x8F, 0xFC, 0xFF, 0xFF, 0xFF, 0x1F, 0xFC, 0xFF, 0xFF, 0xFF, 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x01, 0x00, 0xF2, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x0B, 0x00, 0x60, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x8F, 0x00, 0x00, 0xFB, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x8F, 0x00, 0x00, 0xFB, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x0B, 0x00, 0x60, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xEF, 0x01, 0x00, 0xF2, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x3F, 0x00, 0x00, 0xFC, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x06, 0x00, 0x80, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xAF, 0x00, 0x00, 0xF4, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x0C, 0x00, 0x10, 0xFE, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xEF, 0x02, 0x00, 0xA0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x80, 0xFF, 0x4F, 0x00, 0x00, 0x80, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA2, 0x07, 0x00, 0x00, 0x00, 0xA1, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD3, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x10, 0xFB, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xEF, 0x00, 0x00, 0x00, 0x00, 0xE3, 0xFF, 0xCF, 0xF6, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0x09, 0xF6, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x40, 0x4E, 0x00, 0xF6, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFE, 0xEF, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0x80, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0xF1, 0xFF, 0x0D, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x00, 0xF9, 0xFF, 0x05, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0x20, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xFB, 0xEF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0xB0, 0xFF, 0x3F, 0x00, 0x00, 0x50, 0xFF, 0xE9, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x04, 0x00, 0xF3, 0xFF, 0x0A, 0x00, 0x00, 0xE1, 0xFF, 0xE1, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x02, 0x00, 0x00, 0xF9, 0x7F, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x9F, 0x00, 0x00, 0x30, 0xFF, 0x0D, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x1F, 0x00, 0x00, 0xD0, 0xFF, 0x03, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x08, 0x00, 0x00, 0xF7, 0xAF, 0x00, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xEF, 0x00, 0x00, 0x10, 0xFF, 0x1F, 0x00, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x6F, 0x00, 0x00, 0xB0, 0xFF, 0x07, 0x00, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x0D, 0x00, 0x00, 0xF5, 0xDF, 0x00, 0x00, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x05, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x20, 0xFC, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFD, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xAF, 0xF8, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x06, 0xF9, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x2D, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0x50, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0xD0, 0xFF, 0x1F, 0x00, 0x50, 0xEA, 0xFF, 0xAD, 0x03, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0xF6, 0xFF, 0x07, 0x30, 0xFD, 0xFF, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x00, 0xFE, 0xEF, 0x00, 0xF5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0x80, 0xFF, 0x6F, 0x00, 0xF3, 0xFF, 0x5A, 0x43, 0xFB, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0xF1, 0xFF, 0x0D, 0x00, 0x60, 0x3E, 0x00, 0x00, 0xC0, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x00, 0xF9, 0xFF, 0x04, 0x00, 0x00, 0x01, 0x00, 0x00, 0x60, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x01, 0x20, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x5E, 0x44, 0x44, 0x44, 0x34, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x30, 0xBB, 0x6B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x63, 0x77, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE7, 0xFF, 0xFF, 0xFF, 0x2B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0xE3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x05, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xBF, 0xA9, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xA0, 0x7F, 0x00, 0x00, 0xD1, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x10, 0x02, 0x00, 0x00, 0x50, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFA, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xEE, 0xFF, 0xFF, 0x5E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xE7, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xBF, 0x00, 0x00, 0x10, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x00, 0x00, 0x90, 0xFF, 0x4F, 0x00, 0x00, 0x30, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x00, 0x00, 0xF2, 0xFF, 0x0C, 0x00, 0x00, 0xC0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0xFB, 0xFF, 0x03, 0x00, 0x00, 0xF6, 0xFF, 0xEF, 0x00, 0x00, 0xAB, 0x04, 0x00, 0x00, 0x90, 0xFF, 0xBF, 0x00, 0x40, 0xFF, 0xAF, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0xEF, 0x00, 0x00, 0xFB, 0xFF, 0xAB, 0xB9, 0xFE, 0xFF, 0x3F, 0x00, 0xC0, 0xFF, 0x2F, 0x00, 0x00, 0xA0, 0xFF, 0xFE, 0xEF, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0xF5, 0xFF, 0x09, 0x00, 0x00, 0xF4, 0xBF, 0xFC, 0xEF, 0x00, 0x00, 0xA3, 0xFF, 0xFF, 0xFF, 0xFF, 0x3B, 0x00, 0x00, 0xFD, 0xFF, 0x01, 0x00, 0x00, 0xFD, 0x2F, 0xFC, 0xEF, 0x00, 0x00, 0x00, 0x30, 0x76, 0x77, 0x14, 0x00, 0x00, 0x60, 0xFF, 0x7F, 0x00, 0x00, 0x70, 0xFF, 0x08, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0E, 0x00, 0x00, 0xF2, 0xEF, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x06, 0x00, 0x00, 0xFB, 0x5F, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xDF, 0x00, 0x00, 0x50, 0xFF, 0x0C, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x5F, 0x00, 0x00, 0xE0, 0xFF, 0x02, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x0C, 0x00, 0x00, 0xF9, 0x9F, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x03, 0x00, 0x30, 0xFF, 0x1E, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xBF, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x2F, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x09, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x47, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFC, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xDF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x2E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xEF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xD5, 0x04, 0xF1, 0xFF, 0xFF, 0x6D, 0x12, 0x42, 0xE8, 0xFF, 0x0B, 0x70, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x02, 0x00, 0x00, 0x71, 0xEB, 0xFF, 0xDF, 0x6A, 0x01, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFE, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD2, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xEF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x9F, 0xFE, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x5F, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x1F, 0xF6, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0E, 0xF2, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x09, 0xE0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x90, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x01, 0x50, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xCF, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x7F, 0x00, 0x00, 0xFC, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x3F, 0x00, 0x00, 0xF7, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x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6F, 0x00, 0x00, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xBF, 0x00, 0x40, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x90, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x05, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0A, 0xF3, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0F, 0xF8, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x4F, 0xFD, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xEF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x9F, 0xFE, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x5F, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x1F, 0xF6, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0E, 0xF2, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x09, 0xE0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x90, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x01, 0x50, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xCF, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x7F, 0x00, 0x00, 0xFC, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x3F, 0x00, 0x00, 0xF7, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x00, 0xF2, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xE0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xAF, 0x44, 0x44, 0x44, 0x44, 0xFD, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x20,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FF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xBF, 0xFE, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x0B, 0xF3, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xBF, 0x00, 0x30, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x0B, 0x00, 0x00, 0xE3, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0x9F, 0x00, 0x00, 0x00, 0x20, 0xFD, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xEF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x9F, 0xFE, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x5F, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x1F, 0xF6, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0E, 0xF2, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x09, 0xE0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x90, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x01, 0x50, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xCF, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x7F, 0x00, 0x00, 0xFC, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x3F, 0x00, 0x00, 0xF7, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x00, 0xF2, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xE0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00,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00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x90, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x05, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0A, 0xF3, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0F, 0xF8, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x4F, 0xFD, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x10, 0xEA, 0xDF, 0x18, 0x00, 0x00, 0x90, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xFF, 0xFF, 0x18, 0x00, 0xF1, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0x9A, 0xFE, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xCF, 0xC9, 0xFF, 0xFF, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x0B, 0x00, 0xB3, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0x03, 0x00, 0x00, 0xA3, 0xFE, 0x6D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xEF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x9F, 0xFE, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x5F, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x1F, 0xF6, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0E, 0xF2, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x09, 0xE0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x90, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x01, 0x50, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xCF, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00,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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0xF5, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x1F, 0x00, 0x00, 0xFA, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x6F, 0x00, 0x00, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xBF, 0x00, 0x40, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x90, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x05, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0A, 0xF3, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0F, 0xF8, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x4F, 0xFD, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x31, 0x00, 0x00, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0x3E, 0x00, 0x00, 0xF8, 0xEF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xAF, 0x00, 0x00, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xCF, 0x00, 0x20, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x9F, 0x00, 0x00, 0xFE, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFD, 0x1B, 0x00, 0x00, 0xD4, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xEF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x9F, 0xFE, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x5F, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x1F, 0xF6, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0E, 0xF2, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x09, 0xE0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x90, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x01, 0x50, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xCF, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x7F, 0x00, 0x00, 0xFC, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x3F, 0x00, 0x00, 0xF7, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x00, 0xF2, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xE0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xAF, 0x44, 0x44, 0x44, 0x44, 0xFD, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0xFF,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D, 0xFF, 0x4F, 0xFD, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x91, 0xFD, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFE, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x9E, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xCF, 0x00, 0x20, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0x4F, 0x00, 0x00, 0xF9, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0x2F, 0x00, 0x00, 0xF7, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0x4F, 0x00, 0x00, 0xF9, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xCF, 0x00, 0x30, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xEF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x9F, 0xFE, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x5F, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x1F, 0xF6, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0E, 0xF2, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x09, 0xE0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x90, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x01, 0x50, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xCF, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x7F, 0x00, 0x00, 0xFC, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x3F, 0x00, 0x00, 0xF7, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x00, 0xF2, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xE0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF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F, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x06, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x01, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xBF, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x5F, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x0E, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x09, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x03, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xDF, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x36, 0x33, 0x33, 0x33, 0x33, 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x7F, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x1F, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xCF, 0x44, 0x44, 0x44, 0xA4, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x37, 0x33, 0x33, 0x33, 0x33, 0x33, 0x01, 0x00, 0xFC, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x20, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x80, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0xE0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x77, 0x57, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0x6C, 0x01, 0x00, 0x00, 0x00, 0x30, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0xFF, 0xEF, 0xBC, 0xEC, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xAF, 0x03, 0x00, 0x00, 0x72, 0xFD, 0x07, 0x00, 0x10, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x40, 0x01, 0x00, 0xA0, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x2E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xEF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x9F, 0x02, 0x00, 0x00, 0x30, 0xD8, 0x09, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0xFF, 0xEF, 0xBC, 0xDC, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x10, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x81, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0x7C, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFA, 0xAF, 0x57, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0x5D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x3E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xB6, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x20, 0xFB, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFE, 0xEF, 0x8C, 0x01, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFD, 0xFF, 0x2F, 0x22, 0x22, 0x22, 0x22, 0x22, 0x12, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x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x00, 0xD0, 0xFF, 0x9F, 0x00, 0x00, 0xC2, 0xCF, 0x02, 0x00, 0x30, 0xFD, 0x1B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFD, 0xFF, 0x2F, 0x22, 0x22, 0x22, 0x22, 0x22, 0x12, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x3F, 0x33, 0x33, 0x33, 0x33, 0x33, 0x02, 0xFD, 0xFF, 0xFF, 0xFF, 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, 0x7F, 0xFD, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0xFD, 0xFF, 0x6F, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xF2, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x09, 0x00, 0x00, 0x80, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 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x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xFA, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x7F, 0x60, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0xF9, 0xFF, 0x08, 0x00, 0xF6, 0xFF, 0x0C, 0x00, 0x60, 0xFF, 0x7F, 0x00, 0x00, 0x60, 0xFF, 0x9F, 0x00, 0xF1, 0xFF, 0x06, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x20, 0x02, 0x00, 0x90, 0xFF, 0x1D, 0x00, 0x00, 0xFB, 0xCF, 0x00, 0xF2, 0xFF, 0x6F, 0x00, 0x40, 0xFF, 0xFF, 0x05, 0xF4, 0xFF, 0x8F, 0x00, 0x60, 0xFF, 0xFF, 0x07, 0xF1, 0xFF, 0x5F, 0x00, 0x30, 0xFF, 0xFF, 0x04, 0x50, 0xFE, 0x08, 0x00, 0x00, 0xE7, 0x7E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF,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, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0xD8, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x9C, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xCF, 0x00, 0x20, 0xFA, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0x4F, 0x00, 0x00, 0x30, 0xE9, 0xDF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0xFD, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0xFD, 0xFF, 0xF8, 0xFF, 0xDF, 0x00, 0x00, 0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00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x50, 0x88, 0x88, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x93, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 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00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0A, 0xF1, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x07, 0xD0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xA0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0x60, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x20, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x00, 0xFC, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x5F, 0x00, 0x00, 0xF6, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xCF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x83, 0x88, 0x88, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xEF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x88, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x93, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0xFF, 0xFF, 0xDF, 0xCB, 0xFE, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFD, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0xF8, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xFE, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F, 0x00, 0x30, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x80, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0xB0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0xE0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0A, 0xF1, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x07, 0xD0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xA0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0x60, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x20, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x00, 0xFC, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x5F, 0x00, 0x00, 0xF6, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xCF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x88, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0xA3, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0x3F, 0x00, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x04, 0x00, 0xA0, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0x3E, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x88, 0x02, 0x00, 0x00, 0x00, 0x50, 0x88, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x93, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0xFF, 0xFF, 0xDF, 0xCB, 0xFE, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFD, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0xF8, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xFE, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F, 0x00, 0x30, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x80, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0xB0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0xE0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0A, 0xF1, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x07, 0xD0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xA0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0x60, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x20, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x00, 0xFC, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x5F, 0x00, 0x00, 0xF6, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xCF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x76, 0x05, 0x00, 0x00, 0x00, 0x84, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0x18, 0x00, 0x00, 0xFD, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0xFF, 0xEF, 0x28, 0x81, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xEF, 0x14, 0xB4, 0xFF, 0xFF, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0x5F, 0x00, 0x00, 0xC3, 0xFF, 0xFF, 0x2E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x08, 0x00, 0x00, 0x00, 0x62, 0x57, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x93, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE2, 0xFF, 0xFF, 0xFF, 0xDF, 0xCB, 0xFE, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFD, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0xF8, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xFE, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F, 0x00, 0x30, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x80, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0xB0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0xE0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0A, 0xF1, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x07, 0xD0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xA0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0x60, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x20, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x00, 0xFC, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x5F, 0x00, 0x00, 0xF6, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xCF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x91, 0x7B, 0x00, 0x00, 0x20, 0xBA, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x07, 0x00, 0xD0, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0B, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0B, 0x00, 0xF1, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x04, 0x00, 0xB0, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x37, 0x00, 0x00, 0x00, 0x75, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x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0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0xF2, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0C, 0xF4, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x0B, 0xF3, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0A, 0xF1, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x09, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x07, 0xD0, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x05, 0xA0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x02, 0x60, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x00, 0x20, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xAF, 0x00, 0x00, 0xFC, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x5F, 0x00, 0x00, 0xF6, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x20, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xCF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x96, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x0A, 0x00, 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, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0x9F, 0x00, 0x00, 0x96, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x00, 0x00, 0x10, 0xFE, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFE, 0xFF, 0xFF, 0xFF, 0xBF, 0x05, 0x90, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0xF6, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x20, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xFF, 0xFF, 0xCF, 0xBB, 0xFD, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x10, 0xF8, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xF7, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xFD, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x20, 0xFF, 0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 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x07, 0x81, 0xFE, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xEF, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB2, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFD, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFD, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFC, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,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xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x06, 0x90, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x02, 0x40, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xEF, 0x00, 0x00, 0xFE, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x10, 0xF8, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0xDF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 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B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF1, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x09, 0xD0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x06, 0x90, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x02, 0x40, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xEF, 0x00, 0x00, 0xFE, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x10, 0xF8, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0xDF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xEB, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xBF, 0x30, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0B, 0x00, 0xF3, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xBF, 0x00, 0x00, 0x30, 0xFE, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x09, 0x00, 0x00, 0x00, 0xD2, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x03, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xEF, 0x03, 0x00, 0x80, 0xFF, 0x2E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x0A, 0x00, 0xF1, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0C, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x09, 0x00, 0xE0, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD3, 0xBF, 0x01, 0x00, 0x40, 0xFD, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0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, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF2, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0B, 0xF1, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x09, 0xD0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x06, 0x90, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x02, 0x40, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xEF, 0x00, 0x00, 0xFE, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0x10, 0xF8, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0xDF, 0xCB, 0xFD, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x75, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xDF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x2D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xDF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xDF, 0x00, 0xD0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x6F, 0x00, 0x70, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0xFF, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xF8, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0xF2, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x2F, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x8F, 0x00, 0x00, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x00, 0x00, 0xF6, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x06, 0x00, 0xFD, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0D, 0x40, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x4F, 0xB0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xAF, 0xF2, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFA, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF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, 0xCF, 0x68, 0x86, 0xFD, 0xFF, 0xFF, 0x03, 0xF5, 0xFF, 0x5F, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x9F, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x92, 0xFF, 0xFF, 0xFF, 0xFF, 0x5C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x76, 0x77, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x82, 0x88, 0x88, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x88, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x53, 0x77, 0x67, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFB, 0xFF, 0xFF, 0xFF, 0xEF, 0x07, 0x00, 0x00, 0x00, 0x50, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x69, 0x44, 0xC6, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xC7, 0x04, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x30, 0x97, 0xCB, 0xED, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x81, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xF5, 0xFF, 0xFF, 0xCF, 0x68, 0x45, 0x83, 0xFF, 0xFF, 0x04, 0x10, 0xFF, 0xFF, 0xBF, 0x02, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x80, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xC0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x04, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x04, 0xA0, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0x04, 0x40, 0xFF, 0xFF, 0xBF, 0x35, 0x74, 0xFD, 0xAF, 0xFE, 0xFF, 0x04, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0D, 0xFB, 0xFF, 0x04, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x01, 0xF7, 0xFF, 0x04, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0xF4, 0xFF, 0x04, 0x00, 0x00, 0x10, 0x75, 0x67, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x88, 0x88, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x86, 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x53, 0x77, 0x67, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFB, 0xFF, 0xFF, 0xFF, 0xEF, 0x07, 0x00, 0x00, 0x00, 0x50, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x69, 0x44, 0xC6, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xC7, 0x04, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x30, 0x97, 0xCB, 0xED, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x81, 0xFE, 0xFF, 0xFF, 0xFF,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0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x2D, 0xFC, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xEF, 0x01, 0xD1, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0x2E, 0x00, 0x10, 0xFD, 0xFF, 0x03, 0x00, 0x00, 0x00, 0xFC, 0xDF, 0x01, 0x00, 0x00, 0xC1, 0xFF, 0x1E, 0x00, 0x00, 0x10, 0x88, 0x17, 0x00, 0x00, 0x00, 0x00, 0x87, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x53, 0x77, 0x67, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFB, 0xFF, 0xFF, 0xFF, 0xEF, 0x07, 0x00, 0x00, 0x00, 0x50, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x69, 0x44, 0xC6, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xC7, 0x04, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x30, 0x97, 0xCB, 0xED, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x81, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xF5, 0xFF, 0xFF, 0xCF, 0x68, 0x45, 0x83, 0xFF, 0xFF, 0x04, 0x10, 0xFF, 0xFF, 0xBF, 0x02, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x80, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xC0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x04, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x04, 0xA0, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0x04, 0x40, 0xFF, 0xFF, 0xBF, 0x35, 0x74, 0xFD, 0xAF, 0xFE, 0xFF, 0x04, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0D, 0xFB, 0xFF, 0x04, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x01, 0xF7, 0xFF, 0x04, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0xF4, 0xFF, 0x04, 0x00, 0x00, 0x10, 0x75, 0x67, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x47, 0x00, 0x00, 0x00, 0x60, 0x68, 0x00, 0x00, 0x00, 0xC1, 0xFF, 0xFF, 0x5D, 0x00, 0x00, 0xF2, 0xCF, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0x5D, 0x21, 0xFB, 0x8F, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x90, 0xFF, 0x2B, 0x61, 0xFD, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0xC0, 0xFF, 0x01, 0x00, 0x60, 0xFD, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x70, 0x68, 0x00, 0x00, 0x00, 0x40, 0x77, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x53, 0x77, 0x67, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFB, 0xFF, 0xFF, 0xFF, 0xEF, 0x07, 0x00, 0x00, 0x00, 0x50, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x69, 0x44, 0xC6, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xC7, 0x04, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x30, 0x97, 0xCB, 0xED, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x81, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xF5, 0xFF, 0xFF, 0xCF, 0x68, 0x45, 0x83, 0xFF, 0xFF, 0x04, 0x10, 0xFF, 0xFF, 0xBF, 0x02, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x80, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xC0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x04, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x04, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x04, 0xA0, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0x04, 0x40, 0xFF, 0xFF, 0xBF, 0x35, 0x74, 0xFD, 0xAF, 0xFE, 0xFF, 0x04, 0x00, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0D, 0xFB, 0xFF, 0x04, 0x00, 0xD1, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x01, 0xF7, 0xFF, 0x04, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0xF4, 0xFF, 0x04, 0x00, 0x00, 0x10, 0x75, 0x67, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xBA, 0x04, 0x00, 0x00, 0xB4, 0x3A, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x3F, 0x00, 0x20, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x7F, 0x00, 0x60, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x6F, 0x00, 0x60, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x1E, 0x00, 0x10, 0xFE, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x10, 0x76, 0x01, 0x00, 0x00, 0x71, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x53, 0x77, 0x67, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFB, 0xFF, 0xFF, 0xFF, 0xEF, 0x07, 0x00, 0x00, 0x00, 0x50, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x69, 0x44, 0xC6, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xC7, 0x04, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x30, 0x97, 0xCB, 0xED, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x81, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0xF5, 0xFF, 0xFF, 0xCF, 0x68, 0x45, 0x83, 0xFF, 0xFF, 0x04, 0x10, 0xFF, 0xFF, 0xBF, 0x02, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0x80, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x04, 0xC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0x00, 0x00, 0xFD, 0x0F, 0x00, 0x00, 0xFC, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0x5F, 0x00, 0x30, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x68, 0xF8, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE6, 0xFF, 0xEF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x32, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x53, 0x77, 0x67, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFB, 0xFF, 0xFF, 0xFF, 0xEF, 0x07, 0x00, 0x00, 0x00, 0x50, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x69, 0x44, 0xC6, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xC7, 0x04, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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0xDF, 0x01, 0xF7, 0xFF, 0x04, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0xF4, 0xFF, 0x04, 0x00, 0x00, 0x10, 0x75, 0x67, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x77, 0x46, 0x00, 0x00, 0x00, 0x00, 0x40, 0x77, 0x57, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x71, 0xFC, 0xFF, 0xFF, 0xFF, 0x9F, 0x00, 0x00, 0x91, 0xFF, 0xFF, 0xFF, 0xBF, 0x03, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1D, 0x20, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0xE1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x10, 0xFF, 0xDF, 0x58, 0x44, 0xE7, 0xFF, 0xFF, 0xFD, 0xFF, 0xAF, 0x45, 0xA5, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x9A, 0x02, 0x00, 0x00, 0x10, 0xFD, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0xF5, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x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 0x00, 0xE0, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0xFF, 0xDF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xC1, 0xFF, 0x8E, 0xFF, 0xFF, 0x2C, 0x00, 0x00, 0x00, 0x20, 0xD8, 0x00, 0x30, 0xFF, 0xFF, 0xBF, 0x35, 0x84, 0xFF, 0xFF, 0x04, 0xFD, 0xFF, 0xFF, 0x6A, 0x55, 0x97, 0xFD, 0xEF, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0xE2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0x00, 0x00, 0xC1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x00, 0x10, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x3B, 0x00, 0x00, 0x00, 0x60, 0xFD, 0xFF, 0xFF, 0xFF, 0xCF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x74, 0x77, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x75, 0x77, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x77, 0x57, 0x03, 0x00, 0x00, 0x00, 0x00, 0xD6, 0xFF, 0xFF, 0xFF, 0xEF, 0x39, 0x00, 0x00, 0xD2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x9F, 0x00, 0x30, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0x00, 0xE1, 0xFF, 0xFF, 0xEF, 0x9A, 0xCA, 0xFF, 0x0D, 0x00, 0xF9, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x61, 0x05, 0x20, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xEF, 0x04, 0x00, 0x00, 0x30, 0x5A, 0x00, 0xF3, 0xFF, 0xFF, 0xCF, 0x89, 0xB8, 0xFE, 0x5F, 0x00, 0x60, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0xDF, 0x06, 0x00, 0x00, 0x00, 0x00, 0xE3, 0xFF, 0x57, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xAF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0xAF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x73, 0xFE, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0xE5, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0xFF, 0xCF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xEC, 0xFF, 0xBE, 0x06, 0x00, 0x00, 0x00, 0x10, 0x88, 0x88, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x82, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x77, 0x26, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0x6D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1C, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x5B, 0x43, 0xE7, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xFA, 0xFF, 0x6F, 0x00, 0x00, 0x10, 0xFC, 0xFF, 0x3F, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0x90, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x00, 0xE0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x03, 0xF1, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0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 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0xC6, 0xFF, 0xFF, 0xFF, 0xFF, 0x9E, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x51, 0x77, 0x67, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x88, 0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xDF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xCF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x88, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x77, 0x26, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0x6D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1C, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xF2, 0x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, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x50, 0x7C, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0xDF, 0x68, 0x65, 0xB8, 0xFF, 0x7F, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0xC2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0xC6, 0xFF, 0xFF, 0xFF, 0xFF, 0x9E, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x51, 0x77, 0x67, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x87, 0x88, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xEF, 0xC2, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x2E, 0x10, 0xFC, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x10, 0xFD, 0xEF, 0x02, 0x00, 0xC1, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x2D, 0x00, 0x00, 0x00, 0xFB, 0xEF, 0x01, 0x00, 0x00, 0x81, 0x78, 0x01, 0x00, 0x00, 0x00, 0x60, 0x88, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00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0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x50, 0x7C, 0x00, 0x00, 0xD1, 0xFF, 0xFF, 0xDF, 0x68, 0x65, 0xB8, 0xFF, 0x7F, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0xC2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0xC6, 0xFF, 0xFF, 0xFF, 0xFF, 0x9E, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x51, 0x77, 0x67, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA3, 0x5B, 0x00, 0x00, 0x40, 0xAA, 0x04, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x03, 0x00, 0xF2, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x07, 0x00, 0xF6, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x07, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x01, 0x00, 0xE0, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x60, 0x17, 0x00, 0x00, 0x10, 0x66, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x77, 0x26, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0x6D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1C, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x5B, 0x43, 0xE7, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xFA, 0xFF, 0x6F, 0x00, 0x00, 0x10, 0xFC, 0xFF, 0x3F, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0x90, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x00, 0xE0, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x03, 0xF1, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0xF5, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x08, 0xF7, 0xFF, 0xAF, 0x99, 0x99, 0x99, 0x99, 0x99, 0xFF, 0xFF, 0x09, 0xF8, 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0xFF, 0xEF, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x03, 0x00, 0x10, 0xFE, 0xFF, 0x8F, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0xF3, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0C, 0x00, 0x00, 0x90, 0xFF, 0xCF, 0x01, 0x00, 0x00, 0xF4, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0xFE, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0xA0, 0xFF, 0xCF, 0xFD, 0xFF, 0x0A, 0x00, 0x00, 0xF5, 0xFF, 0x1D, 0xD1, 0xFF, 0x6F, 0x00, 0x20, 0xFF, 0xDF, 0x01, 0x10, 0xFD, 0xFF, 0x03, 0xD1, 0xFF, 0x1D, 0x00, 0x00, 0xD1, 0xFF, 0x1E, 0xFA, 0xBF, 0x01, 0x00, 0x00, 0x10, 0xFB, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x10, 0x13, 0x00, 0x00, 0x00, 0x31, 0x00, 0xF4, 0xFF, 0x04, 0x00, 0x60, 0xFF, 0x3F, 0xFC, 0xFF, 0x0D, 0x00, 0xE0, 0xFF, 0xBF, 0xFD, 0xFF, 0x0E, 0x00, 0xF0, 0xFF, 0xDF, 0xFA, 0xFF, 0x0B, 0x00, 0xC0, 0xFF, 0xAF, 0xC1, 0xCF, 0x02, 0x00, 0x30, 0xFD, 0x1B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0x08, 0x00, 0x00, 0x00, 0x95, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xEF, 0x05, 0x00, 0xB2, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0xAF, 0x81, 0xFF, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE5, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFA, 0xFF, 0xFF, 0xDF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC2, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x9F, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xAF, 0x01, 0xF6, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xDE, 0x03, 0x00, 0x90, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0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, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x84, 0x88, 0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x88, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x63, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xE8, 0xFF, 0xFF, 0xFF, 0xBF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xBF, 0x78, 0xD9, 0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FF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x5F, 0x00, 0x80, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x0F, 0x00, 0x10, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xF9, 0xFF, 0xDF, 0x02, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xAF, 0x67, 0xD8, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0xD2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD6, 0xFF, 0xFF, 0xFF, 0xAF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x62, 0x77, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x88, 0x88, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x86, 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x63, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xE8, 0xFF, 0xFF, 0xFF, 0xBF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xBF, 0x78, 0xD9, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xCF, 0x02, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x02, 0x00, 0x30, 0xFF, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x0A, 0x00, 0x90, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x1F, 0x00, 0xE0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x6F, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0xF5, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xDF, 0x00, 0xF7, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00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FF, 0xFF, 0xAF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x62, 0x77, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x82, 0x88, 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x39, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xAF, 0x00, 0xF4, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0A, 0x00, 0x40, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0xE3, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x40, 0x88, 0x05, 0x00, 0x00, 0x00, 0x20, 0x88, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x63, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xE8, 0xFF, 0xFF, 0xFF, 0xBF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,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x00, 0x00, 0x00, 0x00, 0x81, 0x48, 0x00, 0x00, 0x00, 0x50, 0x67, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x63, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xE8, 0xFF, 0xFF, 0xFF, 0xBF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xBF, 0x78, 0xD9, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xCF, 0x02, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x02, 0x00, 0x30, 0xFF, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x0A, 0x00, 0x90, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x1F, 0x00, 0xE0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x6F, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xAF, 0x00, 0xF5, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xDF, 0x00, 0xF7, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x00, 0xF9, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00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00, 0x00, 0x00, 0x62, 0x77, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xAB, 0x02, 0x00, 0x00, 0xB7, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0D, 0x00, 0x70, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x2F, 0x00, 0xB0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x1F, 0x00, 0xB0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0A, 0x00, 0x40, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x57, 0x00, 0x00, 0x00, 0x73, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x63, 0x77, 0x46, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xE8, 0xFF, 0xFF, 0xFF, 0xBF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xBF, 0x78, 0xD9, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0xCF, 0x02, 0x00, 0x00, 0xF7, 0xFF, 0xFF, 0x02, 0x00, 0x30, 0xFF, 0x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0xFF, 0x0F, 0x00, 0x10, 0xFF, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0xF9, 0xFF, 0xDF, 0x02, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0xAF, 0x67, 0xD8, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x20, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0xD2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD6, 0xFF, 0xFF, 0xFF, 0xAF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x62, 0x77, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFC, 0x5E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0x02, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFC, 0x4D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0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 0x00, 0x00, 0x00, 0x00, 0x30, 0xFC, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x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, 0x01, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0x08, 0xD0, 0xFF, 0xFF, 0x1C, 0x00, 0x00, 0xB1, 0xFF, 0xFF, 0xFF, 0x08, 0x60, 0xFF, 0xFF, 0xFF, 0x8A, 0xB8, 0xFF, 0xCF, 0xFD, 0xFF, 0x08, 0x00, 0xFD, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x2F, 0xF9, 0xFF, 0x08, 0x00, 0xE2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0xF7, 0xFF, 0x08, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0x1A, 0x00, 0xF4, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x74, 0x77, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x40, 0xF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FF, 0x0C, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x8F, 0x00, 0x00, 0x50, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x07, 0x00, 0x00, 0x00, 0xE4, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0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x00, 0x00, 0x00, 0xF9, 0xDF, 0x01, 0x00, 0xB0, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x07, 0x00, 0xF4, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x08, 0x00, 0xF5, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x05, 0x00, 0xF2, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xE5, 0x9F, 0x00, 0x00, 0x70, 0xEE, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x08, 0xF8, 0xFF, 0x2F, 0x00,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xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0xF7, 0xFF, 0x08, 0x00, 0x10, 0xF9, 0xFF, 0xFF, 0xFF, 0x1A, 0x00, 0xF4, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x74, 0x77, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0xEF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x2E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xEF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0x2E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xDF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x00, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 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A, 0xFF, 0x0A, 0xFD, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x1E, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xDF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x92, 0xFF, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB1, 0xFE, 0xDF, 0x3A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0x00, 0x74, 0x67, 0x04, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x5F, 0x00, 0xF8, 0xFF, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xF5, 0xFF, 0x4F, 0xC1, 0xF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0xF5, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, 0x30, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD1, 0xFF, 0x08, 0x00, 0x20, 0xFE, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x1F, 0x00, 0x90, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x3F, 0x00, 0xB0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x0F, 0x00, 0x80, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xEF, 0x05, 0x00, 0x00, 0xFB, 0x4D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x04, 0xF5, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xFF, 0x00, 0xF0, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 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, 0xFA, 0xFF, 0x0A, 0xFD, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x1E, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x7F, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xDF, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x92, 0xFF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 0xFF, 0xBF, 0x00, 0x00, 0xF8, 0xFF, 0x0C, 0x00, 0xD0, 0xFF, 0x4F, 0x00, 0x00, 0xFB, 0xFF, 0x06, 0x00, 0xF1, 0xFF, 0x0E, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xF4, 0xFF, 0x08, 0x00, 0x30, 0xFF, 0x9F, 0x00, 0x00, 0xF8, 0xFF, 0x01, 0x00, 0x70, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x91, 0x68, 0x45, 0x12, 0xF8, 0x7F, 0x21, 0x54, 0x86, 0x29, 0xF1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0xF1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0xF1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0x80, 0x57, 0x34, 0x12, 0xF8, 0x6F, 0x21, 0x43, 0x75, 0x18, 0x00, 0x00, 0x00, 0x00, 0xF8, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x92, 0x78, 0x45, 0x12, 0xF8, 0x8F, 0x21, 0x54, 0x86, 0x39, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0x71, 0x56, 0x24, 0x01, 0xF8, 0x8F, 0x10, 0x42, 0x65, 0x27, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x81, 0x56, 0x34, 0x01, 0xF8, 0x8F, 0x10, 0x43, 0x65, 0x28, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0x91, 0x68, 0x45, 0x12, 0xF8, 0x8F, 0x21, 0x53, 0x76, 0x39, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x01,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6, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0F, 0xFC, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0xF6, 0xFF, 0xFF, 0x0A, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x0F, 0xFA, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xD0, 0xFF, 0xFF, 0x0E, 0xE2, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xDF, 0x01, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x05, 0x10, 0x76, 0x03, 0x00, 0x00, 0x00, 0x00, 0x74, 0x06, 0x00, 0x00, 0x00, 0x00, 0x72, 0x27, 0x00, 0x00, 0x00, 0x51, 0x77, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0xEF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xFF, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x6F, 0x00, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x0C, 0x00, 0xE0, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x06, 0x00, 0x90, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x03, 0x00, 0x50, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x01, 0x00, 0x30, 0xFF, 0x9F, 0x00, 0x00, 0x10, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x20, 0xFF, 0xBF, 0x00, 0x00, 0x80, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x10, 0xFF, 0xBF, 0x00, 0x00, 0xF0, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x10, 0xFF, 0xCF, 0x00, 0x00, 0xF7, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x00, 0x00, 0x10, 0xFF, 0xBF, 0x00, 0x00, 0xFE, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x20, 0xFF, 0xAF, 0x00, 0x50, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x01, 0x00, 0x30, 0xFF, 0x9F, 0x00, 0xC0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x03, 0x00, 0x50, 0xFF, 0x7F, 0x00, 0xF4, 0xFF, 0x09, 0x00, 0x40, 0x77, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x77, 0x15, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x06, 0x00, 0x90, 0xFF, 0x3F, 0x00, 0xFB, 0xFF, 0x02, 0x40, 0xFE, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x40, 0xFE, 0xFF, 0xFF, 0x08, 0x00, 0x00, 0xF1, 0xFF, 0x0C, 0x00, 0xE0, 0xFF, 0x0F, 0x20, 0xFF, 0xAF, 0x00, 0xF4, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0xB0, 0xFF, 0x6F, 0x00, 0xF9, 0xFF, 0x09, 0x90, 0xFF, 0x3F, 0x00, 0xFE, 0xFF, 0xEF, 0xFF, 0xFF, 0x06, 0x00, 0x10, 0xFE, 0xFF, 0xEF, 0xFF, 0xFF, 0x06, 0x00, 0x30, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0x01, 0xF1, 0xFF, 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0x00, 0xFB, 0xFF, 0x02, 0xF9, 0xFF, 0x04, 0x00, 0x00, 0xFC, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x2F, 0x00, 0x00, 0xF8, 0xFF, 0x05, 0x00, 0x00, 0xFB, 0xFF, 0x02, 0xF9, 0xFF, 0x04, 0x00, 0x00, 0xFC, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x0B, 0x00, 0x00, 0xF7, 0xFF, 0x05, 0x00, 0x00, 0xFC, 0xFF, 0x01, 0xF8, 0xFF, 0x05, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x03, 0x00, 0x00, 0xF5, 0xFF, 0x07, 0x00, 0x00, 0xFD, 0xFF, 0x00, 0xF6, 0xFF, 0x06, 0x00, 0x00, 0xFE, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x09, 0x00, 0x00, 0xFF, 0xDF, 0x00, 0xF4, 0xFF, 0x08, 0x00, 0x10, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x0C, 0x00, 0x30, 0xFF, 0xAF, 0x00, 0xF0, 0xFF, 0x0C, 0x00, 0x40, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0x2F, 0x00, 0x90, 0xFF, 0x5F, 0x00, 0xC0, 0xFF, 0x1F, 0x00, 0xA0, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xCF, 0x01, 0xF5, 0xFF, 0x0E, 0x00, 0x60, 0xFF, 0xBF, 0x00, 0xF5, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xEF, 0xFF, 0xFF, 0x07, 0x00, 0x00, 0xFD, 0xFF, 0xEF, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xFD, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x30, 0xFD, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x77, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x77, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x7F, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x70, 0xFF, 0xDF, 0x00, 0x00, 0xE0, 0xFF, 0x4F, 0x00, 0x00, 0xF4, 0xFF, 0x0C, 0x00, 0x00, 0xFB, 0xFF, 0x03, 0x00, 0x20, 0xFF, 0xAF, 0x00, 0x00, 0x80, 0xFF, 0x2F, 0x00, 0x00, 0xE0, 0xFF, 0x09, 0x00, 0x00, 0xF5, 0xFF, 0x01, 0x00, 0x00, 0xFC, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x7F, 0x00, 0x00, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0xFA, 0xFF, 0x0E, 0x00, 0x60, 0xFF, 0xFF, 0x03, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0xC0, 0xFF, 0xAF, 0x00, 0x00, 0x70, 0xFF, 0xDF, 0x00, 0x00, 0xF3, 0xFF, 0x2F, 0x00, 0x00, 0xE0, 0xFF, 0x4F, 0x00, 0x00, 0xFA, 0xFF, 0x09, 0x00, 0x00, 0xF4, 0xFF, 0x0C, 0x00, 0x10, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0xFB, 0xFF, 0x03, 0x00, 0x70, 0xFF, 0x7F, 0x00, 0x00, 0x20, 0xFF, 0xAF, 0x00, 0x00, 0xD0, 0xFF, 0x0E, 0x00, 0x00, 0x80, 0xFF, 0x2F, 0x00, 0x00, 0xF4, 0xFF, 0x06, 0x00, 0x00, 0xE0, 0xFF, 0x09, 0x00, 0x00, 0xFB, 0xDF, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x01, 0x00, 0x10, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xFC, 0x7F, 0x00, 0x00, 0x80, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8A, 0x01, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x7E, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x6E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8A, 0x00, 0x00, 0x00, 0xA2, 0x08, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xEF, 0x02, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xEF, 0x02, 0x00, 0x00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, 0x00, 0xF4, 0xFF, 0x0C, 0xA0, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0B, 0x90, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x0B, 0x80, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x0A, 0x80, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x09, 0x70, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x09, 0x60, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x23, 0x00, 0xB0, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x0B, 0xF7, 0xFF, 0xFF, 0x01, 0x00, 0x10, 0xFF, 0xFF, 0x8F, 0xFB, 0xFF, 0xFF, 0x05, 0x00, 0x40, 0xFF, 0xFF, 0xCF, 0xFB, 0xFF, 0xFF, 0x05, 0x00, 0x40, 0xFF, 0xFF, 0xCF, 0xF8, 0xFF, 0xFF, 0x02, 0x00, 0x10, 0xFF, 0xFF, 0x9F, 0xE1, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x2E, 0x10, 0x76, 0x04, 0x00, 0x00, 0x00, 0x40, 0x67, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0x4F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF2, 0xFF, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFE, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xEF, 0xD1, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x5F, 0x50, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFF, 0x0C, 0x00, 0xFB, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x03, 0x00, 0xF2, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x9F, 0x00, 0x00, 0x80, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x1E, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0xF5, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0xFE, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x1E, 0x00, 0x80, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xFF, 0xAF, 0x00, 0xF2, 0xFF, 0x6F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xFF, 0xFF, 0x03, 0xF3, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x04, 0x90, 0xFF, 0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0xAF, 0x00, 0x10, 0xFE, 0xFF, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF7, 0xFF, 0x1F, 0x00, 0x00, 0xF5, 0xFF, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFF, 0xFF, 0x06, 0x00, 0x00, 0xB0, 0xFF, 0xBF, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xCF, 0x00, 0x00, 0x00, 0x20, 0xFF, 0xFF, 0x05, 0x00, 0x00, 0x00, 0xF4, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xFF, 0x0E, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0x09, 0x00, 0x00, 0x00, 0x00, 0xD0, 0xFF, 0x8F, 0x00, 0x00, 0x70, 0xFF, 0xEF, 0x01, 0x00, 0x00, 0x00, 0x00, 0x40, 0xFF, 0xFF, 0x02, 0x00, 0xF1, 0xFF, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFB, 0xFF, 0x0B, 0x00, 0xFA, 0xFF, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xFF, 0x5F, 0x40, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xFF, 0xEF, 0xD1, 0xFF, 0x8F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFD, 0xFF, 0xFD, 0xFF, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF3, 0xFF, 0xFF, 0xFF, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFE, 0xFF, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; // GlyphProps[width, height, advance_x, left, top, compressed_size, data_offset, code_point] const EpdGlyph OpenSans_24Glyphs[] = { { 0, 0, 11, 0, 0, 0, 0 }, // ' ' { 7, 37, 13, 3, 36, 148, 0 }, // '!' { 15, 13, 20, 3, 36, 104, 148 }, // '"' { 26, 36, 28, 1, 36, 468, 252 }, // '#' { 21, 41, 25, 2, 38, 451, 720 }, // '$' { 35, 38, 38, 2, 37, 684, 1171 }, // '%' { 30, 38, 31, 1, 37, 570, 1855 }, // '&' { 6, 13, 11, 3, 36, 39, 2425 }, // ''' { 12, 44, 15, 2, 36, 264, 2464 }, // '(' { 12, 44, 15, 1, 36, 264, 2728 }, // ')' { 21, 20, 24, 1, 38, 220, 2992 }, // '*' { 23, 24, 25, 1, 30, 288, 3212 }, // '+' { 9, 12, 12, 1, 6, 60, 3500 }, // ',' { 13, 5, 15, 1, 16, 35, 3560 }, // '-' { 7, 8, 12, 3, 7, 32, 3595 }, // '.' { 19, 36, 19, 0, 36, 360, 3627 }, // '/' { 21, 38, 25, 2, 37, 418, 3987 }, // '0' { 14, 36, 25, 3, 36, 252, 4405 }, // '1' { 21, 37, 25, 2, 37, 407, 4657 }, // '2' { 21, 38, 25, 2, 37, 418, 5064 }, // '3' { 25, 36, 25, 0, 36, 468, 5482 }, // '4' { 21, 37, 25, 2, 36, 407, 5950 }, // '5' { 22, 38, 25, 2, 37, 418, 6357 }, // '6' { 23, 36, 25, 1, 36, 432, 6775 }, // '7' { 22, 38, 25, 2, 37, 418, 7207 }, // '8' { 21, 38, 25, 2, 37, 418, 7625 }, // '9' { 7, 29, 13, 3, 28, 116, 8043 }, // ':' { 9, 34, 13, 1, 28, 170, 8159 }, // ';' { 23, 24, 25, 1, 30, 288, 8329 }, // '<' { 22, 15, 25, 2, 25, 165, 8617 }, // '=' { 23, 24, 25, 1, 30, 288, 8782 }, // '>' { 19, 38, 19, 0, 37, 380, 9070 }, // '?' { 35, 41, 39, 2, 37, 738, 9450 }, // '@' { 28, 36, 28, 0, 36, 504, 10188 }, // 'A' { 23, 36, 28, 4, 36, 432, 10692 }, // 'B' { 24, 38, 27, 2, 37, 456, 11124 }, // 'C' { 25, 36, 31, 4, 36, 468, 11580 }, // 'D' { 18, 36, 24, 4, 36, 324, 12048 }, // 'E' { 18, 36, 23, 4, 36, 324, 12372 }, // 'F' { 27, 38, 32, 2, 37, 532, 12696 }, // 'G' { 24, 36, 32, 4, 36, 432, 13228 }, // 'H' { 5, 36, 13, 4, 36, 108, 13660 }, // 'I' { 13, 46, 13, -4, 36, 322, 13768 }, // 'J' { 24, 36, 27, 4, 36, 432, 14090 }, // 'K' { 18, 36, 23, 4, 36, 324, 14522 }, // 'L' { 33, 36, 41, 4, 36, 612, 14846 }, // 'M' { 26, 36, 34, 4, 36, 468, 15458 }, // 'N' { 29, 38, 34, 2, 37, 570, 15926 }, // 'O' { 21, 36, 26, 4, 36, 396, 16496 }, // 'P' { 29, 46, 34, 2, 37, 690, 16892 }, // 'Q' { 23, 36, 27, 4, 36, 432, 17582 }, // 'R' { 21, 38, 24, 2, 37, 418, 18014 }, // 'S' { 24, 36, 24, 0, 36, 432, 18432 }, // 'T' { 25, 37, 32, 3, 36, 481, 18864 }, // 'U' { 27, 36, 27, 0, 36, 504, 19345 }, // 'V' { 42, 36, 42, 0, 36, 756, 19849 }, // 'W' { 26, 36, 25, 0, 36, 468, 20605 }, // 'X' { 25, 36, 25, 0, 36, 468, 21073 }, // 'Y' { 22, 36, 24, 1, 36, 396, 21541 }, // 'Z' { 12, 44, 16, 3, 36, 264, 21937 }, // '[' { 19, 36, 19, 0, 36, 360, 22201 }, // '<backslash>' { 12, 44, 16, 1, 36, 264, 22561 }, // ']' { 24, 22, 26, 1, 37, 264, 22825 }, // '^' { 23, 4, 22, -1, -4, 48, 23089 }, // '_' { 11, 8, 14, 2, 38, 48, 23137 }, // '`' { 21, 29, 25, 1, 28, 319, 23185 }, // 'a' { 22, 39, 27, 3, 38, 429, 23504 }, // 'b' { 18, 29, 21, 2, 28, 261, 23933 }, // 'c' { 22, 39, 27, 2, 38, 429, 24194 }, // 'd' { 21, 29, 25, 2, 28, 319, 24623 }, // 'e' { 17, 38, 15, 0, 38, 342, 24942 }, // 'f' { 24, 40, 24, 0, 28, 480, 25284 }, // 'g' { 21, 38, 27, 3, 38, 418, 25764 }, // 'h' { 6, 37, 12, 3, 37, 111, 26182 }, // 'i' { 11, 49, 12, -2, 37, 294, 26293 }, // 'j' { 21, 38, 24, 3, 38, 418, 26587 }, // 'k' { 6, 38, 12, 3, 38, 114, 27005 }, // 'l' { 35, 28, 41, 3, 28, 504, 27119 }, // 'm' { 21, 28, 27, 3, 28, 308, 27623 }, // 'n' { 23, 29, 26, 2, 28, 348, 27931 }, // 'o' { 22, 40, 27, 3, 28, 440, 28279 }, // 'p' { 22, 40, 27, 2, 28, 440, 28719 }, // 'q' { 15, 28, 18, 3, 28, 224, 29159 }, // 'r' { 17, 29, 21, 2, 28, 261, 29383 }, // 's' { 16, 34, 16, 0, 33, 272, 29644 }, // 't' { 21, 28, 27, 3, 27, 308, 29916 }, // 'u' { 23, 27, 22, 0, 27, 324, 30224 }, // 'v' { 35, 27, 35, 0, 27, 486, 30548 }, // 'w' { 23, 27, 23, 0, 27, 324, 31034 }, // 'x' { 23, 39, 23, 0, 27, 468, 31358 }, // 'y' { 18, 27, 20, 1, 27, 243, 31826 }, // 'z' { 16, 44, 19, 1, 36, 352, 32069 }, // '{' { 5, 50, 24, 9, 38, 150, 32421 }, // '|' { 16, 44, 19, 1, 36, 352, 32571 }, // '}' { 23, 7, 25, 1, 21, 84, 32923 }, // '~' { 0, 0, 11, 0, 0, 0, 33007 }, // ' ' { 7, 37, 13, 3, 28, 148, 33007 }, // '¡' { 19, 37, 25, 3, 36, 370, 33155 }, // '¢' { 23, 37, 25, 1, 37, 444, 33525 }, // '£' { 24, 23, 28, 2, 29, 276, 33969 }, // '¤' { 23, 36, 25, 1, 36, 432, 34245 }, // '¥' { 5, 50, 24, 9, 38, 150, 34677 }, // '¦' { 18, 38, 22, 2, 38, 342, 34827 }, // '§' { 15, 6, 28, 6, 37, 48, 35169 }, // '¨' { 38, 38, 42, 2, 37, 722, 35217 }, // '©' { 14, 18, 17, 1, 37, 126, 35939 }, // 'ª' { 23, 21, 25, 1, 24, 252, 36065 }, // '«' { 22, 13, 25, 1, 20, 143, 36317 }, // '¬' { 13, 5, 15, 1, 16, 35, 36460 }, // '­' { 38, 38, 42, 2, 37, 722, 36495 }, // '®' { 25, 4, 24, -1, 42, 52, 37217 }, // '¯' { 16, 16, 20, 2, 37, 128, 37269 }, // '°' { 23, 31, 25, 1, 31, 372, 37397 }, // '±' { 14, 22, 17, 1, 42, 154, 37769 }, // '²' { 15, 22, 17, 1, 42, 176, 37923 }, // '³' { 11, 8, 14, 2, 38, 48, 38099 }, // '´' { 21, 39, 27, 3, 27, 429, 38147 }, // 'µ' { 22, 44, 28, 2, 38, 484, 38576 }, // '¶' { 7, 8, 12, 3, 22, 32, 39060 }, // '·' { 10, 12, 10, 0, 0, 60, 39092 }, // '¸' { 11, 22, 17, 1, 42, 132, 39152 }, // '¹' { 15, 18, 17, 1, 37, 144, 39284 }, // 'º' { 23, 21, 25, 1, 24, 252, 39428 }, // '»' { 36, 36, 37, 1, 36, 648, 39680 }, // '¼' { 36, 36, 39, 1, 36, 648, 40328 }, // '½' { 37, 37, 38, 1, 37, 703, 40976 }, // '¾' { 18, 38, 19, 1, 28, 342, 41679 }, // '¿' { 28, 47, 28, 0, 47, 658, 42021 }, // 'À' { 28, 47, 28, 0, 47, 658, 42679 }, // 'Á' { 28, 47, 28, 0, 47, 658, 43337 }, // 'Â' { 28, 45, 28, 0, 45, 630, 43995 }, // 'Ã' { 28, 46, 28, 0, 46, 644, 44625 }, // 'Ä' { 28, 44, 28, 0, 44, 616, 45269 }, // 'Å' { 37, 36, 38, -1, 36, 684, 45885 }, // 'Æ' { 24, 49, 27, 2, 37, 588, 46569 }, // 'Ç' { 18, 47, 24, 4, 47, 423, 47157 }, // 'È' { 18, 47, 24, 4, 47, 423, 47580 }, // 'É' { 18, 47, 24, 4, 47, 423, 48003 }, // 'Ê' { 18, 46, 24, 4, 46, 414, 48426 }, // 'Ë' { 11, 47, 13, -1, 47, 282, 48840 }, // 'Ì' { 12, 47, 13, 3, 47, 282, 49122 }, // 'Í' { 17, 47, 13, -2, 47, 423, 49404 }, // 'Î' { 15, 46, 13, -1, 46, 368, 49827 }, // 'Ï' { 28, 36, 31, 1, 36, 504, 50195 }, // 'Ð' { 26, 45, 34, 4, 45, 585, 50699 }, // 'Ñ' { 29, 49, 34, 2, 48, 735, 51284 }, // 'Ò' { 29, 49, 34, 2, 48, 735, 52019 }, // 'Ó' { 29, 49, 34, 2, 48, 735, 52754 }, // 'Ô' { 29, 47, 34, 2, 46, 705, 53489 }, // 'Õ' { 29, 47, 34, 2, 46, 705, 54194 }, // 'Ö' { 21, 20, 25, 2, 28, 220, 54899 }, // '×' { 29, 41, 34, 2, 38, 615, 55119 }, // 'Ø' { 25, 48, 32, 3, 47, 624, 55734 }, // 'Ù' { 25, 48, 32, 3, 47, 624, 56358 }, // 'Ú' { 25, 48, 32, 3, 47, 624, 56982 }, // 'Û' { 25, 47, 32, 3, 46, 611, 57606 }, // 'Ü' { 25, 47, 25, 0, 47, 611, 58217 }, // 'Ý' { 21, 36, 26, 4, 36, 396, 58828 }, // 'Þ' { 24, 39, 28, 3, 38, 468, 59224 }, // 'ß' { 21, 40, 25, 1, 39, 440, 59692 }, // 'à' { 21, 40, 25, 1, 39, 440, 60132 }, // 'á' { 21, 40, 25, 1, 39, 440, 60572 }, // 'â' { 21, 38, 25, 1, 37, 418, 61012 }, // 'ã' { 21, 38, 25, 1, 37, 418, 61430 }, // 'ä' { 21, 43, 25, 1, 42, 473, 61848 }, // 'å' { 36, 29, 38, 1, 28, 522, 62321 }, // 'æ' { 18, 40, 21, 2, 28, 360, 62843 }, // 'ç' { 21, 40, 25, 2, 39, 440, 63203 }, // 'è' { 21, 40, 25, 2, 39, 440, 63643 }, // 'é' { 21, 40, 25, 2, 39, 440, 64083 }, // 'ê' { 21, 38, 25, 2, 37, 418, 64523 }, // 'ë' { 11, 38, 12, -1, 38, 228, 64941 }, // 'ì' { 11, 38, 12, 3, 38, 228, 65169 }, // 'í' { 16, 38, 12, -2, 38, 304, 65397 }, // 'î' { 14, 37, 12, -1, 37, 259, 65701 }, // 'ï' { 23, 39, 26, 2, 38, 468, 65960 }, // 'ð' { 21, 37, 27, 3, 37, 407, 66428 }, // 'ñ' { 23, 40, 26, 2, 39, 480, 66835 }, // 'ò' { 23, 40, 26, 2, 39, 480, 67315 }, // 'ó' { 23, 40, 26, 2, 39, 480, 67795 }, // 'ô' { 23, 38, 26, 2, 37, 456, 68275 }, // 'õ' { 23, 38, 26, 2, 37, 456, 68731 }, // 'ö' { 23, 26, 25, 1, 31, 312, 69187 }, // '÷' { 23, 32, 27, 2, 29, 384, 69499 }, // 'ø' { 21, 39, 27, 3, 38, 429, 69883 }, // 'ù' { 21, 39, 27, 3, 38, 429, 70312 }, // 'ú' { 21, 39, 27, 3, 38, 429, 70741 }, // 'û' { 21, 38, 27, 3, 37, 418, 71170 }, // 'ü' { 23, 50, 23, 0, 38, 600, 71588 }, // 'ý' { 22, 50, 27, 3, 38, 550, 72188 }, // 'þ' { 23, 49, 23, 0, 37, 588, 72738 }, // 'ÿ' { 23, 4, 25, 1, 16, 48, 73326 }, // '–' { 48, 4, 50, 1, 16, 96, 73374 }, // '—' { 48, 4, 50, 1, 16, 96, 73470 }, // '―' { 23, 9, 21, -1, -2, 108, 73566 }, // '‗' { 8, 12, 9, 1, 36, 48, 73674 }, // '‘' { 9, 12, 9, 0, 36, 60, 73722 }, // '’' { 9, 12, 12, 1, 6, 60, 73782 }, // '‚' { 8, 12, 9, 1, 36, 48, 73842 }, // '‛' { 17, 12, 19, 1, 36, 108, 73890 }, // '“' { 18, 12, 19, 0, 36, 108, 73998 }, // '”' { 17, 12, 20, 1, 6, 108, 74106 }, // '„' { 20, 38, 24, 2, 38, 380, 74214 }, // '†' { 20, 38, 24, 2, 38, 380, 74594 }, // '‡' { 13, 14, 19, 3, 26, 98, 74974 }, // '•' { 32, 8, 37, 3, 7, 128, 75072 }, // '…' { 51, 38, 54, 2, 37, 988, 75200 }, // '‰' { 10, 12, 11, 2, 36, 60, 76188 }, // '′' { 20, 12, 20, 2, 36, 120, 76248 }, // '″' { 13, 21, 15, 1, 24, 147, 76368 }, // '‹' { 13, 21, 15, 1, 24, 147, 76515 }, // '›' { 18, 37, 24, 3, 36, 333, 76662 }, // '‼' { 24, 36, 6, -9, 36, 432, 76995 }, // '⁄' { 25, 36, 29, 2, 36, 468, 77427 }, // '◊' }; const EpdUnicodeInterval OpenSans_24Intervals[] = { { 0x20, 0x7E, 0x0 }, { 0xA0, 0xFF, 0x5F }, { 0x2010, 0x205F, 0xBF }, { 0x2190, 0x21FF, 0x10F }, { 0x2300, 0x23FF, 0x17F }, { 0x25A0, 0x25FF, 0x27F }, { 0x2600, 0x26F0, 0x2DF }, { 0x2700, 0x27BF, 0x3D0 }, }; const EpdFont OpenSans_24 = { OpenSans_24Bitmaps, // (*bitmap) Glyph bitmap pointer, all concatenated together OpenSans_24Glyphs, // glyphs Glyph array OpenSans_24Intervals, // intervals Valid unicode intervals for this font 8, // interval_count Number of unicode intervals.intervals 0, // compressed Does this font use compressed glyph bitmaps? 68, // advance_y Newline distance (y axis) 54, // ascender Maximal height of a glyph above the base line -15, // descender Maximal height of a glyph below the base line }; /* Included intervals ( 32, 126), ie. ' ' - '~' ( 160, 255), ie. ' ' - 'ÿ' ( 8208, 8287), ie. '‐' - ' ' ( 8592, 8703), ie. '←' - '⇿' ( 8960, 9215), ie. '⌀' - '⏿' ( 9632, 9727), ie. '■' - '◿' ( 9728, 9968), ie. '☀' - '⛰' ( 9984, 10175), ie. '✀' - '➿' */
498,358
OpenSans_SemiCondensed-Medium-24
h
en
c
code
{"qsc_code_num_words": 79801, "qsc_code_num_chars": 498358.0, "qsc_code_mean_word_length": 3.96565206, "qsc_code_frac_words_unique": 0.01067656, "qsc_code_frac_chars_top_2grams": 0.73932182, "qsc_code_frac_chars_top_3grams": 0.84381428, "qsc_code_frac_chars_top_4grams": 0.83442298, "qsc_code_frac_chars_dupe_5grams": 0.96546516, "qsc_code_frac_chars_dupe_6grams": 0.94385758, "qsc_code_frac_chars_dupe_7grams": 0.9142301, "qsc_code_frac_chars_dupe_8grams": 0.8838316, "qsc_code_frac_chars_dupe_9grams": 0.83648325, "qsc_code_frac_chars_dupe_10grams": 0.78319424, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.45603728, "qsc_code_frac_chars_whitespace": 0.20250302, "qsc_code_size_file_byte": 498358.0, "qsc_code_num_lines": 5128.0, "qsc_code_num_chars_line_max": 215.0, "qsc_code_num_chars_line_mean": 97.18369735, "qsc_code_frac_chars_alphabet": 0.33990877, "qsc_code_frac_chars_comments": 0.00543384, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.23900143, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 1.412e-05, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.62887925, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.0, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.00020462, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc_code_frac_chars_dupe_7grams": 1, "qsc_code_frac_chars_dupe_8grams": 1, "qsc_code_frac_chars_dupe_9grams": 1, "qsc_code_frac_chars_dupe_10grams": 1, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 1, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 1, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/esp_rlottie
rlottie/src/vector/vdrawhelper_neon.cpp
#if defined(__ARM_NEON__) #include "vdrawhelper.h" extern "C" void pixman_composite_src_n_8888_asm_neon(int32_t w, int32_t h, uint32_t *dst, int32_t dst_stride, uint32_t src); extern "C" void pixman_composite_over_n_8888_asm_neon(int32_t w, int32_t h, uint32_t *dst, int32_t dst_stride, uint32_t src); void memfill32(uint32_t *dest, uint32_t value, int length) { pixman_composite_src_n_8888_asm_neon(length, 1, dest, length, value); } static void color_SourceOver(uint32_t *dest, int length, uint32_t color, uint32_t const_alpha) { if (const_alpha != 255) color = BYTE_MUL(color, const_alpha); pixman_composite_over_n_8888_asm_neon(length, 1, dest, length, color); } void RenderFuncTable::neon() { updateColor(BlendMode::Src , color_SourceOver); } #endif
1,180
vdrawhelper_neon
cpp
en
cpp
code
{"qsc_code_num_words": 128, "qsc_code_num_chars": 1180.0, "qsc_code_mean_word_length": 4.28125, "qsc_code_frac_words_unique": 0.3203125, "qsc_code_frac_chars_top_2grams": 0.1149635, "qsc_code_frac_chars_top_3grams": 0.05839416, "qsc_code_frac_chars_top_4grams": 0.08759124, "qsc_code_frac_chars_dupe_5grams": 0.50364964, "qsc_code_frac_chars_dupe_6grams": 0.46350365, "qsc_code_frac_chars_dupe_7grams": 0.46350365, "qsc_code_frac_chars_dupe_8grams": 0.32846715, "qsc_code_frac_chars_dupe_9grams": 0.22262774, "qsc_code_frac_chars_dupe_10grams": 0.22262774, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07817109, "qsc_code_frac_chars_whitespace": 0.42542373, "qsc_code_size_file_byte": 1180.0, "qsc_code_num_lines": 33.0, "qsc_code_num_chars_line_max": 76.0, "qsc_code_num_chars_line_mean": 35.75757576, "qsc_code_frac_chars_alphabet": 0.7300885, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.23076923, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01271186, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codecpp_frac_lines_preprocessor_directives": 0.11538462, "qsc_codecpp_frac_lines_func_ratio": 0.19230769, "qsc_codecpp_cate_bitsstdc": 0.0, "qsc_codecpp_nums_lines_main": 0.0, "qsc_codecpp_frac_lines_goto": 0.0, "qsc_codecpp_cate_var_zero": 1.0, "qsc_codecpp_score_lines_no_logic": 0.23076923, "qsc_codecpp_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codecpp_frac_lines_func_ratio": 0, "qsc_codecpp_nums_lines_main": 0, "qsc_codecpp_score_lines_no_logic": 0, "qsc_codecpp_frac_lines_preprocessor_directives": 0, "qsc_codecpp_frac_lines_print": 0}
0015/T-Glass-Applications
image_capture_app/t_glass_ble_app/analysis_options.yaml
# This file configures the analyzer, which statically analyzes Dart code to # check for errors, warnings, and lints. # # The issues identified by the analyzer are surfaced in the UI of Dart-enabled # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be # invoked from the command line by running `flutter analyze`. # The following line activates a set of recommended lints for Flutter apps, # packages, and plugins designed to encourage good coding practices. include: package:flutter_lints/flutter.yaml linter: # The lint rules applied to this project can be customized in the # section below to disable rules from the `package:flutter_lints/flutter.yaml` # included above or to enable additional rules. A list of all available lints # and their documentation is published at https://dart.dev/lints. # # Instead of disabling a lint rule for the entire project in the # section below, it can also be suppressed for a single line of code # or a specific dart file by using the `// ignore: name_of_lint` and # `// ignore_for_file: name_of_lint` syntax on the line or in the file # producing the lint. rules: # avoid_print: false # Uncomment to disable the `avoid_print` rule # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule # Additional information about this file can be found at # https://dart.dev/guides/language/analysis-options
1,420
analysis_options
yaml
en
yaml
data
{"qsc_code_num_words": 222, "qsc_code_num_chars": 1420.0, "qsc_code_mean_word_length": 4.81531532, "qsc_code_frac_words_unique": 0.48198198, "qsc_code_frac_chars_top_2grams": 0.01870907, "qsc_code_frac_chars_top_3grams": 0.03367633, "qsc_code_frac_chars_top_4grams": 0.04864359, "qsc_code_frac_chars_dupe_5grams": 0.05612722, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0, "qsc_code_frac_chars_whitespace": 0.17394366, "qsc_code_size_file_byte": 1420.0, "qsc_code_num_lines": 28.0, "qsc_code_num_chars_line_max": 88.0, "qsc_code_num_chars_line_mean": 50.71428571, "qsc_code_frac_chars_alphabet": 0.91133845, "qsc_code_frac_chars_comments": 0.91971831, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0}
0015/T-Glass-Applications
image_capture_app/t_glass_ble_app/.metadata
# This file tracks properties of this Flutter project. # Used by Flutter tool to assess capabilities and perform upgrades etc. # # This file should be version controlled and should not be manually edited. version: revision: "d8a9f9a52e5af486f80d932e838ee93861ffd863" channel: "stable" project_type: app # Tracks metadata for the flutter migrate command migration: platforms: - platform: root create_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 base_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 - platform: android create_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 base_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 - platform: ios create_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 base_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 - platform: linux create_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 base_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 - platform: macos create_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 base_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 - platform: web create_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 base_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 - platform: windows create_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 base_revision: d8a9f9a52e5af486f80d932e838ee93861ffd863 # User provided section # List of Local paths (relative to this file) that should be # ignored by the migrate tool. # # Files that are not part of the templates will be ignored by default. unmanaged_files: - 'lib/main.dart' - 'ios/Runner.xcodeproj/project.pbxproj'
1,706
.metadata
metadata
en
xpages
data
{"qsc_code_num_words": 146, "qsc_code_num_chars": 1706.0, "qsc_code_mean_word_length": 9.15068493, "qsc_code_frac_words_unique": 0.47260274, "qsc_code_frac_chars_top_2grams": 0.53892216, "qsc_code_frac_chars_top_3grams": 0.28293413, "qsc_code_frac_chars_top_4grams": 0.30389222, "qsc_code_frac_chars_dupe_5grams": 0.59131737, "qsc_code_frac_chars_dupe_6grams": 0.59131737, "qsc_code_frac_chars_dupe_7grams": 0.51197605, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.26408451, "qsc_code_frac_chars_whitespace": 0.16764361, "qsc_code_size_file_byte": 1706.0, "qsc_code_num_lines": 45.0, "qsc_code_num_chars_line_max": 76.0, "qsc_code_num_chars_line_mean": 37.91111111, "qsc_code_frac_chars_alphabet": 0.67676056, "qsc_code_frac_chars_comments": 1.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": null, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": null, "qsc_code_frac_chars_string_length": null, "qsc_code_frac_chars_long_word_length": null, "qsc_code_frac_lines_string_concat": null, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": null, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": null}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0}
0015/esp_rlottie
rlottie/src/vector/vbezier.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ #include "vbezier.h" #include <cmath> #include "vline.h" V_BEGIN_NAMESPACE VBezier VBezier::fromPoints(const VPointF &p1, const VPointF &p2, const VPointF &p3, const VPointF &p4) { VBezier b; b.x1 = p1.x(); b.y1 = p1.y(); b.x2 = p2.x(); b.y2 = p2.y(); b.x3 = p3.x(); b.y3 = p3.y(); b.x4 = p4.x(); b.y4 = p4.y(); return b; } float VBezier::length() const { const auto len = VLine::length(x1, y1, x2, y2) + VLine::length(x2, y2, x3, y3) + VLine::length(x3, y3, x4, y4); const auto chord = VLine::length(x1, y1, x4, y4); if ((len - chord) > 0.01) { VBezier left, right; split(&left, &right); return left.length() + right.length(); } return len; } VBezier VBezier::onInterval(float t0, float t1) const { if (t0 == 0 && t1 == 1) return *this; VBezier bezier = *this; VBezier result; bezier.parameterSplitLeft(t0, &result); float trueT = (t1 - t0) / (1 - t0); bezier.parameterSplitLeft(trueT, &result); return result; } float VBezier::tAtLength(float l, float totalLength) const { float t = 1.0; const float error = 0.01f; if (l > totalLength || vCompare(l, totalLength)) return t; t *= 0.5; float lastBigger = 1.0; for (int num = 0; num < 100500; num++) { VBezier right = *this; VBezier left; right.parameterSplitLeft(t, &left); float lLen = left.length(); if (fabs(lLen - l) < error) return t; if (lLen < l) { t += (lastBigger - t) * 0.5f; } else { lastBigger = t; t -= t * 0.5f; } } vWarning << "no convergence"; return t; } void VBezier::splitAtLength(float len, VBezier *left, VBezier *right) { float t; *right = *this; t = right->tAtLength(len); right->parameterSplitLeft(t, left); } VPointF VBezier::derivative(float t) const { // p'(t) = 3 * (-(1-2t+t^2) * p0 + (1 - 4 * t + 3 * t^2) * p1 + (2 * t - 3 * // t^2) * p2 + t^2 * p3) float m_t = 1.0f - t; float d = t * t; float a = -m_t * m_t; float b = 1 - 4 * t + 3 * d; float c = 2 * t - 3 * d; return 3 * VPointF(a * x1 + b * x2 + c * x3 + d * x4, a * y1 + b * y2 + c * y3 + d * y4); } float VBezier::angleAt(float t) const { if (t < 0 || t > 1) { return 0; } return VLine({}, derivative(t)).angle(); } V_END_NAMESPACE
3,658
vbezier
cpp
en
cpp
code
{"qsc_code_num_words": 522, "qsc_code_num_chars": 3658.0, "qsc_code_mean_word_length": 4.1091954, "qsc_code_frac_words_unique": 0.33908046, "qsc_code_frac_chars_top_2grams": 0.04102564, "qsc_code_frac_chars_top_3grams": 0.01212121, "qsc_code_frac_chars_top_4grams": 0.01398601, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.04158718, "qsc_code_frac_chars_whitespace": 0.28348824, "qsc_code_size_file_byte": 3658.0, "qsc_code_num_lines": 135.0, "qsc_code_num_chars_line_max": 82.0, "qsc_code_num_chars_line_mean": 27.0962963, "qsc_code_frac_chars_alphabet": 0.77680275, "qsc_code_frac_chars_comments": 0.34171679, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01245847, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codecpp_frac_lines_preprocessor_directives": 0.03370787, "qsc_codecpp_frac_lines_func_ratio": 0.01123596, "qsc_codecpp_cate_bitsstdc": 0.0, "qsc_codecpp_nums_lines_main": 0.0, "qsc_codecpp_frac_lines_goto": 0.0, "qsc_codecpp_cate_var_zero": 0.0, "qsc_codecpp_score_lines_no_logic": 0.11235955, "qsc_codecpp_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codecpp_frac_lines_func_ratio": 0, "qsc_codecpp_nums_lines_main": 0, "qsc_codecpp_score_lines_no_logic": 0, "qsc_codecpp_frac_lines_preprocessor_directives": 0, "qsc_codecpp_frac_lines_print": 0}
0015/esp_rlottie
rlottie/src/vector/velapsedtimer.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ #include "velapsedtimer.h" void VElapsedTimer::start() { clock = std::chrono::high_resolution_clock::now(); m_valid = true; } double VElapsedTimer::restart() { double elapsedTime = elapsed(); start(); return elapsedTime; } double VElapsedTimer::elapsed() const { if (!isValid()) return 0; return std::chrono::duration<double, std::milli>( std::chrono::high_resolution_clock::now() - clock) .count(); } bool VElapsedTimer::hasExpired(double time) { double elapsedTime = elapsed(); if (elapsedTime > time) return true; return false; }
1,749
velapsedtimer
cpp
en
cpp
code
{"qsc_code_num_words": 236, "qsc_code_num_chars": 1749.0, "qsc_code_mean_word_length": 5.36016949, "qsc_code_frac_words_unique": 0.54237288, "qsc_code_frac_chars_top_2grams": 0.06956522, "qsc_code_frac_chars_top_3grams": 0.02055336, "qsc_code_frac_chars_top_4grams": 0.03636364, "qsc_code_frac_chars_dupe_5grams": 0.04901186, "qsc_code_frac_chars_dupe_6grams": 0.04901186, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00353107, "qsc_code_frac_chars_whitespace": 0.19039451, "qsc_code_size_file_byte": 1749.0, "qsc_code_num_lines": 50.0, "qsc_code_num_chars_line_max": 82.0, "qsc_code_num_chars_line_mean": 34.98, "qsc_code_frac_chars_alphabet": 0.88983051, "qsc_code_frac_chars_comments": 0.65637507, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.08, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0249584, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codecpp_frac_lines_preprocessor_directives": 0.04, "qsc_codecpp_frac_lines_func_ratio": 0.0, "qsc_codecpp_cate_bitsstdc": 0.0, "qsc_codecpp_nums_lines_main": 0.0, "qsc_codecpp_frac_lines_goto": 0.0, "qsc_codecpp_cate_var_zero": 0.0, "qsc_codecpp_score_lines_no_logic": 0.12, "qsc_codecpp_frac_lines_print": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codecpp_frac_lines_func_ratio": 0, "qsc_codecpp_nums_lines_main": 0, "qsc_codecpp_score_lines_no_logic": 0, "qsc_codecpp_frac_lines_preprocessor_directives": 0, "qsc_codecpp_frac_lines_print": 0}
00ffcc/chunkRWKV6
cuda/wkv6_op.cpp
#include <torch/extension.h> #include "ATen/ATen.h" typedef at::BFloat16 bf16; void cuda_forward(int B, int T, int C, int H, bf16 *r, bf16 *k, bf16 *v, float *w, bf16 *u, bf16 *y); void cuda_backward(int B, int T, int C, int H, bf16 *r, bf16 *k, bf16 *v, float *w, bf16 *u, bf16 *gy, bf16 *gr, bf16 *gk, bf16 *gv, bf16 *gw, bf16 *gu); void forward(int64_t B, int64_t T, int64_t C, int64_t H, torch::Tensor &r, torch::Tensor &k, torch::Tensor &v, torch::Tensor &w, torch::Tensor &u, torch::Tensor &y) { cuda_forward(B, T, C, H, r.data_ptr<bf16>(), k.data_ptr<bf16>(), v.data_ptr<bf16>(), w.data_ptr<float>(), u.data_ptr<bf16>(), y.data_ptr<bf16>()); } void backward(int64_t B, int64_t T, int64_t C, int64_t H, torch::Tensor &r, torch::Tensor &k, torch::Tensor &v, torch::Tensor &w, torch::Tensor &u, torch::Tensor &gy, torch::Tensor &gr, torch::Tensor &gk, torch::Tensor &gv, torch::Tensor &gw, torch::Tensor &gu) { cuda_backward(B, T, C, H, r.data_ptr<bf16>(), k.data_ptr<bf16>(), v.data_ptr<bf16>(), w.data_ptr<float>(), u.data_ptr<bf16>(), gy.data_ptr<bf16>(), gr.data_ptr<bf16>(), gk.data_ptr<bf16>(), gv.data_ptr<bf16>(), gw.data_ptr<bf16>(), gu.data_ptr<bf16>()); } PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { m.def("forward", &forward, "wkv6 forward"); m.def("backward", &backward, "wkv6 backward"); } TORCH_LIBRARY(wkv6, m) { m.def("forward", forward); m.def("backward", backward); }
1,417
wkv6_op
cpp
en
cpp
code
{"qsc_code_num_words": 257, "qsc_code_num_chars": 1417.0, "qsc_code_mean_word_length": 3.48638132, "qsc_code_frac_words_unique": 0.15953307, "qsc_code_frac_chars_top_2grams": 0.20870536, "qsc_code_frac_chars_top_3grams": 0.18415179, "qsc_code_frac_chars_top_4grams": 0.01785714, "qsc_code_frac_chars_dupe_5grams": 0.56361607, "qsc_code_frac_chars_dupe_6grams": 0.46875, "qsc_code_frac_chars_dupe_7grams": 0.46875, "qsc_code_frac_chars_dupe_8grams": 0.46875, "qsc_code_frac_chars_dupe_9grams": 0.46875, "qsc_code_frac_chars_dupe_10grams": 0.46875, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.06910569, "qsc_code_frac_chars_whitespace": 0.13196895, "qsc_code_size_file_byte": 1417.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 264.0, "qsc_code_num_chars_line_mean": 64.40909091, "qsc_code_frac_chars_alphabet": 0.65934959, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.04657728, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codecpp_frac_lines_preprocessor_directives": 0.10526316, "qsc_codecpp_frac_lines_func_ratio": 0.21052632, "qsc_codecpp_cate_bitsstdc": 0.0, "qsc_codecpp_nums_lines_main": 0.0, "qsc_codecpp_frac_lines_goto": 0.0, "qsc_codecpp_cate_var_zero": 0.0, "qsc_codecpp_score_lines_no_logic": 0.31578947, "qsc_codecpp_frac_lines_print": 0.0}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codecpp_frac_lines_func_ratio": 1, "qsc_codecpp_nums_lines_main": 0, "qsc_codecpp_score_lines_no_logic": 0, "qsc_codecpp_frac_lines_preprocessor_directives": 0, "qsc_codecpp_frac_lines_print": 0}
00ffcc/chunkRWKV6
cuda/wkv6_cuda.cu
#include <stdio.h> #include <assert.h> #include "ATen/ATen.h" typedef at::BFloat16 bf16; template <typename F> __global__ void kernel_forward(const int B, const int T, const int C, const int H, const F *__restrict__ const _r, const F *__restrict__ const _k, const F *__restrict__ const _v, const float *__restrict__ _w, const F *__restrict__ _u, F *__restrict__ const _y) { const int b = blockIdx.x / H; const int h = blockIdx.x % H; const int i = threadIdx.x; _u += h*_N_; __shared__ float r[_N_], k[_N_], u[_N_], w[_N_]; float state[_N_] = {0}; __syncthreads(); u[i] = float(_u[i]); __syncthreads(); for (int t = b*T*C + h*_N_ + i; t < (b+1)*T*C + h*_N_ + i; t += C) { __syncthreads(); w[i] = exp(_w[t]); r[i] = float(_r[t]); k[i] = float(_k[t]); __syncthreads(); const float v = float(_v[t]); float y = 0; #pragma unroll for (int j = 0; j < _N_; j+=4) { const float4& r_ = (float4&)(r[j]); const float4& k_ = (float4&)(k[j]); const float4& w_ = (float4&)(w[j]); const float4& u_ = (float4&)(u[j]); float4& s = (float4&)(state[j]); float4 x; x.x = k_.x * v; x.y = k_.y * v; x.z = k_.z * v; x.w = k_.w * v; y += r_.x * (u_.x * x.x + s.x); y += r_.y * (u_.y * x.y + s.y); y += r_.z * (u_.z * x.z + s.z); y += r_.w * (u_.w * x.w + s.w); s.x = s.x * w_.x + x.x; s.y = s.y * w_.y + x.y; s.z = s.z * w_.z + x.z; s.w = s.w * w_.w + x.w; } _y[t] = F(y); } } template <typename F> __global__ void kernel_backward_111(const int B, const int T, const int C, const int H, const F *__restrict__ const _r, const F *__restrict__ const _k, const F *__restrict__ const _v, const float *__restrict__ _w, const F *__restrict__ _u, const F *__restrict__ const _gy, F *__restrict__ const _gr, F *__restrict__ const _gk, F *__restrict__ const _gv, F *__restrict__ const _gu) { const int b = blockIdx.x / H; const int h = blockIdx.x % H; const int i = threadIdx.x; _u += h*_N_; __shared__ float u_[_N_]; __shared__ float r[_N_], k[_N_], v[_N_], w_[_N_], gy[_N_]; __syncthreads(); u_[i] = float(_u[i]); __syncthreads(); const float u = u_[i]; float state[_N_] = {0}, scccc[_N_] = {0}, sdddd[_N_] = {0}; const int t_0 = b*T*C + h*_N_ + i; const int t_T_1 = t_0 + (T-1)*C; const int t_T = t_0 + T*C; float gu = 0; for (int t = t_0; t < t_T; t += C) { __syncthreads(); v[i] = float(_v[t]); gy[i] = float(_gy[t]); __syncthreads(); const float k = float(_k[t]); const float w = exp(_w[t]); float gr = 0, gu_ = 0; #pragma unroll for (int j = 0; j < _N_; j++) { float& s = state[j]; float x = k * v[j]; gr += (u * x + s) * gy[j]; gu_ += x * gy[j]; s = s * w + x; } _gr[t] = F(gr); gu += float(_r[t]) * gu_; } _gu[b*C + h*_N_ + i] = F(gu); for (int t = t_T_1; t >= t_0; t -= C) { __syncthreads(); v[i] = float(_v[t]); gy[i] = float(_gy[t]); __syncthreads(); const float rr = float(_r[t]); const float w = exp(_w[t]); float gk = 0; #pragma unroll for (int j = 0; j < _N_; j++) { float& s = scccc[j]; float x = rr * gy[j]; gk += (u * x + s) * v[j]; s = x + s * w; } _gk[t] = F(gk); } for (int t = t_T_1; t >= t_0; t -= C) { __syncthreads(); r[i] = float(_r[t]); k[i] = float(_k[t]); w_[i] = exp(_w[t]); __syncthreads(); const float gyy = float(_gy[t]); float gv = 0; #pragma unroll for (int j = 0; j < _N_; j++) { float& s = sdddd[j]; float x = gyy * r[j]; gv += (u_[j] * x + s) * k[j]; s = x + s * w_[j]; } _gv[t] = F(gv); } } template <typename F> __global__ void kernel_backward_222(const int B, const int T, const int C, const int H, const F *__restrict__ const _r, const F *__restrict__ const _k, const F *__restrict__ const _v, const float *__restrict__ _w, const F *__restrict__ _u, const F *__restrict__ const _gy, F *__restrict__ const _gw) { const int b = blockIdx.x / H; const int h = blockIdx.x % H; const int i = threadIdx.x; __shared__ float v[_N_], gy[_N_]; float saaaa[_N_] = {0}, sbbbb[_T_-2] = {0}, scccc[_N_] = {0}; const int t_0 = b*T*C + h*_N_ + i; const int t_1 = t_0 + C; const int t_2 = t_0 + 2*C; const int t_T_1 = t_0 + (T-1)*C; for (int t = t_T_1; t > t_1; t -= C) { __syncthreads(); gy[i] = float(_gy[t]); v[i] = float(_v[t-2*C]); __syncthreads(); const float r = float(_r[t]); const float w = exp(_w[t-C]); float sum = 0.0f; #pragma unroll for (int j = 0; j < _N_; j++) { float& s = saaaa[j]; float x = r * gy[j]; s = (s + x) * w; sum += s * v[j]; } sbbbb[(t-t_2)/C] = sum * float(_k[t-2*C]); } float sss = sbbbb[0]; _gw[t_0] = 0; _gw[t_1] = F(sss * _w[t_1]); for (int t = t_2; t < t_T_1; t += C) { __syncthreads(); gy[i] = float(_gy[t]); v[i] = float(_v[t-2*C]); __syncthreads(); const float w = exp(_w[t-C]); const float k = float(_k[t-2*C]); float sum = 0.0f; #pragma unroll for (int j = 0; j < _N_; j++) { float& s = scccc[j]; float x = k * v[j]; s = (s + x) * w; sum += s * gy[j]; } sss += sbbbb[(t-t_1)/C] - (sum * float(_r[t])); _gw[t] = F(sss * _w[t]); } _gw[t_T_1] = 0; } void cuda_forward(int B, int T, int C, int H, bf16 *r, bf16 *k, bf16 *v, float *w, bf16 *u, bf16 *y) { assert(H*_N_ == C); assert(_N_%4 == 0); kernel_forward<<<dim3(B * H), dim3(_N_)>>>(B, T, C, H, r, k, v, w, u, y); } void cuda_backward(int B, int T, int C, int H, bf16 *r, bf16 *k, bf16 *v, float *w, bf16 *u, bf16 *gy, bf16 *gr, bf16 *gk, bf16 *gv, bf16 *gw, bf16 *gu) { assert(H*_N_ == C); assert(_N_%4 == 0); kernel_backward_111<<<dim3(B * H), dim3(_N_)>>>(B, T, C, H, r, k, v, w, u, gy, gr, gk, gv, gu); kernel_backward_222<<<dim3(B * H), dim3(_N_)>>>(B, T, C, H, r, k, v, w, u, gy, gw); }
6,826
wkv6_cuda
cu
en
cuda
code
{"qsc_code_num_words": 1098, "qsc_code_num_chars": 6826.0, "qsc_code_mean_word_length": 2.52185792, "qsc_code_frac_words_unique": 0.06284153, "qsc_code_frac_chars_top_2grams": 0.08089563, "qsc_code_frac_chars_top_3grams": 0.08595161, "qsc_code_frac_chars_top_4grams": 0.07547851, "qsc_code_frac_chars_dupe_5grams": 0.6756952, "qsc_code_frac_chars_dupe_6grams": 0.66124955, "qsc_code_frac_chars_dupe_7grams": 0.62585771, "qsc_code_frac_chars_dupe_8grams": 0.55760202, "qsc_code_frac_chars_dupe_9grams": 0.5442398, "qsc_code_frac_chars_dupe_10grams": 0.51029252, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.02981969, "qsc_code_frac_chars_whitespace": 0.3662467, "qsc_code_size_file_byte": 6826.0, "qsc_code_num_lines": 242.0, "qsc_code_num_chars_line_max": 189.0, "qsc_code_num_chars_line_mean": 28.20661157, "qsc_code_frac_chars_alphabet": 0.61026352, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.37745098, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00161149, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0245098}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0}
00ffcc/chunkRWKV6
cuda/rwkv6.cu
#include <stdio.h> #include <assert.h> #include "ATen/ATen.h" typedef at::BFloat16 bf16; typedef at::Half fp16; typedef float fp32; template <typename F> __global__ void kernel_forward(const int B, const int T, const int C, const int H, float *__restrict__ _state, const F *__restrict__ const _r, const F *__restrict__ const _k, const F *__restrict__ const _v, const float *__restrict__ _w, const float *__restrict__ _u, float *__restrict__ const _y) { const int b = blockIdx.x / H; const int h = blockIdx.x % H; const int i = threadIdx.x; _u += h*_N_; _state+=b*H*_N_*_N_ + h*_N_*_N_ + i*_N_; __shared__ float r[_N_], k[_N_], u[_N_], w[_N_]; float state[_N_]; #pragma unroll for (int j = 0; j < _N_; j++) state[j] = _state[j]; __syncthreads(); u[i] = _u[i]; __syncthreads(); for (int t = b*T*C + h*_N_ + i; t < (b+1)*T*C + h*_N_ + i; t += C) { __syncthreads(); w[i] = _w[t]; r[i] = float(_r[t]); k[i] = float(_k[t]); __syncthreads(); const float v = float(_v[t]); float y = 0; #pragma unroll for (int j = 0; j < _N_; j+=4) { const float4& r_ = (float4&)(r[j]); const float4& k_ = (float4&)(k[j]); const float4& w_ = (float4&)(w[j]); const float4& u_ = (float4&)(u[j]); float4& s = (float4&)(state[j]); float4 x; x.x = k_.x * v; x.y = k_.y * v; x.z = k_.z * v; x.w = k_.w * v; y += r_.x * (u_.x * x.x + s.x); y += r_.y * (u_.y * x.y + s.y); y += r_.z * (u_.z * x.z + s.z); y += r_.w * (u_.w * x.w + s.w); s.x = s.x * w_.x + x.x; s.y = s.y * w_.y + x.y; s.z = s.z * w_.z + x.z; s.w = s.w * w_.w + x.w; } _y[t] = y; } #pragma unroll for (int j = 0; j < _N_; j++) _state[j] = state[j]; } void cuda_forward_bf16(int B, int T, int C, int H, float *state, bf16 *r, bf16 *k, bf16 *v, float *w, float *u, float *y) { assert(H*_N_ == C); kernel_forward<<<dim3(B * H), dim3(_N_)>>>(B, T, C, H, state, r, k, v, w, u, y); } void cuda_forward_fp16(int B, int T, int C, int H, float *state, fp16 *r, fp16 *k, fp16 *v, float *w, float *u, float *y) { assert(H*_N_ == C); kernel_forward<<<dim3(B * H), dim3(_N_)>>>(B, T, C, H, state, r, k, v, w, u, y); } void cuda_forward_fp32(int B, int T, int C, int H, float *state, fp32 *r, fp32 *k, fp32 *v, float *w, float *u, float *y) { assert(H*_N_ == C); kernel_forward<<<dim3(B * H), dim3(_N_)>>>(B, T, C, H, state, r, k, v, w, u, y); }
2,763
rwkv6
cu
en
cuda
code
{"qsc_code_num_words": 465, "qsc_code_num_chars": 2763.0, "qsc_code_mean_word_length": 2.57849462, "qsc_code_frac_words_unique": 0.11182796, "qsc_code_frac_chars_top_2grams": 0.01334445, "qsc_code_frac_chars_top_3grams": 0.01251043, "qsc_code_frac_chars_top_4grams": 0.01334445, "qsc_code_frac_chars_dupe_5grams": 0.37531276, "qsc_code_frac_chars_dupe_6grams": 0.34528774, "qsc_code_frac_chars_dupe_7grams": 0.3352794, "qsc_code_frac_chars_dupe_8grams": 0.3352794, "qsc_code_frac_chars_dupe_9grams": 0.3352794, "qsc_code_frac_chars_dupe_10grams": 0.31609675, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.02987507, "qsc_code_frac_chars_whitespace": 0.33369526, "qsc_code_size_file_byte": 2763.0, "qsc_code_num_lines": 86.0, "qsc_code_num_chars_line_max": 187.0, "qsc_code_num_chars_line_mean": 32.12790698, "qsc_code_frac_chars_alphabet": 0.62140141, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.19736842, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00398118, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.05263158}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0}
00ffcc/conRWKV
conRWKV/models/v7/model_batch.py
######################################################################################################## # The RWKV Language Model - https://github.com/BlinkDL/RWKV-LM # from https://github.com/BlinkDL/RWKV-LM/blob/main/RWKV-v7/rwkv_v7_demo.py, 增加state ######################################################################################################## import torch, types, os, gc, math, json import numpy as np import torch.nn as nn from typing import List from torch.nn import functional as F np.set_printoptions(precision=4, suppress=True, linewidth=200) torch.backends.cudnn.benchmark = True torch.backends.cudnn.allow_tf32 = True torch.backends.cuda.matmul.allow_tf32 = True # torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction = True # torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = True torch._C._jit_set_autocast_mode(False) # DTYPE = torch.bfloat16 DTYPE = torch.half # better ######################################################################################################## # RWKV TimeMix ######################################################################################################## class RWKV_Tmix_x070(torch.nn.Module): def __init__(self, args, layer_id): super().__init__() self.args = args self.layer_id = layer_id self.dtype = DTYPE self.head_size = args.head_size self.n_head = args.dim_att // self.head_size assert args.dim_att % self.n_head == 0 H = self.n_head N = self.head_size C = args.n_embd self.x_r = nn.Parameter(torch.empty(1,1,C)) self.x_w = nn.Parameter(torch.empty(1,1,C)) self.x_k = nn.Parameter(torch.empty(1,1,C)) self.x_v = nn.Parameter(torch.empty(1,1,C)) self.x_a = nn.Parameter(torch.empty(1,1,C)) self.x_g = nn.Parameter(torch.empty(1,1,C)) self.w0 = nn.Parameter(torch.empty(1,1,C)) self.w1 = nn.Parameter(torch.empty(C, args.D_DECAY_LORA)) self.w2 = nn.Parameter(torch.empty(args.D_DECAY_LORA, C)) self.a0 = nn.Parameter(torch.empty(1,1,C)) self.a1 = nn.Parameter(torch.empty(C, args.D_AAA_LORA)) self.a2 = nn.Parameter(torch.empty(args.D_AAA_LORA, C)) self.v0 = nn.Parameter(torch.empty(1,1,C)) self.v1 = nn.Parameter(torch.empty(C, args.D_MV_LORA)) self.v2 = nn.Parameter(torch.empty(args.D_MV_LORA, C)) self.g1 = nn.Parameter(torch.empty(C, args.D_GATE_LORA)) self.g2 = nn.Parameter(torch.empty(args.D_GATE_LORA, C)) self.k_k = nn.Parameter(torch.empty(1,1,C)) self.k_a = nn.Parameter(torch.empty(1,1,C)) self.r_k = nn.Parameter(torch.empty(H,N)) self.receptance = nn.Linear(C, C, bias=False) self.key = nn.Linear(C, C, bias=False) self.value = nn.Linear(C, C, bias=False) self.output = nn.Linear(C, C, bias=False) self.ln_x = nn.GroupNorm(H, C, eps=64e-5) # !!! notice eps value !!! def forward(self, x, v_first, state:List[List[torch.Tensor]]): B, T, C = x.shape H = self.n_head x_prev = state[self.layer_id][0] xx = torch.cat([x_prev.view(B, 1, C), x[:, :-1, :]], dim=1) - x state[self.layer_id][0] = x[:, -1, :] xr = x + xx * self.x_r xw = x + xx * self.x_w xk = x + xx * self.x_k xv = x + xx * self.x_v xa = x + xx * self.x_a xg = x + xx * self.x_g r = self.receptance(xr) w = -F.softplus(-(self.w0 + torch.tanh(xw @ self.w1) @ self.w2)) - 0.5 # soft-clamp to (-inf, -0.5) k = self.key(xk) v = self.value(xv) if self.layer_id == 0: v_first = v # store the v of the first layer else: v = v + (v_first - v) * torch.sigmoid(self.v0 + (xv @ self.v1) @ self.v2) # add value residual a = torch.sigmoid(self.a0 + (xa @ self.a1) @ self.a2) # a is "in-context learning rate" g = torch.sigmoid(xg @ self.g1) @ self.g2 kk = k * self.k_k kk = F.normalize(kk.view(B,T,H,-1), dim=-1, p=2.0).view(B,T,C) k = k * (1 + (a-1) * self.k_a) x, state[self.layer_id][1] = self.RWKV7_OP(r, w, k, v, -kk, kk*a, state[self.layer_id][1]) x = self.ln_x(x.view(B * T, C)).view(B, T, C) x = x + ((r.view(B,T,H,-1)*k.view(B,T,H,-1)*self.r_k).sum(dim=-1, keepdim=True) * v.view(B,T,H,-1)).view(B,T,C) x = self.output(x * g) return x, v_first def RWKV7_OP(self, r, w, k, v, a, b, state): B, T, C = r.shape H = C // self.head_size N = self.head_size r = r.view(B, T, H, N).float() k = k.view(B, T, H, N).float() v = v.view(B, T, H, N).float() a = a.view(B, T, H, N).float() b = b.view(B, T, H, N).float() w = torch.exp(-torch.exp(w.view(B, T, H, N).float())) out = torch.zeros((B, T, H, N), device=r.device, dtype=torch.float) for t in range(T): kk = k[:, t, :].view(B, H, 1, N) rr = r[:, t, :].view(B, H, N, 1) vv = v[:, t, :].view(B, H, N, 1) aa = a[:, t, :].view(B, H, N, 1) bb = b[:, t, :].view(B, H, 1, N) state = state * w[: , t, :, None, :] + state @ aa @ bb + vv @ kk out[:, t, :] = (state @ rr).view(B, H, N) return out.view(B, T, C).to(dtype=self.dtype), state ######################################################################################################## # RWKV ChannelMix ######################################################################################################## class RWKV_CMix_x070(torch.nn.Module): def __init__(self, args, layer_id): super().__init__() self.args = args self.layer_id = layer_id self.time_shift = nn.ZeroPad2d((0, 0, 1, -1)) with torch.no_grad(): self.x_k = nn.Parameter(torch.empty(1, 1, args.n_embd)) self.key = nn.Linear(args.n_embd, args.dim_ffn, bias=False) self.value = nn.Linear(args.dim_ffn, args.n_embd, bias=False) def forward(self, x, state:List[List[torch.Tensor]]): B, T, C = x.shape x_prev = state[self.layer_id][2] xx = torch.cat([x_prev.view(B, 1, C), x[:, :-1, :]], dim=1) - x state[self.layer_id][2] = x[:, -1, :] k = x + xx * self.x_k k = torch.relu(self.key(k)) ** 2 return self.value(k) ######################################################################################################## # RWKV Block ######################################################################################################## class Block(torch.nn.Module): def __init__(self, args, layer_id): super().__init__() self.args = args self.layer_id = layer_id self.ln1 = nn.LayerNorm(args.n_embd) self.ln2 = nn.LayerNorm(args.n_embd) self.att = RWKV_Tmix_x070(args, layer_id) self.ffn = RWKV_CMix_x070(args, layer_id) def forward(self, x, v_first, state:List[List[torch.Tensor]]): xx, v_first = self.att(self.ln1(x), v_first, state) x = x + xx x = x + self.ffn(self.ln2(x), state) return x, v_first ######################################################################################################## # RWKV Model ######################################################################################################## class RWKV(nn.Module): def __init__(self, args): super().__init__() self.args = args args.dim_att = args.n_embd args.dim_ffn = args.n_embd * 4 self.emb = nn.Embedding(args.vocab_size, args.n_embd) self.ln0 = nn.LayerNorm(args.n_embd) self.blocks = nn.ModuleList([Block(args, i) for i in range(args.n_layer)]) self.ln_out = nn.LayerNorm(args.n_embd) self.head = nn.Linear(args.n_embd, args.vocab_size, bias=False) @staticmethod def from_pretrained(model_path): z = torch.load(model_path, map_location='cpu') z['ln0.weight'] = z['blocks.0.ln0.weight'] z['ln0.bias'] = z['blocks.0.ln0.bias'] args = types.SimpleNamespace() args.n_head, args.head_size = z['blocks.0.att.r_k'].shape args.n_embd = args.n_head * args.head_size args.n_layer = max(int(k.split('.')[1]) for k in z.keys() if 'blocks.' in k) + 1 args.vocab_size = z['emb.weight'].shape[0] args.D_DECAY_LORA = z['blocks.1.att.w1'].shape[1] args.D_AAA_LORA = z['blocks.1.att.a1'].shape[1] args.D_MV_LORA = z['blocks.1.att.v1'].shape[1] args.D_GATE_LORA = z['blocks.1.att.g1'].shape[1] model = RWKV(args) model.load_state_dict(z, strict=False) model = model.to('cuda').to(dtype=DTYPE) return model def forward(self, idx, state): x = self.emb(idx) x = self.ln0(x) v_first = torch.empty_like(x) for block in self.blocks: x, v_first = block(x, v_first, state) x = self.ln_out(x) x = self.head(x) return x def empty_state(self, batch_size): return [ [ torch.zeros(batch_size, self.args.n_embd, dtype=DTYPE, device='cuda'), torch.zeros(batch_size, self.args.n_embd // self.args.head_size, self.args.head_size, self.args.head_size, dtype=torch.float32, device='cuda'), torch.zeros(batch_size, self.args.n_embd, dtype=DTYPE, device='cuda'), ] for _ in range(self.args.n_layer)] ######################################################################################################## # RWKV Inference ######################################################################################################## if __name__ == '__main__': with torch.no_grad(): import sys sys.path.append(r"..\..") from tokenizer.tokenization_rwkv_world import RWKVWorldTokenizer tokenizer=RWKVWorldTokenizer(vocab_file=r"..\..\tokenizer\rwkv_vocab_v20230424.txt") MODEL_NAME = r"..\..\weights\v7-0.1b.pth" model = RWKV.from_pretrained(MODEL_NAME) model.eval() ######################################################################################################## prompt = "The Eiffel tower is in the city of" input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to('cuda') print(f'\nInput:\n{input_ids}') state = model.empty_state(1) out = model.forward(input_ids[:, :4], state) print(state) out = model.forward(input_ids[:, 4:], state) print(f'\nOutput:\n{out}') # logits of the last token => prediction for the next token out = out[0, -1] probs = F.softmax(out.float(), dim=-1) # compute softmax in float (more accurate) print(f'\n{prompt}') _, indices = torch.topk(probs, 10) # print top-10 possibilities for i in range(len(indices)): token_id = indices[i].item() token = tokenizer.decode([token_id]) token_prob = probs[token_id].item() print(token, f'[probability {token_prob:.2%}]')
11,248
model_batch
py
de
python
code
{"qsc_code_num_words": 1590, "qsc_code_num_chars": 11248.0, "qsc_code_mean_word_length": 3.4081761, "qsc_code_frac_words_unique": 0.16477987, "qsc_code_frac_chars_top_2grams": 0.02122163, "qsc_code_frac_chars_top_3grams": 0.06200406, "qsc_code_frac_chars_top_4grams": 0.08138033, "qsc_code_frac_chars_dupe_5grams": 0.42258719, "qsc_code_frac_chars_dupe_6grams": 0.36741096, "qsc_code_frac_chars_dupe_7grams": 0.24893892, "qsc_code_frac_chars_dupe_8grams": 0.21203174, "qsc_code_frac_chars_dupe_9grams": 0.15574829, "qsc_code_frac_chars_dupe_10grams": 0.11256689, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0201397, "qsc_code_frac_chars_whitespace": 0.23630868, "qsc_code_size_file_byte": 11248.0, "qsc_code_num_lines": 283.0, "qsc_code_num_chars_line_max": 164.0, "qsc_code_num_chars_line_mean": 39.74558304, "qsc_code_frac_chars_alphabet": 0.61071013, "qsc_code_frac_chars_comments": 0.05769915, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.14851485, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.03923694, "qsc_code_frac_chars_long_word_length": 0.00932148, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0049505, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.05445545, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.03465347, "qsc_codepython_frac_lines_simplefunc": 0.0049504950495049506, "qsc_codepython_score_lines_no_logic": 0.14356436, "qsc_codepython_frac_lines_print": 0.02970297}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
00ffcc/conRWKV
conRWKV/models/v7/model_script.py
######################################################################################################## # The RWKV Language Model - https://github.com/BlinkDL/RWKV-LM ######################################################################################################## # # from https://github.com/BlinkDL/RWKV-LM/blob/main/RWKV-v7/rwkv_v7_demo_fast.py # ######################################################################################################## import numpy as np np.set_printoptions(precision=4, suppress=True, linewidth=200) import types, torch, copy, time from typing import List torch.backends.cudnn.benchmark = True torch.backends.cudnn.allow_tf32 = True torch.backends.cuda.matmul.allow_tf32 = True # torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction = True # torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = True torch._C._jit_set_autocast_mode(False) import torch.nn as nn from torch.nn import functional as F MyModule = torch.jit.ScriptModule MyFunction = torch.jit.script_method MyStatic = torch.jit.script # MyModule = nn.Module # def __nop(ob): return ob # MyFunction = __nop # MyStatic = __nop ######################################################################################################## ######################################################################################################## # # The RWKV-7 "Goose" Language Model - https://github.com/BlinkDL/RWKV-LM # ######################################################################################################## DTYPE = torch.half ######################################################################################################## class RWKV_x070(MyModule): def __init__(self): super().__init__() self.eval() self.z = torch.load(MODEL_NAME + '.pth', map_location='cuda') z = self.z self.n_head, self.head_size = z['blocks.0.att.r_k'].shape self.n_embd = self.n_head * self.head_size self.n_layer = max(int(k.split('.')[1]) for k in z.keys() if 'blocks.' in k) + 1 self.vocab_size = z['emb.weight'].shape[0] keys = list(z.keys()) for k in keys: if 'key.weight' in k or 'value.weight' in k or 'receptance.weight' in k or 'output.weight' in k or 'head.weight' in k: z[k] = z[k].t() z[k] = z[k].squeeze().to(dtype=DTYPE) if k.endswith('att.r_k'): z[k] = z[k].flatten() z['emb.weight'] = F.layer_norm(z['emb.weight'], (self.n_embd,), weight=z['blocks.0.ln0.weight'], bias=z['blocks.0.ln0.bias']) self.emb = nn.Embedding(self.vocab_size, self.n_embd).to(dtype=DTYPE) self.emb.weight.data = z['emb.weight'] z['blocks.0.att.v0'] = z['blocks.0.att.a0'] # actually ignored z['blocks.0.att.v1'] = z['blocks.0.att.a1'] # actually ignored z['blocks.0.att.v2'] = z['blocks.0.att.a2'] # actually ignored def forward(self, idx, state, full_output=False): if state == None: state = [None for _ in range(self.n_layer * 3)] for i in range(self.n_layer): # state: 0=att_x_prev 1=att_kv 2=ffn_x_prev state[i*3+0] = torch.zeros(self.n_embd, dtype=DTYPE, requires_grad=False, device="cuda") state[i*3+1] = torch.zeros((self.n_embd // self.head_size, self.head_size, self.head_size), dtype=torch.float, requires_grad=False, device="cuda") state[i*3+2] = torch.zeros(self.n_embd, dtype=DTYPE, requires_grad=False, device="cuda") if idx.shape[0] > 1: return self.forward_seq(idx, state, full_output) else: return self.forward_one(idx[0], state) @MyFunction def forward_one(self, idx:int, state:List[torch.Tensor]): with torch.no_grad(): z = self.z x = z['emb.weight'][idx] v_first = torch.empty_like(x) for i in range(self.n_layer): bbb = f'blocks.{i}.' att = f'blocks.{i}.att.' ffn = f'blocks.{i}.ffn.' xx = F.layer_norm(x, (self.n_embd,), weight=z[bbb+'ln1.weight'], bias=z[bbb+'ln1.bias']) xx, state[i*3+0], state[i*3+1], v_first = RWKV_x070_TMix_one(i, self.n_head, self.head_size, xx, state[i*3+0], v_first, state[i*3+1], z[att+'x_r'], z[att+'x_w'], z[att+'x_k'], z[att+'x_v'], z[att+'x_a'], z[att+'x_g'], z[att+'w0'], z[att+'w1'], z[att+'w2'], z[att+'a0'], z[att+'a1'], z[att+'a2'], z[att+'v0'], z[att+'v1'], z[att+'v2'], z[att+'g1'], z[att+'g2'], z[att+'k_k'], z[att+'k_a'], z[att+'r_k'], z[att+'receptance.weight'], z[att+'key.weight'], z[att+'value.weight'], z[att+'output.weight'], z[att+'ln_x.weight'], z[att+'ln_x.bias']) x = x + xx xx = F.layer_norm(x, (self.n_embd,), weight=z[bbb+'ln2.weight'], bias=z[bbb+'ln2.bias']) xx, state[i*3+2] = RWKV_x070_CMix_one(xx, state[i*3+2], z[ffn+'x_k'], z[ffn+'key.weight'], z[ffn+'value.weight']) x = x + xx x = F.layer_norm(x, (self.n_embd,), weight=z['ln_out.weight'], bias=z['ln_out.bias']) x = x @ z['head.weight'] return x, state @MyFunction def forward_seq(self, idx, state:List[torch.Tensor], full_output:bool=False): with torch.no_grad(): z = self.z x = self.emb(idx) v_first = torch.empty_like(x) for i in range(self.n_layer): bbb = f'blocks.{i}.' att = f'blocks.{i}.att.' ffn = f'blocks.{i}.ffn.' xx = F.layer_norm(x, (self.n_embd,), weight=z[bbb+'ln1.weight'], bias=z[bbb+'ln1.bias']) xx, state[i*3+0], state[i*3+1], v_first = RWKV_x070_TMix_seq(i, self.n_head, self.head_size, xx, state[i*3+0], v_first, state[i*3+1], z[att+'x_r'], z[att+'x_w'], z[att+'x_k'], z[att+'x_v'], z[att+'x_a'], z[att+'x_g'], z[att+'w0'], z[att+'w1'], z[att+'w2'], z[att+'a0'], z[att+'a1'], z[att+'a2'], z[att+'v0'], z[att+'v1'], z[att+'v2'], z[att+'g1'], z[att+'g2'], z[att+'k_k'], z[att+'k_a'], z[att+'r_k'], z[att+'receptance.weight'], z[att+'key.weight'], z[att+'value.weight'], z[att+'output.weight'], z[att+'ln_x.weight'], z[att+'ln_x.bias']) x = x + xx xx = F.layer_norm(x, (self.n_embd,), weight=z[bbb+'ln2.weight'], bias=z[bbb+'ln2.bias']) xx, state[i*3+2] = RWKV_x070_CMix_seq(xx, state[i*3+2], z[ffn+'x_k'], z[ffn+'key.weight'], z[ffn+'value.weight']) x = x + xx if not full_output: x = x[-1,:] x = F.layer_norm(x, (self.n_embd,), weight=z['ln_out.weight'], bias=z['ln_out.bias']) x = x @ z['head.weight'] return x, state ######################################################################################################## @MyStatic def RWKV_x070_TMix_one(layer_id: int, H:int, N:int, x, x_prev, v_first, state, x_r, x_w, x_k, x_v, x_a, x_g, w0, w1, w2, a0, a1, a2, v0, v1, v2, g1, g2, k_k, k_a, r_k, R_, K_, V_, O_, ln_w, ln_b): xx = x_prev - x xr, xw, xk, xv, xa, xg = x+xx*x_r, x+xx*x_w, x+xx*x_k, x+xx*x_v, x+xx*x_a, x+xx*x_g r = xr @ R_ w = torch.tanh(xw @ w1) @ w2 k = xk @ K_ v = xv @ V_ a = torch.sigmoid(a0 + (xa @ a1) @ a2) g = torch.sigmoid(xg @ g1) @ g2 kk = torch.nn.functional.normalize((k * k_k).view(H,N), dim=-1, p=2.0).view(H*N) k = k * (1 + (a-1) * k_a) if layer_id == 0: v_first = v else: v = v + (v_first - v) * torch.sigmoid(v0 + (xv @ v1) @ v2) w = torch.exp(-0.606531 * torch.sigmoid((w0 + w).float())) # 0.606531 = exp(-0.5) vk = v.view(H,N,1) @ k.view(H,1,N) ab = (-kk).view(H,N,1) @ (kk*a).view(H,1,N) state = state * w.view(H,1,N) + state @ ab.float() + vk.float() xx = (state.to(dtype=x.dtype) @ r.view(H,N,1)) xx = torch.nn.functional.group_norm(xx.view(1,H*N), num_groups=H, weight=ln_w, bias=ln_b, eps = 64e-5).view(H*N) xx = xx + ((r * k * r_k).view(H,N).sum(dim=-1, keepdim=True) * v.view(H,N)).view(H*N) return (xx * g) @ O_, x, state, v_first @MyStatic def RWKV_x070_TMix_seq(layer_id: int, H:int, N:int, x, x_prev, v_first, state, x_r, x_w, x_k, x_v, x_a, x_g, w0, w1, w2, a0, a1, a2, v0, v1, v2, g1, g2, k_k, k_a, r_k, R_, K_, V_, O_, ln_w, ln_b): T = x.shape[0] xx = torch.cat((x_prev.unsqueeze(0), x[:-1,:])) - x xr, xw, xk, xv, xa, xg = x+xx*x_r, x+xx*x_w, x+xx*x_k, x+xx*x_v, x+xx*x_a, x+xx*x_g r = xr @ R_ w = torch.tanh(xw @ w1) @ w2 k = xk @ K_ v = xv @ V_ a = torch.sigmoid(a0 + (xa @ a1) @ a2) g = torch.sigmoid(xg @ g1) @ g2 kk = torch.nn.functional.normalize((k * k_k).view(T,H,N), dim=-1, p=2.0).view(T,H*N) k = k * (1 + (a-1) * k_a) if layer_id == 0: v_first = v else: v = v + (v_first - v) * torch.sigmoid(v0 + (xv @ v1) @ v2) ######## cuda-free method w = torch.exp(-0.606531 * torch.sigmoid((w0 + w).float())) # 0.606531 = exp(-0.5) for t in range(T): r_, w_, k_, v_, kk_, a_ = r[t], w[t], k[t], v[t], kk[t], a[t] vk = v_.view(H,N,1) @ k_.view(H,1,N) ab = (-kk_).view(H,N,1) @ (kk_*a_).view(H,1,N) state = state * w_.view(H,1,N) + state @ ab.float() + vk.float() xx[t] = (state.to(dtype=x.dtype) @ r_.view(H,N,1)).view(H*N) # w = -torch.nn.functional.softplus(-(w0 + w)) - 0.5 # xx = RWKV7_OP(state, r, w, k, v, -kk, kk*a) xx = torch.nn.functional.group_norm(xx.view(T,H*N), num_groups=H, weight=ln_w, bias=ln_b, eps = 64e-5).view(T,H*N) xx = xx + ((r * k * r_k).view(T,H,N).sum(dim=-1, keepdim=True) * v.view(T,H,N)).view(T,H*N) return (xx * g) @ O_, x[-1,:], state, v_first ######################################################################################################## @MyStatic def RWKV_x070_CMix_one(x, x_prev, x_k, K_, V_): xx = x_prev - x k = x + xx * x_k k = torch.relu(k @ K_) ** 2 return k @ V_, x @MyStatic def RWKV_x070_CMix_seq(x, x_prev, x_k, K_, V_): xx = torch.cat((x_prev.unsqueeze(0), x[:-1,:])) - x k = x + xx * x_k k = torch.relu(k @ K_) ** 2 return k @ V_, x[-1,:] ######################################################################################################## # # The testing code # ######################################################################################################## @MyStatic def sample_logits(logits, temperature:float=1.0, top_p:float=1.0, top_k:int=0): probs = F.softmax(logits.float(), dim=-1) sorted_probs, sorted_ids = torch.sort(probs, descending=True) if top_k > 0: probs[sorted_ids[top_k:]] = 0 if top_p < 1: cumulative_probs = torch.cumsum(sorted_probs, dim=-1) cutoff_index = torch.searchsorted(cumulative_probs, top_p) cutoff = sorted_probs[cutoff_index] probs[probs < cutoff] = 0 if top_p > 0: idx = torch.where(probs == cutoff)[0] if len(idx) > 0: probs[idx] = cutoff + (top_p - torch.sum(probs).item()) / len(idx) # assert abs(torch.sum(probs).item() - top_p) < 1e-6 if temperature != 1.0: probs = probs ** (1.0 / temperature) return torch.multinomial(probs, num_samples=1).item() ######################################################################################################## import sys sys.path.append(r"..\..") from tokenizer.tokenization_rwkv_world import RWKVWorldTokenizer tokenizer=RWKVWorldTokenizer(vocab_file=r"..\..\tokenizer\rwkv_vocab_v20230424.txt") MODEL_NAME = r"..\..\weights\v7-0.1b" model = RWKV_x070() prompt = "The Eiffel tower is in the city of" TEMPERATURE = 1.0 TOP_P = 0.0 input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to('cuda')[0] print(input_ids) init_out, init_state = model.forward(input_ids[0:4], None) init_out, init_state = model.forward(input_ids[4:], init_state) probs = F.softmax(init_out.float(), dim=-1) # compute softmax in float (more accurate) print(f'\n{prompt}') _, indices = torch.topk(probs, 10) # print top-10 possibilities for i in range(len(indices)): token_id = indices[i].item() token = tokenizer.decode([token_id]) token_prob = probs[token_id].item() print(token, f'[probability {token_prob:.2%}]')
12,500
model_script
py
de
python
code
{"qsc_code_num_words": 1991, "qsc_code_num_chars": 12500.0, "qsc_code_mean_word_length": 3.04068307, "qsc_code_frac_words_unique": 0.13360121, "qsc_code_frac_chars_top_2grams": 0.03435745, "qsc_code_frac_chars_top_3grams": 0.0173439, "qsc_code_frac_chars_top_4grams": 0.01189296, "qsc_code_frac_chars_dupe_5grams": 0.57069706, "qsc_code_frac_chars_dupe_6grams": 0.53947803, "qsc_code_frac_chars_dupe_7grams": 0.508259, "qsc_code_frac_chars_dupe_8grams": 0.49058474, "qsc_code_frac_chars_dupe_9grams": 0.41955732, "qsc_code_frac_chars_dupe_10grams": 0.40667327, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03072056, "qsc_code_frac_chars_whitespace": 0.21616, "qsc_code_size_file_byte": 12500.0, "qsc_code_num_lines": 289.0, "qsc_code_num_chars_line_max": 197.0, "qsc_code_num_chars_line_mean": 43.25259516, "qsc_code_frac_chars_alphabet": 0.58716065, "qsc_code_frac_chars_comments": 0.06576, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.39690722, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.09160012, "qsc_code_frac_chars_long_word_length": 0.00586934, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.04639175, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.03608247, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.13402062, "qsc_codepython_frac_lines_print": 0.02061856}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0}
00ffcc/chunkRWKV6
cuda/continous_rwkv6_op.cpp
#include <torch/extension.h> #include "ATen/ATen.h" #include <c10/cuda/CUDAGuard.h> typedef at::BFloat16 bf16; typedef at::Half fp16; typedef float fp32; void cuda_forward_bf16(int B, int T, int C, int H, int CT, float *state, int *_state_idx, bf16 *r, bf16 *k, bf16 *v, float *w, float *w_orig, float *u, float *y); void cuda_forward_fp16(int B, int T, int C, int H, int CT, float *state, int *_state_idx, fp16 *r, fp16 *k, fp16 *v, float *w, float *w_orig, float *u, float *y); void cuda_forward_fp32(int B, int T, int C, int H, int CT, float *state, int *_state_idx, fp32 *r, fp32 *k, fp32 *v, float *w, float *w_orig, float *u, float *y); void forward_bf16(int64_t B, int64_t T, int64_t C, int64_t H, int64_t CT, torch::Tensor &state, torch::Tensor &state_idx, torch::Tensor &r, torch::Tensor &k, torch::Tensor &v, torch::Tensor &w, torch::Tensor &w_orig, torch::Tensor &u, torch::Tensor &y) { const at::cuda::OptionalCUDAGuard device_guard(device_of(state)); cuda_forward_bf16(B, T, C, H, CT, state.data_ptr<float>(), state_idx.data_ptr<int>(), r.data_ptr<bf16>(), k.data_ptr<bf16>(), v.data_ptr<bf16>(), w.data_ptr<float>(), w_orig.data_ptr<float>(), u.data_ptr<float>(), y.data_ptr<float>()); } void forward_fp16(int64_t B, int64_t T, int64_t C, int64_t H, int64_t CT, torch::Tensor &state, torch::Tensor &state_idx, torch::Tensor &r, torch::Tensor &k, torch::Tensor &v, torch::Tensor &w, torch::Tensor &w_orig, torch::Tensor &u, torch::Tensor &y) { const at::cuda::OptionalCUDAGuard device_guard(device_of(state)); cuda_forward_fp16(B, T, C, H, CT, state.data_ptr<float>(), state_idx.data_ptr<int>(), r.data_ptr<fp16>(), k.data_ptr<fp16>(), v.data_ptr<fp16>(), w.data_ptr<float>(), w_orig.data_ptr<float>(), u.data_ptr<float>(), y.data_ptr<float>()); } void forward_fp32(int64_t B, int64_t T, int64_t C, int64_t H, int64_t CT, torch::Tensor &state, torch::Tensor &state_idx, torch::Tensor &r, torch::Tensor &k, torch::Tensor &v, torch::Tensor &w, torch::Tensor &w_orig, torch::Tensor &u, torch::Tensor &y) { const at::cuda::OptionalCUDAGuard device_guard(device_of(state)); cuda_forward_fp32(B, T, C, H, CT, state.data_ptr<float>(), state_idx.data_ptr<int>(), r.data_ptr<fp32>(), k.data_ptr<fp32>(), v.data_ptr<fp32>(), w.data_ptr<float>(), w_orig.data_ptr<float>(), u.data_ptr<float>(), y.data_ptr<float>()); } void inter_fwd_bf16(int B, int T, int C, int H, int CK, float *state, int *_state_idx, int *_length, bf16 *r, float *w, float *y); void inter_fwd_fp16(int B, int T, int C, int H, int CK, float *state, int *_state_idx, int *_length, fp16 *r, float *w, float *y); void inter_fwd_fp32(int B, int T, int C, int H, int CK, float *state, int *_state_idx, int *_length, fp32 *r, float *w, float *y); void Inter_fwd_bf16(int64_t B, int64_t T, int64_t C, int64_t H, int64_t CK, torch::Tensor &state, torch::Tensor &state_idx, torch::Tensor &length, torch::Tensor &r, torch::Tensor &w, torch::Tensor &y) { const at::cuda::OptionalCUDAGuard device_guard(device_of(state)); inter_fwd_bf16(B, T, C, H, CK, state.data_ptr<float>(), state_idx.data_ptr<int>(), length.data_ptr<int>(), r.data_ptr<bf16>(), w.data_ptr<float>(), y.data_ptr<float>()); } void Inter_fwd_fp16(int64_t B, int64_t T, int64_t C, int64_t H, int64_t CK, torch::Tensor &state, torch::Tensor &state_idx, torch::Tensor &length, torch::Tensor &r, torch::Tensor &w, torch::Tensor &y) { const at::cuda::OptionalCUDAGuard device_guard(device_of(state)); inter_fwd_fp16(B, T, C, H, CK, state.data_ptr<float>(), state_idx.data_ptr<int>(), length.data_ptr<int>(), r.data_ptr<fp16>(), w.data_ptr<float>(), y.data_ptr<float>()); } void Inter_fwd_fp32(int64_t B, int64_t T, int64_t C, int64_t H, int64_t CK, torch::Tensor &state, torch::Tensor &state_idx, torch::Tensor &length, torch::Tensor &r, torch::Tensor &w, torch::Tensor &y) { const at::cuda::OptionalCUDAGuard device_guard(device_of(state)); inter_fwd_fp32(B, T, C, H, CK, state.data_ptr<float>(), state_idx.data_ptr<int>(), length.data_ptr<int>(), r.data_ptr<fp32>(), w.data_ptr<float>(), y.data_ptr<float>()); } PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { m.def("forward_bf16", &forward_bf16, "rwkv6 forward_bf16"); m.def("forward_fp16", &forward_fp16, "rwkv6 forward_fp16"); m.def("forward_fp32", &forward_fp32, "rwkv6 forward_fp32"); m.def("Inter_fwd_bf16", &Inter_fwd_bf16, "rwkv6 inter forward_bf16"); m.def("Inter_fwd_fp16", &Inter_fwd_fp16, "rwkv6 inter forward_fp16"); m.def("Inter_fwd_fp32", &Inter_fwd_fp32, "rwkv6 inter forward_fp32"); } TORCH_LIBRARY(continous_chunk_rwkv6, m) { m.def("forward_bf16", forward_bf16); m.def("forward_fp16", forward_fp16); m.def("forward_fp32", forward_fp32); m.def("Inter_fwd_bf16", Inter_fwd_bf16); m.def("Inter_fwd_fp16", Inter_fwd_fp16); m.def("Inter_fwd_fp32", Inter_fwd_fp32); }
4,853
continous_rwkv6_op
cpp
en
cpp
code
{"qsc_code_num_words": 870, "qsc_code_num_chars": 4853.0, "qsc_code_mean_word_length": 3.67701149, "qsc_code_frac_words_unique": 0.06206897, "qsc_code_frac_chars_top_2grams": 0.15473585, "qsc_code_frac_chars_top_3grams": 0.09002813, "qsc_code_frac_chars_top_4grams": 0.01500469, "qsc_code_frac_chars_dupe_5grams": 0.88621444, "qsc_code_frac_chars_dupe_6grams": 0.8787121, "qsc_code_frac_chars_dupe_7grams": 0.8787121, "qsc_code_frac_chars_dupe_8grams": 0.84745233, "qsc_code_frac_chars_dupe_9grams": 0.77649265, "qsc_code_frac_chars_dupe_10grams": 0.73898093, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.05222482, "qsc_code_frac_chars_whitespace": 0.12013188, "qsc_code_size_file_byte": 4853.0, "qsc_code_num_lines": 60.0, "qsc_code_num_chars_line_max": 255.0, "qsc_code_num_chars_line_mean": 80.88333333, "qsc_code_frac_chars_alphabet": 0.6969555, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.11538462, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.06037503, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codecpp_frac_lines_preprocessor_directives": 0.05769231, "qsc_codecpp_frac_lines_func_ratio": 0.34615385, "qsc_codecpp_cate_bitsstdc": 0.0, "qsc_codecpp_nums_lines_main": 0.0, "qsc_codecpp_frac_lines_goto": 0.0, "qsc_codecpp_cate_var_zero": 0.0, "qsc_codecpp_score_lines_no_logic": 0.40384615, "qsc_codecpp_frac_lines_print": 0.0}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc_code_frac_chars_dupe_7grams": 1, "qsc_code_frac_chars_dupe_8grams": 1, "qsc_code_frac_chars_dupe_9grams": 1, "qsc_code_frac_chars_dupe_10grams": 1, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codecpp_frac_lines_func_ratio": 1, "qsc_codecpp_nums_lines_main": 0, "qsc_codecpp_score_lines_no_logic": 0, "qsc_codecpp_frac_lines_preprocessor_directives": 0, "qsc_codecpp_frac_lines_print": 0}
00jacs/sveltekit-ultrafast
src/routes/database-example/docs.md
# Database 🫙 For this boilerplate, we use [Supabase PostgreSQL](https://supabase.com/docs/guides/getting-started/quickstarts/sveltekit) to store data related to our application. ## Why? The free tier is pretty wide, meaning that for small apps the cost should be relatively small or even 0. Also, it's super fast & easy to set up + very smooth to develop. - Supabase handles all the migrations for you - Supabase handles most security issues for you - Supabase provides you with a simple ORM specific to your DB - Supabase gives full type safety - it's easy to use within a SvelteKit application - automatic type generation ## How to set it up? ### 1. Create your database Once you know what kind of data you would like to store for your application, you can create a table for it, following this guide: https://supabase.com/docs/guides/database/overview It should be pretty straightforward, but if you have never done it, this guide + video explain it well: https://supabase.com/docs/guides/database/tables ### 2. Generate TypeScript types If you'd like Supabase types to be generated automatically, you should follow these steps: 1. Read this guide: https://supabase.com/docs/guides/api/rest/generating-types 2. Install Supabase CLI and log in to your account 3. Go to your Supabase panel -> Project settings -> General and copy the "Reference ID", you will need it in order to set up automatic type generation. 4. Copy the "Reference ID" and paste it into "$PROJECT_REF" space in `package.json` within the `update-types` method. 5. You should now be able to run the `npm run update-types` method which should create a database.d.ts file (the current file is just a sample temporary file so feel free to override it). Now, after that, your database queries should be fully typed. You should run `npm run update-types` after each change in your Supabase database. ### 3. Load your data! You can query your data similarly to how you would do it with SQL: ```TypeScript await supabase.from('countries').select() ``` Here's a list of all the queries and how to use them: https://supabase.com/docs/reference/javascript/select ### 4. Insert/update your data You can follow the example form of creating a country which shows how to insert entries into database. Most likely, more validation before insertion should be implemented, but it's just a simple example. For additional validation, you could use [zod](https://zod.dev/) which is a great library for it. ### 5. Additional form validation Here's a code snippet also included in the example: ```TypeScript const CountryCreateSchema = zfd.formData({ name: zfd.text(z.string().min(2, 'Name must be at least 2 characters long')), iso2: zfd.text(z.string().length(2, 'ISO2 must be exactly 2 characters long')), iso3: zfd.text(z.string().length(3, 'ISO3 must be exactly 3 characters long')) }); which allows you to define your custom validation schemas for your forms with custom error messages which will show up to the user next to each form field. ```
3,029
docs
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.00066028, "qsc_doc_frac_words_redpajama_stop": 0.33038348, "qsc_doc_num_sentences": 46.0, "qsc_doc_num_words": 506, "qsc_doc_num_chars": 3029.0, "qsc_doc_num_lines": 69.0, "qsc_doc_mean_word_length": 4.55928854, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.44466403, "qsc_doc_entropy_unigram": 5.0207394, "qsc_doc_frac_words_all_caps": 0.01327434, "qsc_doc_frac_lines_dupe_lines": 0.09302326, "qsc_doc_frac_chars_dupe_lines": 0.01082178, "qsc_doc_frac_chars_top_2grams": 0.02817512, "qsc_doc_frac_chars_top_3grams": 0.03467707, "qsc_doc_frac_chars_top_4grams": 0.04334634, "qsc_doc_frac_chars_dupe_5grams": 0.07715648, "qsc_doc_frac_chars_dupe_6grams": 0.0485479, "qsc_doc_frac_chars_dupe_7grams": 0.03034244, "qsc_doc_frac_chars_dupe_8grams": 0.0, "qsc_doc_frac_chars_dupe_9grams": 0.0, "qsc_doc_frac_chars_dupe_10grams": 0.0, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 0.0, "qsc_doc_num_chars_sentence_length_mean": 25.12068966, "qsc_doc_frac_chars_hyperlink_html_tag": 0.02971278, "qsc_doc_frac_chars_alphabet": 0.89889851, "qsc_doc_frac_chars_digital": 0.00826121, "qsc_doc_frac_chars_whitespace": 0.16077914, "qsc_doc_frac_chars_hex_words": 0.0}
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_all_caps": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0}
00jacs/sveltekit-ultrafast
src/routes/blog/contentful.ts
import contentful from 'contentful'; import { PRIVATE_CONTENTFUL_ACCESS_TOKEN, PRIVATE_CONTENTFUL_SPACE_ID } from '$env/static/private'; export const client = contentful.createClient({ space: PRIVATE_CONTENTFUL_SPACE_ID, accessToken: PRIVATE_CONTENTFUL_ACCESS_TOKEN, environment: 'master' }); /** * This is where you define the types for the content model. * You can automatically generate these types if you prefer: * https://github.com/contentful-userland/cf-content-types-generator */ export interface BlogAuthor { contentTypeId: 'blogAuthor'; fields: { name: contentful.EntryFieldTypes.Text; avatar?: contentful.EntryFieldTypes.AssetLink; bio?: contentful.EntryFieldTypes.Text; }; } export interface BlogCategory { contentTypeId: 'blogCategory'; fields: { name: contentful.EntryFieldTypes.Text; description?: contentful.EntryFieldTypes.Text; }; } export interface BlogPost { contentTypeId: 'blog-post'; fields: { headline: contentful.EntryFieldTypes.Text; excerpt: contentful.EntryFieldTypes.Text; slug: contentful.EntryFieldTypes.Text; content: contentful.EntryFieldTypes.RichText; publishDate: contentful.EntryFieldTypes.Date; seoMetadata: contentful.EntryFieldTypes.Object; category: contentful.EntryFieldTypes.EntryLink<BlogCategory>; author: contentful.EntryFieldTypes.EntryLink<BlogAuthor>; show: contentful.EntryFieldTypes.Boolean; }; } export async function getPostBySlug(slug: string) { return client.getEntries<BlogPost>({ content_type: 'blog-post', limit: 1, 'fields.slug': slug, 'fields.show': true }); }
1,583
contentful
ts
en
typescript
code
{"qsc_code_num_words": 162, "qsc_code_num_chars": 1583.0, "qsc_code_mean_word_length": 7.49382716, "qsc_code_frac_words_unique": 0.47530864, "qsc_code_frac_chars_top_2grams": 0.28830313, "qsc_code_frac_chars_top_3grams": 0.16721582, "qsc_code_frac_chars_top_4grams": 0.0461285, "qsc_code_frac_chars_dupe_5grams": 0.13673806, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00071633, "qsc_code_frac_chars_whitespace": 0.11813013, "qsc_code_size_file_byte": 1583.0, "qsc_code_num_lines": 58.0, "qsc_code_num_chars_line_max": 69.0, "qsc_code_num_chars_line_mean": 27.29310345, "qsc_code_frac_chars_alphabet": 0.86891117, "qsc_code_frac_chars_comments": 0.12507896, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.21276596, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0700361, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0}
00jacs/sveltekit-ultrafast
src/routes/docs/features/database/+page.svelte
<script lang="ts"> import { DocsCode, DocsPage } from '$lib/components/page/docs'; </script> <DocsPage title="Database" subtitle="Set up your PostgreSQL database with Supabase in minutes."> <p class="mb-8"> This boilerplate has a PostgreSQL database set up with <a href="https://supabase.com/" target="_blank" class="link link-primary"> Supabase. </a> Supabase is an open-source Firebase alternative that provides a real-time database, authentication, and storage. <br /><br /> If you prefer a different database provider, you can easily swap out Supabase with another provider like Firebase, Fauna, or Hasura. </p> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 1: create your Supabase account (if you don't already have it) </h2> <p class="mb-4"> In order to start, you need to create a Supabase account. You can do that <a href="https://supabase.com/" target="_blank" class="link link-primary"> here. </a> </p> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content">Step 2: create your table</h2> <p class="mb-4"> After you have created an account, you need to create a table in the Supabase dashboard. You can create a table using SQL Editor or by clicking the "New Table" button in the Dashboard/Database/Tables. </p> <DocsCode language="sql" code={` create table public.movies ( id bigint generated always as identity primary key, name text not null, data jsonb null ); `} /> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content">Step 3: get the API keys</h2> <p class="mb-4"> After you have created a project, you need to get the API keys and fill in the `.env` file in the root of the project. </p> <DocsCode language="bash" code={` PUBLIC_SUPABASE_URL="your supabase project url, ex. https://<project>.supabase.co" PUBLIC_SUPABASE_ANON_KEY="your supabase API key for your project" `} /> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 4: get familiar with Supabase documentation </h2> <p class="mb-4"> Supabase has a great documentation about database usage <a href="https://supabase.com/docs/guides/database/overview" target="_blank" class="link link-primary"> here. </a> <br /><br /> And here's documentation for JavaScript specifically: <a href="https://supabase.com/docs/reference/javascript/select" class="link link-primary"> https://supabase.com/docs/reference/javascript/select </a> </p> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 5 (optional): automatically generate TypeScript types </h2> <p class="mb-4"> In order to get TypeScript types for your database, you can follow the documentation available in the `/routes/database-example/docs.md` route. </p> </div> <p> Take a look at the `/routes/database-example` route to see how to interact with the database. </p> </DocsPage>
3,075
+page
svelte
en
svelte
code
{"qsc_code_num_words": 476, "qsc_code_num_chars": 3075.0, "qsc_code_mean_word_length": 4.39285714, "qsc_code_frac_words_unique": 0.3487395, "qsc_code_frac_chars_top_2grams": 0.05356289, "qsc_code_frac_chars_top_3grams": 0.03825921, "qsc_code_frac_chars_top_4grams": 0.0286944, "qsc_code_frac_chars_dupe_5grams": 0.33381157, "qsc_code_frac_chars_dupe_6grams": 0.31324725, "qsc_code_frac_chars_dupe_7grams": 0.29890005, "qsc_code_frac_chars_dupe_8grams": 0.25585844, "qsc_code_frac_chars_dupe_9grams": 0.21759923, "qsc_code_frac_chars_dupe_10grams": 0.18890483, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0144173, "qsc_code_frac_chars_whitespace": 0.18796748, "qsc_code_size_file_byte": 3075.0, "qsc_code_num_lines": 111.0, "qsc_code_num_chars_line_max": 93.0, "qsc_code_num_chars_line_mean": 27.7027027, "qsc_code_frac_chars_alphabet": 0.82298759, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.51612903, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.03225806, "qsc_code_frac_chars_string_length": 0.22308943, "qsc_code_frac_chars_long_word_length": 0.00813008, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0}
00jacs/sveltekit-ultrafast
src/routes/docs/features/analytics/+page.svelte
<script lang="ts"> import { DocsCode, DocsNote, DocsPage } from '$lib/components/page/docs'; </script> <DocsPage title="Analytics" subtitle="What you don't track, you can't improve - analytics is key, even in rapid prototyping."> <p class="mb-8"> This boilerplate offers 2 analytics components: Google Analytics and Plausible Analytics. </p> <DocsNote class="mb-12"> If you want to use another analytics tool, you can easily integrate it by following the documentation of the tool you want to use. </DocsNote> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 1: create a Google Analytics/Plausible Analytics account </h2> <p class="mb-4"> In order to start, you need to create an account. The entire process is pretty straight-forward and well documented. </p> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 2: get the measurement ID [Google] </h2> <p class="mb-4"> For Google Analytics, you need to fill in the `.env` file in the root of the project with the measurement ID. </p> <DocsCode class="mb-8" language="bash" code={` PUBLIC_GOOGLE_ANALYTICS_MEASUREMENT_ID=G-1EJZQZQZQZ `} /> <DocsNote class="mb-8"> Keep in mind that with Google Analytics, you need to have a privacy policy available and a cookie consent alert which is not yet implemented. </DocsNote> <p> If you want to track custom events apart from the page views, see the `/routes/analytics` route which is an example of emitting a custom Google Analytics event. </p> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 3: add the analytics component to +layout.svelte </h2> <p class="mb-4"> Import the component of your choice and add it to the `+layout.svelte` file. </p> <DocsCode class="mb-8" language="typescript" code={` import { GoogleAnalytics, PlausibleAnalytics } from '$lib/components/page/analytics'; `} /> <p class="mb-4">And add one of them to your main +layout.svelte:</p> <DocsCode class="mb-8" language="html" code={` <GoogleAnalytics/> <PlausibleAnalytics/> `} /> <DocsNote class="mb-8"> If you want to use PlausibleAnalytics, you need to have the `PUBLIC_DOMAIN_URL` properly set in the `.env` file. </DocsNote> </div> </DocsPage>
2,397
+page
svelte
en
svelte
code
{"qsc_code_num_words": 363, "qsc_code_num_chars": 2397.0, "qsc_code_mean_word_length": 4.48760331, "qsc_code_frac_words_unique": 0.37741047, "qsc_code_frac_chars_top_2grams": 0.07305095, "qsc_code_frac_chars_top_3grams": 0.03437692, "qsc_code_frac_chars_top_4grams": 0.02209945, "qsc_code_frac_chars_dupe_5grams": 0.21915285, "qsc_code_frac_chars_dupe_6grams": 0.15224064, "qsc_code_frac_chars_dupe_7grams": 0.10620012, "qsc_code_frac_chars_dupe_8grams": 0.10620012, "qsc_code_frac_chars_dupe_9grams": 0.10620012, "qsc_code_frac_chars_dupe_10grams": 0.10620012, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01665799, "qsc_code_frac_chars_whitespace": 0.19858156, "qsc_code_size_file_byte": 2397.0, "qsc_code_num_lines": 91.0, "qsc_code_num_chars_line_max": 88.0, "qsc_code_num_chars_line_mean": 26.34065934, "qsc_code_frac_chars_alphabet": 0.83133784, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.49333333, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.11681268, "qsc_code_frac_chars_long_word_length": 0.02294535, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_misc/lv_debug.c
/** * @file lv_debug.c * */ /********************* * INCLUDES *********************/ #include "lv_debug.h" #if LV_USE_DEBUG #include "lv_mem.h" #include <string.h> /********************* * DEFINES *********************/ #ifndef LV_DEBUG_STR_MAX_LENGTH #define LV_DEBUG_STR_MAX_LENGTH (1024 * 8) #endif #ifndef LV_DEBUG_STR_MAX_REPEAT #define LV_DEBUG_STR_MAX_REPEAT 8 #endif /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ /********************** * STATIC VARIABLES **********************/ /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ bool lv_debug_check_null(const void * p) { if(p) return true; return false; } bool lv_debug_check_mem_integrity(void) { return lv_mem_test() == LV_RES_OK ? true : false; } bool lv_debug_check_str(const void * str) { const uint8_t * s = (const uint8_t *)str; uint8_t last_byte = 0; uint32_t rep = 0; uint32_t i; for(i = 0; i < LV_DEBUG_STR_MAX_LENGTH && s[i] != '\0'; i++) { if(s[i] != last_byte) { last_byte = s[i]; rep = 1; } else if(s[i] > 0x7F) { rep++; if(rep > LV_DEBUG_STR_MAX_REPEAT) { LV_LOG_WARN("lv_debug_check_str: a non-ASCII char has repeated more than LV_DEBUG_STR_MAX_REPEAT times)"); return false; } } if(s[i] < 10) { LV_LOG_WARN("lv_debug_check_str: invalid char in the string (< 10 value)"); return false; /*Shouldn't occur in strings*/ } } if(s[i] == '\0') return true; LV_LOG_WARN("lv_debug_check_str: string is longer than LV_DEBUG_STR_MAX_LENGTH"); return false; } void lv_debug_log_error(const char * msg, uint64_t value) { static const char hex[] = "0123456789ABCDEF"; size_t msg_len = strlen(msg); uint32_t value_len = sizeof(unsigned long int); if(msg_len < 230) { char buf[255]; char * bufp = buf; /*Add the function name*/ _lv_memcpy(bufp, msg, msg_len); bufp += msg_len; /*Add value in hey*/ *bufp = ' '; bufp ++; *bufp = '('; bufp ++; *bufp = '0'; bufp ++; *bufp = 'x'; bufp ++; int8_t i; for(i = value_len * 2 - 1; i >= 0; i--) { uint8_t x = (unsigned long int)((unsigned long int)value >> (i * 4)) & 0xF; *bufp = hex[x]; bufp++; } *bufp = ')'; bufp ++; *bufp = '\0'; LV_LOG_ERROR(buf); } else { LV_LOG_ERROR(msg); } } /********************** * STATIC FUNCTIONS **********************/ #endif /*LV_USE_DEBUG*/
2,873
lv_debug
c
el
c
code
{"qsc_code_num_words": 340, "qsc_code_num_chars": 2873.0, "qsc_code_mean_word_length": 3.66176471, "qsc_code_frac_words_unique": 0.29705882, "qsc_code_frac_chars_top_2grams": 0.09558233, "qsc_code_frac_chars_top_3grams": 0.06425703, "qsc_code_frac_chars_top_4grams": 0.08353414, "qsc_code_frac_chars_dupe_5grams": 0.26666667, "qsc_code_frac_chars_dupe_6grams": 0.05783133, "qsc_code_frac_chars_dupe_7grams": 0.05783133, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.02673267, "qsc_code_frac_chars_whitespace": 0.29690219, "qsc_code_size_file_byte": 2873.0, "qsc_code_num_lines": 140.0, "qsc_code_num_chars_line_max": 123.0, "qsc_code_num_chars_line_mean": 20.52142857, "qsc_code_frac_chars_alphabet": 0.58960396, "qsc_code_frac_chars_comments": 0.22728855, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.1625, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.11671924, "qsc_code_frac_chars_long_word_length": 0.02073006, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00315457, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.075, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.1625, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.1375}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_misc/lv_txt.h
/** * @file lv_text.h * */ #ifndef LV_TXT_H #define LV_TXT_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_conf_internal.h" #include <stdbool.h> #include "lv_area.h" #include "lv_area.h" #include "../lv_font/lv_font.h" /********************* * DEFINES *********************/ #ifndef LV_TXT_COLOR_CMD #define LV_TXT_COLOR_CMD "#" #endif #define LV_TXT_ENC_UTF8 1 #define LV_TXT_ENC_ASCII 2 /********************** * TYPEDEFS **********************/ /** * Options for text rendering. */ enum { LV_TXT_FLAG_NONE = 0x00, LV_TXT_FLAG_RECOLOR = 0x01, /**< Enable parsing of recolor command*/ LV_TXT_FLAG_EXPAND = 0x02, /**< Ignore max-width to avoid automatic word wrapping*/ LV_TXT_FLAG_CENTER = 0x04, /**< Align the text to the middle*/ LV_TXT_FLAG_RIGHT = 0x08, /**< Align the text to the right*/ LV_TXT_FLAG_FIT = 0x10, /**< Max-width is already equal to the longest line. (Used to skip some calculation)*/ }; typedef uint8_t lv_txt_flag_t; /** * State machine for text renderer. */ enum { LV_TXT_CMD_STATE_WAIT, /**< Waiting for command*/ LV_TXT_CMD_STATE_PAR, /**< Processing the parameter*/ LV_TXT_CMD_STATE_IN, /**< Processing the command*/ }; typedef uint8_t lv_txt_cmd_state_t; /********************** * GLOBAL PROTOTYPES **********************/ /** * Get size of a text * @param size_res pointer to a 'point_t' variable to store the result * @param text pointer to a text * @param font pointer to font of the text * @param letter_space letter space of the text * @param line_space line space of the text * @param flags settings for the text from 'txt_flag_t' enum * @param max_width max with of the text (break the lines to fit this size) Set CORD_MAX to avoid * line breaks */ void _lv_txt_get_size(lv_point_t * size_res, const char * text, const lv_font_t * font, lv_coord_t letter_space, lv_coord_t line_space, lv_coord_t max_width, lv_txt_flag_t flag); /** * Get the next line of text. Check line length and break chars too. * @param txt a '\0' terminated string * @param font pointer to a font * @param letter_space letter space * @param max_width max with of the text (break the lines to fit this size) Set CORD_MAX to avoid * line breaks * @param flags settings for the text from 'txt_flag_type' enum * @return the index of the first char of the new line (in byte index not letter index. With UTF-8 * they are different) */ uint32_t _lv_txt_get_next_line(const char * txt, const lv_font_t * font, lv_coord_t letter_space, lv_coord_t max_width, lv_txt_flag_t flag); /** * Give the length of a text with a given font * @param txt a '\0' terminate string * @param length length of 'txt' in byte count and not characters (Á is 1 character but 2 bytes in * UTF-8) * @param font pointer to a font * @param letter_space letter space * @param flags settings for the text from 'txt_flag_t' enum * @return length of a char_num long text */ lv_coord_t _lv_txt_get_width(const char * txt, uint32_t length, const lv_font_t * font, lv_coord_t letter_space, lv_txt_flag_t flag); /** * Check next character in a string and decide if the character is part of the command or not * @param state pointer to a txt_cmd_state_t variable which stores the current state of command * processing * @param c the current character * @return true: the character is part of a command and should not be written, * false: the character should be written */ bool _lv_txt_is_cmd(lv_txt_cmd_state_t * state, uint32_t c); /** * Insert a string into an other * @param txt_buf the original text (must be big enough for the result text) * @param pos position to insert (0: before the original text, 1: after the first char etc.) * @param ins_txt text to insert */ void _lv_txt_ins(char * txt_buf, uint32_t pos, const char * ins_txt); /** * Delete a part of a string * @param txt string to modify * @param pos position where to start the deleting (0: before the first char, 1: after the first * char etc.) * @param len number of characters to delete */ void _lv_txt_cut(char * txt, uint32_t pos, uint32_t len); /*************************************************************** * GLOBAL FUNCTION POINTERS FOR CAHRACTER ENCODING INTERFACE ***************************************************************/ /** * Give the size of an encoded character * @param str pointer to a character in a string * @return length of the encoded character (1,2,3 ...). O in invalid */ extern uint8_t (*_lv_txt_encoded_size)(const char *); /** * Convert an Unicode letter to encoded * @param letter_uni an Unicode letter * @return Encoded character in Little Endian to be compatible with C chars (e.g. 'Á', 'Ü') */ extern uint32_t (*_lv_txt_unicode_to_encoded)(uint32_t); /** * Convert a wide character, e.g. 'Á' little endian to be compatible with the encoded format. * @param c a wide character * @return `c` in the encoded format */ extern uint32_t (*_lv_txt_encoded_conv_wc)(uint32_t c); /** * Decode the next encoded character from a string. * @param txt pointer to '\0' terminated string * @param i start index in 'txt' where to start. * After the call it will point to the next encoded char in 'txt'. * NULL to use txt[0] as index * @return the decoded Unicode character or 0 on invalid data code */ extern uint32_t (*_lv_txt_encoded_next)(const char *, uint32_t *); /** * Get the previous encoded character form a string. * @param txt pointer to '\0' terminated string * @param i_start index in 'txt' where to start. After the call it will point to the previous * encoded char in 'txt'. * @return the decoded Unicode character or 0 on invalid data */ extern uint32_t (*_lv_txt_encoded_prev)(const char *, uint32_t *); /** * Convert a letter index (in an the encoded text) to byte index. * E.g. in UTF-8 "AÁRT" index of 'R' is 2 but start at byte 3 because 'Á' is 2 bytes long * @param txt a '\0' terminated UTF-8 string * @param enc_id letter index * @return byte index of the 'enc_id'th letter */ extern uint32_t (*_lv_txt_encoded_get_byte_id)(const char *, uint32_t); /** * Convert a byte index (in an encoded text) to character index. * E.g. in UTF-8 "AÁRT" index of 'R' is 2 but start at byte 3 because 'Á' is 2 bytes long * @param txt a '\0' terminated UTF-8 string * @param byte_id byte index * @return character index of the letter at 'byte_id'th position */ extern uint32_t (*_lv_txt_encoded_get_char_id)(const char *, uint32_t); /** * Get the number of characters (and NOT bytes) in a string. * E.g. in UTF-8 "ÁBC" is 3 characters (but 4 bytes) * @param txt a '\0' terminated char string * @return number of characters */ extern uint32_t (*_lv_txt_get_encoded_length)(const char *); /********************** * MACROS **********************/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*USE_TXT*/
7,061
lv_txt
h
en
c
code
{"qsc_code_num_words": 1132, "qsc_code_num_chars": 7061.0, "qsc_code_mean_word_length": 3.96996466, "qsc_code_frac_words_unique": 0.19876325, "qsc_code_frac_chars_top_2grams": 0.03894081, "qsc_code_frac_chars_top_3grams": 0.01602136, "qsc_code_frac_chars_top_4grams": 0.02136182, "qsc_code_frac_chars_dupe_5grams": 0.40008901, "qsc_code_frac_chars_dupe_6grams": 0.32042724, "qsc_code_frac_chars_dupe_7grams": 0.26991544, "qsc_code_frac_chars_dupe_8grams": 0.23742768, "qsc_code_frac_chars_dupe_9grams": 0.23742768, "qsc_code_frac_chars_dupe_10grams": 0.22874944, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01692226, "qsc_code_frac_chars_whitespace": 0.19657272, "qsc_code_size_file_byte": 7061.0, "qsc_code_num_lines": 208.0, "qsc_code_num_chars_line_max": 120.0, "qsc_code_num_chars_line_mean": 33.94711538, "qsc_code_frac_chars_alphabet": 0.77525119, "qsc_code_frac_chars_comments": 0.71661238, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.2745098, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.03048476, "qsc_code_frac_chars_long_word_length": 0.01049475, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.011994, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.11764706, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.21568627, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": null}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
0015/ESP32-OpenCV-Projects
esp32/examples/color_code/components/lvgl_gui/lvgl/src/lv_misc/lv_color.c
/** * @file lv_color.c * */ /********************* * INCLUDES *********************/ #include "lv_color.h" #include "lv_math.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPES **********************/ /********************** * STATIC VARIABLES **********************/ /********************** * MACROS **********************/ /********************** * GLOBAL FUNCTIONS **********************/ /********************** * STATIC FUNCTIONS **********************/ LV_ATTRIBUTE_FAST_MEM void lv_color_fill(lv_color_t * buf, lv_color_t color, uint32_t px_num) { #if LV_COLOR_DEPTH == 16 uintptr_t buf_int = (uintptr_t) buf; if(buf_int & 0x3) { *buf = color; buf++; px_num--; } uint32_t c32 = color.full + (color.full << 16); uint32_t * buf32 = (uint32_t *)buf; while(px_num > 16) { *buf32 = c32; buf32++; *buf32 = c32; buf32++; *buf32 = c32; buf32++; *buf32 = c32; buf32++; *buf32 = c32; buf32++; *buf32 = c32; buf32++; *buf32 = c32; buf32++; *buf32 = c32; buf32++; px_num -= 16; } buf = (lv_color_t *)buf32; while(px_num) { *buf = color; buf++; px_num --; } #else while(px_num > 16) { *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; *buf = color; buf++; px_num -= 16; } while(px_num) { *buf = color; buf++; px_num --; } #endif } lv_color_t lv_color_lighten(lv_color_t c, lv_opa_t lvl) { return lv_color_mix(LV_COLOR_WHITE, c, lvl); } lv_color_t lv_color_darken(lv_color_t c, lv_opa_t lvl) { return lv_color_mix(LV_COLOR_BLACK, c, lvl); } /** * Convert a HSV color to RGB * @param h hue [0..359] * @param s saturation [0..100] * @param v value [0..100] * @return the given RGB color in RGB (with LV_COLOR_DEPTH depth) */ lv_color_t lv_color_hsv_to_rgb(uint16_t h, uint8_t s, uint8_t v) { h = (uint32_t)((uint32_t)h * 255) / 360; s = (uint16_t)((uint16_t)s * 255) / 100; v = (uint16_t)((uint16_t)v * 255) / 100; uint8_t r, g, b; uint8_t region, remainder, p, q, t; if(s == 0) { return lv_color_make(v, v, v); } region = h / 43; remainder = (h - (region * 43)) * 6; p = (v * (255 - s)) >> 8; q = (v * (255 - ((s * remainder) >> 8))) >> 8; t = (v * (255 - ((s * (255 - remainder)) >> 8))) >> 8; switch(region) { case 0: r = v; g = t; b = p; break; case 1: r = q; g = v; b = p; break; case 2: r = p; g = v; b = t; break; case 3: r = p; g = q; b = v; break; case 4: r = t; g = p; b = v; break; default: r = v; g = p; b = q; break; } lv_color_t result = lv_color_make(r, g, b); return result; } /** * Convert a 32-bit RGB color to HSV * @param r8 8-bit red * @param g8 8-bit green * @param b8 8-bit blue * @return the given RGB color in HSV */ lv_color_hsv_t lv_color_rgb_to_hsv(uint8_t r8, uint8_t g8, uint8_t b8) { uint16_t r = ((uint32_t)r8 << 10) / 255; uint16_t g = ((uint32_t)g8 << 10) / 255; uint16_t b = ((uint32_t)b8 << 10) / 255; uint16_t rgbMin = r < g ? (r < b ? r : b) : (g < b ? g : b); uint16_t rgbMax = r > g ? (r > b ? r : b) : (g > b ? g : b); lv_color_hsv_t hsv; // https://en.wikipedia.org/wiki/HSL_and_HSV#Lightness hsv.v = (100 * rgbMax) >> 10; int32_t delta = rgbMax - rgbMin; if(LV_MATH_ABS(delta) < 3) { hsv.h = 0; hsv.s = 0; return hsv; } // https://en.wikipedia.org/wiki/HSL_and_HSV#Saturation hsv.s = 100 * delta / rgbMax; if(hsv.s < 3) { hsv.h = 0; return hsv; } // https://en.wikipedia.org/wiki/HSL_and_HSV#Hue_and_chroma int32_t h; if(rgbMax == r) h = (((g - b) << 10) / delta) + (g < b ? (6 << 10) : 0); // between yellow & magenta else if(rgbMax == g) h = (((b - r) << 10) / delta) + (2 << 10); // between cyan & yellow else if(rgbMax == b) h = (((r - g) << 10) / delta) + (4 << 10); // between magenta & cyan else h = 0; h *= 60; h >>= 10; if(h < 0) h += 360; hsv.h = h; return hsv; } /** * Convert a color to HSV * @param color color * @return the given color in HSV */ lv_color_hsv_t lv_color_to_hsv(lv_color_t color) { lv_color32_t color32; color32.full = lv_color_to32(color); return lv_color_rgb_to_hsv(color32.ch.red, color32.ch.green, color32.ch.blue); }
5,496
lv_color
c
en
c
code
{"qsc_code_num_words": 710, "qsc_code_num_chars": 5496.0, "qsc_code_mean_word_length": 3.16760563, "qsc_code_frac_words_unique": 0.16760563, "qsc_code_frac_chars_top_2grams": 0.09648733, "qsc_code_frac_chars_top_3grams": 0.09293019, "qsc_code_frac_chars_top_4grams": 0.09337483, "qsc_code_frac_chars_dupe_5grams": 0.32859048, "qsc_code_frac_chars_dupe_6grams": 0.28901734, "qsc_code_frac_chars_dupe_7grams": 0.27078702, "qsc_code_frac_chars_dupe_8grams": 0.27078702, "qsc_code_frac_chars_dupe_9grams": 0.24766563, "qsc_code_frac_chars_dupe_10grams": 0.2072032, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07299686, "qsc_code_frac_chars_whitespace": 0.36189956, "qsc_code_size_file_byte": 5496.0, "qsc_code_num_lines": 270.0, "qsc_code_num_chars_line_max": 94.0, "qsc_code_num_chars_line_mean": 20.35555556, "qsc_code_frac_chars_alphabet": 0.56829199, "qsc_code_frac_chars_comments": 0.22598253, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.48587571, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00446638, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.00070522, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codec_frac_lines_func_ratio": 0.07344633, "qsc_codec_cate_bitsstdc": 0.0, "qsc_codec_nums_lines_main": 0, "qsc_codec_frac_lines_goto": 0.0, "qsc_codec_cate_var_zero": 0.0, "qsc_codec_score_lines_no_logic": 0.10734463, "qsc_codec_frac_lines_print": 0.0, "qsc_codec_frac_lines_preprocessor_directives": 0.02824859}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codec_frac_lines_func_ratio": 0, "qsc_codec_nums_lines_main": 0, "qsc_codec_score_lines_no_logic": 0, "qsc_codec_frac_lines_preprocessor_directives": 0, "qsc_codec_frac_lines_print": 0}
00jacs/sveltekit-ultrafast
src/routes/docs/features/blog/+page.svelte
<script lang="ts"> import { DocsCode, DocsPage } from '$lib/components/page/docs'; </script> <DocsPage title="Blog" subtitle="This page will give you everything you need to create your own blog posts and put them on your website."> <p class="mb-8"> The authentication flow in this boilerplate is powered by <a href="https://contentful.com/" target="_blank" class="link link-primary"> Contentful. </a> It is a popular headless CMS with a free plan that allows you to create and manage your content. </p> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 1: create your Contentful account </h2> <p class="mb-4"> In order to start, you need to create a Contentful account. You can do that <a href="https://www.contentful.com/get-started/" target="_blank" class="link link-primary"> here. </a> </p> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 2: create your content types </h2> <p class="mb-4"> After you have created an account, you need to create a "content model" which is a blueprint for your content. You can create a content type for your blog posts and add fields like title, excerpt, slug, body, image, author, tags, etc. </p> <p>In our example, the content model looks like this:</p> <ul class="ml-2"> <li>- title: text</li> <li>- excerpt: text</li> <li>- slug: text</li> <li>- body: rich text</li> <li>- image: media</li> <li>- author: reference</li> <li>- category: reference</li> </ul> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content">Step 3: get the API keys</h2> <p class="mb-4"> After you have created a project, you need to get the API keys and fill in the `.env` file in the root of the project. </p> <DocsCode language="bash" code={` PRIVATE_CONTENTFUL_SPACE="your contentful space id" PRIVATE_CONTENTFUL_ACCESS_TOKEN="your contentful access key" `} /> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 4: create your first blog post </h2> <p class="mb-4"> Create an example blog post in your Contentful account. Fill in the fields with some example data and publish the post. </p> <p> You can fetch the blog post by slug using the `getBlogPostBySlug` function from the `routes/blog/contentful.ts` file. </p> </div> <p> Take a look at the `/routes/blog/[slug]` route to see how the blog posts are fetched and displayed on the website. </p> </DocsPage>
2,596
+page
svelte
en
svelte
code
{"qsc_code_num_words": 424, "qsc_code_num_chars": 2596.0, "qsc_code_mean_word_length": 4.04716981, "qsc_code_frac_words_unique": 0.35377358, "qsc_code_frac_chars_top_2grams": 0.0530303, "qsc_code_frac_chars_top_3grams": 0.03729604, "qsc_code_frac_chars_top_4grams": 0.02797203, "qsc_code_frac_chars_dupe_5grams": 0.23601399, "qsc_code_frac_chars_dupe_6grams": 0.20454545, "qsc_code_frac_chars_dupe_7grams": 0.16841492, "qsc_code_frac_chars_dupe_8grams": 0.16841492, "qsc_code_frac_chars_dupe_9grams": 0.16841492, "qsc_code_frac_chars_dupe_10grams": 0.13344988, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01452785, "qsc_code_frac_chars_whitespace": 0.20454545, "qsc_code_size_file_byte": 2596.0, "qsc_code_num_lines": 94.0, "qsc_code_num_chars_line_max": 90.0, "qsc_code_num_chars_line_mean": 27.61702128, "qsc_code_frac_chars_alphabet": 0.81646489, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.3625, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.15793529, "qsc_code_frac_chars_long_word_length": 0.0096302, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0}
00jacs/sveltekit-ultrafast
src/routes/docs/features/authentication/+page.svelte
<script lang="ts"> import { DocsCode, DocsPage } from '$lib/components/page/docs'; </script> <DocsPage title="Authentication" subtitle="This page will give you everything you need to get started with the authentication flow in this boilerplate."> <p class="mb-8"> The authentication flow in this boilerplate is powered by <a href="https://supabase.com/" target="_blank" class="link link-primary"> Supabase. </a> Supabase is an open-source Firebase alternative. It provides a set of tools to build your app faster and with less effort. </p> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 1: create a Supabase account </h2> <p class="mb-4"> In order to start, you need to create a Supabase account. You can do that <a href="https://app.supabase.io/" target="_blank" class="link link-primary"> here. </a> </p> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content">Step 2: create a new project</h2> <p class="mb-4"> After you have created an account, you need to create a new project. </p> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content">Step 3: get the API keys</h2> <p class="mb-4"> After you have created a project, you need to get the API keys and fill in the `.env` file in the root of the project. </p> <DocsCode language="bash" code={` PUBLIC_SUPABASE_URL="your supabase project url, ex. https://<project>.supabase.co" PUBLIC_SUPABASE_ANON_KEY="your supabase API key for your project" `} /> </div> <p> After you have done all the steps above, you should be able to run the project locally and see the authentication flow in action. </p> </DocsPage>
1,750
+page
svelte
en
svelte
code
{"qsc_code_num_words": 288, "qsc_code_num_chars": 1750.0, "qsc_code_mean_word_length": 4.12152778, "qsc_code_frac_words_unique": 0.40277778, "qsc_code_frac_chars_top_2grams": 0.0589722, "qsc_code_frac_chars_top_3grams": 0.04043808, "qsc_code_frac_chars_top_4grams": 0.05812974, "qsc_code_frac_chars_dupe_5grams": 0.34877843, "qsc_code_frac_chars_dupe_6grams": 0.31255265, "qsc_code_frac_chars_dupe_7grams": 0.19629318, "qsc_code_frac_chars_dupe_8grams": 0.19629318, "qsc_code_frac_chars_dupe_9grams": 0.19629318, "qsc_code_frac_chars_dupe_10grams": 0.14574558, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01552576, "qsc_code_frac_chars_whitespace": 0.19028571, "qsc_code_size_file_byte": 1750.0, "qsc_code_num_lines": 59.0, "qsc_code_num_chars_line_max": 92.0, "qsc_code_num_chars_line_mean": 29.66101695, "qsc_code_frac_chars_alphabet": 0.82215949, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.32, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.22, "qsc_code_frac_chars_long_word_length": 0.01428571, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0}
00jacs/sveltekit-ultrafast
src/routes/docs/features/payments/+page.svelte
<script lang="ts"> import { DocsCode, DocsNote, DocsPage } from '$lib/components/page/docs'; </script> <DocsPage title="Payments with Stripe" subtitle="Here you will learn about how to set up your payments with Stripe. Good news: most of the code is fully ready!"> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content"> Step 1: create your Stripe account </h2> <p class="mb-4"> In order to start, you need to create a Stripe account. You can do that <a href="https://stripe.com" target="_blank">here.</a> </p> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content">Step 2: get the API keys</h2> <p class="mb-4"> After you have created a project, you need to get the API keys and fill in the `.env` file in the root of the project. </p> <DocsCode language="bash" code={` PUBLIC_STRIPE_PUBLISHABLE_KEY="your stripe publishable key" PRIVATE_STRIPE_SECRET_KEY="your stripe secret key" PRIVATE_STRIPE_WEBHOOK_SECRET="your stripe webhook secret" `} /> <DocsNote class="mt-8"> The `PRIVATE_STRIPE_WEBHOOK_SECRET` is used to verify the webhook events from Stripe. In production, you can get it from the Stripe dashboard. In development, you can use the Stripe CLI and run the `stripe listen --forward-to localhost:3000/api/webhooks` command to get the temporary development secret. </DocsNote> </div> <div class="mb-12"> <h2 class="mb-4 text-xl font-bold text-base-content">Step 3: create your products</h2> <p class="mb-4"> Create your products with titles, descriptions, images and prices on Stripe. </p> <p> Then, get the product IDs for each of the product and create your own custom pricing page based on one of the provided templates in `/src/lib/components/page/pricing`. </p> </div> <p> Take a look at the `/routes/payment` route to see how the payments are handled and how you can integrate them into your own project. </p> </DocsPage>
1,994
+page
svelte
en
svelte
code
{"qsc_code_num_words": 327, "qsc_code_num_chars": 1994.0, "qsc_code_mean_word_length": 4.24159021, "qsc_code_frac_words_unique": 0.42201835, "qsc_code_frac_chars_top_2grams": 0.04542177, "qsc_code_frac_chars_top_3grams": 0.03460707, "qsc_code_frac_chars_top_4grams": 0.0259553, "qsc_code_frac_chars_dupe_5grams": 0.14708003, "qsc_code_frac_chars_dupe_6grams": 0.12328767, "qsc_code_frac_chars_dupe_7grams": 0.12328767, "qsc_code_frac_chars_dupe_8grams": 0.12328767, "qsc_code_frac_chars_dupe_9grams": 0.12328767, "qsc_code_frac_chars_dupe_10grams": 0.12328767, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01601972, "qsc_code_frac_chars_whitespace": 0.18605817, "qsc_code_size_file_byte": 1994.0, "qsc_code_num_lines": 61.0, "qsc_code_num_chars_line_max": 89.0, "qsc_code_num_chars_line_mean": 32.68852459, "qsc_code_frac_chars_alphabet": 0.83857055, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.31372549, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.15095286, "qsc_code_frac_chars_long_word_length": 0.01253761, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0}
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0}