a b c ------------ d e<br> | |<br> ... | | ...<br> | |<br> | |<br> | |<br> ... ------------- ...<br>sorry, I'm still unclear that why we need interpolate extra pixels beyond image edge, eg. (a,b,c,d,e). I think we only need as many half-pels as image width. but abcde(which is half-pels) will not be used since then. x264 did do this, I tried to remove the redundant-like codes, and let x264 only interpolate image_width half-pels, but the encoder got different results after this. Would you please tell me where these pixels(abcde) are used in next code fragment?
<br>thanks, sorry for my poor english.<br><br><div><span class="gmail_quote">2006/12/15, 张睿 <<a href="mailto:hbtmzrui@gmail.com">hbtmzrui@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
got it, thanks a lot!<br><br><div><span class="gmail_quote">2006/12/15, Loren Merritt <<a href="mailto:lorenm@u.washington.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lorenm@u.washington.edu
</a>>:</span><div><span class="e" id="q_10f84ba1c6cf51c7_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 15 Dec 2006, ��� wrote:<br><br>> in x264, the 3 half-pel planes are interpolated after encoding each frame,<br>> which is implemented in x264_frame_filter().<br>> but I don't understand why more 8 pixels are interpolated than origin image
<br>> width, and I want to know if the 3 half-pel planes could be just<br>> inpterpolated without dealing with the 8 pixels.<br>> thanks!<br><br>Because the interpolation is a 6-tap filter, 5 extra pixels are needed (3
<br>on the top & left, 2 on the bottom & right). The number is then rounded up<br>to the size of an MMX register.<br><br>--Loren Merritt<br></blockquote></span></div></div><br>
</blockquote></div><br>