From 222feb50cb361d9c2d000e1e933735fe541cf784 Mon Sep 17 00:00:00 2001 From: minjaesong Date: Thu, 28 Aug 2025 00:35:40 +0900 Subject: [PATCH] quality table change --- video_encoder/encoder_tev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video_encoder/encoder_tev.c b/video_encoder/encoder_tev.c index 2784149..8cdcee6 100644 --- a/video_encoder/encoder_tev.c +++ b/video_encoder/encoder_tev.c @@ -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;