PDA

View Full Version : x264 MV format


the_ether
15th August 2009, 19:17
Can someone tell me how motion vectors are stored in x264? I did some work on xvid before and MVs were stored to 1/2 pel resolution with a separate flag to specify whether 1/4 pel resolution was being used.

To be clear, is the MV (1.5, 2.5) stored as (5, 10) or (3, 5)?

Dark Shikari
15th August 2009, 19:32
Neither.

MV (1.5, 2.5)

is stored as <6,10>.

the_ether
15th August 2009, 19:48
Duh, thanks.