1. An apparatus, comprising: a video encoder for encoding at least an image block in a picture using template matching prediction, wherein the template matching prediction is selectably constrained using one or more constraining criterion that reduces a complexity of performing the template matching prediction.