Home
last modified time | relevance | path

Searched refs:last_q (Results 1 – 20 of 20) 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
182 extern __u64 last_q;
Dbt_timeline.c50 __u64 last_q = (__u64)-1; variable
Ddevs.c137 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.c363 if (oci->postproc_state.last_q != q || in vp8_post_proc_frame()
371 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()
614 num_pass_left, stats.last_value, stats.value, stats.last_q, stats.q); in StatLoop()
819 stats.last_q, stats.q, stats.dq); in VP8EncTokenLoop()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c337 rc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_rc_init()
338 rc->last_q[INTER_FRAME] = oxcf->worst_allowed_q; in vp9_rc_init()
648 curr_frame == 0 ? rc->worst_quality : rc->last_q[KEY_FRAME] << 1; in calc_active_worst_quality_one_pass_vbr()
654 ? rc->last_q[KEY_FRAME] * 5 >> 2 in calc_active_worst_quality_one_pass_vbr()
655 : rc->last_q[INTER_FRAME] * rc->fac_active_worst_gf / 100; in calc_active_worst_quality_one_pass_vbr()
658 ? rc->last_q[KEY_FRAME] << 1 in calc_active_worst_quality_one_pass_vbr()
700 ambient_qp = VPXMIN(ambient_qp, lrc->last_q[KEY_FRAME]); in calc_active_worst_quality_one_pass_cbr()
1375 rc->last_q[KEY_FRAME] = qindex; in vp9_rc_postencode_update()
1386 lrc->last_q[KEY_FRAME] = rc->last_q[KEY_FRAME]; in vp9_rc_postencode_update()
1394 rc->last_q[INTER_FRAME] = qindex; in vp9_rc_postencode_update()
Dvp9_ratectrl.h82 int last_q[FRAME_TYPES]; // Separate values for Intra/Inter member
Dvp9_svc_layercontext.c92 lrc->last_q[INTER_FRAME] = oxcf->worst_allowed_q; in vp9_init_layer_context()
97 lrc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_init_layer_context()
98 lrc->last_q[INTER_FRAME] = oxcf->best_allowed_q; in vp9_init_layer_context()
Dvp9_firstpass.c3137 rc->last_q[INTER_FRAME] = tmp_q; in vp9_rc_get_second_pass_params()
3140 rc->last_q[KEY_FRAME] = (tmp_q + cpi->oxcf.best_allowed_q) / 2; in vp9_rc_get_second_pass_params()
3141 rc->avg_frame_qindex[KEY_FRAME] = rc->last_q[KEY_FRAME]; in vp9_rc_get_second_pass_params()
Dvp9_encoder.c3800 int last_q = q; local
3845 loop = q != last_q;
3851 int last_q = q; local
3947 loop = (q != last_q);
/external/libvpx/libvpx/vp8/encoder/
Donyx_int.h340 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()
889 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] in calc_pframe_target_size()
Donyx_if.c1668 cpi->last_q[0] = cpi->oxcf.fixed_q; in vp8_change_config()
1669 cpi->last_q[1] = cpi->oxcf.fixed_q; in vp8_change_config()
4081 int last_q = Q; in encode_frame_to_data_rate() local
4108 Loop = Q != last_q; in encode_frame_to_data_rate()
4117 int last_q = Q; in encode_frame_to_data_rate() local
4252 Loop = Q != last_q; in encode_frame_to_data_rate()
4474 cpi->last_q[cm->frame_type] = cm->base_qindex; in encode_frame_to_data_rate()
Dfirstpass.c1824 (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in define_gf_group()
2010 (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in define_gf_group()