Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/encoder/
Dencodemv.c47 const int mv_class = get_mv_class(mag - 1, &offset); in encode_mv_component() local
56 aom_write_symbol(w, mv_class, mvcomp->classes_cdf, MV_CLASSES); in encode_mv_component()
59 if (mv_class == MV_CLASS_0) { in encode_mv_component()
63 const int n = mv_class + CLASS0_BITS - 1; // number of bits in encode_mv_component()
71 mv_class == MV_CLASS_0 ? mvcomp->class0_fp_cdf[d] : mvcomp->fp_cdf, in encode_mv_component()
78 w, hp, mv_class == MV_CLASS_0 ? mvcomp->class0_hp_cdf : mvcomp->hp_cdf, in encode_mv_component()
/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()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c827 const int mv_class = in read_mv_component() local
829 const int class0 = mv_class == MV_CLASS_0; in read_mv_component()
836 const int n = mv_class + CLASS0_BITS - 1; // number of bits in read_mv_component()
840 mag = CLASS0_SIZE << (mv_class + 2); in read_mv_component()