Skip to content

feat(libSceJxr): implement the PKFactory and PKCodecFactory constructors - #15232

Merged
oneandonlydean merged 7 commits into
boykopovar:mainfrom
simnJS:feat/jxr-factories
Nov 7, 2026
Merged

oneandonlydean merged 7 commits into
boykopovar:mainfrom
simnJS:feat/jxr-factories

Conversation

@simnJS

@simnJS simnJS commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

What

Implements seven libSceJxr factory exports on the pinned jxrlib: PKCreateFactory, PKCreateFactory_CreateStream, PKCreateFactory_Release, PKCreateCodecFactory, PKCreateCodecFactory_Release, PKCodecFactory_CreateCodec (an unknown IID returns WMP_errUnsupportedFormat) and PKCodecFactory_CreateFormatConverter. The function slots hold guest-ABI pointers.

PKCreateFactory_CreateStream allocates sizeof(PKStream), 24 bytes, as jxrgluelib/JXRGlue.c does: PKStream (JXRGlue.h) is a separate structure from the 88-byte WMPStream that CreateWS_File and CreateWS_Memory create. CreateStreamFromFilename, PKCodecFactory_CreateDecoderFromFile and the PKFormatConverter_* and PKImageDecode_* functions reached through the slots stay NotImplemented_nid_no_patch; the debt file records it.

Tested

Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release: guest_jxr_factory passes (creation and release, slots called, unknown IID -106, allocation failure -101, null pointers). Only this test was run, not the full suite. Not run on Linux or on a title.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Progress report (e4f4f56 → 21928d3)

📈 System libraries: 31.15% (+0.02%, +7 implemented functions)

✅ 7 implemented
Library Name
libSceJxr PKCodecFactory_CreateCodec_nid_postfix
libSceJxr PKCodecFactory_CreateFormatConverter_nid_postfix
libSceJxr PKCreateCodecFactory_Release_nid_postfix
libSceJxr PKCreateCodecFactory_nid_postfix
libSceJxr PKCreateFactory_CreateStream_nid_postfix
libSceJxr PKCreateFactory_Release_nid_postfix
libSceJxr PKCreateFactory_nid_postfix

Changed libraries (implemented exports)

Library Before After Change
libSceJxr 53/136 (38.97%) 60/136 (44.12%) +5.15%

@BunnyFl BunnyFl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simnJS thanks for this. The stream and format converter layouts match the console module, but the codec factory doesn't, and a guest calling its Release would read past the allocation.

PKCodecFactory is 40 bytes on the console, with Release at +0x20. In firmware 13.42 system/common/lib/libSceJxr.sprx (sha256 73c51baf72937450751e8437e2744fcbe23a58844625f28375f7c423fbe50362), PKCreateCodecFactory (we4rPX+-zNg, 0x378d0) is, read from disassembly and not run:

378e0: mov    $0x1,%edi
378e5: mov    $0x28,%esi
378ea: call   *(%rax)                ; allocator at 0x60138, (1, 0x28)
378f4: lea    -0x23b(%rip),%rcx      # 0x376c0  PKCodecFactory_CreateCodec
378fb: lea    -0x212(%rip),%rdx      # 0x376f0  PKCodecFactory_CreateDecoderFromFile
37902: lea    -0x109(%rip),%rsi      # 0x37800  PKCodecFactory_CreateFormatConverter
37909: mov    %rcx,(%rax)
3790c: mov    %rdx,0x8(%rax)
37910: lea    -0x77(%rip),%rdx       # 0x378a0  PKCreateCodecFactory_Release
37917: mov    %rsi,0x10(%rax)
3791b: mov    %rdx,0x20(%rax)

Nothing is stored at +0x18 (378f4–3791b above). The allocator gets (1, size), presumably jxrlib's calloc, so that slot is presumably zero. I named the four slot targets by matching their addresses against the module's export table (G+lqj7diiFM, nSR7deGcfPw, -sUOc+vW9iw, xTVG4ZQMwVk).

In this PR Jxr::CodecFactory is 32 bytes (Factory.hpp, static_assert(sizeof(CodecFactory) == 32)), and release sits at +0x18. A title or SDK module built against Sony's header calls pCodecFactory->Release(&pCodecFactory) through +0x20. Here that reads the 8 bytes right after the 32-byte calloc block and calls them. On the console it's PKCreateCodecFactory_Release.

Suggested fix: add an 8-byte field at +0x18 before release and make the struct 40 bytes, with static_assert(offsetof(CodecFactory, release) == 0x20). Then have the test check that +0x18 stays zero. I don't know what Sony's fourth slot is, and the constructor above doesn't set it. A void* the code leaves null would match what I read.

