image controller enhance.
sample code update.

Signed-off-by: qijiang.guo <qijiang.guo@gmail.com>