Added genlock from VilleC2

Signed-off-by: Sultan <sultanxda@gmail.com>