mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-07 19:51:51 +09:00
quality table change
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user