Takeshi's effort. f_avt_cam has compile error.