add function pointer
Merge pull request #591 from sijchen/me_merge91

[Encoder ME] add function pointer initialization