/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/ |
H A D | faandct.c | 33 # define SCALE(x) postscale[x] macro 35 # define SCALE(x) 1 macro 153 data[8*0 + i]= lrintf(SCALE(8*0 + i) * (tmp10 + tmp11)); 154 data[8*4 + i]= lrintf(SCALE(8*4 + i) * (tmp10 - tmp11)); 158 data[8*2 + i]= lrintf(SCALE(8*2 + i) * (tmp13 + tmp12)); 159 data[8*6 + i]= lrintf(SCALE(8*6 + i) * (tmp13 - tmp12)); 178 data[8*5 + i]= lrintf(SCALE(8*5 + i) * (z13 + z2)); 179 data[8*3 + i]= lrintf(SCALE(8*3 + i) * (z13 - z2)); 180 data[8*1 + i]= lrintf(SCALE(8*1 + i) * (z11 + z4)); 181 data[8*7 + i]= lrintf(SCALE( [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/oss/ |
H A D | aci.c | 248 vol = SCALE(100, 0x20, vol); 251 ret = SCALE(0x20, 100, vol); 258 vol = SCALE(100, 0x20, vol); 261 ret |= SCALE(0x20, 100, vol) << 8; 277 vol = SCALE(0x20, 100, buf < 0x20 ? 0x20-buf : 0); 282 vol |= SCALE(0x20, 100, buf < 0x20 ? 0x20-buf : 0) << 8; 306 ret=SCALE(49, 0x7e, vol)+1; 308 ret=0xff - SCALE(50, 0x7f, vol); 315 return SCALE(0x7f, 50, vol) + 50; 317 return SCALE( [all...] |
H A D | aci.h | 38 * The following macro SCALE can be used to scale one integer volume 41 * the range 0 <= SCALE(xmax,ymax,x) <= ymax. 46 * - SCALE(xmax,ymax,xmax) = ymax 47 * - SCALE(xmax,ymax,0) = 0 48 * - SCALE(xmax,ymax,SCALE(ymax,xmax,SCALE(xmax,ymax,x))) = SCALE(xmax,ymax,x) 54 #define SCALE(xmax,ymax,x) (((x)*(ymax)+(xmax)/2)/(xmax)) macro
|
H A D | vidc.c | 99 #define SCALE(lev,master) ((lev) * (master) * 65536 / 10000) macro 110 vidc_audio_volume_l = SCALE(lev_l, mlev_l); 111 vidc_audio_volume_r = SCALE(lev_r, mlev_r); 115 #undef SCALE macro
|
H A D | waveartist.c | 928 #define SCALE(lev,max) ((lev) * (max) / 100) macro 938 lev_left = SCALE(lev_left, mix->max) << mix->shift; 939 lev_right = SCALE(lev_right, mix->max) << mix->shift; 958 SCALE(lev_left, 32767), 959 SCALE(lev_right, 32767)); 964 SCALE(lev_left, 32767), 965 SCALE(lev_right, 32767));
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/hwmon/ |
H A D | adm9240.c | 83 static inline int SCALE(long val, int mul, int div) function 96 return SCALE(reg, nom_mv[n], 192); 101 return SENSORS_LIMIT(SCALE(val, 192, nom_mv[n]), 0, 255); 107 return SENSORS_LIMIT(SCALE(val, 1, 1000), -40, 127); 119 return SCALE(1350000, 1, reg * div); 125 return SENSORS_LIMIT(SCALE(val, 255, 1250), 0, 255); 130 return SCALE(reg, 1250, 255);
|
H A D | smsc47m192.c | 62 static inline int SCALE(long val, int mul, int div) function 77 return SCALE(reg, nom_mv[n], 192); 82 return SENSORS_LIMIT(SCALE(val, 192, nom_mv[n]), 0, 255); 89 return SENSORS_LIMIT(SCALE(val, 1, 1000), -128000, 127000);
|
H A D | lm85.c | 153 #define SCALE(val,from,to) (((val)*(to) + ((from)/2))/(from)) macro 156 SENSORS_LIMIT(SCALE(val,lm85_scaling[n],192),0,255) 159 SCALE((val)*(scale) + (ext),192*(scale),lm85_scaling[n]) 169 SENSORS_LIMIT(SCALE(val,1000,1),-127,127) 171 SCALE((val)*scale + (ext),scale,1000)
|
H A D | adm1026.c | 182 * NEG12_OFFSET = SCALE * Vref / V-192 - Vref 195 #define SCALE(val,from,to) (((val)*(to) + ((from)/2))/(from)) macro 196 #define INS_TO_REG(n,val) (SENSORS_LIMIT(SCALE(val,adm1026_scaling[n],192),\ 198 #define INS_FROM_REG(n,val) (SCALE(val,192,adm1026_scaling[n]))
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/media/radio/ |
H A D | miropcm20-radio.c | 115 if ((*signal=SCALE(15, 0xffff, buf))==0)
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/m68k/fpsp040/ |
H A D | bindec.S | 52 | A7. Calculate SCALE. 53 | SCALE is equal to 10^ISCALE, where ISCALE is the number 328 | A7. Calculate SCALE. 329 | SCALE is equal to 10^ISCALE, where ISCALE is the number 334 | Coonen, p. 7.23 as ref.; however, the SCALE variable is 474 | fp0: float(ILOG)/X adjusted for SCALE (Y) 487 fdivx %fp1,%fp0 |calculate X / SCALE -> Y to fp0 516 fmulx %fp1,%fp0 |calculate X * SCALE -> Y to fp0
|
H A D | setox.S | 438 .set SCALE,FP_SCR1 531 movew %d0,SCALE(%a6) | ...SCALE is 2^(M) in extended 532 clrw SCALE+2(%a6) 533 movel #0x80000000,SCALE+4(%a6) 534 clrl SCALE+8(%a6) 567 fmulx SCALE(%a6),%fp0 | ...multiply 2^(M)
|
H A D | scale.S | 27 |SCALE idnt 2,1 | Motorola 040 Floating Point Software Package
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/include/ |
H A D | nt_printing.h | 30 #define SCALE 0x00000010L macro
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/kernel/ |
H A D | sched.c | 157 #define SCALE(v1,v1_max,v2_max) \ macro 161 (SCALE(TASK_NICE(p) + 20, 40, MAX_BONUS) - 20 * MAX_BONUS / 40 + \
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/m68k/ifpsp060/src/ |
H A D | fplsp.S | 7095 set SCALE,FP_SCR0 7169 mov.w %d1,SCALE(%a6) # SCALE is 2^(M) in extended 7170 mov.l &0x80000000,SCALE+4(%a6) 7171 clr.l SCALE+8(%a6) 7203 fmul.x SCALE(%a6),%fp0 # multiply 2^(M)
|
H A D | fpsp.S | 7201 set SCALE,FP_SCR0 7275 mov.w %d1,SCALE(%a6) # SCALE is 2^(M) in extended 7276 mov.l &0x80000000,SCALE+4(%a6) 7277 clr.l SCALE+8(%a6) 7309 fmul.x SCALE(%a6),%fp0 # multiply 2^(M) 12423 neg.l (%sp) # SCALE FACTOR = scale1 - scale2 15912 mov.l (%sp)+,%d0 # return SCALE factor 15919 mov.l (%sp)+,%d0 # return SCALE factor 15948 mov.l (%sp)+,%d0 # return SCALE facto [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/printing/ |
H A D | nt_printing.c | 2216 DEFAULTSOURCE | COPIES | SCALE |
|