mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 00:53:02 -05:00
feat(jpegenc): honor the encode restart interval
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
5895ea721a
commit
263cb6626c
6 files changed
+99
-5
No files matched your search
@@ -28,7 +28,8 @@ enum class Sampling {
|
||||
};
|
||||
|
||||
std::vector<std::uint8_t> Encode(std::span<const std::uint8_t> pixels, std::uint32_t width, std::uint32_t height,
|
||||
std::uint32_t channels, int quality, Sampling sampling = Sampling::Yuv444);
|
||||
std::uint32_t channels, int quality, Sampling sampling = Sampling::Yuv444,
|
||||
std::uint32_t restartBlocks = 0, std::uint32_t restartRows = 0);
|
||||
|
||||
std::optional<Header> ParseHeader(std::span<const std::uint8_t> jpeg);
|
||||
|
||||
|
||||
Reference in new issue
Block a user