Skip to content

Update to turbojpeg 3.#17

Merged
Maschell merged 6 commits into
wiiu-env:0.3-devfrom
dkosmari:turbojpeg3
Feb 5, 2026
Merged

Update to turbojpeg 3.#17
Maschell merged 6 commits into
wiiu-env:0.3-devfrom
dkosmari:turbojpeg3

Conversation

@dkosmari
Copy link
Copy Markdown
Contributor

This updates the JPEG loader to use the tj3*() functions, from turbojpeg 3.0+.

The ppc-libjpeg-turbo package from Extrems' repo (https://github.com/extremscorner/pacman-packages) is needed, since the devkitPro repo is still on 2.1.2.

@Maschell
Copy link
Copy Markdown
Contributor

Maschell commented Feb 1, 2026

Would prefer it update the version on fht devkitPro repo instead of introducing a "external" source

@dkosmari
Copy link
Copy Markdown
Contributor Author

dkosmari commented Feb 2, 2026

Sent a PR to update libjpeg-turbo to 3.x: devkitPro/pacman-packages#404

@Maschell
Copy link
Copy Markdown
Contributor

Maschell commented Feb 4, 2026

Can you try ghcr.io/wiiu-env/devkitppc:20260204

Comment thread source/crt.c
@Maschell Maschell merged commit d24e97e into wiiu-env:0.3-dev Feb 5, 2026
3 checks passed
@dkosmari dkosmari deleted the turbojpeg3 branch February 5, 2026 11:21
Maschell added a commit that referenced this pull request Apr 19, 2026
* Bump version

* Add JPEG support for loading splash screens (#7)

* Added support for loading JPEG images.

* Sorted headers.

* Formatting for clang-format.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>

* Improved PNG reading (#8)

* Use libpng's "simplified API", to automatically load all types of PNG as RGBA images.

* Removed extra blank spaces.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>

* Update to turbojpeg 3. (#17)

* Update to turbojpeg 3.

* Fixed formatting.

* More formatting.

* Fixed formatting.

* Updated Dockerfile, crt for newlib and wut.

* Add __init_wut_thread() call.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>

* Webp support (#16)

* Fixed format string.

* Added WEBP support.

* Fixed formatting.

* Fixed formatting again.

* Updated Dockerfile, crt for newlib and wut.

* Add __init_wut_thread() call.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>

* General path (#19)

* Fixed format string.

* Try sd:/wiiu as a fallback path for loading splashes.

* Updated README.

* Better formatting.

* Simpler wording.

* Fixed typo.

* Formatting code.

* Avoid seeding RNG more than once.

* Refactored to hide all path handling inside SplashScreenDrawer class.

* Refactored some functions into utils.h, utils.cpp

* Added missing include, some code cleanup.

* Added a try-catch block for vector and filesystem exceptions.

Hg: Enter commit message.  Lines beginning with 'HG:' are removed.

* Refactoring: make LoadTextureFrom return a bool.

* Adjusted for clang-format checks.

* Updated Dockerfile, crt for newlib and wut.

* Add __init_wut_thread() call.

* Updated README.

* Some cleanup and remove unnecessary code changes.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>

* Update Dockerfile (#23)

---------

Co-authored-by: Daniel K. O. <dkosmari@users.noreply.github.com>
Co-authored-by: Daniel K. O. (dkosmari) <none@none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants