/third_party/backends/backend/ |
H A D | u12-scanner.h | 79 typedef void (*pFnDACDark)(pU12_Device, pShadingVarDef, u_long, u_short); 92 u_short Red; 93 u_short Green; 94 u_short Blue; 110 u_short wColors[3]; 115 u_short *pw; 126 u_short *usp; 131 u_short *usp; 136 u_short *usp; 157 u_short wValu [all...] |
H A D | plustek-usbcalfile.c | 72 u_short version; 74 u_short red_gain; 75 u_short green_gain; 76 u_short blue_gain; 78 u_short red_offs; 79 u_short green_offs; 80 u_short blue_offs; 87 static u_short a_wWhiteShading[_SHADING_BUF] = {0}; 88 static u_short a_wDarkShading[_SHADING_BUF] = {0}; 203 usb_ReadSamples( FILE *fp, char *which, u_long *dim, u_short *buffe [all...] |
H A D | plustek-usb.h | 121 #define _LOWORD(x) ((u_short)(x & 0xffff)) 122 #define _HIWORD(x) ((u_short)(x >> 16)) 126 #define _HILO2WORD(x) ((u_short)x.bHi * 256U + x.bLo) 127 #define _LOHI2WORD(x) ((u_short)x.bLo * 256U + x.bHi) 129 #define _PHILO2WORD(x) ((u_short)x->bHi * 256U + x->bLo) 130 #define _PLOHI2WORD(x) ((u_short)x->bLo * 256U + x->bHi) 143 u_short Red; 144 u_short Green; 145 u_short Blue; 165 u_short Color [all...] |
H A D | epson.h | 148 u_short opt_resolution; 154 u_short main_res1; 155 u_short main_res2; 156 u_short main_res3; 157 u_short main_res4; 158 u_short main_res5; 159 u_short main_res6; 160 u_short main_res7; 162 u_short sub_res1; 163 u_short sub_res [all...] |
H A D | plustek-usbcal.c | 207 cano_adjLampSetting( u_short *min, u_short *max, u_short *off, u_short val ) in cano_adjLampSetting() 224 u_short bisect = (newoff + *max)>>1; in cano_adjLampSetting() 225 u_short twice = newoff*2; in cano_adjLampSetting() 290 m_ScanParam.Origin.x = (u_short)((u_long) hw->wActivePixelsStart * in cano_AdjustLightsource() 342 usb_Swap((u_short *)scanbuf, m_ScanParam.Size.dwPhyBytes ); in cano_AdjustLightsource() 363 dwR += ((u_short*)scanbuf)[dw]; in cano_AdjustLightsource() 364 dwG += ((u_short*)scanbu in cano_AdjustLightsource() [all...] |
H A D | u12-hwdef.h | 51 #define _LOWORD(x) ((u_short)(x & 0xffff)) 52 #define _HIWORD(x) ((u_short)(x >> 16)) 409 u_short RD_Dpi; /* 0x21 */ 410 u_short RD_Origin; /* 0x23 */ 411 u_short RD_Pixels; /* 0x25 */ 412 u_short RD_ThresholdControl; /* 0x27 */ 414 u_short RD_RedDarkOff; /* 0x33 */ 415 u_short RD_GreenDarkOff; /* 0x35 */ 416 u_short RD_BlueDarkOff; /* 0x37 */ 419 u_short RD_MotorTotalStep [all...] |
H A D | plustek-usbshading.c | 105 static void usb_line_statistics( char *cmt, u_short* buf, in usb_line_statistics() 111 u_short mid, mad, aved, lbd, ubd, tmp; in usb_line_statistics() 167 aved = (u_short)(alld/dim_x); in usb_line_statistics() 196 usb_PrepareFineCal( Plustek_Device *dev, ScanParam *tmp_sp, u_short cal_dpi ) in usb_PrepareFineCal() 293 void *coeff_buffer, u_short wCount ) in usb_SetDarkShading() 331 void *data_buffer, u_short wCount ) in usb_SetWhiteShading() 668 static u_char usb_GetNewGain( Plustek_Device *dev, u_short wMax, int channel ) in usb_GetNewGain() 736 u_long ideal, u_short l_on, u_short *l_off ) in adjLampSetting() 818 m_ScanParam.Origin.x = (u_short)((u_lon in usb_AdjustGain() [all...] |
H A D | plustek-usbscan.c | 90 static u_short m_wFastFeedStepSize; 91 static u_short m_wLineLength; 92 static u_short m_wStepSize; 131 static u_short 132 usb_get_res( u_short base, u_short idx ) in usb_get_res() 139 return (u_short)((double)base/div_list[idx-1]); in usb_get_res() 151 static u_short 152 usb_SetAsicDpiX( Plustek_Device *dev, u_short xdpi ) in usb_SetAsicDpiX() 154 u_short re in usb_SetAsicDpiX() [all...] |
H A D | u12-shading.c | 116 u_short count, wR, wG, wB, tmp; in u12shadingAdjustShadingWaveform() 249 cp.blue.usp = (u_short*)dev->shade.pHilight + _SHADING_BEGINX; in u12shadingAdjustShadingWaveform() 329 pwsum->Red = (u_short)(psum.pulrgb->Red / dev->shade.dwDiv); in u12shadingAdjustShadingWaveform() 330 pwsum->Green = (u_short)(psum.pulrgb->Green / dev->shade.dwDiv); in u12shadingAdjustShadingWaveform() 331 pwsum->Blue = (u_short)(psum.pulrgb->Blue / dev->shade.dwDiv); in u12shadingAdjustShadingWaveform() 337 cp.blue.usp = (u_short*)dev->bufs.b2.pSumBuf + _SHADING_BEGINX; in u12shadingAdjustShadingWaveform() 338 pvar.pw = (u_short*)dev->shade.pHilight + _SHADING_BEGINX; in u12shadingAdjustShadingWaveform() 348 *cp.blue.usp = (u_short)(*cp.green.ulp / dev->shade.dwDiv); in u12shadingAdjustShadingWaveform() 362 pwsum->Red = (u_short)(psum.pulrgb->Red >> 5); in u12shadingAdjustShadingWaveform() 363 pwsum->Green = (u_short)(psu in u12shadingAdjustShadingWaveform() [all...] |
H A D | u12-tpa.c | 101 dev->regs.RD_Origin = (u_short)dev->scan.negBegin; in u12tpa_Reshading() 355 (u_short)((u_long)bHi[0] * 100UL / dwR); in u12tpa_Reshading() 357 (u_short)((u_long)bHi[1] * 100UL / dwG); in u12tpa_Reshading() 359 (u_short)((u_long)bHi[2] * 100UL / dwB); in u12tpa_Reshading() 362 (u_short)((u_long)bHi[0] * 90UL / dwR); in u12tpa_Reshading() 364 (u_short)((u_long)bHi[1] * 77UL / dwG); in u12tpa_Reshading() 366 (u_short)((u_long)bHi[2] * 73UL / dwB); in u12tpa_Reshading() 370 (u_short)((dwR > bHi[0]) ? dwR - bHi[0] : 0); in u12tpa_Reshading() 372 (u_short)((dwG > bHi[1]) ? dwG - bHi[1] : 0); in u12tpa_Reshading() 374 (u_short)((dw in u12tpa_Reshading() [all...] |
H A D | plustek-usbimg.c | 79 static u_short wSum, Mask; 230 (u_char)(((u_short)scan->Red.pcb[dw].a_bColor[0] + in usb_AverageColorByte() 231 (u_short)scan->Red.pcb[dw + 1].a_bColor[0]) / 2); in usb_AverageColorByte() 234 (u_char)(((u_short)scan->Green.pcb[dw].a_bColor[0] + in usb_AverageColorByte() 235 (u_short)scan->Green.pcb[dw + 1].a_bColor[0]) / 2); in usb_AverageColorByte() 238 (u_char)(((u_short)scan->Blue.pcb[dw].a_bColor[0] + in usb_AverageColorByte() 239 (u_short)scan->Blue.pcb[dw + 1].a_bColor[0]) / 2); in usb_AverageColorByte() 266 scan->Red.pcw[dw].Colors[0] = (u_short)(((u_long)scan->Red.pcw[dw].Colors[0] + in usb_AverageColorWord() 268 scan->Green.pcw[dw].Colors[0] = (u_short)(((u_long)scan->Green.pcw[dw].Colors[0] + in usb_AverageColorWord() 270 scan->Blue.pcw[dw].Colors[0] = (u_short)(((u_lon in usb_AverageColorWord() [all...] |
H A D | u12.h | 269 u_short numCCDRegs; /**< number of values to write */ 274 u_short numDACRegs; /**< number of values to write */
|
H A D | u12-ccd.c | 760 u_long dwCh, u_short wDarkest ) in fnDACDarkWolfson() 762 u_short w = dev->shade.DarkDAC.bColors[dwCh]; in fnDACDarkWolfson() 768 w += (u_short)wDarkest / dev->shade.wDarkLevels; in fnDACDarkWolfson() 775 if(w != (u_short)dev->shade.DarkDAC.bColors[dwCh] ) { in fnDACDarkWolfson() 783 w = (u_short)dev->shade.DarkDAC.bColors[dwCh] - 2U; in fnDACDarkWolfson() 785 w = (u_short)dev->shade.DarkDAC.bColors[dwCh] - dev->shade.wDarkLevels; in fnDACDarkWolfson() 790 if( w != (u_short)dev->shade.DarkDAC.bColors[dwCh] ) { in fnDACDarkWolfson() 801 u_long dwCh, u_short wDarkest ) in fnDACDarkSamsung() 803 u_short w; in fnDACDarkSamsung() 809 w = (u_short)de in fnDACDarkSamsung() [all...] |
H A D | u12-hw.c | 357 u_short *pState = (u_short*)dev->scanStates; 422 dev->regs.RD_Origin = (u_short)(dev->adj.leftNormal*2+_DATA_ORIGIN_X); 601 dev->regs.RD_Origin = (u_short)(dev->adj.leftNormal*2+_DATA_ORIGIN_X); 604 dev->regs.RD_Origin = (u_short)dev->scan.posBegin; 606 dev->regs.RD_Origin = (u_short)dev->scan.negBegin; 614 dev->regs.RD_Pixels = (u_short)dev->DataInf.dwAsicBytesPerPlane; 616 dev->regs.RD_Pixels = (u_short)dev->DataInf.dwAppPixelsPerLine;
|
H A D | plustek-usbhw.c | 117 u_short pattern = 0xfeed; /* deadbeef */ in usb_HostSwap() 132 usb_Swap( u_short *pw, u_long dwBytes ) in usb_Swap() 346 u_short ffs, step, min_ffs; in usb_WaitPos() 375 min_ffs = (u_short)(CRYSTAL_FREQ /((u_long)mclk_div * 32UL * in usb_WaitPos() 411 if((u_short)fac < ffs ) { in usb_WaitPos() 455 u_short wFastFeedStepSize; in usb_ModuleMove() 545 wFastFeedStepSize = (u_short)(CRYSTAL_FREQ / in usb_ModuleMove() 701 u_short wFastFeedStepSize; in usb_ModuleToHome() 764 wFastFeedStepSize = (u_short)(CRYSTAL_FREQ / (mclk_div * 8 * 1 * in usb_ModuleToHome() 955 &hw->illu_mono.red_lamp_on, sizeof(u_short) * in usb_AdjustCISLampSettings() [all...] |
H A D | u12-image.c | 54 static u_short wPreviewScanned = 0; 216 u_short *src; in fnColor42() 222 src = (u_short*)img; in fnColor42() 307 static u_short 423 u_short brightness; in imageSetupScanSettings() 463 brightness = (u_short)(_DEF_BW_THRESHOLD - in imageSetupScanSettings() 466 brightness = (u_short)(_DEF_BW_THRESHOLD - in imageSetupScanSettings()
|
/third_party/lwip/src/include/netif/ppp/ |
H A D | ccp.h | 147 u_short bsd_bits; /* # bits/code for BSD Compress */ 150 u_short deflate_size; /* lg(window size) for Deflate */
|
H A D | eap.h | 121 u_short ea_namelen; /* Length of our name */ 122 u_short ea_peerlen; /* Length of peer's name */
|
H A D | ipv6cp.h | 179 u_short vj_protocol; /* protocol value to use in VJ option */
|
/third_party/python/Modules/ |
H A D | getaddrinfo.c | 89 u_short si_port; 249 u_short port; in getaddrinfo() 345 port = htons((u_short)atoi(servname)); in getaddrinfo() 495 u_short port = port0 & 0xffff; 540 u_short port = port0 & 0xffff;
|
H A D | getnameinfo.c | 76 u_short si_port; 104 u_short port;
|
/third_party/lwip/src/netif/ppp/ |
H A D | ipv6cp.c | 600 u_short cilen, citype; in ipv6cp_ackci() 602 u_short cishort; in ipv6cp_ackci() 676 u_short cishort; in ipv6cp_nakci() 811 u_short cishort; in ipv6cp_rejci() 894 u_short cilen, citype; /* Parsed len, type */ in ipv6cp_reqci() 896 u_short cishort; /* Parsed short value */ in ipv6cp_reqci() 1406 u_short cishort; in ipv6cp_printpkt()
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | types.h | 62 typedef unsigned short u_short, ushort; typedef
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | types.h | 65 typedef unsigned short u_short, ushort; typedef
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | types.h | 65 typedef unsigned short u_short, ushort; typedef
|