Home
last modified time | relevance | path

Searched refs:VPXMAX (Results 1 – 25 of 34) sorted by relevance

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c206 return VPXMAX(FRAME_OVERHEAD_BITS, in vp9_estimate_bits_at_q()
215 VPXMAX(rc->min_frame_bandwidth, rc->avg_frame_bandwidth >> 5); in vp9_rc_clamp_pframe_target_size()
328 rc->bits_off_target = VPXMAX(rc->bits_off_target, -rc->maximum_buffer_size); in update_buffer_level_postencode()
348 return VPXMAX(default_interval, in vp9_rc_get_default_min_gf_interval()
359 return VPXMAX(interval, min_gf_interval); in vp9_rc_get_default_max_gf_interval()
668 VPXMAX(cpi->rc.q_1_frame, cpi->rc.q_2_frame)); in adjust_q_cbr()
679 return VPXMAX(VPXMIN(q, cpi->rc.worst_quality), cpi->rc.best_quality); in adjust_q_cbr()
1017 active_best_quality = VPXMAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_cbr()
1120 active_cq_level = VPXMAX(active_cq_level, 0); in get_active_cq_level_two_pass()
1150 active_best_quality = VPXMAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_vbr()
[all …]
Dvp9_firstpass.c581 max_diff = VPXMAX(max_diff, diff); in fp_estimate_point_noise()
624 max_diff = VPXMAX(max_diff, diff); in fp_highbd_estimate_point_noise()
720 VPXMAX(0, fp_acc_data->intra_skip_count - in first_pass_stat_calc()
807 ? VPXMAX(this_tile->fp_data.image_data_start_row, in accumulate_fp_mb_row_stat()
1422 fps.duration = VPXMAX(1.0, (double)(source->ts_end - source->ts_start)); in vp9_first_pass()
1552 last_group_rate_err = VPXMAX(0.25, VPXMIN(4.0, last_group_rate_err)); in get_twopass_worst_quality()
1554 twopass->bpm_factor = VPXMAX(0.25, VPXMIN(4.0, twopass->bpm_factor)); in get_twopass_worst_quality()
1563 const double active_pct = VPXMAX(0.01, 1.0 - inactive_zone); in get_twopass_worst_quality()
1564 const int active_mbs = (int)VPXMAX(1, (double)num_mbs * active_pct); in get_twopass_worst_quality()
1578 last_group_rate_err = VPXMAX(0.25, VPXMIN(4.0, last_group_rate_err)); in get_twopass_worst_quality()
[all …]
Dvp9_mcomp.c38 col_min = VPXMAX(col_min, (MV_LOW >> 3) + 1); in vp9_set_mv_search_range()
39 row_min = VPXMAX(row_min, (MV_LOW >> 3) + 1); in vp9_set_mv_search_range()
54 subpel_mv_limits->col_min = VPXMAX(umv_window_limits->col_min * 8, in vp9_set_subpel_mv_search_range()
58 subpel_mv_limits->row_min = VPXMAX(umv_window_limits->row_min * 8, in vp9_set_subpel_mv_search_range()
63 subpel_mv_limits->col_min = VPXMAX(MV_LOW + 1, subpel_mv_limits->col_min); in vp9_set_subpel_mv_search_range()
65 subpel_mv_limits->row_min = VPXMAX(MV_LOW + 1, subpel_mv_limits->row_min); in vp9_set_subpel_mv_search_range()
72 size = VPXMAX(16, size); in vp9_init_search_range()
1626 return hex_search(x, ref_mv, VPXMAX(MAX_MVSEARCH_STEPS - 2, search_param), in fast_hex_search()
1635 return bigdia_search(x, ref_mv, VPXMAX(MAX_MVSEARCH_STEPS - 2, search_param), in fast_dia_search()
1666 start_row = VPXMAX(-range, x->mv_limits.row_min - fcenter_mv.row); in exhaustive_mesh_search()
[all …]
Dvp9_extend.c114 VPXMAX(src->y_width + 16, ALIGN_POWER_OF_TWO(src->y_width, 6)) - in vp9_copy_and_extend_frame()
117 VPXMAX(src->y_height + 16, ALIGN_POWER_OF_TWO(src->y_height, 6)) - in vp9_copy_and_extend_frame()
Dvp9_ethread.c72 log2_tile_cols = VPXMAX(level_tile_cols, min_log2_tile_cols); in get_max_tile_cols()
258 ? VPXMAX(tile_data->fp_data.image_data_start_row, in accumulate_fp_tile_stat()
443 int num_workers = VPXMAX(cpi->oxcf.max_threads, 1); in vp9_encode_fp_row_mt()
602 int num_workers = VPXMAX(cpi->oxcf.max_threads, 1); in vp9_encode_tiles_row_mt()
Dvp9_encodemv.c227 const unsigned int maxv = VPXMAX(abs(mv->row), abs(mv->col)) >> 3; in vp9_encode_mv()
228 *max_mv_magnitude = VPXMAX(maxv, *max_mv_magnitude); in vp9_encode_mv()
Dvp9_rd.c277 return VPXMAX((int)(pow(q, RD_THRESH_POW) * 5.12), 8); in compute_rd_thresh_factor()
599 max_mv = VPXMAX(max_mv, VPXMAX(abs(this_mv->row), abs(this_mv->col)) >> 3); in vp9_mv_pred()
743 const BLOCK_SIZE min_size = VPXMAX(bsize - 1, BLOCK_4X4); in vp9_update_rd_thresh_fact()
Dvp9_aq_complexity.c135 low_var_thresh = (cpi->oxcf.pass == 2) ? VPXMAX(cpi->twopass.mb_av_energy, in vp9_caq_select_segment()
Dvp9_denoiser.c122 avg[c] = VPXMAX(0, sig[c] - adj); in vp9_denoiser_filter_c()
160 avg[c] = VPXMAX(0, avg[c] - adj); in vp9_denoiser_filter_c()
627 svc->first_layer_denoise = VPXMAX(svc->number_spatial_layers - 2, 0); in vp9_denoiser_alloc()
630 svc->first_layer_denoise = VPXMAX(svc->number_spatial_layers - 1, 0); in vp9_denoiser_alloc()
Dvp9_picklpf.c108 const int filt_low = VPXMAX(filt_mid - filter_step, min_filter_level); in search_filter_level()
Dvp9_rdopt.c827 dist = VPXMAX(0, sse - dc_correct); in block_rd_txfm()
972 end_tx = VPXMAX(start_tx - cpi->sf.tx_size_search_depth, 0); in choose_tx_size_from_rd()
2115 VPXMAX(abs(bsi->mvp.as_mv.row), abs(bsi->mvp.as_mv.col)) >> 3; in rd_pick_best_sub8x8_mode()
2136 step_param = VPXMAX(step_param, 8); in rd_pick_best_sub8x8_mode()
2544 step_param = VPXMAX(step_param, boffset); in single_motion_search()
2622 VPXMAX(step_param, MAX_MVSEARCH_STEPS - step), lambda, 1, nb_full_mvs, in single_motion_search()
2627 VPXMAX(step_param, MAX_MVSEARCH_STEPS - step), in single_motion_search()
2701 if (VPXMAX(row_diff, col_diff) <= 8) { in discount_newmv_test()
2837 *rate2 += VPXMAX((rate_mv / NEW_MV_DISCOUNT_FACTOR), 1); in handle_inter_mode()
2915 *mask_filter = VPXMAX(*mask_filter, rd); in handle_inter_mode()
[all …]
Dvp9_aq_variance.c214 *max_e = VPXMAX(*max_e, energy); in vp9_get_sub_block_energy()
Dvp9_encoder.c1426 cm->log2_tile_cols = VPXMAX(level_tile_cols, min_log2_tile_cols); in set_tile_limits()
3094 VPXMAX(rc->this_frame_target, rc->avg_frame_bandwidth));
4227 qrange_adj = VPXMAX(1, (top_index - bottom_index) / 2);
4230 VPXMAX(bottom_index - qrange_adj / 2, oxcf->best_allowed_q);
4398 VPXMAX(q_high, top_index), bottom_index)) {
4430 int max_rate = VPXMAX(1, VPXMIN(rc->max_frame_bandwidth,
4455 VPXMAX(q_high, top_index));
4460 VPXMAX(q_high, top_index));
4470 q_high = VPXMAX(q - qstep, q_low);
4539 VPXMAX(q, cpi->twopass.active_worst_quality - 1);
[all …]
Dvp9_multi_thread.c79 jobs_per_tile_col = VPXMAX(cm->mb_rows, sb_rows); in vp9_row_mt_mem_alloc()
Dvp9_aq_cyclicrefresh.c394 VPXMAX(vp9_get_qindex(&cm->seg, CR_SEGMENT_ID_BOOST1, cm->base_qindex), in cyclic_refresh_update_map()
543 cr->rate_ratio_qdelta = VPXMAX(cr->rate_ratio_qdelta, 2.5); in vp9_cyclic_refresh_update_parameters()
Dvp9_encodeframe.c302 *rdmult = VPXMAX(*rdmult, 0); in set_ssim_rdmult()
1687 max_var_32x32 = VPXMAX(var_32x32, max_var_32x32); in choose_partitioning()
2959 *max_block_size = VPXMAX(*max_block_size, sb_type); in get_sb_partition_size_range()
3070 max_size = VPXMAX(max_size, bs); in set_partition_range()
3080 max_size = VPXMAX(max_size, bs); in set_partition_range()
3089 max_size = VPXMAX(max_size, bs); in set_partition_range()
3184 val = VPXMAX(val, 0.0f); in nn_predict()
3464 max_score = VPXMAX(int_score[i], max_score); in ml_prune_rect_partition()
3798 dr = VPXMAX(dr, orig_rdmult * 1 / 2); in get_rdmult_delta()
3800 dr = VPXMAX(1, dr); in get_rdmult_delta()
[all …]
Dvp9_temporal_filter.c732 strength = VPXMAX(0, arnr_filter_data->strength - 2); in vp9_temporal_filter_iterate_row_c()
1045 base_strength = VPXMIN(6, VPXMAX(0, base_strength)); in adjust_arnr_filter()
Dvp9_encoder.h1084 const uint32_t pic_breadth = VPXMAX(width, height); in log_tile_cols_from_picsize_level()
/external/libvpx/libvpx/vp8/encoder/
Dmr_dissim.c175 mmvx = VPXMAX(abs(min_mvx - here->mbmi.mv.as_mv.row), in vp8_cal_dissimilarity()
177 mmvy = VPXMAX(abs(min_mvy - here->mbmi.mv.as_mv.col), in vp8_cal_dissimilarity()
179 dissim = VPXMAX(mmvx, mmvy); in vp8_cal_dissimilarity()
Dpickinter.c50 return VPXMAX(VPXMAX(abs(y1 - y2), abs(y1 - y3)), abs(y1 - y4)); in macroblock_corner_grad()
981 VPXMAX(abs(best_ref_mv.as_mv.row - parent_ref_mv.as_mv.row), in vp8_pick_inter_mode()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c84 const int int_top = VPXMAX(b1_row, b2_row); // top in block_overlap()
85 const int int_left = VPXMAX(b1_col, b2_col); // left in block_overlap()
115 const int blk_idx = VPXMAX(rel_ol_blk_row, 0) * 4 + VPXMAX(rel_ol_blk_col, 0); in calculate_overlaps_mb()
/external/libvpx/libvpx/vpx_dsp/
Dvpx_dsp_common.h23 #define VPXMAX(x, y) (((x) > (y)) ? (x) : (y)) macro
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c460 VPXMAX(oxcf->max_gf_interval, oxcf->min_gf_interval); in config_target_level()
718 extra_cfg.cpu_used = VPXMAX(-9, extra_cfg.cpu_used); in ctrl_set_cpuused()
1641 cpi->svc.max_consec_drop = VPXMAX(1, data->max_consec_drop); in ctrl_set_svc_frame_drop_layer()
/external/libvpx/libvpx/vp9/common/
Dvp9_thread_common.c233 mi_rows_to_filter = VPXMAX(cm->mi_rows / 8, 8); in vp9_loop_filter_frame_mt()
Dvp9_loopfilter.c1481 mi_rows_to_filter = VPXMAX(cm->mi_rows / 8, 8); in vp9_loop_filter_frame()
1500 mi_rows_to_filter = VPXMAX(cm->mi_rows / 8, 8); in vp9_build_mask_frame()

12