42 for(i = 0; i < 367; i++) {
52 static inline int iso_clip(
int v,
int vmin,
int vmax){
53 if(v > vmax || v < vmin)
return vmin;
58 const int basic_t1= 3;
59 const int basic_t2= 7;
60 const int basic_t3= 21;
68 if(s->
T1==0 || reset_all)
70 if(s->
T2==0 || reset_all)
72 if(s->
T3==0 || reset_all)
75 factor= 256 / (s->
maxval + 1);
77 if(s->
T1==0 || reset_all)
79 if(s->
T2==0 || reset_all)
81 if(s->
T3==0 || reset_all)