Add camera functions.

Signed-off-by: Wiki Wang <wikiwang@live.com>