/external/libaom/libaom/av1/common/ |
D | filter.h | 35 SWITCHABLE_FILTERS = BILINEAR, enumerator 36 SWITCHABLE = SWITCHABLE_FILTERS + 1, /* the last switchable one */ 37 EXTRA_FILTERS = INTERP_FILTERS_ALL - SWITCHABLE_FILTERS, 75 #define SWITCHABLE_FILTER_CONTEXTS ((SWITCHABLE_FILTERS + 1) * 4) 76 #define INTER_FILTER_COMP_OFFSET (SWITCHABLE_FILTERS + 1) 77 #define INTER_FILTER_DIR_OFFSET ((SWITCHABLE_FILTERS + 1) * 2) 135 av1_interp_filter_params_list[SWITCHABLE_FILTERS + 1] = { 181 static const InterpFilterParams av1_interp_4tap[SWITCHABLE_FILTERS + 1] = {
|
D | pred_common.c | 27 : SWITCHABLE_FILTERS); in get_ref_filter_type() 41 int left_type = SWITCHABLE_FILTERS; in av1_get_pred_context_switchable_interp() 42 int above_type = SWITCHABLE_FILTERS; in av1_get_pred_context_switchable_interp() 53 } else if (left_type == SWITCHABLE_FILTERS) { in av1_get_pred_context_switchable_interp() 54 assert(above_type != SWITCHABLE_FILTERS); in av1_get_pred_context_switchable_interp() 56 } else if (above_type == SWITCHABLE_FILTERS) { in av1_get_pred_context_switchable_interp() 57 assert(left_type != SWITCHABLE_FILTERS); in av1_get_pred_context_switchable_interp() 60 filter_type_ctx += SWITCHABLE_FILTERS; in av1_get_pred_context_switchable_interp()
|
D | entropymode.h | 142 [CDF_SIZE(SWITCHABLE_FILTERS)];
|
D | entropy.c | 158 RESET_CDF_COUNTER(fc->switchable_interp_cdf, SWITCHABLE_FILTERS); in av1_reset_cdf_symbol_counters()
|
D | entropymode.c | 427 SWITCHABLE_FILTERS)] = {
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_pred_common.h | 75 const int left_type = left_mi ? left_mi->interp_filter : SWITCHABLE_FILTERS; in get_pred_context_switchable_interp() 78 above_mi ? above_mi->interp_filter : SWITCHABLE_FILTERS; in get_pred_context_switchable_interp() 82 else if (left_type == SWITCHABLE_FILTERS) in get_pred_context_switchable_interp() 84 else if (above_type == SWITCHABLE_FILTERS) in get_pred_context_switchable_interp() 87 return SWITCHABLE_FILTERS; in get_pred_context_switchable_interp()
|
D | vp9_entropymode.h | 50 [SWITCHABLE_FILTERS - 1]; 70 [SWITCHABLE_FILTERS]; 90 vp9_switchable_interp_tree[TREE_SIZE(SWITCHABLE_FILTERS)];
|
D | vp9_filter.h | 26 #define SWITCHABLE_FILTERS 3 /* Number of switchable filters */ macro 31 #define SWITCHABLE_FILTER_CONTEXTS (SWITCHABLE_FILTERS + 1)
|
D | vp9_entropymode.c | 316 [SWITCHABLE_FILTERS - 1] = { 337 const vpx_tree_index vp9_switchable_interp_tree[TREE_SIZE(SWITCHABLE_FILTERS)] =
|
D | vp9_thread_common.c | 528 for (j = 0; j < SWITCHABLE_FILTERS; j++) in vp9_accumulate_frame_counts()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 2760 for (i = 0; i < SWITCHABLE_FILTERS; ++i) { in handle_inter_mode() 2773 filter_cache[SWITCHABLE_FILTERS] = in handle_inter_mode() 2774 VPXMIN(filter_cache[SWITCHABLE_FILTERS], rd + rs_rd); in handle_inter_mode() 2804 filter_cache[SWITCHABLE_FILTERS] = in handle_inter_mode() 2805 VPXMIN(filter_cache[SWITCHABLE_FILTERS], rd + rs_rd); in handle_inter_mode() 2962 xd->mi[0]->interp_filter = SWITCHABLE_FILTERS; in vp9_rd_pick_intra_mode_sb() 3628 mi->interp_filter = SWITCHABLE_FILTERS; in vp9_rd_pick_inter_mode_sb() 3697 filter_cache[cm->interp_filter == SWITCHABLE ? SWITCHABLE_FILTERS in vp9_rd_pick_inter_mode_sb() 3804 assert(best_filter_diff[SWITCHABLE_FILTERS] == 0); in vp9_rd_pick_inter_mode_sb() 3883 for (i = 0; i < SWITCHABLE_FILTERS; ++i) { in vp9_rd_pick_inter_mode_sb_seg_skip() [all …]
|
D | vp9_bitstream.c | 42 static const struct vp9_token switchable_interp_encodings[SWITCHABLE_FILTERS] = 123 counts->switchable_interp[j], SWITCHABLE_FILTERS, w); in update_switchable_interp_probs() 861 int count[SWITCHABLE_FILTERS]; in fix_interp_filter() 863 for (i = 0; i < SWITCHABLE_FILTERS; ++i) { in fix_interp_filter() 871 for (i = 0; i < SWITCHABLE_FILTERS; ++i) { in fix_interp_filter()
|
D | vp9_encoder.h | 769 int switchable_interp_costs[SWITCHABLE_FILTER_CONTEXTS][SWITCHABLE_FILTERS];
|
D | vp9_pickmode.c | 1136 mi->interp_filter = SWITCHABLE_FILTERS; in vp9_pick_intra_mode() 1374 mi->interp_filter = SWITCHABLE_FILTERS; in recheck_zeromv_after_denoising() 2518 mi->interp_filter = SWITCHABLE_FILTERS; in vp9_pick_inter_mode()
|
D | vp9_encoder.c | 218 for (j = 0; j < SWITCHABLE_FILTERS - 1; ++j) { in compute_context_model_diff() 224 MAX_PROB - pre_fc->switchable_interp_prob[i][SWITCHABLE_FILTERS - 2]; in compute_context_model_diff() 226 MAX_PROB - cur_fc->switchable_interp_prob[i][SWITCHABLE_FILTERS - 2]; in compute_context_model_diff() 228 diff += (int)counts->switchable_interp[i][SWITCHABLE_FILTERS - 1] * in compute_context_model_diff()
|
/external/libaom/libaom/av1/encoder/ |
D | block.h | 370 int switchable_interp_costs[SWITCHABLE_FILTER_CONTEXTS][SWITCHABLE_FILTERS];
|
D | encoder.h | 489 [SWITCHABLE_FILTERS];
|
D | rdopt.c | 160 #define DUAL_FILTER_SET_SIZE (SWITCHABLE_FILTERS * SWITCHABLE_FILTERS) 8339 filter_idx = af_horiz + (af_vert * SWITCHABLE_FILTERS); in pred_dual_interp_filter_rd() 8348 filter_idx += SWITCHABLE_FILTERS) { in pred_dual_interp_filter_rd() 8358 for (filter_idx = (af_vert * SWITCHABLE_FILTERS); in pred_dual_interp_filter_rd() 8359 filter_idx <= ((af_vert * SWITCHABLE_FILTERS) + 2); filter_idx += 1) { in pred_dual_interp_filter_rd() 8441 for (i = filter_set_size - 1; i > 0; i -= (SWITCHABLE_FILTERS + 1)) { in find_best_non_dual_interp_filter() 8456 for (i = (SWITCHABLE_FILTERS + 1); i < filter_set_size; in find_best_non_dual_interp_filter() 8457 i += (SWITCHABLE_FILTERS + 1)) { in find_best_non_dual_interp_filter() 8475 if (mbmi->interp_filters == filter_sets[(SWITCHABLE_FILTERS + 1)]) in find_best_non_dual_interp_filter() 8816 for (i = (SWITCHABLE_FILTERS - 1); i >= 1; --i) { in interpolation_filter_search() [all …]
|
D | encoder.c | 4119 int count[SWITCHABLE_FILTERS] = { 0 }; in fix_interp_filter() 4121 for (int i = 0; i < SWITCHABLE_FILTERS; ++i) { in fix_interp_filter() 4128 for (int i = 0; i < SWITCHABLE_FILTERS; ++i) { in fix_interp_filter()
|
D | encodeframe.c | 293 SWITCHABLE_FILTERS); in update_filter_type_count() 4617 SWITCHABLE_FILTERS); in avg_cdf_symbols()
|
/external/libaom/libaom/tools/ |
D | aom_entropy_optimizer.c | 370 cts_each_dim[1] = SWITCHABLE_FILTERS; in main()
|
/external/libaom/libaom/test/ |
D | convolve_test.cc | 497 const int kNumFilterBanks = SWITCHABLE_FILTERS;
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 383 mi->interp_filter = SWITCHABLE_FILTERS; in read_intra_block_mode_info()
|
D | vp9_decodeframe.c | 88 for (i = 0; i < SWITCHABLE_FILTERS - 1; ++i) in read_switchable_interp_probs()
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 1029 r, ec_ctx->switchable_interp_cdf[ctx], SWITCHABLE_FILTERS, ACCT_STR); in read_mb_interp_filter()
|