Home
last modified time | relevance | path

Searched refs:drl_ctx (Results 1 – 4 of 4) sorted by relevance

/external/libaom/libaom/av1/decoder/
Ddecodemv.c203 uint8_t drl_ctx = av1_drl_ctx(xd->weight[ref_frame_type], idx); in read_drl_idx() local
204 int drl_idx = aom_read_symbol(r, ec_ctx->drl_cdf[drl_ctx], 2, ACCT_STR); in read_drl_idx()
216 uint8_t drl_ctx = av1_drl_ctx(xd->weight[ref_frame_type], idx); in read_drl_idx() local
217 int drl_idx = aom_read_symbol(r, ec_ctx->drl_cdf[drl_ctx], 2, ACCT_STR); in read_drl_idx()
/external/libaom/libaom/av1/encoder/
Dbitstream.c108 uint8_t drl_ctx = av1_drl_ctx(mbmi_ext_frame->weight, idx); in write_drl_idx() local
110 aom_write_symbol(w, mbmi->ref_mv_idx != idx, ec_ctx->drl_cdf[drl_ctx], in write_drl_idx()
123 uint8_t drl_ctx = av1_drl_ctx(mbmi_ext_frame->weight, idx); in write_drl_idx() local
125 ec_ctx->drl_cdf[drl_ctx], 2); in write_drl_idx()
Dencodeframe.c1440 const uint8_t drl_ctx = in update_stats() local
1442 update_cdf(fc->drl_cdf[drl_ctx], mbmi->ref_mv_idx != idx, 2); in update_stats()
1444 ++counts->drl_mode[drl_ctx][mbmi->ref_mv_idx != idx]; in update_stats()
1455 const uint8_t drl_ctx = in update_stats() local
1457 update_cdf(fc->drl_cdf[drl_ctx], mbmi->ref_mv_idx != idx - 1, 2); in update_stats()
1459 ++counts->drl_mode[drl_ctx][mbmi->ref_mv_idx != idx - 1]; in update_stats()
Drdopt.c1775 uint8_t drl_ctx = av1_drl_ctx(mbmi_ext->weight[ref_frame_type], idx); in get_drl_cost() local
1776 cost += drl_mode_cost0[drl_ctx][mbmi->ref_mv_idx != idx]; in get_drl_cost()
1786 uint8_t drl_ctx = av1_drl_ctx(mbmi_ext->weight[ref_frame_type], idx); in get_drl_cost() local
1787 cost += drl_mode_cost0[drl_ctx][mbmi->ref_mv_idx != (idx - 1)]; in get_drl_cost()