[M4IF Technotes] About the unit of MVD in Quarter-pel MotionCompensation
Xue Xuhong
xxh soft.thtf.com.cn
Tue Jan 21 20:35:05 EST 2003
Dear Experts,
We know, Quarter-pel Motion Compensation is used in Advaced Simple Profile.
When Quarter-pel Motion Compensation is used, the MVD decoded from the
bitstream will have the unit of 1/4 pel.
But the VLC table for MVD(Table B-12 in the standard) is as Table B-12:
It seems that the "-16", "-15.5"... are in the unit of pel. when the
Quarter-pel Motion Compensation is used,
if the codes in the bitstram is 0000 0000 00101, should we get the MVD as
"-16" in pel unit, then transform
it to -16*4=64 in 1/4 pel unit?
Regards,
Xue Xuhong
Table B‑12 -- VLC table for MVD
Codes
Vector differences
0000 0000 0010 1
-16
0000 0000 0011 1
-15.5
0000 0000 0101
-15
0000 0000 0111
-14.5
0000 0000 1001
-14
0000 0000 1011
-13.5
0000 0000 1101
-13
0000 0000 1111
-12.5
0000 0001 001
-12
0000 0001 011
-11.5
0000 0001 101
-11
0000 0001 111
-10.5
0000 0010 001
-10
0000 0010 011
-9.5
0000 0010 101
-9
0000 0010 111
-8.5
0000 0011 001
-8
0000 0011 011
-7.5
0000 0011 101
-7
0000 0011 111
-6.5
0000 0100 001
-6
0000 0100 011
-5.5
0000 0100 11
-5
0000 0101 01
-4.5
0000 0101 11
-4
0000 0111
-3.5
0000 1001
-3
0000 1011
-2.5
0000 111
-2
0001 1
-1.5
0011
-1
011
-0.5
1
0
010
0.5
0010
1
0001 0
1.5
0000 110
2
0000 1010
2.5
0000 1000
3
0000 0110
3.5
0000 0101 10
4
0000 0101 00
4.5
0000 0100 10
5
0000 0100 010
5.5
0000 0100 000
6
0000 0011 110
6.5
0000 0011 100
7
0000 0011 010
7.5
0000 0011 000
8
0000 0010 110
8.5
0000 0010 100
9
0000 0010 010
9.5
0000 0010 000
10
0000 0001 110
10.5
0000 0001 100
11
0000 0001 010
11.5
0000 0001 000
12
0000 0000 1110
12.5
0000 0000 1100
13
0000 0000 1010
13.5
0000 0000 1000
14
0000 0000 0110
14.5
0000 0000 0100
15
0000 0000 0011 0
15.5
0000 0000 0010 0
16
More information about the Mp4-tech
mailing list