H264: Split out hl_motion and template it, this seems a bit faster