/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_ratectrl.c | 196 return VPXMAX(FRAME_OVERHEAD_BITS, in vp9_estimate_bits_at_q() 203 const int min_frame_target = VPXMAX(rc->min_frame_bandwidth, in vp9_rc_clamp_pframe_target_size() 279 rc->bits_off_target = VPXMAX(rc->bits_off_target, -rc->maximum_buffer_size); in update_buffer_level() 299 return VPXMAX(default_interval, in vp9_rc_get_default_min_gf_interval() 310 return VPXMAX(interval, min_gf_interval); in vp9_rc_get_default_max_gf_interval() 570 VPXMAX(cpi->rc.q_1_frame, cpi->rc.q_2_frame)); in vp9_rc_regulate_q() 711 active_best_quality = VPXMAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_cbr() 844 active_best_quality = VPXMAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_vbr() 1027 active_best_quality = VPXMAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_two_pass() 1127 active_worst_quality = VPXMAX(active_worst_quality + qdelta, in rc_pick_q_and_bounds_two_pass() [all …]
|
D | vp9_firstpass.c | 1028 VPXMAX(0, intra_skip_count - (image_data_start_row * cm->mb_cols * 2)); in vp9_first_pass() 1197 const int active_mbs = VPXMAX(1, num_mbs - (int)(num_mbs * inactive_zone)); in get_twopass_worst_quality() 1230 q = VPXMAX(q, oxcf->cq_level); in get_twopass_worst_quality() 1240 rc->rf_level_maxq[i] = VPXMAX(rc->worst_quality + qdelta, rc->best_quality); in setup_rf_level_maxq() 1376 return VPXMAX(sr_decay, VPXMIN(DEFAULT_DECAY_LIMIT, modified_pct_inter)); in get_sr_decay_rate() 1398 return VPXMAX(zero_motion_factor, in get_prediction_decay_rate() 1495 num_mbs = (int)VPXMAX(1, num_mbs * calculate_active_area(cpi, this_frame)); in calc_frame_boost() 1600 arf_boost = VPXMAX(arf_boost, MIN_ARF_GF_BOOST); in calc_arf_boost() 1671 return VPXMAX((int)(((int64_t)boost * total_group_bits) / allocation_chunks), in calculate_boost_bits() 2045 rc->gfu_boost = VPXMAX((int)boost_score, MIN_ARF_GF_BOOST); in define_gf_group() [all …]
|
D | vp9_mcomp.c | 41 col_min = VPXMAX(col_min, (MV_LOW >> 3) + 1); in vp9_set_mv_search_range() 42 row_min = VPXMAX(row_min, (MV_LOW >> 3) + 1); in vp9_set_mv_search_range() 61 size = VPXMAX(16, size); in vp9_init_search_range() 301 const int minc = VPXMAX(x->mv_col_min * 8, ref_mv->col - MV_MAX); \ 303 const int minr = VPXMAX(x->mv_row_min * 8, ref_mv->row - MV_MAX); \ 672 const int minc = VPXMAX(x->mv_col_min * 8, ref_mv->col - MV_MAX); in vp9_find_best_sub_pixel_tree() 674 const int minr = VPXMAX(x->mv_row_min * 8, ref_mv->row - MV_MAX); in vp9_find_best_sub_pixel_tree() 1504 return hex_search(x, ref_mv, VPXMAX(MAX_MVSEARCH_STEPS - 2, search_param), in fast_hex_search() 1520 x, ref_mv, VPXMAX(MAX_MVSEARCH_STEPS - 2, search_param), sad_per_bit, in fast_dia_search() 1551 start_row = VPXMAX(-range, x->mv_row_min - ref_mv->row); in vp9_full_range_search_c() [all …]
|
D | vp9_rd.c | 208 return VPXMAX((int)(pow(q, RD_THRESH_POW) * 5.12), 8); in compute_rd_thresh_factor() 489 max_mv = VPXMAX(max_mv, VPXMAX(abs(this_mv->row), abs(this_mv->col)) >> 3); in vp9_mv_pred() 633 const BLOCK_SIZE min_size = VPXMAX(bsize - 1, BLOCK_4X4); in vp9_update_rd_thresh_fact()
|
D | vp9_extend.c | 116 VPXMAX(src->y_width + 16, ALIGN_POWER_OF_TWO(src->y_width, 6)) - in vp9_copy_and_extend_frame() 119 VPXMAX(src->y_height + 16, ALIGN_POWER_OF_TWO(src->y_height, 6)) - in vp9_copy_and_extend_frame()
|
D | vp9_encodemv.c | 221 unsigned int maxv = VPXMAX(abs(mv->row), abs(mv->col)) >> 3; in vp9_encode_mv() 222 cpi->max_mv_magnitude = VPXMAX(maxv, cpi->max_mv_magnitude); in vp9_encode_mv()
|
D | vp9_aq_complexity.c | 140 ? VPXMAX(cpi->twopass.mb_av_energy, MIN_DEFAULT_LV_THRESH) in vp9_caq_select_segment()
|
D | vp9_picklpf.c | 98 const int filt_low = VPXMAX(filt_mid - filter_step, min_filter_level); in search_filter_level()
|
D | vp9_rdopt.c | 531 dist = VPXMAX(0, sse - dc_correct); in block_rd_txfm() 1843 VPXMAX(abs(bsi->mvp.as_mv.row), abs(bsi->mvp.as_mv.col)) >> 3; in rd_pick_best_sub8x8_mode() 1861 step_param = VPXMAX(step_param, 8); in rd_pick_best_sub8x8_mode() 2281 step_param = VPXMAX(step_param, boffset); in single_motion_search() 2502 *rate2 += VPXMAX((rate_mv / NEW_MV_DISCOUNT_FACTOR), 1); in handle_inter_mode() 2586 *mask_filter = VPXMAX(*mask_filter, rd); in handle_inter_mode() 2619 *mask_filter = VPXMAX(*mask_filter, rd); in handle_inter_mode() 2795 &dist_uv, &uv_skip, VPXMAX(BLOCK_8X8, bsize), in vp9_rd_pick_intra_mode_sb() 2897 bottom_edge = VPXMAX(top_edge, bottom_edge); in vp9_active_h_edge() 2924 right_edge = VPXMAX(left_edge, right_edge); in vp9_active_v_edge() [all …]
|
D | vp9_denoiser.c | 125 avg[c] = VPXMAX(0, sig[c] - adj); in vp9_denoiser_filter_c() 162 avg[c] = VPXMAX(0, avg[c] - adj); in vp9_denoiser_filter_c()
|
D | vp9_encodeframe.c | 1747 VPXMAX(BLOCK_8X8, bsize), ctx); in encode_b_rt() 2140 *max_block_size = VPXMAX(*max_block_size, sb_type); in get_sb_partition_size_range() 2255 max_size = VPXMAX(max_size, bs); in set_partition_range() 2265 max_size = VPXMAX(max_size, bs); in set_partition_range() 2274 max_size = VPXMAX(max_size, bs); in set_partition_range() 4182 vp9_encode_intra_block_plane(x, VPXMAX(bsize, BLOCK_8X8), plane); in encode_superblock() 4185 vp9_tokenize_sb(cpi, td, t, !output_enabled, VPXMAX(bsize, BLOCK_8X8)); in encode_superblock() 4199 VPXMAX(bsize, BLOCK_8X8)); in encode_superblock() 4202 VPXMAX(bsize, BLOCK_8X8)); in encode_superblock() 4204 vp9_encode_sb(x, VPXMAX(bsize, BLOCK_8X8)); in encode_superblock() [all …]
|
D | vp9_encoder.c | 2638 * VPXMAX(rc->this_frame_target, rc->avg_frame_bandwidth)); 3496 q, VPXMAX(q_high, top_index), bottom_index)) { 3538 bottom_index, VPXMAX(q_high, top_index)); 3543 bottom_index, VPXMAX(q_high, top_index)); 4539 VPXMAX(cpi->worst_blockiness, frame_blockiness);
|
/external/libvpx/libvpx/vp8/encoder/ |
D | mr_dissim.c | 196 mmvx = VPXMAX( in vp8_cal_dissimilarity() 199 mmvy = VPXMAX( in vp8_cal_dissimilarity() 202 dissim = VPXMAX(mmvx, mmvy); in vp8_cal_dissimilarity()
|
D | pickinter.c | 77 return VPXMAX(VPXMAX(abs(y1 - y2), abs(y1 - y3)), abs(y1 - y4)); in macroblock_corner_grad() 1150 VPXMAX(abs(best_ref_mv.as_mv.row - parent_ref_mv.as_mv.row), in vp8_pick_inter_mode()
|
D | ratectrl.c | 384 kf_boost = VPXMAX(initial_boost, in calc_iframe_target_size()
|
D | mcomp.c | 227 int minc = VPXMAX(x->mv_col_min * 4, in vp8_find_best_sub_pixel_step_iteratively() 231 int minr = VPXMAX(x->mv_row_min * 4, in vp8_find_best_sub_pixel_step_iteratively()
|
/external/libvpx/libvpx/vp8/decoder/ |
D | error_concealment.c | 97 const int int_top = VPXMAX(b1_row, b2_row); // top in block_overlap() 98 const int int_left = VPXMAX(b1_col, b2_col); // left in block_overlap() 128 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/ |
D | vpx_dsp_common.h | 24 #define VPXMAX(x, y) (((x) > (y)) ? (x) : (y)) macro
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_thread_common.c | 231 mi_rows_to_filter = VPXMAX(cm->mi_rows / 8, 8); in vp9_loop_filter_frame_mt()
|
D | vp9_loopfilter.c | 1594 mi_rows_to_filter = VPXMAX(cm->mi_rows / 8, 8); in vp9_loop_filter_frame() 1611 mi_rows_to_filter = VPXMAX(cm->mi_rows / 8, 8); in vp9_build_mask_frame()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodeframe.c | 662 VPXMAX(0, (y1 + 7)) << (plane == 0 ? 0 : 1)); in dec_build_inter_predictors() 690 VPXMAX(0, (y1 + 7)) << (plane == 0 ? 0 : 1)); in dec_build_inter_predictors()
|