/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/vp9/encoder/ |
vp9_skin_detection.c | 56 const int mi_row_limit = VPXMIN(mi_row + 8, cm->mi_rows - 2); 57 const int mi_col_limit = VPXMIN(mi_col + 8, cm->mi_cols - 2); 75 consec_zeromv = VPXMIN(cpi->consec_zero_mv[bl_index], 76 VPXMIN(cpi->consec_zero_mv[bl_index1], 77 VPXMIN(cpi->consec_zero_mv[bl_index2],
|
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]); 565 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 | 111 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)); 509 0.25 + 0.5 * VPXMIN(1, fabs(log10(0.01 * correction_factor))); 595 q = clamp(q, VPXMIN(cpi->rc.q_1_frame, cpi->rc.q_2_frame), 658 return VPXMIN(active_worst_quality, rc->worst_quality); 685 ? VPXMIN(rc->avg_frame_qindex[INTER_FRAME] [all...] |
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) { 326 if (VPXMIN(cm->width, cm->height) >= 720) { 335 if (VPXMIN(cm->width, cm->height) >= 720) { 345 if (VPXMIN(cm->width, cm->height) >= 720) [all...] |
vp9_noise_estimate.c | 203 VPXMIN(cpi->consec_zero_mv[bl_index], 204 VPXMIN(cpi->consec_zero_mv[bl_index1], 205 VPXMIN(cpi->consec_zero_mv[bl_index2],
|
vp9_firstpass.c | 397 const int dim = VPXMIN(cpi->initial_width, cpi->initial_height); 820 VPXMIN(this_tile->fp_data.image_data_start_row, 824 : VPXMIN(this_tile->fp_data.image_data_start_row, [all...] |
vp9_denoiser.c | 119 avg[c] = VPXMIN(UINT8_MAX, sig[c] + adj); 166 avg[c] = VPXMIN(UINT8_MAX, avg[c] + adj); 369 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 370 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); 376 consec_zeromv = VPXMIN(cpi->consec_zero_mv[bl_index], consec_zeromv);
|
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); 761 rd = VPXMIN(rd1, rd2); 825 mi->tx_size = VPXMIN(max_tx_size, largest_tx_size); 862 VPXMIN(max_tx_size, tx_mode_to_biggest_tx_size[cm->tx_mode]); 897 rd[n][0] = VPXMIN(rd[n][0], RDCOST(x->rdmult, x->rddiv, s1, sse[n])) [all...] |
vp9_ethread.c | 92 allocated_workers = VPXMIN(cpi->oxcf.max_threads, max_tile_cols); 175 const int num_workers = VPXMIN(cpi->oxcf.max_threads, tile_cols); 256 VPXMIN(tile_data->fp_data.image_data_start_row, 260 : VPXMIN(tile_data->fp_data.image_data_start_row,
|
vp9_picklpf.c | 96 const int filt_high = VPXMIN(filt_mid + filter_step, max_filter_level);
|
vp9_pickmode.c | 178 x->mv_limits.col_max = VPXMIN(x->mv_limits.col_max, 10); 179 x->mv_limits.row_max = VPXMIN(x->mv_limits.row_max, 10); 391 tx_size = VPXMIN(max_txsize_lookup[bsize], 402 tx_size = VPXMIN(max_txsize_lookup[bsize], 569 VPXMIN(max_txsize_lookup[bsize], 581 VPXMIN(max_txsize_lookup[bsize], 890 VPXMIN(((unsigned int)x->encode_breakout << 4), max_thresh); [all...] |
vp9_encodeframe.c | 283 VPXMIN(num_8x8_blocks_wide_lookup[bsize], cm->mi_cols - mi_col); 285 VPXMIN(num_8x8_blocks_high_lookup[bsize], cm->mi_rows - mi_row); 759 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 760 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); [all...] |
vp9_encoder.c | [all...] |
vp9_svc_layercontext.c | 186 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); 187 lrc->buffer_level = VPXMIN(lrc->buffer_level, lrc->maximum_buffer_size); 219 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); 220 lrc->buffer_level = VPXMIN(lrc->buffer_level, lrc->maximum_buffer_size); [all...] |
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_mbgraph.c | 39 step_param = VPXMIN(step_param, MAX_MVSEARCH_STEPS - 2);
|
/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]);
|