Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c206 return VPXMAX(FRAME_OVERHEAD_BITS, in vp9_estimate_bits_at_q()
216 VPXMAX(rc->min_frame_bandwidth, rc->avg_frame_bandwidth >> 5); in vp9_rc_clamp_pframe_target_size()
327 rc->bits_off_target = VPXMAX(rc->bits_off_target, -rc->maximum_buffer_size); in update_buffer_level_postencode()
347 return VPXMAX(default_interval, in vp9_rc_get_default_min_gf_interval()
358 return VPXMAX(interval, min_gf_interval); in vp9_rc_get_default_max_gf_interval()
657 VPXMAX(cpi->rc.q_1_frame, cpi->rc.q_2_frame)); in adjust_q_cbr()
1006 active_best_quality = VPXMAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_cbr()
1107 active_cq_level = VPXMAX(active_cq_level, 0); in get_active_cq_level_two_pass()
1137 active_best_quality = VPXMAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_vbr()
1146 active_best_quality = VPXMAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_vbr()
[all …]
Dvp9_firstpass.c580 max_diff = VPXMAX(max_diff, diff); in fp_estimate_point_noise()
623 max_diff = VPXMAX(max_diff, diff); in fp_highbd_estimate_point_noise()
719 VPXMAX(0, fp_acc_data->intra_skip_count - in first_pass_stat_calc()
806 ? 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_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_rd.c253 return VPXMAX((int)(pow(q, RD_THRESH_POW) * 5.12), 8); in compute_rd_thresh_factor()
569 max_mv = VPXMAX(max_mv, VPXMAX(abs(this_mv->row), abs(this_mv->col)) >> 3); in vp9_mv_pred()
713 const BLOCK_SIZE min_size = VPXMAX(bsize - 1, BLOCK_4X4); in vp9_update_rd_thresh_fact()
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_mcomp.c43 col_min = VPXMAX(col_min, (MV_LOW >> 3) + 1); in vp9_set_mv_search_range()
44 row_min = VPXMAX(row_min, (MV_LOW >> 3) + 1); in vp9_set_mv_search_range()
59 subpel_mv_limits->col_min = VPXMAX(umv_window_limits->col_min * 8, in vp9_set_subpel_mv_search_range()
63 subpel_mv_limits->row_min = VPXMAX(umv_window_limits->row_min * 8, in vp9_set_subpel_mv_search_range()
68 subpel_mv_limits->col_min = VPXMAX(MV_LOW + 1, subpel_mv_limits->col_min); in vp9_set_subpel_mv_search_range()
70 subpel_mv_limits->row_min = VPXMAX(MV_LOW + 1, subpel_mv_limits->row_min); in vp9_set_subpel_mv_search_range()
77 size = VPXMAX(16, size); in vp9_init_search_range()
1631 return hex_search(x, ref_mv, VPXMAX(MAX_MVSEARCH_STEPS - 2, search_param), in fast_hex_search()
1640 return bigdia_search(x, ref_mv, VPXMAX(MAX_MVSEARCH_STEPS - 2, search_param), in fast_dia_search()
1671 start_row = VPXMAX(-range, x->mv_limits.row_min - fcenter_mv.row); in exhuastive_mesh_search()
[all …]
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_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()
628 svc->first_layer_denoise = VPXMAX(svc->number_spatial_layers - 2, 0); in vp9_denoiser_alloc()
631 svc->first_layer_denoise = VPXMAX(svc->number_spatial_layers - 1, 0); in vp9_denoiser_alloc()
Dvp9_aq_complexity.c135 low_var_thresh = (cpi->oxcf.pass == 2) ? VPXMAX(cpi->twopass.mb_av_energy, in vp9_caq_select_segment()
Dvp9_picklpf.c97 const int filt_low = VPXMAX(filt_mid - filter_step, min_filter_level); in search_filter_level()
Dvp9_rdopt.c732 dist = VPXMAX(0, sse - dc_correct); in block_rd_txfm()
855 end_tx = VPXMAX(start_tx - cpi->sf.tx_size_search_depth, 0); in choose_tx_size_from_rd()
1972 VPXMAX(abs(bsi->mvp.as_mv.row), abs(bsi->mvp.as_mv.col)) >> 3; in rd_pick_best_sub8x8_mode()
1993 step_param = VPXMAX(step_param, 8); in rd_pick_best_sub8x8_mode()
2438 step_param = VPXMAX(step_param, boffset); in single_motion_search()
2519 cpi, x, &mvp_full, VPXMAX(step_param, MAX_MVSEARCH_STEPS - step), in single_motion_search()
2525 VPXMAX(step_param, MAX_MVSEARCH_STEPS - step), in single_motion_search()
2698 *rate2 += VPXMAX((rate_mv / NEW_MV_DISCOUNT_FACTOR), 1); in handle_inter_mode()
2776 *mask_filter = VPXMAX(*mask_filter, rd); in handle_inter_mode()
2807 *mask_filter = VPXMAX(*mask_filter, rd); in handle_inter_mode()
[all …]
Dvp9_encoder.c1379 cm->log2_tile_cols = VPXMAX(level_tile_cols, min_log2_tile_cols); in set_tile_limits()
2899 VPXMAX(rc->this_frame_target, rc->avg_frame_bandwidth));
4034 qrange_adj = VPXMAX(1, (top_index - bottom_index) / 2);
4037 VPXMAX(bottom_index - qrange_adj / 2, oxcf->best_allowed_q);
4187 VPXMAX(q_high, top_index), bottom_index)) {
4219 int max_rate = VPXMAX(1, VPXMIN(rc->max_frame_bandwidth,
4244 VPXMAX(q_high, top_index));
4249 VPXMAX(q_high, top_index));
4259 q_high = VPXMAX(q - qstep, q_low);
4328 VPXMAX(q, cpi->twopass.active_worst_quality - 1);
[all …]
Dvp9_aq_variance.c221 *max_e = VPXMAX(*max_e, energy); in vp9_get_sub_block_energy()
Dvp9_aq_cyclicrefresh.c393 VPXMAX(vp9_get_qindex(&cm->seg, CR_SEGMENT_ID_BOOST1, cm->base_qindex), in cyclic_refresh_update_map()
538 cr->rate_ratio_qdelta = VPXMAX(cr->rate_ratio_qdelta, 2.5); in vp9_cyclic_refresh_update_parameters()
Dvp9_multi_thread.c79 jobs_per_tile_col = VPXMAX(cm->mb_rows, sb_rows); in vp9_row_mt_mem_alloc()
Dvp9_encodeframe.c1619 max_var_32x32 = VPXMAX(var_32x32, max_var_32x32); in choose_partitioning()
2873 *max_block_size = VPXMAX(*max_block_size, sb_type); in get_sb_partition_size_range()
2984 max_size = VPXMAX(max_size, bs); in set_partition_range()
2994 max_size = VPXMAX(max_size, bs); in set_partition_range()
3003 max_size = VPXMAX(max_size, bs); in set_partition_range()
3097 val = VPXMAX(val, 0.0f); in nn_predict()
3427 max_score = VPXMAX(int_score[i], max_score); in ml_prune_rect_partition()
3632 dr = VPXMAX(dr, orig_rdmult * 1 / 2); in get_rdmult_delta()
3634 dr = VPXMAX(1, dr); in get_rdmult_delta()
4421 BLOCK_SIZE bs = VPXMAX(bsize, BLOCK_8X8); // processing unit block size in nonrd_pick_sb_modes()
[all …]
Dvp9_temporal_filter.c674 if (src_variance <= 2) strength = VPXMAX(0, (int)strength - 2); in vp9_temporal_filter_iterate_row_c()
987 base_strength = VPXMIN(6, VPXMAX(0, base_strength)); in adjust_arnr_filter()
Dvp9_encoder.h1073 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()
978 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/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()
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c439 VPXMAX(oxcf->max_gf_interval, oxcf->min_gf_interval); in config_target_level()
1565 cpi->svc.max_consec_drop = VPXMAX(1, data->max_consec_drop); in ctrl_set_svc_frame_drop_layer()

12