JPEG の符号化と復号を追加

このコミットが含まれているのは:
routersys committed 2026-09-09 14:09:14 +09:00
1 親 712d869eae
コミット 2a0f9e72f6
4ファイル変更
+224

検索条件に一致するファイルはありません

+16
ファイルの表示
@@ -0,0 +1,16 @@
#pragma once
#include <windows.h>
#include <cstdint>
#include <vector>
namespace pe {
bool EncodeJpeg(const unsigned char* bgr, int width, int height, int out_width, int out_height,
int quality, std::vector<unsigned char>& out);
bool DecodeJpegToYuy2(const unsigned char* data, size_t size, int proxy_width, int proxy_height,
unsigned char* destination, int width, int height, int stride);
}