From a37095b061fcbcce671761ca877e3ec1b46295bb Mon Sep 17 00:00:00 2001 From: Pauli Oikkonen Date: Mon, 16 Nov 2020 16:33:43 +0200 Subject: [PATCH] new weights using new scripts --- src/fast_coeff_cost.h | 102 +++++++++++++++++++++--------------------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/src/fast_coeff_cost.h b/src/fast_coeff_cost.h index c4241111..b655b4a2 100644 --- a/src/fast_coeff_cost.h +++ b/src/fast_coeff_cost.h @@ -15,58 +15,58 @@ typedef struct { // 0 to MAX_FAST_COEFF_COST_QP static const float default_fast_coeff_cost_wts[][4] = { // Just extend it by stretching the first actual values.. - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.134012, 4.207784, 3.431633, 6.556149}, + {0.455949, 3.497778, 3.503608, 6.689773}, + {0.455949, 3.497778, 3.503608, 6.689773}, + {0.455949, 3.497778, 3.503608, 6.689773}, + {0.455949, 3.497778, 3.503608, 6.689773}, + {0.455949, 3.497778, 3.503608, 6.689773}, + {0.455949, 3.497778, 3.503608, 6.689773}, + {0.455949, 3.497778, 3.503608, 6.689773}, + {0.455949, 3.497778, 3.503608, 6.689773}, + {0.455949, 3.497778, 3.503608, 6.689773}, + {0.455949, 3.497778, 3.503608, 6.689773}, // up to here - {0.134012, 4.207784, 3.431633, 6.556149}, - {0.122972, 4.278606, 3.398710, 6.527168}, - {0.109453, 4.373356, 3.335091, 6.499565}, - {0.095884, 4.485212, 3.217406, 6.488617}, - {0.083252, 4.591962, 3.088931, 6.481644}, - {0.071878, 4.674704, 2.989839, 6.464058}, - {0.060957, 4.743912, 2.922084, 6.438406}, - {0.050599, 4.799877, 2.901414, 6.405108}, - {0.040942, 4.848476, 2.899774, 6.368717}, - {0.033205, 4.882974, 2.908347, 6.329815}, - {0.026834, 4.909299, 2.913517, 6.292657}, - {0.022367, 4.924819, 2.919600, 6.257252}, - {0.018591, 4.935092, 2.946776, 6.214822}, - {0.015312, 4.939410, 3.028364, 6.154816}, - {0.012358, 4.942173, 3.127025, 6.094022}, - {0.010188, 4.945157, 3.215646, 6.051293}, - {0.008442, 4.948889, 3.293383, 6.020484}, - {0.007136, 4.954426, 3.360035, 6.000430}, - {0.006015, 4.962144, 3.418237, 5.983726}, - {0.005135, 4.974654, 3.461126, 5.970288}, - {0.004360, 4.989681, 3.500489, 5.958140}, - {0.003711, 5.006930, 3.545568, 5.948645}, - {0.003128, 5.024501, 3.596080, 5.941973}, - {0.002656, 5.043468, 3.649575, 5.940536}, - {0.002246, 5.065988, 3.698400, 5.940656}, - {0.001924, 5.097480, 3.733661, 5.941015}, - {0.001638, 5.133176, 3.763985, 5.942503}, - {0.001392, 5.170478, 3.796842, 5.954164}, - {0.001166, 5.206007, 3.835210, 5.980734}, - {0.000987, 5.234321, 3.878463, 6.031444}, - {0.000853, 5.255265, 3.915359, 6.080584}, - // Same here - {0.000853, 5.255265, 3.915359, 6.080584}, - {0.000853, 5.255265, 3.915359, 6.080584}, - {0.000853, 5.255265, 3.915359, 6.080584}, - {0.000853, 5.255265, 3.915359, 6.080584}, - {0.000853, 5.255265, 3.915359, 6.080584}, - {0.000853, 5.255265, 3.915359, 6.080584}, - {0.000853, 5.255265, 3.915359, 6.080584}, + {0.455949, 3.497778, 3.503608, 6.689773}, + {0.427139, 3.475257, 3.534477, 6.624447}, + {0.341956, 3.828668, 3.539835, 6.610140}, + {0.298979, 3.906445, 3.578578, 6.566255}, + {0.261156, 3.946467, 3.640007, 6.565308}, + {0.216013, 4.034657, 3.481797, 6.583525}, + {0.165982, 4.304685, 3.421225, 6.589555}, + {0.140823, 4.463637, 3.310007, 6.576252}, + {0.127800, 4.512760, 3.143918, 6.584115}, + {0.114325, 4.559195, 3.141115, 6.520363}, + {0.139721, 4.407814, 3.154250, 6.457314}, + {0.124975, 4.419010, 3.164279, 6.413477}, + {0.088894, 4.665756, 3.039443, 6.452777}, + {0.076418, 4.755910, 3.074760, 6.401349}, + {0.068954, 4.796121, 3.049570, 6.359919}, + {0.053023, 4.915719, 2.912561, 6.330004}, + {0.039447, 5.024406, 2.864321, 6.305404}, + {0.044356, 4.943400, 3.124639, 6.174651}, + {0.024724, 5.106373, 2.983894, 6.292287}, + {0.020149, 5.130364, 3.091583, 6.241441}, + {0.014533, 5.177609, 3.118554, 6.200867}, + {0.015749, 5.102667, 3.335023, 6.155234}, + {0.007757, 5.189836, 3.525659, 6.246961}, + {0.007128, 5.262407, 3.350966, 6.215349}, + {0.005453, 5.374311, 3.474329, 6.020300}, + {0.004607, 5.333375, 3.765388, 6.007849}, + {0.003918, 5.023034, 4.249196, 6.320714}, + {0.003112, 5.422673, 3.862161, 5.825436}, + {0.001747, 5.185906, 4.338246, 6.428194}, + {0.001488, 5.215406, 4.378236, 6.461582}, + {0.000833, 5.313468, 4.259612, 6.237062}, + {0.000984, 5.331352, 4.373810, 6.467308}, + {0.000540, 5.451982, 4.234604, 6.372096}, + {0.000432, 5.488724, 4.242940, 6.378894}, + {0.000341, 5.504680, 4.280038, 6.480700}, + {0.000277, 5.533792, 4.285452, 6.512268}, + {0.000173, 5.726044, 3.881924, 6.421222}, + {0.000068, 5.866690, 3.716030, 6.472433}, + {0.000049, 6.100680, 3.385740, 6.082800}, + {0.000026, 6.314800, 3.151470, 6.066515}, + {0.000044, 6.298960, 3.391700, 5.690644}, }; typedef struct encoder_state_t encoder_state_t;