Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c33 const nmv_component* mvcomp, int usehp) { in encode_mv_component() argument
45 vp9_write(w, sign, mvcomp->sign); in encode_mv_component()
48 vp9_write_token(w, vp9_mv_class_tree, mvcomp->classes, in encode_mv_component()
53 vp9_write_token(w, vp9_mv_class0_tree, mvcomp->class0, in encode_mv_component()
59 vp9_write(w, (d >> i) & 1, mvcomp->bits[i]); in encode_mv_component()
64 mv_class == MV_CLASS_0 ? mvcomp->class0_fp[d] : mvcomp->fp, in encode_mv_component()
70 mv_class == MV_CLASS_0 ? mvcomp->class0_hp : mvcomp->hp); in encode_mv_component()
75 const nmv_component* const mvcomp, in build_nmv_component_cost_table() argument
83 sign_cost[0] = vp9_cost_zero(mvcomp->sign); in build_nmv_component_cost_table()
84 sign_cost[1] = vp9_cost_one(mvcomp->sign); in build_nmv_component_cost_table()
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c204 const nmv_component *mvcomp, int usehp) { in read_mv_component() argument
206 const int sign = vp9_read(r, mvcomp->sign); in read_mv_component()
207 const int mv_class = vp9_read_tree(r, vp9_mv_class_tree, mvcomp->classes); in read_mv_component()
212 d = vp9_read_tree(r, vp9_mv_class0_tree, mvcomp->class0); in read_mv_component()
219 d |= vp9_read(r, mvcomp->bits[i]) << i; in read_mv_component()
223 fr = vp9_read_tree(r, vp9_mv_fp_tree, class0 ? mvcomp->class0_fp[d] in read_mv_component()
224 : mvcomp->fp); in read_mv_component()
228 hp = usehp ? vp9_read(r, class0 ? mvcomp->class0_hp : mvcomp->hp) in read_mv_component()