<div>Hi, All</div>
<div>    I currently study about the ME of x264, I noticed when perform 1/4 and 1/2 pel search, we need to call function h-&gt;mc.get_ref first,  which used to getthe aveage value of two pixel when needed. </div>
<div>    I&#39;m puzzeled that why not pre-calculate of 1/4 and 1/2 pel in the very beginning of ME for the whole frame, so that when each time of spel ME, we can directly get from buffer which can save the computation power of cpu? Is it lies in buffer shortage?</div>

<div>    Thanks!</div>