Searched refs:rq_model (Results 1 – 2 of 2) sorted by relevance
4236 static int guess_q_index_from_model(const RATE_QSTEP_MODEL *rq_model, argument4242 assert(rq_model->ratio > 0);4243 q_step = pow(2.0, (rq_model->bias - target_bits) / rq_model->ratio);4268 static int rq_model_predict_q_index(const RATE_QSTEP_MODEL *rq_model, argument4284 if (rq_model->ready) {4285 q_index = guess_q_index_from_model(rq_model, target_bits);4293 if (rq_model->ready) {4294 q_index = guess_q_index_from_model(rq_model, target_bits);4309 int target_bits, RATE_QSTEP_MODEL *rq_model) { argument4330 rq_model->ratio = (r2 - r1) / (log2(s1) - log2(s2));[all …]
971 RATE_QSTEP_MODEL rq_model[ENCODE_FRAME_TYPES]; member