quality table change

This commit is contained in:
minjaesong
2025-08-28 00:35:40 +09:00
parent d43a2f66d0
commit 222feb50cb

View File

@@ -48,8 +48,8 @@ static const int MP2_RATE_TABLE[] = {64, 96, 128, 192, 256};
// from dataset of three videos with Q0..Q95: (real life video, low res pixel art, high res pixel art)
// 5 25 50 75 90 Claude Opus 4.1 (with data analysis)
// 10 25 45 65 85 ChatGPT-5 (without data analysis)
static const int QUALITY_Y[] = {5, 18, 45, 65, 85};
static const int QUALITY_CO[] = {5, 18, 45, 65, 85};
static const int QUALITY_Y[] = {5, 18, 42, 63, 80};
static const int QUALITY_CO[] = {5, 18, 42, 63, 80};
static float jpeg_quality_to_mult(int q) {
return ((q < 50) ? 5000.f / q : 200.f - 2*q) / 100.f;