[x264-devel] motion vector representation

Simon Horlick simonhorlick at gmail.com
Mon Mar 21 18:17:03 CET 2011


> common.h:
>    ALIGNED_16( int16_t mv[2][X264_SCAN8_LUMA_SIZE][2]

Hi András,

The first is for the list, list0 or list1. X264_SCAN8_LUMA_SIZE refers
to the table that they are stored in, so there are x264_scan8[0..15]
entries for the current macroblock as well as entries for the
surrounding macroblocks (i.e. x264_scan8[0]-8 will give the bottom
left mv for the top macroblock). The final size is the component, x or
y.

Simon


More information about the x264-devel mailing list