Home | History | Annotate | Download | only in encoder

Lines Matching refs:merge_idx

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;
801 ret |= ihevce_cabac_encode_merge_idx(ps_cabac, merge_idx, max_merge_cand);
872 merge_idx = ps_pu->b3_merge_idx;
876 ret |= ihevce_cabac_encode_merge_idx(ps_cabac, merge_idx, max_merge_cand);