Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c36 const int mv_class = vp9_get_mv_class(mag - 1, &offset); in encode_mv_component() local
48 &mv_class_encodings[mv_class]); in encode_mv_component()
51 if (mv_class == MV_CLASS_0) { in encode_mv_component()
55 const int n = mv_class + CLASS0_BITS - 1; // number of bits in encode_mv_component()
61 mv_class == MV_CLASS_0 ? mvcomp->class0_fp[d] : mvcomp->fp, in encode_mv_component()
66 vpx_write(w, hp, mv_class == MV_CLASS_0 ? mvcomp->class0_hp : mvcomp->hp); in encode_mv_component()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c239 const int mv_class = vpx_read_tree(r, vp9_mv_class_tree, mvcomp->classes); in read_mv_component() local
240 const int class0 = mv_class == MV_CLASS_0; in read_mv_component()
248 const int n = mv_class + CLASS0_BITS - 1; // number of bits in read_mv_component()
252 mag = CLASS0_SIZE << (mv_class + 2); in read_mv_component()