Lines Matching refs:cnt
535 uint8_t cnt[4] = { 0 };
557 cnt[idx] += 1 + (n != 2);\
559 cnt[CNT_ZERO] += 1 + (n != 2);\
568 if (vp56_rac_get_prob_branchy(c, vp8_mode_contexts[cnt[CNT_ZERO]][0])) {
572 if (cnt[CNT_SPLITMV] && AV_RN32A(&near_mv[1 + VP8_EDGE_TOP]) == AV_RN32A(&near_mv[1 + VP8_EDGE_TOPLEFT]))
573 cnt[CNT_NEAREST] += 1;
576 if (cnt[CNT_NEAR] > cnt[CNT_NEAREST]) {
577 FFSWAP(uint8_t, cnt[CNT_NEAREST], cnt[CNT_NEAR]);
581 if (vp56_rac_get_prob_branchy(c, vp8_mode_contexts[cnt[CNT_NEAREST]][1])) {
582 if (vp56_rac_get_prob_branchy(c, vp8_mode_contexts[cnt[CNT_NEAR]][2])) {
585 clamp_mv(s, &mb->mv, &near_mv[CNT_ZERO + (cnt[CNT_NEAREST] >= cnt[CNT_ZERO])]);
586 cnt[CNT_SPLITMV] = ((mb_edge[VP8_EDGE_LEFT]->mode == VP8_MVMODE_SPLIT) +
590 if (vp56_rac_get_prob_branchy(c, vp8_mode_contexts[cnt[CNT_SPLITMV]][3])) {