shadPS4/src/core/libraries/videodec
Sam Kenny b48d917e29
Fixes regressions and issues causing PSP emulated games to not run. (#4389)
* Fixes PSP emulation with the following changes:

1. Reserved Memory cannot be mapped, this seems to be incorrect and the
   PSP emulation relies on reserving then mapping memory at startup.
   From other logs, this may affect PS2 emulation as well.

2. Temp directory output may have garbase and the API is not null
   terminating the output, resulting in failures when the file
   path is not valid.

3. Fix misaligned images when viewport is sized for PSP.
   This fixes garbage in movies on the PSP emulator, making the
   movies viewable, scaled correctly for the screen.

4. Some PSP moves render incorrectly without sceVideodec2GetAvcPictureInfo

5. Fix dirty hash size calculation and RGB4444 mapping to fix textures

 These changes combined allow Jean d'Arc, LocoRoco and Patapon to run
 decently.

* fix formatting

* null terminate the temp path rather than using memset

* fix memory mapping in a more correct way

* revert RGB4444 changes as it breaks other games color mapping
2026-05-10 17:22:41 -07:00
..
videodec2_avc.h Cleaner fix (#4167) 2026-04-01 23:12:04 +03:00
videodec2_impl.cpp Fixes regressions and issues causing PSP emulated games to not run. (#4389) 2026-05-10 17:22:41 -07:00
videodec2_impl.h Cleaner fix (#4167) 2026-04-01 23:12:04 +03:00
videodec2.cpp Fixes regressions and issues causing PSP emulated games to not run. (#4389) 2026-05-10 17:22:41 -07:00
videodec2.h Fixes regressions and issues causing PSP emulated games to not run. (#4389) 2026-05-10 17:22:41 -07:00
videodec_error.h core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
videodec_impl.cpp Revert "avplayer/videodec fixup (#4225)" (#4264) 2026-04-15 18:02:53 +03:00
videodec_impl.h Videocodec implementation (#1484) 2024-11-10 11:33:08 +02:00
videodec.cpp Refactor memory size handling to better handle vdec titles (#4373) 2026-05-08 09:28:44 -05:00
videodec.h Standardize RegisterLib names for HLE libraries (#3234) 2025-07-16 12:23:03 +03:00