[x264-devel] Re: x264 documentation

Loren Merritt lorenm at u.washington.edu
Tue Nov 21 03:51:51 CET 2006


On Mon, 20 Nov 2006, rupert.mish at comcast.net wrote:

> And the motion prediction code is in predict.c? It seems that prediction 
> is done on 16x16,8x8 and 4x4 blocks since all 3 functions are called. At 
> what is it determined that which one will be used?

predict.c is intra prediction, not motion. Yes, you could modify that. 
The decision of which intra prediction to use happens in 
encoder/analyse.c:x264_mb_analyse_intra(). The decision will still work 
with modified prediction methods, as long as you remove 
pixf->intra_satd_x3* and pixf->intra_sa8d_x3*, which are optimizations 
specific to the h264 versions. (just removing the initializions from 
common/pixel.c is enough).

--Loren Merritt

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list