What matches (same module, same reading):

  • PKCreateFactory (0x37650) allocates 0x20 and stores PKCreateFactory_CreateStream (0x375e0) at +0, an unexported function at +8, CreateWS_Memory (0x34f80) at +0x10 and PKCreateFactory_Release (0x37620) at +0x18. That is your Factory. The +8 target is presumably CreateWS_File; I didn't read it, and your throwing CreateStreamFromFilename there is fine.
  • PKCreateFactory_CreateStream (0x375e0) allocates 0x18, which matches your 24-byte PlainStream. It returns -101 (0xffffffffffffff9b) when the allocation fails, as all four constructors do.
  • PKCodecFactory_CreateFormatConverter (0x37800) allocates 0x60 and fills the slots in your order: Initialize, InitializeConvert, GetPixelFormat, GetSourcePixelFormat, GetSize, GetResolution, Copy, Convert (0x4b740), and then Release (0x4b750) at +0x40.

What I ran: this head merged onto main (merge d19ea27c68), Windows 11, WinLibs GCC, Release. guest_jxr_factory and public_headers pass (2 of 2). The test reads release through the PR's own struct (tests/JxrFactory.cpp:121 and :150), which can't show the console's offset.

Small note: my #15626 gives PKFormatConverter_Convert_nid_postfix its jxrlib signature. Your Slot<decltype(value->convert)>(&PKFormatConverter_Convert_nid_postfix) is a reinterpret_cast (Export.cpp, Slot), and I expect it to build against either signature. Whichever of us lands second should rebuild to confirm.

@XairRrR XairRrR left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — comments

The seven factory exports follow jxrlib's JXRGlue.c exactly, and the test passes and fails when allocation-failure handling is broken; the open question is the console layout of PKCodecFactory that BunnyFl raised, which I could not verify.

What I ran

Head 0d783107d35b4240a248eff9db145726f4b272d0 merged into main 1c8c0efc8c41314402e6966da5bef6ea3d639d10 (merged tree 0156b3beef9b31462b656c7cbb8731b60793d37d), Debian 13 VM, GCC 14.2.0, Release, Ninja.

git diff --check 1c8c0efc8c41314402e6966da5bef6ea3d639d10...0d783107d35b4240a248eff9db145726f4b272d0
python3 tools/check_conventions.py --base 1c8c0efc8c41314402e6966da5bef6ea3d639d10
ctest --test-dir build --output-on-failure -R "^guest_jxr"
# negative control 1: Export.cpp and include/Api.hpp from main, Factory.hpp kept
ninja -C build -j32 -l32 guest_jxr_factory_tests
# negative control 2: merged files, AllocateZeroed made to always return WmpErrSuccess
ninja -C build -j32 -l32 guest_jxr_factory_tests
ctest --test-dir build --output-on-failure -R "^guest_jxr_factory$"
# restore merged files
ninja -C build -j32 -l32 guest_jxr_factory_tests libSceJxr
ctest --test-dir build -R "^guest_jxr_factory$"
git status --porcelain

Results

Check Result
git diff --check clean
check_conventions.py All conventions checks passed
Build (script) configure, build and libs OK
Script test run 822 ran, no new failures or timeouts; unwrap_self_UnwrapTest_test_new_output_inherits_the_destination_directory_group also fails on main (known)
guest_jxr* (10 tests incl. guest_jxr_factory) 10/10 pass, guest_jxr_factory 0.01 s
Negative control fails in both forms (see below)
Worktree after restore git status --porcelain empty
Validation layer not applicable (no AGC/shader/VideoOut change)

Negative control

  • With only Export.cpp and include/Api.hpp taken from main, the test doesn't compile. main declares these exports as parameterless int placeholders:

    excerpt
    JxrFactory.cpp:91:40: error: too many arguments to function 'int PKCreateFactory_nid_postfix()'
    JxrFactory.cpp:105:73: error: too many arguments to function 'int PKCreateFactory_CreateStream_nid_postfix()'
    JxrFactory.cpp:117:45: error: too many arguments to function 'int PKCreateCodecFactory_nid_postfix()'
    
  • That only shows the signatures changed, so I also ran a behavioural mutation. In the merged Export.cpp, I changed AllocateZeroed to return WmpErrSuccess even when calloc fails. guest_jxr_factory then failed (SEGFAULT on the allocation-failure path).

  • After restoring the merged files and rebuilding, the test passes again and the worktree is clean.

Findings

Blocking

