Home
last modified time | relevance | path

Searched refs:ushort (Results 1 – 25 of 64) sorted by relevance

123

/external/opencv/otherlibs/highgui/
Dgrfmt_pxm.cpp280 ((ushort *)src)[x] = (ushort)code; in ReadData()
301 int v = ((ushort *)src)[x]; in ReadData()
315ushort *d = (ushort *)data, *s = (ushort *)src, *end = ((ushort *)src) + m_width; in ReadData()
332 … icvCvt_RGB2BGR_16u_C3R( (ushort *)src, 0, (ushort *)data, 0, cvSize(m_width,1) ); in ReadData()
337 … icvCvt_BGR2Gray_16u_C3C1R( (ushort *)src, 0, (ushort *)data, 0, cvSize(m_width,1), 2 ); in ReadData()
425 icvCvt_BGR2RGB_16u_C3R( (ushort*)data, 0, in WriteImage()
426 (ushort*)buffer, 0, cvSize(width,1) ); in WriteImage()
467 sprintf( ptr, "% 6d", ((ushort *)data)[x + 2] ); in WriteImage()
469 sprintf( ptr, "% 6d", ((ushort *)data)[x + 1] ); in WriteImage()
471 sprintf( ptr, "% 6d", ((ushort *)data)[x] ); in WriteImage()
[all …]
Dutils.cpp102 void icvCvt_BGR2Gray_16u_C3C1R( const ushort* rgb, int rgb_step, in icvCvt_BGR2Gray_16u_C3C1R()
103 ushort* gray, int gray_step, in icvCvt_BGR2Gray_16u_C3C1R()
113 gray[i] = (ushort)t; in icvCvt_BGR2Gray_16u_C3C1R()
211 void icvCvt_BGR2RGB_16u_C3R( const ushort* bgr, int bgr_step, in icvCvt_BGR2RGB_16u_C3R()
212 ushort* rgb, int rgb_step, CvSize size ) in icvCvt_BGR2RGB_16u_C3R()
219 ushort t0 = bgr[0], t1 = bgr[1], t2 = bgr[2]; in icvCvt_BGR2RGB_16u_C3R()
228 typedef unsigned short ushort; typedef
238 int t = descale( ((((ushort*)bgr555)[i] << 3) & 0xf8)*cB + in icvCvt_BGR5552Gray_8u_C2C1R()
239 ((((ushort*)bgr555)[i] >> 2) & 0xf8)*cG + in icvCvt_BGR5552Gray_8u_C2C1R()
240 ((((ushort*)bgr555)[i] >> 7) & 0xf8)*cR, SCALE ); in icvCvt_BGR5552Gray_8u_C2C1R()
[all …]
Dutils.h58 void icvCvt_BGR2Gray_16u_C3C1R( const ushort* bgr, int bgr_step,
59 ushort* gray, int gray_step,
75 void icvCvt_BGR2RGB_16u_C3R( const ushort* bgr, int bgr_step,
76 ushort* rgb, int rgb_step, CvSize size );
/external/webkit/Source/JavaScriptCore/wtf/unicode/qt4/
DUnicodeQt4.h41 ushort category : 8;
42 ushort line_break_class : 8;
43 ushort direction : 8;
44 ushort combiningClass :8;
45 ushort joining : 2;
47 ushort unicodeVersion : 4;
48 ushort lowerCaseSpecial : 1;
49 ushort upperCaseSpecial : 1;
50 ushort titleCaseSpecial : 1;
51 ushort caseFoldSpecial : 1; /* currently unused */
[all …]
/external/mesa3d/docs/OLD/
DMESA_packed_depth_stencil.spec114 UNSIGNED_SHORT_5_6_5 ushort 3 RGB
115 UNSIGNED_SHORT_5_6_5_REV ushort 3 RGB
116 UNSIGNED_SHORT_4_4_4_4 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
117 UNSIGNED_SHORT_4_4_4_4_REV ushort 4 RGBA,BGRA
118 UNSIGNED_SHORT_5_5_5_1 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
119 UNSIGNED_SHORT_1_5_5_5_REV ushort 4 RGBA,BGRA
124 UNSIGNED_SHORT_15_1_MESA ushort 2 DEPTH_STENCIL_MESA
125 UNSIGNED_SHORT_1_15_REV_MESA ushort 2 DEPTH_STENCIL_MESA
126 UNSIGNED_SHORT_24_8_MESA ushort 2 DEPTH_STENCIL_MESA
127 UNSIGNED_SHORT_8_24_REV_MESA ushort 2 DEPTH_STENCIL_MESA
/external/opencv/cv/src/
Dcvsmooth.cpp548 ushort coarse[16];
549 ushort fine[16][16];
558 *((ushort*) h.fine + x) op;
575 static inline void histogram_add( const ushort x[16], ushort y[16] ) in histogram_add()
583 static inline void histogram_add( const ushort x[16], ushort y[16] ) in histogram_add()
591 static inline void histogram_add( const ushort x[16], ushort y[16] ) in histogram_add()
593 *(vector ushort*) &y[0] = vec_add( *(vector ushort*) &y[0], *(vector ushort*) &x[0] ); in histogram_add()
594 *(vector ushort*) &y[8] = vec_add( *(vector ushort*) &y[8], *(vector ushort*) &x[8] ); in histogram_add()
597 static inline void histogram_add( const ushort x[16], ushort y[16] ) in histogram_add()
601 y[i] = (ushort)(y[i] + x[i]); in histogram_add()
[all …]
Dcvmorph.cpp92 static void icvErodeRectRow_16u( const ushort* src, ushort* dst, void* params );
95 static void icvDilateRectRow_16u( const ushort* src, ushort* dst, void* params );
100 static void icvErodeRectCol_16u( const ushort** src, ushort* dst, int dst_step,
106 static void icvDilateRectCol_16u( const ushort** src, ushort* dst, int dst_step,
113 static void icvErodeAny_16u( const ushort** src, ushort* dst, int dst_step,
119 static void icvDilateAny_16u( const ushort** src, ushort* dst, int dst_step,
514 ICV_MORPH_RECT_ROW( Erode, 16u, ushort, int, CV_CALC_MIN )
515 ICV_MORPH_RECT_ROW( Dilate, 16u, ushort, int, CV_CALC_MAX )
643 ICV_MORPH_RECT_COL( Erode, 16u, ushort, int, CV_CALC_MIN, CV_NOP )
644 ICV_MORPH_RECT_COL( Dilate, 16u, ushort, int, CV_CALC_MAX, CV_NOP )
[all …]
Dcvimgwarp.cpp162 *(ushort*)(dst + x*2) = *(ushort*)(tsrc + x_ofs[x]); in icvResize_NN_8u_C1R()
178 const ushort* _tsrc = (const ushort*)(tsrc + x_ofs[x]); in icvResize_NN_8u_C1R()
179 ushort* _tdst = (ushort*)(dst + x*6); in icvResize_NN_8u_C1R()
541 ICV_DEF_RESIZE_BILINEAR_FUNC( 16u, ushort, float, alpha, CV_NOP, cvRound )
545 ICV_DEF_RESIZE_BICUBIC_FUNC( 16u, ushort, int, CV_NOP, cvRound, CV_CAST_16U )
549 ICV_DEF_RESIZE_AREA_FAST_FUNC( 16u, ushort, int, cvRound )
553 ICV_DEF_RESIZE_AREA_FUNC( 16u, ushort, CV_NOP, cvRound )
1036 ICV_DEF_WARP_AFFINE_BILINEAR_FUNC( 16u, ushort, double, ICV_WARP_SCALE_ALPHA, CV_NOP,
1309 ICV_DEF_WARP_PERSPECTIVE_BILINEAR_FUNC( 16u, ushort, CV_NOP, cvRound )
1738 ICV_DEF_REMAP_BILINEAR_FUNC( 16u, ushort, CV_NOP, cvRound )
[all …]
Dcvcolor.cpp196 CV_IMPL_BGRX2BGR( 16u, ushort )
199 CV_IMPL_BGR2BGRX( 16u, ushort )
202 CV_IMPL_BGRA2RGBA( 16u, ushort )
225 unsigned t = ((const ushort*)src)[i]; in icvBGR5x52BGRx_8u_C2CnR()
235 unsigned t = ((const ushort*)src)[i]; in icvBGR5x52BGRx_8u_C2CnR()
263 ((ushort*)dst)[i] = (ushort)t; in icvBGRx2BGR5x5_8u_CnC2R()
269 ((ushort*)dst)[i] = (ushort)t; in icvBGRx2BGR5x5_8u_CnC2R()
406 CV_IMPL_BGRx2ABC_IPP( 16u, ushort )
460 CV_IMPL_ABC2BGRx_IPP( 16u, ushort )
513 CV_IMPL_GRAY2BGRX( 16u, ushort )
[all …]
Dcvpyrsegmentation.cpp52 ushort x1, y1, x2, y2;
1400 p->rect.x1 = (ushort) x; in icvExpandBaseLevelC1()
1401 p->rect.y1 = (ushort) y; in icvExpandBaseLevelC1()
1402 p->rect.x2 = (ushort) (x + 1); in icvExpandBaseLevelC1()
1403 p->rect.y2 = (ushort) (y + 1); in icvExpandBaseLevelC1()
1577 p->rect.x1 = (ushort) x; in icvExpandBaseLevelC3()
1578 p->rect.y1 = (ushort) y; in icvExpandBaseLevelC3()
1579 p->rect.x2 = (ushort) (x + 1); in icvExpandBaseLevelC3()
1580 p->rect.y2 = (ushort) (y + 1); in icvExpandBaseLevelC3()
1785 max_rect->x1 = (ushort) x; in icvMaxRoi1()
[all …]
Dcvstereobm.cpp125 vsum[x] = (ushort)(sptr[x]*(wsz2 + 2)); in icvPrefilter()
130 vsum[x] = (ushort)(vsum[x] + sptr[srcstep*y + x]); in icvPrefilter()
144 vsum[x] = (ushort)(vsum[x] + bottom[x] - top[x]); in icvPrefilter()
195 ushort *sad, *hsad0, *hsad, *hsad_sub; in icvFindStereoCorrespondenceBM_SSE2()
209 sad = (ushort*)cvAlignPtr(buf + sizeof(sad[0])); in icvFindStereoCorrespondenceBM_SSE2()
210 hsad0 = (ushort*)cvAlignPtr(sad + ndisp + 1 + dy0*ndisp); in icvFindStereoCorrespondenceBM_SSE2()
234 hsad[d] = (ushort)(hsad[d] + diff); in icvFindStereoCorrespondenceBM_SSE2()
291 sad[d] = (ushort)(hsad0[d-ndisp*dy0]*(wsz2 + 2 - dy0)); in icvFindStereoCorrespondenceBM_SSE2()
296 sad[d] = (ushort)(sad[d] + hsad[d]); in icvFindStereoCorrespondenceBM_SSE2()
Dcvfloodfill.cpp46 ushort y;
47 ushort l;
48 ushort r;
49 ushort prevl;
50 ushort prevr;
60 tail->y = (ushort)(Y); \
61 tail->l = (ushort)(L); \
62 tail->r = (ushort)(R); \
63 tail->prevl = (ushort)(PREV_L); \
64 tail->prevr = (ushort)(PREV_R); \
D_cv.h61 typedef unsigned short ushort; typedef
/external/opencv/cvaux/src/
Dcvsegment.cpp46 ushort y;
47 ushort l;
48 ushort r;
49 ushort Prevl;
50 ushort Prevr;
58 #define PUSH(Y,IL,IR,IPL,IPR,FL) { stack[StIn].y=(ushort)(Y); \
59 stack[StIn].l=(ushort)(IL); \
60 stack[StIn].r=(ushort)(IR); \
61 stack[StIn].Prevl=(ushort)(IPL); \
62 stack[StIn].Prevr=(ushort)(IPR); \
D_cvaux.h52 typedef unsigned short ushort; typedef
/external/opencv/cxcore/include/
Dcvwimage.h156 typedef WImage<ushort> WImage_16u;
157 typedef WImageView<ushort> WImageView_16u;
158 typedef WImageBuffer<ushort> WImageBuffer_16u;
160 typedef WImageC<ushort, 1> WImage1_16u;
161 typedef WImageViewC<ushort, 1> WImageView1_16u;
162 typedef WImageBufferC<ushort, 1> WImageBuffer1_16u;
164 typedef WImageC<ushort, 3> WImage3_16u;
165 typedef WImageViewC<ushort, 3> WImageView3_16u;
166 typedef WImageBufferC<ushort, 3> WImageBuffer3_16u;
513 inline int WImage<ushort>::Depth() const {return IPL_DEPTH_16U; } in Depth()
/external/opencv/cxcore/src/
D_cxipp.h75 IPCV_COPYSET( _16s_C1MR, ushort, int )
78 IPCV_COPYSET( _16s_C3MR, ushort, int )
97 ( const ushort* src1, int srcstep1, const ushort* src2, int srcstep2,\
98 ushort* dst, int dststep, CvSize size, int scalefactor )) \
166 IPCV_DEF_MEAN_MASK( 16u, ushort )
214 IPCV_DEF_MEAN_SDV( 16u, ushort )
240 IPCV_DEF_MIN_MAX_LOC( 16u, ushort, float, 0 )
288 IPCV_DEF_SUM_NOHINT( 16u, ushort, 0 )
304 IPCV_DEF_NON_ZERO( 16s, ushort )
406 IPCV_DEF_NORM_NOHINT_C1( 16u, ushort, 0 )
[all …]
Dcxconvert.cpp196 ICV_DEF_COPY_PX2PL_FUNC_2D( ushort, 16s, 2, ICV_DEF_PX2PL2PX_ENTRY_C2 )
197 ICV_DEF_COPY_PX2PL_FUNC_2D( ushort, 16s, 3, ICV_DEF_PX2PL2PX_ENTRY_C3 )
198 ICV_DEF_COPY_PX2PL_FUNC_2D( ushort, 16s, 4, ICV_DEF_PX2PL2PX_ENTRY_C4 )
208 ICV_DEF_COPY_PX2PL_FUNC_2D_COI( ushort, 16s )
349 ICV_DEF_COPY_PL2PX_FUNC_2D( ushort, 16s, 2, ICV_DEF_PX2PL2PX_ENTRY_C2 )
350 ICV_DEF_COPY_PL2PX_FUNC_2D( ushort, 16s, 3, ICV_DEF_PX2PL2PX_ENTRY_C3 )
351 ICV_DEF_COPY_PL2PX_FUNC_2D( ushort, 16s, 4, ICV_DEF_PX2PL2PX_ENTRY_C4 )
360 ICV_DEF_COPY_PL2PX_FUNC_2D_COI( ushort, 16s )
702 ICV_DEF_MIX_CH_FUNC_2D( ushort, 16u )
996 ICV_DEF_CVT_SCALE_ABS_CASE( ushort, int, CV_NOP, CV_IABS, in icvCvtScaleAbsTo_8u_C1R()
[all …]
D_cxcore.h74 extern const ushort icv8x16uSqrTab[];
305 CvStatus CV_STDCALL icvLUT_Transform8u_16u_C1R( const uchar* src, int srcstep, ushort* dst,
306 int dststep, CvSize size, const ushort* lut );
334 return icvLUT_Transform8u_16u_C1R( src, srcstep, (ushort*)dst, in icvLUT_Transform8u_16s_C1R()
335 dststep, size, (const ushort*)lut ); in icvLUT_Transform8u_16s_C1R()
Dcxtables.cpp109 const ushort icv8x16uSqrTab[] =
Dcxcopy.cpp226 ICV_DEF_SET_MASK_2D( icvSet_16s_C1MR, ushort, 1 )
229 ICV_DEF_SET_MASK_2D( icvSet_16s_C3MR, ushort, 3 )
237 ICV_DEF_COPY_MASK_2D( icvCopy_16s_C1MR, ushort, 1 )
240 ICV_DEF_COPY_MASK_2D( icvCopy_16s_C3MR, ushort, 3 )
823 ICV_DEF_FLIP_HZ_FUNC( 8u_C2R, ushort, 1 )
826 ICV_DEF_FLIP_HZ_FUNC( 16u_C3R, ushort, 3 )
Dcxsumpixels.cpp369 ICV_DEF_SUM_ALL( Sum, 16u, CV_NOP, ushort, double, int64, unsigned,
564 ICV_DEF_NONZERO_ALL( 16s, CV_NONZERO, ushort )
827 ICV_ACC_ROWS_FUNC( Sum, 16u32f, ushort, float, CV_ADD, CV_NOP )
828 ICV_ACC_ROWS_FUNC( Sum, 16u64f, ushort, double, CV_ADD, CV_NOP )
845 ICV_ACC_COLS_FUNC_C1( Sum, 16u32f, ushort, float, float, CV_ADD )
846 ICV_ACC_COLS_FUNC_C1( Sum, 16u64f, ushort, double, double, CV_ADD )
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/
DSDL_QWin.cc274 ushort *fb = (ushort*)my_painter->frameBuffer(); in repaintRotation3()
275 ushort *buf = (ushort*)my_image->bits(); in repaintRotation3()
328 ushort *fb = (ushort*)my_painter->frameBuffer(); in repaintRotation1()
329 ushort *buf = (ushort*)my_image->bits(); in repaintRotation1()
/external/kernel-headers/original/linux/
Dtypes.h101 typedef unsigned short ushort; typedef
/external/regex-re2/util/
Dutil.h73 typedef unsigned short ushort; typedef

123