Searched refs:merge_idx (Results 1 – 6 of 6) sorted by relevance
/external/libhevc/encoder/ |
D | ihevce_cabac_cu_pu.c | 511 WORD32 ihevce_cabac_encode_merge_idx(cab_ctxt_t *ps_cabac, WORD32 merge_idx, WORD32 max_merge_cand) in ihevce_cabac_encode_merge_idx() argument 517 ASSERT((merge_idx >= 0) && (merge_idx < max_merge_cand)); in ihevce_cabac_encode_merge_idx() 523 ret |= ihevce_cabac_encode_bin(ps_cabac, (merge_idx > 0), ctxt_inc); in ihevce_cabac_encode_merge_idx() 526 if((max_merge_cand > 2) && (merge_idx > 0)) in ihevce_cabac_encode_merge_idx() 529 ihevce_cabac_encode_tunary_bypass(ps_cabac, (merge_idx - 1), (max_merge_cand - 2)); in ihevce_cabac_encode_merge_idx() 532 AEV_TRACE("merge_idx", merge_idx, ps_cabac->u4_range); in ihevce_cabac_encode_merge_idx() 783 WORD32 merge_idx = ps_pu->b3_merge_idx; in ihevce_cabac_encode_inter_pu() local 801 ret |= ihevce_cabac_encode_merge_idx(ps_cabac, merge_idx, max_merge_cand); in ihevce_cabac_encode_inter_pu() 872 merge_idx = ps_pu->b3_merge_idx; in ihevce_cabac_encode_inter_pu() 876 ret |= ihevce_cabac_encode_merge_idx(ps_cabac, merge_idx, max_merge_cand); in ihevce_cabac_encode_inter_pu()
|
D | ihevce_mv_pred_merge.c | 816 WORD32 merge_idx; in ihevce_mv_pred_merge() local 817 merge_idx = merge_list_priority[n]; in ihevce_mv_pred_merge() 818 if(i1_spatial_avail_flag_n[merge_idx] == 1) in ihevce_mv_pred_merge() 820 ps_merge_cand_list[num_merge_cand].mv = ps_nbr_mv[merge_idx]->mv; in ihevce_mv_pred_merge() 822 (UWORD8)ps_nbr_mv[merge_idx]->b1_pred_l0_flag; in ihevce_mv_pred_merge() 824 (UWORD8)ps_nbr_mv[merge_idx]->b1_pred_l1_flag; in ihevce_mv_pred_merge()
|
D | ihevce_enc_loop_structs.h | 174 #define COMPUTE_MERGE_IDX_COST(merge_idx_0_model, merge_idx, max_merge_cand, lambda, cost) \ argument 179 ASSERT((merge_idx >= 0) && (merge_idx < max_merge_cand)); \ 184 WORD32 bin = (merge_idx > 0); \ 190 if((max_merge_cand > 2) && (merge_idx > 0)) \ 192 cab_bits_q12 += (MIN(merge_idx, (max_merge_cand - 2))) << CABAC_FRAC_BITS_Q; \
|
/external/skqp/src/compute/hs/gen/ |
D | main.c | 1095 uint32_t merge_idx = MERGE_LEVELS_MAX_LOG2; in hsg_bs_sort_all() local 1097 while (merge_idx-- > 0) in hsg_bs_sort_all() 1099 struct hsg_merge const * const m = hsg_merge + merge_idx; in hsg_bs_sort_all() 1161 uint32_t merge_idx = MERGE_LEVELS_MAX_LOG2; in hsg_bc_clean_all() local 1163 while (merge_idx-- > 0) in hsg_bc_clean_all() 1165 struct hsg_merge const * const m = hsg_merge + merge_idx; in hsg_bc_clean_all()
|
/external/libhevc/decoder/ |
D | ihevcd_parse_slice.c | 850 WORD32 merge_idx = 0; in ihevcd_parse_prediction_unit() local 862 merge_idx = ihevcd_cabac_decode_bypass_bins_tunary( in ihevcd_parse_prediction_unit() 866 merge_idx++; in ihevcd_parse_prediction_unit() 868 AEV_TRACE("merge_idx", merge_idx, ps_cabac->u4_range); in ihevcd_parse_prediction_unit() 871 ps_pu->b3_merge_idx = merge_idx; in ihevcd_parse_prediction_unit() 887 WORD32 merge_idx = 0; in ihevcd_parse_prediction_unit() local 898 merge_idx = ihevcd_cabac_decode_bypass_bins_tunary( in ihevcd_parse_prediction_unit() 902 merge_idx++; in ihevcd_parse_prediction_unit() 904 AEV_TRACE("merge_idx", merge_idx, ps_cabac->u4_range); in ihevcd_parse_prediction_unit() 907 ps_pu->b3_merge_idx = merge_idx; in ihevcd_parse_prediction_unit()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | auto_mixed_precision.cc | 1749 int merge_idx = maybe_merge_idx.value(); in ForceColorMatchOnRecurrentEdges() local 1750 merge_idxs.push_back(merge_idx); in ForceColorMatchOnRecurrentEdges() 1752 any_merge_is_not_allow || !allow_set->count(merge_idx); in ForceColorMatchOnRecurrentEdges() 1762 for (int merge_idx : merge_idxs) { in ForceColorMatchOnRecurrentEdges() local 1763 if (allow_set->erase(merge_idx)) { in ForceColorMatchOnRecurrentEdges() 1765 << graph_type_view_.GetNode(merge_idx)->node->name() in ForceColorMatchOnRecurrentEdges()
|