Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Unknown W. Brackets
55d5dc3834
GPU: Rename readback and buffer write operations.
...
Avoid download/upload and pack, which don't have clear directions.
2022-10-09 13:49:41 -07:00
Unknown W. Brackets
33993b8574
Jpeg: Cleanup debug dump file access.
2022-10-08 20:31:39 -07:00
Unknown W. Brackets
9c026927bd
Jpeg: Encode and decode YCbCr as 2x2.
...
Verified this is what's output from a PSP's DecodeMJpegYCbCr, and games
directly use its output in MJpegCsc - so change to match.
This makes the colors in Gods Eater Burst character portraits look better.
2022-10-08 20:24:54 -07:00
Unknown W. Brackets
1c18d9b49b
Jpeg: Correct some logging of return types.
2022-10-08 18:12:37 -07:00
Unknown W. Brackets
af28a3d497
Jpeg: Correct colorspace conversion funcs.
...
For non-mjpeg, the height and width are halved, and more sampling modes
are supported. This also checks for invalid pointers and notifies the
debugger.
The exact YCbCr->RGBA conversion is not accurate, but it writes in the
correct places now. MJpeg is still a bit off.
2022-10-08 12:20:41 -07:00
Unknown W. Brackets
159d4ed4a3
Jpeg: Decode buffers using configured stride.
...
Previously, it was assumed that the stride was the nearest power of two,
but it's actually the Create width.
2022-10-08 12:20:41 -07:00
Unknown W. Brackets
dc18b6cf80
Jpeg: Improve error handling for YCbCr decode.
...
This also fixes a crash on invalid output pointer.
2022-10-08 12:20:41 -07:00
Unknown W. Brackets
95d40cc09f
Jpeg: Retain previous width/height.
...
Seems to be reused even after Delete, strangely.
2022-10-08 12:20:41 -07:00
Unknown W. Brackets
bcee6c0310
Jpeg: Improve timing/errors for GetOutputInfo.
2022-10-07 23:22:54 -07:00
Unknown W. Brackets
7f87cd077a
Jpeg: Play it safe with load/unload handling.
2022-10-07 00:24:19 -07:00
Unknown W. Brackets
0931b343c2
Jpeg: Validate CreateMJpeg() parameters.
2022-10-07 00:16:30 -07:00
Unknown W. Brackets
62fe178608
Jpeg: Cleanup Init/Finish error checks.
2022-10-06 22:45:18 -07:00
Henrik Rydgård
e6403d7157
Split GetPointer into two versions, to help with const correctness
2022-07-24 13:26:19 +02:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
aliaspider
9a3e5879bb
Global: Correct many endian types and casts.
2021-02-18 22:25:24 -08:00
Henrik Rydgård
9e41fafd0d
Move math and some file and data conversion files out from native to Common.
...
Buildfixing
Move some file util files
Buildfix
Move KeyMap.cpp/h to Core where they belong better.
libretro buildfix attempt
Move ini_file
More buildfixes
2020-10-04 09:12:46 +02:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
Henrik Rydgård
a17fe334a1
MJPEG in sceJpeg: Notify the framebuffer manager that there's been a picture written to memory. Fixes part of #8521
2019-08-26 18:26:52 +02:00
Henrik Rydgård
402b6b2457
Improve some logging (%08x for addresses)
2019-08-26 18:26:52 +02:00
LunaMoo
f10c9dfd8c
Initialize pspWidth and increase the max size.
2017-06-01 16:52:36 +02:00
LunaMoo
7cee37c4e8
Needs to be square! O.o
2017-06-01 13:46:33 +02:00
LunaMoo
17d8eb19c5
Fix jpeg's with width not matching psp buffer size.
2017-06-01 13:31:25 +02:00
LunaMoo
0cdd55f450
Implement sceJpegDecodeMJpeg & sceJpegDecodeMJpegSuccessively
2017-05-31 18:46:19 +02:00