A locally optimal design algorithm for block-based multi-hypothesis motion-compensated prediction | Synapse