mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
feat(jpegenc): honor the encode restart interval
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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