Commit Graph
2 Commits
Author SHA1 Message Date
Noxy-HNR 7c1b94d83e fix(libSceJxr): bound the remapQP shift before adding the QP exponent
Sum the shift and the index exponent in 64 bits so an extreme shift is rejected by the range check instead of overflowing first, and test both extreme shifts as rejected arguments.
2026-11-02 19:26:55 +00:00
Noxy-HNR 21a07dbca2 feat(libSceJxr): implement quantizer remapping, AC prediction mode and zigzag scan setup
remapQP, formatQuantizer, getACPredMode and InitZigzagScan now call
jxrlib's strPredQuant.c, strcodec.c and image.c from 3rdparty/jxrlib
through a C bridge. The guest adapters only reject null pointers, more
than 16 channels and scaled shifts that would overflow the QP. A new
test compares every quantizer index, random quantizer tables, random
macroblocks and the scan tables against jxrlib directly.
2026-11-02 01:30:58 +00:00