Home
last modified time | relevance | path

Searched refs:SWITCHABLE (Results 1 – 22 of 22) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_filter.h32 #define SWITCHABLE 4 /* should be the last one */ macro
Dvp9_entropymode.c376 if (cm->interp_filter == SWITCHABLE) { in vp9_adapt_mode_probs()
/external/libaom/libaom/av1/common/
Dfilter.h37 SWITCHABLE = SWITCHABLE_FILTERS + 1, /* the last switchable one */ enumerator
91 return filter == SWITCHABLE ? EIGHTTAP_REGULAR : filter; in av1_unswitchable_filter()
Dav1_common_int.h156 int interp_filter_selected[SWITCHABLE];
/external/libvpx/libvpx/vp9/encoder/
Dvp9_bitstream.h30 int interp_filter_selected[1][SWITCHABLE];
Dvp9_bitstream.c243 int interp_filter_selected[MAX_REF_FRAMES][SWITCHABLE]) { in pack_inter_mode_mvs() argument
304 if (cm->interp_filter == SWITCHABLE) { in pack_inter_mode_mvs()
380 int interp_filter_selected[MAX_REF_FRAMES][SWITCHABLE]) { in write_modes_b() argument
430 int interp_filter_selected[MAX_REF_FRAMES][SWITCHABLE]) { in write_modes_sb() argument
492 int interp_filter_selected[MAX_REF_FRAMES][SWITCHABLE]) { in write_modes() argument
858 vpx_wb_write_bit(wb, filter == SWITCHABLE); in write_interp_filter()
859 if (filter != SWITCHABLE) in write_interp_filter()
864 if (cm->interp_filter == SWITCHABLE) { in fix_interp_filter()
1009 sizeof(data->interp_filter_selected[0][0]) * SWITCHABLE); in encode_tiles_mt()
1043 for (k = 0; k < SWITCHABLE; ++k) { in encode_tiles_mt()
[all …]
Dvp9_rdopt.c2757 INTERP_FILTER best_filter = SWITCHABLE; in handle_inter_mode()
2782 INTERP_FILTER af = SWITCHABLE, lf = SWITCHABLE; in handle_inter_mode()
2894 } else if (best_filter == SWITCHABLE) { in handle_inter_mode()
2914 if (cm->interp_filter == SWITCHABLE) rd += rs_rd; in handle_inter_mode()
2926 if ((cm->interp_filter == SWITCHABLE && (!i || best_needs_copy)) || in handle_inter_mode()
2927 (cm->interp_filter != SWITCHABLE && in handle_inter_mode()
2945 if (cm->interp_filter == SWITCHABLE) rd += rs_rd; in handle_inter_mode()
2965 if (cm->interp_filter == SWITCHABLE && i && !intpel_mv) in handle_inter_mode()
2969 if ((cm->interp_filter == SWITCHABLE && newbest) || in handle_inter_mode()
2970 (cm->interp_filter != SWITCHABLE && in handle_inter_mode()
[all …]
Dvp9_pickmode.c1498 INTERP_FILTER best_filter = SWITCHABLE, filter; in search_filter_ref()
1714 int pred_filter_search = cm->interp_filter == SWITCHABLE; in vp9_pick_inter_mode()
1846 pred_filter_search = cm->interp_filter == SWITCHABLE in vp9_pick_inter_mode()
2300 if ((this_mode == NEWMV || filter_ref == SWITCHABLE) && in vp9_pick_inter_mode()
2312 mi->interp_filter = (filter_ref == SWITCHABLE) ? EIGHTTAP : filter_ref; in vp9_pick_inter_mode()
2358 if (cm->interp_filter == SWITCHABLE) { in vp9_pick_inter_mode()
2363 if (cm->interp_filter == SWITCHABLE) { in vp9_pick_inter_mode()
2788 cm->interp_filter == SWITCHABLE ? EIGHTTAP : cm->interp_filter; in vp9_pick_inter_mode_sub8x8()
Dvp9_encodeframe.c1896 if (cm->interp_filter == SWITCHABLE) { in update_state()
2544 if (cm->interp_filter == SWITCHABLE) { in update_state_rt()
4432 for (i = 0; i < 64; ++i) td->leaf_tree[i].pred_interp_filter = SWITCHABLE; in encode_rd_sb_row()
4435 td->pc_tree[i].vertical[0].pred_interp_filter = SWITCHABLE; in encode_rd_sb_row()
4436 td->pc_tree[i].vertical[1].pred_interp_filter = SWITCHABLE; in encode_rd_sb_row()
4437 td->pc_tree[i].horizontal[0].pred_interp_filter = SWITCHABLE; in encode_rd_sb_row()
4438 td->pc_tree[i].horizontal[1].pred_interp_filter = SWITCHABLE; in encode_rd_sb_row()
6097 threshes[EIGHTTAP_SMOOTH] > threshes[SWITCHABLE - 1]) { in get_interp_filter()
6100 threshes[EIGHTTAP_SHARP] > threshes[SWITCHABLE - 1]) { in get_interp_filter()
6102 } else if (threshes[EIGHTTAP] > threshes[SWITCHABLE - 1]) { in get_interp_filter()
[all …]
Dvp9_encoder.h644 int interp_filter_selected[REF_FRAMES][SWITCHABLE];
Dvp9_speed_features.c957 sf->default_interp_filter = SWITCHABLE; in vp9_set_speed_features_framesize_independent()
/external/libaom/libaom/av1/encoder/
Dinterp_search.c481 int filter_idx = SWITCHABLE * af.as_filters.x_filter; in find_best_non_dual_interp_filter()
671 if (assign_filter != SWITCHABLE || match_found_idx != -1) { in av1_interpolation_filter_search()
Drdopt.c4983 assert((interp_filter == SWITCHABLE) || in av1_rd_pick_inter_mode_sb()
4987 assert((interp_filter == SWITCHABLE) || in av1_rd_pick_inter_mode_sb()
5060 InterpFilter best_filter = SWITCHABLE; in av1_rd_pick_inter_mode_sb_seg_skip()
5115 if (interp_filter != SWITCHABLE) { in av1_rd_pick_inter_mode_sb_seg_skip()
5156 assert((interp_filter == SWITCHABLE) || in av1_rd_pick_inter_mode_sb_seg_skip()
Drd.c1073 if (interp_filter == SWITCHABLE) { in av1_get_switchable_rate()
Dbitstream.c619 if (cm->features.interp_filter == SWITCHABLE) { in write_mb_interp_filter()
2123 aom_wb_write_bit(wb, filter == SWITCHABLE); in write_frame_interp_filter()
2124 if (filter != SWITCHABLE) in write_frame_interp_filter()
Dencodeframe.c654 if (cm->features.interp_filter == SWITCHABLE && in update_state()
1415 if (inter_block && cm->features.interp_filter == SWITCHABLE && in update_stats()
5997 features->interp_filter == SWITCHABLE) { in encode_frame_internal()
6109 features->interp_filter = SWITCHABLE; in av1_encode_frame()
Dencoder.c2917 oxcf->large_scale_tile ? EIGHTTAP_REGULAR : SWITCHABLE; in av1_change_config()
4070 cm->features.interp_filter = SWITCHABLE; in set_size_independent_vars()
4902 if (*interp_filter == SWITCHABLE) { in fix_interp_filter()
Dnonrd_pickmode.c1839 (filter_ref == SWITCHABLE)
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c717 mi->interp_filter = (cm->interp_filter == SWITCHABLE) in read_inter_block_mode_info()
Dvp9_decodeframe.c1458 return vpx_rb_read_bit(rb) ? SWITCHABLE in read_interp_filter()
2885 if (cm->interp_filter == SWITCHABLE) read_switchable_interp_probs(fc, &r); in read_compressed_header()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c1038 if (interp_filter != SWITCHABLE) { in read_mb_interp_filter()
Ddecodeframe.c1904 return aom_rb_read_bit(rb) ? SWITCHABLE in read_frame_interp_filter()