Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/common/
Dfindnearmv.c42 enum {CNT_INTRA, CNT_NEAREST, CNT_NEAR, CNT_SPLITMV}; in vp8_find_near_mvs() enumerator
109 if (mv->as_int == near_mvs[CNT_NEAREST].as_int) in vp8_find_near_mvs()
110 cnt[CNT_NEAREST] += 1; in vp8_find_near_mvs()
118 if (cnt[CNT_NEAR] > cnt[CNT_NEAREST]) in vp8_find_near_mvs()
121 tmp = cnt[CNT_NEAREST]; in vp8_find_near_mvs()
122 cnt[CNT_NEAREST] = cnt[CNT_NEAR]; in vp8_find_near_mvs()
124 tmp = near_mvs[CNT_NEAREST].as_int; in vp8_find_near_mvs()
125 near_mvs[CNT_NEAREST].as_int = near_mvs[CNT_NEAR].as_int; in vp8_find_near_mvs()
130 if (cnt[CNT_NEAREST] >= cnt[CNT_INTRA]) in vp8_find_near_mvs()
131 near_mvs[CNT_INTRA] = near_mvs[CNT_NEAREST]; in vp8_find_near_mvs()
[all …]
/external/libvpx/libvpx/vp8/decoder/
Ddecodemv.c345 enum {CNT_INTRA, CNT_NEAREST, CNT_NEAR, CNT_SPLITMV}; in read_mb_modes_mv() enumerator
433 cnt[CNT_NEAREST] += ( (cnt[CNT_SPLITMV] > 0) & in read_mb_modes_mv()
434 (nmv->as_int == near_mvs[CNT_NEAREST].as_int)); in read_mb_modes_mv()
437 if (cnt[CNT_NEAR] > cnt[CNT_NEAREST]) in read_mb_modes_mv()
440 tmp = cnt[CNT_NEAREST]; in read_mb_modes_mv()
441 cnt[CNT_NEAREST] = cnt[CNT_NEAR]; in read_mb_modes_mv()
443 tmp = near_mvs[CNT_NEAREST].as_int; in read_mb_modes_mv()
444 near_mvs[CNT_NEAREST].as_int = near_mvs[CNT_NEAR].as_int; in read_mb_modes_mv()
448 if( vp8_read(bc, vp8_mode_contexts [cnt[CNT_NEAREST]] [1]) ) in read_mb_modes_mv()
471 (cnt[CNT_NEAREST] >= cnt[CNT_INTRA]); in read_mb_modes_mv()
[all …]