Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c34 const nmv_component* mvcomp, int usehp) { in encode_mv_component() argument
46 vpx_write(w, sign, mvcomp->sign); in encode_mv_component()
49 vp9_write_token(w, vp9_mv_class_tree, mvcomp->classes, in encode_mv_component()
54 vp9_write_token(w, vp9_mv_class0_tree, mvcomp->class0, in encode_mv_component()
60 vpx_write(w, (d >> i) & 1, mvcomp->bits[i]); in encode_mv_component()
65 mv_class == MV_CLASS_0 ? mvcomp->class0_fp[d] : mvcomp->fp, in encode_mv_component()
71 mv_class == MV_CLASS_0 ? mvcomp->class0_hp : mvcomp->hp); in encode_mv_component()
76 const nmv_component* const mvcomp, in build_nmv_component_cost_table() argument
84 sign_cost[0] = vp9_cost_zero(mvcomp->sign); in build_nmv_component_cost_table()
85 sign_cost[1] = vp9_cost_one(mvcomp->sign); in build_nmv_component_cost_table()
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c254 const nmv_component *mvcomp, int usehp) { in read_mv_component() argument
256 const int sign = vpx_read(r, mvcomp->sign); in read_mv_component()
257 const int mv_class = vpx_read_tree(r, vp9_mv_class_tree, mvcomp->classes); in read_mv_component()
262 d = vpx_read_tree(r, vp9_mv_class0_tree, mvcomp->class0); in read_mv_component()
270 d |= vpx_read(r, mvcomp->bits[i]) << i; in read_mv_component()
275 fr = vpx_read_tree(r, vp9_mv_fp_tree, class0 ? mvcomp->class0_fp[d] in read_mv_component()
276 : mvcomp->fp); in read_mv_component()
279 hp = usehp ? vpx_read(r, class0 ? mvcomp->class0_hp : mvcomp->hp) in read_mv_component()