Use the wavefront-scan instead of raster-scan during VME prediction on Haswell
authorZhao Yakui <yakui.zhao@intel.com>
Mon, 24 Dec 2012 07:29:08 +0000 (15:29 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 17 Jan 2013 05:08:39 +0000 (13:08 +0800)
commitab52efa8e3a51944f4888c9cb20763266f765ee9
treef9cb34b6538354d77be2da30e090305aa1580d59
parent788f649bc66b773e3af1e23870431c19c2c1136d
Use the wavefront-scan instead of raster-scan during VME prediction on Haswell

When adding the MV prediction for AVC encoding, the GPU thread of current
macroblock needs to wait for the completion of neighbour macroblocks(left/top/up-right).
And the raster-scan will degrade the performance of AVC encoding. So the
wavefront-scan is used to spanw GPU thread, which can avoid the degrading of
the encoding performance.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
src/gen75_vme.c