[x265] [PATCH] search: add lowres MV into search mv candidate list for search ME(CHANGESOUTPUT)

Steve Borho steve at borho.org
Mon May 18 16:34:32 CEST 2015


On 05/18, Deepthi Nandakumar wrote:
> Gopu,
> 
> initSubCU accounts for the CU's partIdx while setting absPartIdx, that
> means the expression in your patch should be changed to:
> 
> uint32_t block_x = cu.m_cuPelX;
> 
> Now, if you want to account for the PU offsets, you can do
> uint32_t block_x = cu.m_cuPelX + g_zscanToPelX[pu.puAbsPartIdx];
> 
> Why do you need to add pu.width/2 ?

to find the middle of the PU. If we're going to only take one lowres MV,
it might as well be from the middle of the prediction block

-- 
Steve Borho


More information about the x265-devel mailing list