root/platform/sx510hs/sub/movie_rec_hdr.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. change_video_tables
  2. set_quality

   1 #include "conf.h"
   2 
   3 void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {}
   4 
   5 // not working, see comments in code_gen.txt
   6 extern int video_compression_rate2;
   7 extern int video_compression_rate;
   8 void set_quality(){ // -17 highest; +12 lowest
   9  if (conf.video_mode) {
  10     video_compression_rate2 = video_compression_rate=12-((conf.video_quality-1)*(12+17)/(99-1));
  11  }
  12 }

/* [<][>][^][v][top][bottom][index][help] */