Add runtime configuration of motion compensation search parameters
examples: fix coding style