/external/libvpx/libvpx/vpx_dsp/ |
prob.h | 73 const unsigned int count = VPXMIN(ct[0] + ct[1], count_sat); 90 const unsigned int count = VPXMIN(den, MODE_MV_COUNT_SAT);
|
vpx_dsp_common.h | 22 #define VPXMIN(x, y) (((x) < (y)) ? (x) : (y))
|
bitreader.c | 49 size_t n = VPXMIN(sizeof(r->clear_buffer), bytes_left);
|
/external/libvpx/libvpx/vp8/decoder/ |
dboolhuff.c | 46 size_t n = VPXMIN(sizeof(decrypted), bytes_left);
|
error_concealment.c | 89 const int int_right = VPXMIN(b1_col + (4 << 3), b2_col + (4 << 3)); // right 91 VPXMIN(b1_row + (4 << 3), b2_row + (4 << 3)); // bottom 123 int end_row = VPXMIN(4 + mb_row * 4 - first_blk_row, 2); 124 int end_col = VPXMIN(4 + mb_col * 4 - first_blk_col, 2); 186 end_row = VPXMIN(mb_rows - overlap_mb_row, 2); 187 end_col = VPXMIN(mb_cols - overlap_mb_col, 2);
|
/external/libvpx/libvpx/vp9/common/ |
vp9_tile_common.c | 21 return VPXMIN(offset, mis);
|
vp9_pred_common.h | 28 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 29 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); 35 VPXMIN(segment_id, segment_ids[mi_offset + y * cm->mi_cols + x]);
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_aq_cyclicrefresh.c | 156 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 157 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); 219 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 220 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); 236 cr->last_coded_q_map[map_offset] = VPXMIN( 313 rc->baseline_gf_interval = VPXMIN(4 * (100 / cr->percent_refresh), 40); 376 VPXMIN(cm->mi_cols - mi_col, num_8x8_blocks_wide_lookup[BLOCK_64X64]); 378 VPXMIN(cm->mi_rows - mi_row, num_8x8_blocks_high_lookup[BLOCK_64X64]); 564 VPXMIN(CR_MAX_RATE_TARGET_RATIO,
|
vp9_aq_complexity.c | 117 const int xmis = VPXMIN(cm->mi_cols - mi_col, num_8x8_blocks_wide_lookup[bs]); 118 const int ymis = VPXMIN(cm->mi_rows - mi_row, num_8x8_blocks_high_lookup[bs]);
|
vp9_ratectrl.c | 116 const double minqtarget = VPXMIN(((x3 * maxq + x2) * maxq + x1) * maxq, maxq); 233 target = VPXMIN(target, max_rate); 244 target = VPXMIN(target, max_rate); 266 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); 284 rc->bits_off_target = VPXMIN(rc->bits_off_target, rc->maximum_buffer_size); 319 int interval = VPXMIN(MAX_GF_INTERVAL, (int)(framerate * 0.75)); 507 0.25 + 0.5 * VPXMIN(1, fabs(log10(0.01 * correction_factor))); 593 q = clamp(q, VPXMIN(cpi->rc.q_1_frame, cpi->rc.q_2_frame), 600 q = VPXMIN(q, (q + cpi->rc.last_boosted_qindex) >> 1); 663 return VPXMIN(active_worst_quality, rc->worst_quality) [all...] |
vp9_skin_detection.c | 174 VPXMIN(cpi->consec_zero_mv[bl_index], 175 VPXMIN(cpi->consec_zero_mv[bl_index1], 176 VPXMIN(cpi->consec_zero_mv[bl_index2],
|
vp9_speed_features.c | 70 // is only used while VPXMIN(cm->width, cm->height) >= 480 and speed = 0. 71 if (VPXMIN(cm->width, cm->height) >= 480) { 78 if (VPXMIN(cm->width, cm->height) >= 720) { 89 if (VPXMIN(cm->width, cm->height) >= 720) { 103 if (VPXMIN(cm->width, cm->height) >= 2160) { 115 if (VPXMIN(cm->width, cm->height) >= 720) { 140 if (VPXMIN(cm->width, cm->height) >= 720) { 321 if (VPXMIN(cm->width, cm->height) >= 720) { 330 if (VPXMIN(cm->width, cm->height) >= 720) { 340 if (VPXMIN(cm->width, cm->height) >= 720) [all...] |
vp9_noise_estimate.c | 198 VPXMIN(cpi->consec_zero_mv[bl_index], 199 VPXMIN(cpi->consec_zero_mv[bl_index1], 200 VPXMIN(cpi->consec_zero_mv[bl_index2],
|
vp9_denoiser.c | 121 avg[c] = VPXMIN(UINT8_MAX, sig[c] + adj); 168 avg[c] = VPXMIN(UINT8_MAX, avg[c] + adj); 343 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 344 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); 350 consec_zeromv = VPXMIN(cpi->consec_zero_mv[bl_index], consec_zeromv);
|
vp9_firstpass.c | 389 const int dim = VPXMIN(cpi->initial_width, cpi->initial_height); 811 VPXMIN(this_tile->fp_data.image_data_start_row, 815 : VPXMIN(this_tile->fp_data.image_data_start_row, [all...] |
vp9_rd.c | 173 const int boost_index = VPXMIN(15, (cpi->rc.gfu_boost / 100)); 415 const int xsq_q10 = (int)VPXMIN(xsq_q10_64, MAX_XSQ_Q10); 434 xsq_q10[i] = (int)VPXMIN(xsq_q10_64, MAX_XSQ_Q10); 659 const BLOCK_SIZE max_size = VPXMIN(bsize + 2, BLOCK_64X64); 666 *fact = VPXMIN(*fact + RD_THRESH_INC, rd_thresh * RD_THRESH_MAX_FACT);
|
vp9_rdopt.c | 194 const int64_t low_dc_thr = VPXMIN(50, dc_thr >> 2); 195 const int64_t low_ac_thr = VPXMIN(80, ac_thr >> 2); 484 int max_r = VPXMIN(b4x4s_to_bottom_edge, tx_4x4_h); 485 int max_c = VPXMIN(b4x4s_to_right_edge, tx_4x4_w); 522 int max_r = VPXMIN(b4x4s_to_bottom_edge, tx_4x4_h); 523 int max_c = VPXMIN(b4x4s_to_right_edge, tx_4x4_w); 760 rd = VPXMIN(rd1, rd2); 824 mi->tx_size = VPXMIN(max_tx_size, largest_tx_size); 861 VPXMIN(max_tx_size, tx_mode_to_biggest_tx_size[cm->tx_mode]); 896 rd[n][0] = VPXMIN(rd[n][0], RDCOST(x->rdmult, x->rddiv, s1, sse[n])) [all...] |
vp9_encodeframe.c | 269 VPXMIN(num_8x8_blocks_wide_lookup[bsize], cm->mi_cols - mi_col); 271 VPXMIN(num_8x8_blocks_high_lookup[bsize], cm->mi_rows - mi_row); 738 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 739 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); 749 VPXMIN(cpi->consec_zero_mv[bl_index], 750 VPXMIN(cpi->consec_zero_mv[bl_index1], 751 VPXMIN(cpi->consec_zero_mv[bl_index2], [all...] |
vp9_ethread.c | 84 allocated_workers = VPXMIN(cpi->oxcf.max_threads, max_tile_cols); 167 const int num_workers = VPXMIN(cpi->oxcf.max_threads, tile_cols); 247 VPXMIN(tile_data->fp_data.image_data_start_row, 251 : VPXMIN(tile_data->fp_data.image_data_start_row,
|
vp9_mcomp.c | 45 col_max = VPXMIN(col_max, (MV_UPP >> 3) - 1); 46 row_max = VPXMIN(row_max, (MV_UPP >> 3) - 1); 61 subpel_mv_limits->col_max = VPXMIN(umv_window_limits->col_max * 8, 65 subpel_mv_limits->row_max = VPXMIN(umv_window_limits->row_max * 8, 69 subpel_mv_limits->col_max = VPXMIN(MV_UPP - 1, subpel_mv_limits->col_max); 71 subpel_mv_limits->row_max = VPXMIN(MV_UPP - 1, subpel_mv_limits->row_max); 81 sr = VPXMIN(sr, MAX_MVSEARCH_STEPS - 2); [all...] |
vp9_picklpf.c | 96 const int filt_high = VPXMIN(filt_mid + filter_step, max_filter_level);
|
vp9_pickmode.c | 177 x->mv_limits.col_max = VPXMIN(x->mv_limits.col_max, 10); 178 x->mv_limits.row_max = VPXMIN(x->mv_limits.row_max, 10); 378 tx_size = VPXMIN(max_txsize_lookup[bsize], 389 tx_size = VPXMIN(max_txsize_lookup[bsize], 555 VPXMIN(max_txsize_lookup[bsize], 567 VPXMIN(max_txsize_lookup[bsize], 875 VPXMIN(((unsigned int)x->encode_breakout << 4), max_thresh); [all...] |
vp9_svc_layercontext.c | 184 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); 185 lrc->buffer_level = VPXMIN(lrc->buffer_level, lrc->maximum_buffer_size); 217 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); 218 lrc->buffer_level = VPXMIN(lrc->buffer_level, lrc->maximum_buffer_size); [all...] |
vp9_encoder.c | [all...] |
vp9_mbgraph.c | 39 step_param = VPXMIN(step_param, MAX_MVSEARCH_STEPS - 2);
|