ixus115_elph100hs: re-do movie_rec.c with code_gen to fix its bugs