1 /* 2 * movie_rec.c - auto-generated by CHDK code_gen. 3 */ 4 #include "conf.h" 5 6 void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} 7 8 void set_quality(int *x){ // -17 highest; +12 lowest 9 if (conf.video_mode) *x=12-((conf.video_quality-1)*(12+17)/(99-1)); 10 }