[x264-devel] Motion Compensation Routines

rupert.mish at comcast.net rupert.mish at comcast.net
Thu Nov 23 23:04:34 CET 2006


Hi,

I plan to try out a motion prediction algorithm.  I'd like to know what routines to start with and what data structures to access for the frames and blocks? Just to get a handle, I'll probably have to come back with the specifics. I'd appreciate getting help from you folks. 

Thanks,
- Rupert

 -------------- Original message ----------------------
From: Loren Merritt <lorenm at u.washington.edu>
> 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
> 

-- 
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