Should improve motion search with lots of small slices, e.g. with slice-max-size.
Still restricted by sliced threads (won't cross the boundary between two threadslices).
The output-changing part of the previous patch.
}
/* spatial predictors */
- if( h->mb.i_neighbour & MB_LEFT )
+ if( h->mb.i_neighbour_frame & MB_LEFT )
{
SET_MVP( mvr[h->mb.i_mb_left_xy] );
}
- if( h->mb.i_neighbour & MB_TOP )
+ if( h->mb.i_neighbour_frame & MB_TOP )
{
SET_MVP( mvr[h->mb.i_mb_top_xy] );
- if( h->mb.i_neighbour & MB_TOPLEFT )
+ if( h->mb.i_neighbour_frame & MB_TOPLEFT )
SET_MVP( mvr[h->mb.i_mb_topleft_xy] );
- if( h->mb.i_neighbour & MB_TOPRIGHT )
+ if( h->mb.i_neighbour_frame & MB_TOPRIGHT )
SET_MVP( mvr[h->mb.i_mb_topright_xy] );
}
#undef SET_MVP