Home
last modified time | relevance | path

Searched refs:last_q (Results 1 – 24 of 24) sorted by relevance

/external/blktrace/btt/
Dinlines.h117 static inline void update_lq(__u64 *last_q, struct avg_info *avg, __u64 time) in update_lq() argument
119 if (*last_q != ((__u64)-1)) in update_lq()
120 avg_update(avg, (time > *last_q) ? time - *last_q : 1); in update_lq()
121 *last_q = time; in update_lq()
127 update_lq(&dip->last_q, &dip->avgs.q2q_dm, iop->t.time); in dip_update_q()
129 update_lq(&dip->last_q, &dip->avgs.q2q, iop->t.time); in dip_update_q()
Dtrace_queue.c30 update_lq(&last_q, &all_avgs.q2q_dm, q_iop->t.time); in handle_queue()
33 update_lq(&last_q, &all_avgs.q2q, q_iop->t.time); in handle_queue()
Dproc.c215 pip->last_q = (__u64)-1; in process_alloc()
226 update_lq(&iop->pip->last_q, &iop->pip->avgs.q2q_dm, in pip_update_q()
229 update_lq(&iop->pip->last_q, &iop->pip->avgs.q2q, in pip_update_q()
Dglobals.h113 __u64 last_q; member
141 __u64 last_q, n_qs, n_ds; member
187 extern __u64 last_q;
Dbt_timeline.c50 __u64 last_q = (__u64)-1; variable
Ddevs.c129 dip->last_q = (__u64)-1; in dip_alloc()
/external/libvpx/libvpx/vp9/common/
Dvp9_postproc.h25 int last_q; member
Dvp9_postproc.c409 if (ppstate->last_q != q || ppstate->last_noise != noise_level) { in vp9_post_proc_frame()
415 ppstate->last_q = q; in vp9_post_proc_frame()
/external/libvpx/libvpx/vp8/common/
Dpostproc.h16 int last_q; member
Dpostproc.c245 if (oci->postproc_state.last_q != q || in vp8_post_proc_frame()
253 ppstate->last_q = q; in vp8_post_proc_frame()
/external/webp/src/enc/
Dframe_enc.c37 float q, last_q; member
50 s->q = s->last_q = enc->config_->quality; in InitPassStats()
70 dq = (float)(slope * (s->last_q - s->q)); in ComputeNextQ()
76 s->last_q = s->q; in ComputeNextQ()
646 num_pass_left, stats.last_value, stats.value, stats.last_q, stats.q); in StatLoop()
853 stats.last_q, stats.q, stats.dq); in VP8EncTokenLoop()
/external/libaom/libaom/av1/encoder/
Dratectrl.c270 rc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in av1_rc_init()
271 rc->last_q[INTER_FRAME] = oxcf->worst_allowed_q; in av1_rc_init()
624 curr_frame == 0 ? rc->worst_quality : rc->last_q[KEY_FRAME] * 2; in calc_active_worst_quality_one_pass_vbr()
629 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 5 / 4 in calc_active_worst_quality_one_pass_vbr()
630 : rc->last_q[INTER_FRAME]; in calc_active_worst_quality_one_pass_vbr()
632 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 2 in calc_active_worst_quality_one_pass_vbr()
633 : rc->last_q[INTER_FRAME] * 2; in calc_active_worst_quality_one_pass_vbr()
1387 rc->last_q[KEY_FRAME] = qindex; in av1_rc_postencode_update()
1394 rc->last_q[INTER_FRAME] = qindex; in av1_rc_postencode_update()
Dratectrl.h69 int last_q[FRAME_TYPES]; // Separate values for Intra/Inter member
Dpass2_strategy.c1558 rc->last_q[INTER_FRAME] = tmp_q; in av1_get_second_pass_params()
1561 rc->last_q[KEY_FRAME] = (tmp_q + cpi->oxcf.best_allowed_q) / 2; in av1_get_second_pass_params()
1562 rc->avg_frame_qindex[KEY_FRAME] = rc->last_q[KEY_FRAME]; in av1_get_second_pass_params()
Dencoder.c4247 int last_q = *q; in recode_loop_update_q() local
4287 *loop = *q != last_q; in recode_loop_update_q()
4293 int last_q = *q; in recode_loop_update_q() local
4365 *loop = (*q != last_q); in recode_loop_update_q()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c374 rc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_rc_init()
375 rc->last_q[INTER_FRAME] = oxcf->worst_allowed_q; in vp9_rc_init()
895 curr_frame == 0 ? rc->worst_quality : rc->last_q[KEY_FRAME] << 1; in calc_active_worst_quality_one_pass_vbr()
901 ? rc->last_q[KEY_FRAME] * 5 >> 2 in calc_active_worst_quality_one_pass_vbr()
902 : rc->last_q[INTER_FRAME] * rc->fac_active_worst_gf / 100; in calc_active_worst_quality_one_pass_vbr()
905 ? rc->last_q[KEY_FRAME] << 1 in calc_active_worst_quality_one_pass_vbr()
949 ambient_qp = VPXMIN(ambient_qp, lrc->last_q[KEY_FRAME]); in calc_active_worst_quality_one_pass_cbr()
1771 rc->last_q[KEY_FRAME] = qindex; in vp9_rc_postencode_update()
1782 lrc->last_q[KEY_FRAME] = rc->last_q[KEY_FRAME]; in vp9_rc_postencode_update()
1790 rc->last_q[INTER_FRAME] = qindex; in vp9_rc_postencode_update()
[all …]
Dvp9_ratectrl.h92 int last_q[FRAME_TYPES]; // Separate values for Intra/Inter member
Dvp9_svc_layercontext.c129 lrc->last_q[INTER_FRAME] = oxcf->worst_allowed_q; in vp9_init_layer_context()
134 lrc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_init_layer_context()
135 lrc->last_q[INTER_FRAME] = oxcf->best_allowed_q; in vp9_init_layer_context()
Dvp9_firstpass.c3186 rc->last_q[INTER_FRAME] = tmp_q; in vp9_rc_get_second_pass_params()
3189 rc->last_q[KEY_FRAME] = (tmp_q + cpi->oxcf.best_allowed_q) / 2; in vp9_rc_get_second_pass_params()
3190 rc->avg_frame_qindex[KEY_FRAME] = rc->last_q[KEY_FRAME]; in vp9_rc_get_second_pass_params()
Dvp9_encoder.c4139 int last_q = q; local
4184 loop = q != last_q;
4190 int last_q = q; local
4289 loop = (q != last_q);
/external/libvpx/libvpx/vp8/encoder/
Donyx_int.h344 int last_q[2]; /* Separate values for Intra/Inter */ member
Dratectrl.c383 (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in calc_gf_params()
887 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] in calc_pframe_target_size()
Donyx_if.c1688 cpi->last_q[0] = cpi->oxcf.fixed_q; in vp8_change_config()
1689 cpi->last_q[1] = cpi->oxcf.fixed_q; in vp8_change_config()
4040 int last_q = Q; in encode_frame_to_data_rate() local
4067 Loop = Q != last_q; in encode_frame_to_data_rate()
4076 int last_q = Q; in encode_frame_to_data_rate() local
4211 Loop = Q != last_q; in encode_frame_to_data_rate()
4436 cpi->last_q[cm->frame_type] = cm->base_qindex; in encode_frame_to_data_rate()
Dfirstpass.c1825 (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in define_gf_group()
2011 (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in define_gf_group()