None of my own. BunnyFl's change request (PKCodecFactory is 40 bytes on the console, with Release at +0x20) has no reply yet; see Non-blocking for what I could add.

Non-blocking

  1. BunnyFl's PKCodecFactory layout finding: more evidence, still open. core/libs/prx/libSceJxr/Factory.hpp:29-34 and :51 match the pinned jxrlib (3rdparty/jxrlib at f7521879862b9085318e814c6157490dd9dbbdb4) exactly. In its JXRGlue.h (lines 351-361), tagPKCodecFactory has four function pointers: CreateCodec, CreateDecoderFromFile, CreateFormatConverter, Release. That is 32 bytes. PKFactory, PKStream (24 bytes) and PKFormatConverter (96 bytes, pDecoder at 72) also match the header.
    • So the PR is faithful to the reference. If the firmware disassembly in that review is right, Sony's header has a fifth slot at +0x18, and the reference cannot show it.
    • The test reads release through the PR's own struct (tests/JxrFactory.cpp:121, :150), so it cannot tell the two layouts apart.
    • I have no firmware module here, so I can neither confirm nor refute the disassembly. As described, a guest built against Sony's header would call 8 bytes past the 32-byte block. The author should answer that review, or adopt the 40-byte layout, before merge.
  2. Wrong line range in the debt entry link. docs/dev/debt/libSceJxr.md:17 links JXRGlue.c#L334-L480. At that commit, PKCreateFactory_CreateStream starts at line 333 and PKCreateCodecFactory ends at line 482. Suggest #L333-L482.
  3. The known-IID paths are only checked by compiling. core/libs/prx/libSceJxr/Export.cpp:151-156 call PKImageEncode_Create_WMP_nid_postfix / PKImageDecode_Create_WMP_nid_postfix through a cast to int64_t(*)(void**). Both are still parameterless int placeholders that throw, so IIDs 101 and 201 currently end in NotImplemented.
    • The test only covers unknown IIDs. It's acceptable while those exports throw.
    • When they get their real signatures, drop the casts so the compiler checks the call. Also add a test that IID 101/201 dispatches.
  4. Two if(BUILD_TESTING) blocks. core/libs/prx/libSceJxr/CMakeLists.txt:73-84 opens a second if(BUILD_TESTING) block right after the existing one. The registration could go inside the existing block. Cosmetic.

Not verified

  • The console layouts and slot order: no firmware module or PS5 was available. BunnyFl's disassembly is unconfirmed by me.
  • Windows/MinGW build of the new test executable; only Linux GCC was built here.
  • I reran the guest_jxr and public_headers tests in the background; all 75 passed. That run overlapped the negative-control edits, so I don't count it. I rely on the script's full run of the merged tree, which reported no new failures.
  • No title was run.

To get this to a good state

  • Answer BunnyFl's layout review. If you accept the console disassembly, make Jxr::CodecFactory 40 bytes with release at 0x20 and assert it with offsetof. Have the test check that the +0x18 slot is zero. Update the debt entry to say which layout follows the console and which follows jxrlib.
  • Fix the line range of the JXRGlue.c link in the debt entry.

@TechLevelZero

Copy link
Copy Markdown
Contributor

✅ AMD GPU test: passed

PR head 0d78310 merged onto main 1c8c0ef · tested 2026-11-04 00:34 UTC · 12 min

