From c214feb4a493feb414ab88cbe0a19c4f52ec8f3b Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 10 Jun 2024 04:02:31 -0700 Subject: feat: sample ppms --- .gitignore | 14 ++++++++------ README.md | 7 ++++--- ppms/mrjohn.ppm | Bin 0 -> 778748 bytes ppms/samplememo_02.ppm | Bin 0 -> 477188 bytes 4 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 ppms/mrjohn.ppm create mode 100644 ppms/samplememo_02.ppm diff --git a/.gitignore b/.gitignore index 70a8db6..ffff1da 100644 --- a/.gitignore +++ b/.gitignore @@ -9,11 +9,13 @@ Cargo.lock # These are backup files generated by rustfmt **/*.rs.bk -# IDE -/.idea/ +# Editor +.idea +.vscode # Development -*.ppm -*.gif -*.json -*.png +/*.ppm +/*.gif +/*.json +/*.png + diff --git a/README.md b/README.md index 7a70964..4519ec0 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ This implementation is ### Speed In a 219 frame `.ppm` benchmark, running the command -`$ para ./samplememo_02.ppm gif samplememo_02.gif` on a twelve-core, +`$ para ./ppms/samplememo_02.ppm gif samplememo_02.gif` on a twelve-core, twenty-four-thread Ryzen 9 processor, para took an average of **368.35 milliseconds**, while ppm-parser took an average of **50.4171397 seconds**. -Running the command `$ para ./samplememo_02.ppm 0 samplememo_02.png` on a twelve-core, +Running the command `$ para ./ppms/samplememo_02.ppm 0 samplememo_02.png` on a twelve-core, twenty-four-thread Ryzen 9 processor, para took an average of **1.875619 milliseconds**, while ppm-parser took an average of **358.2232 milliseconds**. @@ -102,7 +102,8 @@ Prebuilt binaries for the latest release may or may not be found almost as soon as the app was released. - Midmad and WDLMaster for identifying the adpcm sound codec used. - [steven](http://www.dsibrew.org/wiki/User:Steven) and - [yellows8](http://www.dsibrew.org/wiki/User:Yellows8) for the PPM documentation on DSiBrew. + [yellows8](http://www.dsibrew.org/wiki/User:Yellows8) for the PPM + documentation on DSiBrew. - [PBSDS](https://github.com/pbsds) for more PPM reverse-engineering, as well as writing [hatenatools](https://github.com/pbsds/Hatenatools) diff --git a/ppms/mrjohn.ppm b/ppms/mrjohn.ppm new file mode 100644 index 0000000..07bf59d Binary files /dev/null and b/ppms/mrjohn.ppm differ diff --git a/ppms/samplememo_02.ppm b/ppms/samplememo_02.ppm new file mode 100644 index 0000000..5ca394b Binary files /dev/null and b/ppms/samplememo_02.ppm differ -- cgit v1.2.3