/external/libhevc/encoder/ |
ihevce_mv_pred_merge.c | 816 WORD32 merge_idx; local 817 merge_idx = merge_list_priority[n]; 818 if(i1_spatial_avail_flag_n[merge_idx] == 1) 820 ps_merge_cand_list[num_merge_cand].mv = ps_nbr_mv[merge_idx]->mv; 822 (UWORD8)ps_nbr_mv[merge_idx]->b1_pred_l0_flag; 824 (UWORD8)ps_nbr_mv[merge_idx]->b1_pred_l1_flag; [all...] |
ihevce_cabac_cu_pu.c | 491 * @brief Entropy encoding of merge_idx of inter prediction unit as per sec 501 * @param[in] merge_idx 511 WORD32 ihevce_cabac_encode_merge_idx(cab_ctxt_t *ps_cabac, WORD32 merge_idx, WORD32 max_merge_cand) 517 ASSERT((merge_idx >= 0) && (merge_idx < max_merge_cand)); 523 ret |= ihevce_cabac_encode_bin(ps_cabac, (merge_idx > 0), ctxt_inc); 526 if((max_merge_cand > 2) && (merge_idx > 0)) 529 ihevce_cabac_encode_tunary_bypass(ps_cabac, (merge_idx - 1), (max_merge_cand - 2)); 532 AEV_TRACE("merge_idx", merge_idx, ps_cabac->u4_range) 783 WORD32 merge_idx = ps_pu->b3_merge_idx; local [all...] |
ihevce_enc_loop_structs.h | 174 #define COMPUTE_MERGE_IDX_COST(merge_idx_0_model, merge_idx, max_merge_cand, lambda, cost) \ 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; \ [all...] |
/external/skia/src/compute/hs/gen/ |
main.c | 1031 for (uint32_t merge_idx=0; merge_idx<MERGE_LEVELS_MAX_LOG2; merge_idx++) 1033 const struct hsg_merge* const m = merge + merge_idx; 1038 ops = hsg_op(ops,BS_FRAC_PRED(merge_idx,m->warps)); 1095 uint32_t merge_idx = MERGE_LEVELS_MAX_LOG2; local 1097 while (merge_idx-- > 0) 1099 struct hsg_merge const * const m = hsg_merge + merge_idx; 1161 uint32_t merge_idx = MERGE_LEVELS_MAX_LOG2; local 1163 while (merge_idx-- > 0 [all...] |
/external/skqp/src/compute/hs/gen/ |
main.c | 1031 for (uint32_t merge_idx=0; merge_idx<MERGE_LEVELS_MAX_LOG2; merge_idx++) 1033 const struct hsg_merge* const m = merge + merge_idx; 1038 ops = hsg_op(ops,BS_FRAC_PRED(merge_idx,m->warps)); 1095 uint32_t merge_idx = MERGE_LEVELS_MAX_LOG2; local 1097 while (merge_idx-- > 0) 1099 struct hsg_merge const * const m = hsg_merge + merge_idx; 1161 uint32_t merge_idx = MERGE_LEVELS_MAX_LOG2; local 1163 while (merge_idx-- > 0 [all...] |
/external/libhevc/decoder/ |
ihevcd_parse_slice.c | 850 WORD32 merge_idx = 0; local 856 TRACE_CABAC_CTXT("merge_idx", ps_cabac->u4_range, ctxt_idx); 862 merge_idx = ihevcd_cabac_decode_bypass_bins_tunary( 866 merge_idx++; 868 AEV_TRACE("merge_idx", merge_idx, ps_cabac->u4_range); 871 ps_pu->b3_merge_idx = merge_idx; 887 WORD32 merge_idx = 0; local 892 TRACE_CABAC_CTXT("merge_idx", ps_cabac->u4_range, ctxt_idx); 898 merge_idx = ihevcd_cabac_decode_bypass_bins_tunary [all...] |