GPU AMD Radeon RX 6300 (RADV NAVI24), driver Mesa 25.2.8-0ubuntu0.24.04.4, Vulkan 1.4.318
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-42-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 1,122 passed · 5 failed (0 new, 3 also fail on main, 2 unstable on main) · 7 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 1,134 of 3,842 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (546 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 120.2 s, ⚠️ agc_driver_image_sample_unnormalized 54.0 s, ⚠️ public_headers 44.1 s, ⚠️ agc_driver_lazy_resolved_abi 39.4 s, ⚠️ agc_driver_depth_clear_hle 37.7 s
Unstable on main (2, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_depth_fast_clear_submit: failed in 2 of the last 10 main runs
agc_driver_pipeline_journal: failed in 8 of the last 10 main runs
Failing on main too (3, not counted against this PR)
agc_driver_image_table
agc_driver_native_depth_bda_clear
agc_driver_native_multisample_depth
Validation IDs already present on main (8 IDs in 467 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (467 tests): agc_driver_address_passes, agc_driver_alias_copy_label, agc_driver_alpha_to_coverage, agc_driver_array_layer_target, agc_driver_bc_block_copy, agc_driver_bda_anchor_reads, agc_driver_bda_span_reads, agc_driver_bindless_images, and 459 more
VUID-vkCmdCopyImage-srcImage-01548 (4 tests): agc_driver_depth_clear_hle, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth
VUID-vkCmdCopyImage-srcImage-01551 (4 tests): agc_driver_depth_clear_hle, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (1 test): agc_driver_srgb8_color_target
VUID-VkSamplerCreateInfo-addressModeU-01079 (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeU-parameter (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeV-parameter (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeW-parameter (1 test): agc_driver_image_gather_volume
Skipped (7)
agc_driver_copied_writer_label_order: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_float16_unused_nan_payloads: skipped, the device has no native f16 conversions with RTE rounding and kept f16 denormals
agc_driver_gcn_display_present: skipped, no display: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
agc_driver_linear_target_direct_write_completion: skipped, the device does not keep host imports write-watched, so no completion stamp over the target is tracked
agc_driver_ngg_vertex_wave_reduction: skipped, s3 describes a 32-lane wave only on 32-lane subgroups, and the device has 64 lanes
agc_driver_scattered_runs: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_sparse_dma_buf_import: skipped, host imports are unavailable: /dev/udmabuf is not accessible
Reproduce
git fetch origin 0d783107d35b4240a248eff9db145726f4b272d0 1c8c0efc8c41314402e6966da5bef6ea3d639d10
git checkout 1c8c0efc8c41314402e6966da5bef6ea3d639d10 && git merge --no-ff 0d783107d35b4240a248eff9db145726f4b272d0
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 12 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 16 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

… notice

Apply review request from 2026-11-05, with a merge of main.

CodecFactory now has the empty slot before Release, so Release sits at offset 0x20 in a 40-byte block as the firmware allocates it. initializeConvert takes the source pixel format GUID by value, as JXRGlue.h declares. Export.cpp and Factory.hpp carry the Microsoft notice from jxrlib JXRGlue.c, lines 1 to 27 at the pinned revision.
@oneandonlydean

Copy link
Copy Markdown
Collaborator

Hi simnJS,

Thanks for the JXR factories. Three things changed on your branch so it can land, on top of 0d783107d3, following the firmware 13.42 disassembly BunnyFl reported and the pinned jxrlib: CodecFactory is now 40 bytes with Release at offset 0x20 behind an empty slot, as PKCreateCodecFactory allocates it; initializeConvert takes the source pixel format GUID by value, as JXRGlue.h declares; and Export.cpp and Factory.hpp carry the Microsoft notice from the top of JXRGlue.c (lines 1 to 27 at the pinned revision), since the factories follow that file. The test now also checks the Release offset, and the debt entry records the layout. We merged current main in the same commit. Feel free to adjust any of it if you would rather handle it differently.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 5, 2026
# Conflicts:
#	core/libs/prx/libSceJxr/CMakeLists.txt
#	core/libs/prx/libSceJxr/Export.cpp
#	core/libs/prx/libSceJxr/include/Api.hpp
#	docs/dev/debt/libSceJxr.md
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 5, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 6, 2026
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 6, 2026

@BunnyFl BunnyFl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simnJS re-checked at bfc31e1c4e, and my change request is resolved (cc @oneandonlydean, thanks for pushing the fix in 25f5019918).

The codec factory now matches what PKCreateCodecFactory allocates in firmware 13.42. Jxr::CodecFactory has an empty void* reserved at +0x18, and release sits at +0x20 in a 40-byte struct. core/libs/prx/libSceJxr/Factory.hpp:79 asserts both (sizeof == 40, offsetof(release) == 0x20). The test now reads the raw slots, so it no longer depends on the PR's own struct: tests/JxrFactory.cpp:122 requires slot 3 to be null and slot 4 to be Release. That is the layout from my disassembly at 0d783107d3.

I didn't check the other change, initializeConvert taking the GUID by value, against JXRGlue.h myself.

What I ran

Windows 11 Pro 10.0.26300, WinLibs GCC 15.2.0, Release, this head merged onto current main (merge 22edf6e602):

  • guest_jxr_factory and public_headers: 2 of 2 pass.
  • Mutation, on the same kind of merge (43cadd451b): PKCreateCodecFactory also writes Release into the reserved slot. guest_jxr_factory then aborts (0xc0000409), 0 of 1 pass. So the new check catches a factory that fills +0x18.
  • tools/check_conventions.py --base upstream/main --head on this head: all checks pass.
  • tools/pr_overlap.py --branch: the confirmed line conflicts are libSceJxr/CMakeLists.txt L121 (#15148, #15479, #15689), the debt entry list at L38-39 of docs/dev/debt/libSceJxr.md, and include/Api.hpp L68-74 with my #15626. That last one is the PKFormatConverter_Convert signature I mentioned at 0d783107d3; whichever of us lands second rebuilds. Its "same exports" rows (Allocate, Align, Calloc and so on) are the test's local heap callbacks, not exports.

Still open from XairRrR's earlier review, non-blocking. At bfc31e1c4e, the debt entry's JXRGlue.c link still reads #L334-L480 (docs/dev/debt/libSceJxr.md:39).

AI-assisted: yes (Claude Code)

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 6, 2026
@oneandonlydean oneandonlydean self-assigned this Nov 7, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

Hi @simnJS, thanks for merging main. We merged the latest main on top (merge commit c4ad4c7) to clear the conflict in docs/dev/debt/libSceJxr.md: your new Factories entry is kept as is, and the stub count line now reads 86 remaining additional stubs, recounted on the merged tree (this PR implements several of the factory stubs, so main's 92 no longer applied). We also updated three Export.cpp line links in that doc (PKImageEncode_SetEXIFMetadata_WMP, initPostProc, termPostProc) that pointed at the wrong lines after the merge. Nothing else in your changes was touched. Thanks!

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 7, 2026
@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 1384 Allocate
PR 15622 Align
Allocate
PosixAlign
Realign
Reallocate
PR 15625 Align
Allocate
PosixAlign
Realign
Reallocate
PR 15626 core/libs/prx/libSceJxr/include/Api.hpp L79-85
docs/dev/debt/libSceJxr.md L40, L45
PR 15627 Align
Allocate
PosixAlign
Realign
Reallocate
PR 16225 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16227 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16228 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16229 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16230 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16232 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16233 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16249 Align
Allocate
Calloc
Free
PosixAlign
Realign
Reallocate
PR 16255 Align
Allocate
Calloc
Free
PosixAlign
Realign
Reallocate
PR 16273 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16275 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16276 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16277 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16278 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16279 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16297 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16298 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16299 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16300 core/libs/prx/libSceJxr/Export.cpp L36
docs/dev/debt/libSceJxr.md L8-9, L45
PR 16402 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16403 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16404 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16405 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16406 docs/dev/debt/libSceJxr.md L8-9, L45
PR 16408 docs/dev/debt/libSceJxr.md L8-9, L45

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 14212 docs/dev/debt/libSceJxr.md
PR 15684 core/libs/prx/libSceJxr/CMakeLists.txt
core/libs/prx/libSceJxr/Export.cpp
core/libs/prx/libSceJxr/include/Api.hpp
docs/dev/debt/libSceJxr.md
PR 15689 core/libs/prx/libSceJxr/CMakeLists.txt
core/libs/prx/libSceJxr/Export.cpp
core/libs/prx/libSceJxr/include/Api.hpp
docs/dev/debt/libSceJxr.md
PR 16282 core/libs/prx/libSceJxr/CMakeLists.txt
core/libs/prx/libSceJxr/Export.cpp
core/libs/prx/libSceJxr/include/Api.hpp
docs/dev/debt/libSceJxr.md

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 7, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

Hi @simnJS, main had moved again, so we merged the latest main on top of your head c4ad4c7 (merge commit b42c6a7, no force-push). The CMake source and test blocks from both sides are kept, your Factories entry and main's new Predict entry in docs/dev/debt/libSceJxr.md are both kept, and the stub count line now reads 81, recounted on the merged tree. The initPostProc and termPostProc line links in that doc were updated to the merged Export.cpp. The jxr tests pass (14/14). Nothing else in your changes was touched; if you push again, please pull first.

@github-actions github-actions Bot added needs rebase Conflicts with main, rebase needed and removed needs rebase Conflicts with main, rebase needed labels Nov 7, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

Hi @simnJS, we merged main into your branch once more (21928d3), because #15148 landed a JPEG XR bit-reader change that conflicted with this PR. In core/libs/prx/libSceJxr/CMakeLists.txt both new test blocks are kept, and in docs/dev/debt/libSceJxr.md main's SimpleBitIO entry is kept next to yours; the remaining-stub count now reads 76, recounted on the merged tree, and the initPostProc/termPostProc line links point at their new lines. The JPEG XR tests pass on the result. Nothing else in your changes was touched. Thanks!

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 7, 2026
@oneandonlydean
oneandonlydean merged commit d730059 into boykopovar:main Nov 7, 2026
12 checks passed
@simnJS
simnJS deleted the feat/jxr-factories branch November 20, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants