Home
last modified time | relevance | path

Searched refs:CNT_NEAREST (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp8/common/
Dfindnearmv.c32 enum { CNT_INTRA, CNT_NEAREST, CNT_NEAR, CNT_SPLITMV }; in vp8_find_near_mvs() enumerator
94 if (mv->as_int == near_mvs[CNT_NEAREST].as_int) in vp8_find_near_mvs()
95 near_mv_ref_cnts[CNT_NEAREST] += 1; in vp8_find_near_mvs()
103 if (near_mv_ref_cnts[CNT_NEAR] > near_mv_ref_cnts[CNT_NEAREST]) { in vp8_find_near_mvs()
105 tmp = near_mv_ref_cnts[CNT_NEAREST]; in vp8_find_near_mvs()
106 near_mv_ref_cnts[CNT_NEAREST] = near_mv_ref_cnts[CNT_NEAR]; in vp8_find_near_mvs()
108 tmp = near_mvs[CNT_NEAREST].as_int; in vp8_find_near_mvs()
109 near_mvs[CNT_NEAREST].as_int = near_mvs[CNT_NEAR].as_int; in vp8_find_near_mvs()
114 if (near_mv_ref_cnts[CNT_NEAREST] >= near_mv_ref_cnts[CNT_INTRA]) { in vp8_find_near_mvs()
115 near_mvs[CNT_INTRA] = near_mvs[CNT_NEAREST]; in vp8_find_near_mvs()
[all …]
/external/libvpx/libvpx/vp8/decoder/
Ddecodemv.c288 enum { CNT_INTRA, CNT_NEAREST, CNT_NEAR, CNT_SPLITMV }; in read_mb_modes_mv() enumerator
365 cnt[CNT_NEAREST] += ((cnt[CNT_SPLITMV] > 0) & in read_mb_modes_mv()
366 (nmv->as_int == near_mvs[CNT_NEAREST].as_int)); in read_mb_modes_mv()
369 if (cnt[CNT_NEAR] > cnt[CNT_NEAREST]) { in read_mb_modes_mv()
371 tmp = cnt[CNT_NEAREST]; in read_mb_modes_mv()
372 cnt[CNT_NEAREST] = cnt[CNT_NEAR]; in read_mb_modes_mv()
374 tmp = near_mvs[CNT_NEAREST].as_int; in read_mb_modes_mv()
375 near_mvs[CNT_NEAREST].as_int = near_mvs[CNT_NEAR].as_int; in read_mb_modes_mv()
379 if (vp8_read(bc, vp8_mode_contexts[cnt[CNT_NEAREST]][1])) { in read_mb_modes_mv()
398 near_index = CNT_INTRA + (cnt[CNT_NEAREST] >= cnt[CNT_INTRA]); in read_mb_modes_mv()
[all …]