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.h26 int last_q; member
Dvp9_postproc.c585 state->last_q = q; in fillrd()
724 if (ppstate->last_q != q || in vp9_post_proc_frame()
/external/libvpx/libvpx/vp8/common/
Dpostproc.h18 int last_q; member
Dpostproc.c489 state->last_q = q; in fillrd()
823 if (oci->postproc_state.last_q != q in vp8_post_proc_frame()
/external/webp/src/enc/
Dframe.c36 float q, last_q; member
49 s->q = s->last_q = enc->config_->quality; in InitPassStats()
69 dq = (float)(slope * (s->last_q - s->q)); in ComputeNextQ()
75 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.c317 rc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_rc_init()
318 rc->last_q[INTER_FRAME] = oxcf->worst_allowed_q; in vp9_rc_init()
609 : rc->last_q[KEY_FRAME] * 2; in calc_active_worst_quality_one_pass_vbr()
613 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 5 / 4 in calc_active_worst_quality_one_pass_vbr()
614 : rc->last_q[INTER_FRAME]; in calc_active_worst_quality_one_pass_vbr()
616 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 2 in calc_active_worst_quality_one_pass_vbr()
617 : rc->last_q[INTER_FRAME] * 2; in calc_active_worst_quality_one_pass_vbr()
1286 rc->last_q[KEY_FRAME] = qindex; in vp9_rc_postencode_update()
1297 lrc->last_q[KEY_FRAME] = rc->last_q[KEY_FRAME]; in vp9_rc_postencode_update()
1305 rc->last_q[INTER_FRAME] = qindex; in vp9_rc_postencode_update()
Dvp9_ratectrl.h67 int last_q[FRAME_TYPES]; // Separate values for Intra/Inter member
Dvp9_svc_layercontext.c75 lrc->last_q[INTER_FRAME] = oxcf->worst_allowed_q; in vp9_init_layer_context()
80 lrc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_init_layer_context()
81 lrc->last_q[INTER_FRAME] = oxcf->best_allowed_q; in vp9_init_layer_context()
Dvp9_firstpass.c2659 rc->last_q[INTER_FRAME] = tmp_q; in vp9_rc_get_second_pass_params()
2662 rc->last_q[KEY_FRAME] = (tmp_q + cpi->oxcf.best_allowed_q) / 2; in vp9_rc_get_second_pass_params()
2663 rc->avg_frame_qindex[KEY_FRAME] = rc->last_q[KEY_FRAME]; in vp9_rc_get_second_pass_params()
Dvp9_encoder.c3387 int last_q = q; local
3432 loop = q != last_q;
3438 int last_q = q; local
3522 loop = (q != last_q);
/external/libvpx/libvpx/vp8/encoder/
Donyx_int.h368 int last_q[2]; /* Separate values for Intra/Inter */ member
Dratectrl.c442 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in calc_gf_params()
979 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in calc_pframe_target_size()
Donyx_if.c1799 cpi->last_q[0] = cpi->oxcf.fixed_q; in vp8_change_config()
1800 cpi->last_q[1] = cpi->oxcf.fixed_q; in vp8_change_config()
4484 int last_q = Q; in encode_frame_to_data_rate() local
4513 Loop = Q != last_q; in encode_frame_to_data_rate()
4523 int last_q = Q; in encode_frame_to_data_rate() local
4661 Loop = Q != last_q; in encode_frame_to_data_rate()
4887 cpi->last_q[cm->frame_type] = cm->base_qindex; in encode_frame_to_data_rate()
Dfirstpass.c1961 ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in define_gf_group()
2155 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in define_gf_group()