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.c38 const int mv_class = vp9_get_mv_class(mag - 1, &offset); in encode_mv_component() local
50 &mv_class_encodings[mv_class]); in encode_mv_component()
53 if (mv_class == MV_CLASS_0) { in encode_mv_component()
58 const int n = mv_class + CLASS0_BITS - 1; // number of bits 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()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c257 const int mv_class = vpx_read_tree(r, vp9_mv_class_tree, mvcomp->classes); in read_mv_component() local
258 const int class0 = mv_class == MV_CLASS_0; in read_mv_component()
266 const int n = mv_class + CLASS0_BITS - 1; // number of bits in read_mv_component()
271 mag = CLASS0_SIZE << (mv_class + 2); in read_mv_component()