Home
last modified time | relevance | path

Searched refs:SWITCHABLE_FILTERS (Results 1 – 25 of 27) sorted by relevance

12

/external/libaom/libaom/av1/common/
Dfilter.h35 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] = {
Dpred_common.c27 : 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()
Dentropymode.h142 [CDF_SIZE(SWITCHABLE_FILTERS)];
Dentropy.c158 RESET_CDF_COUNTER(fc->switchable_interp_cdf, SWITCHABLE_FILTERS); in av1_reset_cdf_symbol_counters()
Dentropymode.c427 SWITCHABLE_FILTERS)] = {
/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.h75 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()
Dvp9_entropymode.h50 [SWITCHABLE_FILTERS - 1];
70 [SWITCHABLE_FILTERS];
90 vp9_switchable_interp_tree[TREE_SIZE(SWITCHABLE_FILTERS)];
Dvp9_filter.h26 #define SWITCHABLE_FILTERS 3 /* Number of switchable filters */ macro
31 #define SWITCHABLE_FILTER_CONTEXTS (SWITCHABLE_FILTERS + 1)
Dvp9_entropymode.c316 [SWITCHABLE_FILTERS - 1] = {
337 const vpx_tree_index vp9_switchable_interp_tree[TREE_SIZE(SWITCHABLE_FILTERS)] =
Dvp9_thread_common.c528 for (j = 0; j < SWITCHABLE_FILTERS; j++) in vp9_accumulate_frame_counts()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c2760 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 …]
Dvp9_bitstream.c42 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()
Dvp9_encoder.h769 int switchable_interp_costs[SWITCHABLE_FILTER_CONTEXTS][SWITCHABLE_FILTERS];
Dvp9_pickmode.c1136 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()
Dvp9_encoder.c218 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/
Dblock.h370 int switchable_interp_costs[SWITCHABLE_FILTER_CONTEXTS][SWITCHABLE_FILTERS];
Dencoder.h489 [SWITCHABLE_FILTERS];
Drdopt.c160 #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 …]
Dencoder.c4119 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()
Dencodeframe.c293 SWITCHABLE_FILTERS); in update_filter_type_count()
4617 SWITCHABLE_FILTERS); in avg_cdf_symbols()
/external/libaom/libaom/tools/
Daom_entropy_optimizer.c370 cts_each_dim[1] = SWITCHABLE_FILTERS; in main()
/external/libaom/libaom/test/
Dconvolve_test.cc497 const int kNumFilterBanks = SWITCHABLE_FILTERS;
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c383 mi->interp_filter = SWITCHABLE_FILTERS; in read_intra_block_mode_info()
Dvp9_decodeframe.c88 for (i = 0; i < SWITCHABLE_FILTERS - 1; ++i) in read_switchable_interp_probs()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c1029 r, ec_ctx->switchable_interp_cdf[ctx], SWITCHABLE_FILTERS, ACCT_STR); in read_mb_interp_filter()

12