Home
last modified time | relevance | path

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

1234567

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
Dsp_quad_depth_test_tmp.h62 ushort (*depth16)[TILE_SIZE]; in NAME()
63 ushort init_idepth[4], idepth[4], depth_step; in NAME()
67 init_idepth[0] = (ushort)((z0) * scale); in NAME()
68 init_idepth[1] = (ushort)((z0 + dzdx) * scale); in NAME()
69 init_idepth[2] = (ushort)((z0 + dzdy) * scale); in NAME()
70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale); in NAME()
72 depth_step = (ushort)(dzdx * scale); in NAME()
87 depth16 = (ushort (*)[TILE_SIZE]) in NAME()
133 depth16 = (ushort (*)[TILE_SIZE]) &depth16[0][2]; in NAME()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_depth_test_tmp.h62 ushort (*depth16)[TILE_SIZE]; in NAME()
63 ushort init_idepth[4], idepth[4], depth_step; in NAME()
67 init_idepth[0] = (ushort)((z0) * scale); in NAME()
68 init_idepth[1] = (ushort)((z0 + dzdx) * scale); in NAME()
69 init_idepth[2] = (ushort)((z0 + dzdy) * scale); in NAME()
70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale); in NAME()
72 depth_step = (ushort)(dzdx * scale); in NAME()
87 depth16 = (ushort (*)[TILE_SIZE]) in NAME()
133 depth16 = (ushort (*)[TILE_SIZE]) &depth16[0][2]; in NAME()
/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 …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_vbuf.h84 ushort vertex_size,
85 ushort nr_vertices );
89 ushort min_index,
90 ushort max_index );
105 const ushort *indices,
Ddraw_pt_vsplit.c46 ushort segment_size;
50 ushort draw_elts[SEGMENT_SIZE];
51 ushort identity_draw_elts[SEGMENT_SIZE];
56 ushort draws[MAP_SIZE];
59 ushort num_fetch_elts;
60 ushort num_draw_elts;
136 #define ELT_TYPE ushort
201 ushort i; in draw_pt_vsplit()
Ddraw_pt_fetch_shade_emit.c197 (ushort)fse->key.output_stride, in fse_run_linear()
198 (ushort)count )) in fse_run_linear()
225 draw->render->unmap_vertices( draw->render, 0, (ushort)(count - 1) ); in fse_run_linear()
248 const ushort *draw_elts, in fse_run()
261 (ushort)fse->key.output_stride, in fse_run()
262 (ushort)fetch_count )) in fse_run()
286 draw->render->unmap_vertices( draw->render, 0, (ushort)(fetch_count - 1) ); in fse_run()
306 const ushort *draw_elts, in fse_run_linear_elts()
319 (ushort)fse->key.output_stride, in fse_run_linear_elts()
320 (ushort)count )) in fse_run_linear_elts()
[all …]
Ddraw_pt_fetch_emit.c186 const ushort *draw_elts, in fetch_emit_run()
199 (ushort)feme->translate->key.output_stride, in fetch_emit_run()
200 (ushort)fetch_count ); in fetch_emit_run()
227 (ushort)(fetch_count - 1) ); in fetch_emit_run()
257 (ushort)feme->translate->key.output_stride, in fetch_emit_run_linear()
258 (ushort)count )) in fetch_emit_run_linear()
303 const ushort *draw_elts, in fetch_emit_run_linear_elts()
316 (ushort)feme->translate->key.output_stride, in fetch_emit_run_linear_elts()
317 (ushort)count )) in fetch_emit_run_linear_elts()
332 draw->render->unmap_vertices( draw->render, 0, (ushort)(count - 1) ); in fetch_emit_run_linear_elts()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vbuf.h84 ushort vertex_size,
85 ushort nr_vertices );
89 ushort min_index,
90 ushort max_index );
105 const ushort *indices,
Ddraw_pt_vsplit.c46 ushort segment_size;
50 ushort draw_elts[SEGMENT_SIZE];
51 ushort identity_draw_elts[SEGMENT_SIZE];
56 ushort draws[MAP_SIZE];
59 ushort num_fetch_elts;
60 ushort num_draw_elts;
136 #define ELT_TYPE ushort
201 ushort i; in draw_pt_vsplit()
Ddraw_pt_fetch_shade_emit.c197 (ushort)fse->key.output_stride, in fse_run_linear()
198 (ushort)count )) in fse_run_linear()
225 draw->render->unmap_vertices( draw->render, 0, (ushort)(count - 1) ); in fse_run_linear()
248 const ushort *draw_elts, in fse_run()
261 (ushort)fse->key.output_stride, in fse_run()
262 (ushort)fetch_count )) in fse_run()
286 draw->render->unmap_vertices( draw->render, 0, (ushort)(fetch_count - 1) ); in fse_run()
306 const ushort *draw_elts, in fse_run_linear_elts()
319 (ushort)fse->key.output_stride, in fse_run_linear_elts()
320 (ushort)count )) in fse_run_linear_elts()
[all …]
Ddraw_pt_fetch_emit.c186 const ushort *draw_elts, in fetch_emit_run()
199 (ushort)feme->translate->key.output_stride, in fetch_emit_run()
200 (ushort)fetch_count ); in fetch_emit_run()
227 (ushort)(fetch_count - 1) ); in fetch_emit_run()
257 (ushort)feme->translate->key.output_stride, in fetch_emit_run_linear()
258 (ushort)count )) in fetch_emit_run_linear()
303 const ushort *draw_elts, in fetch_emit_run_linear_elts()
316 (ushort)feme->translate->key.output_stride, in fetch_emit_run_linear_elts()
317 (ushort)count )) in fetch_emit_run_linear_elts()
332 draw->render->unmap_vertices( draw->render, 0, (ushort)(count - 1) ); in fetch_emit_run_linear_elts()
/external/mesa3d/src/gallium/auxiliary/indices/
Du_unfilled_indices.c34 ushort *out_us = (ushort *)out; in translate_ubyte_ushort()
37 out_us[i] = (ushort) in_ub[i]; in translate_ubyte_ushort()
58 ushort *out_us = (ushort *)out; in generate_linear_ushort()
61 out_us[i] = (ushort) i; in generate_linear_ushort()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/indices/
Du_unfilled_indices.c34 ushort *out_us = (ushort *)out; in translate_ubyte_ushort()
37 out_us[i] = (ushort) in_ub[i]; in translate_ubyte_ushort()
58 ushort *out_us = (ushort *)out; in generate_linear_ushort()
61 out_us[i] = (ushort) i; in generate_linear_ushort()
/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/chromium_org/third_party/mesa/src/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 …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.c232 const ushort(*rowA)[4] = (const ushort(*)[4]) srcRowA; in do_row()
233 const ushort(*rowB)[4] = (const ushort(*)[4]) srcRowB; in do_row()
234 ushort(*dst)[4] = (ushort(*)[4]) dstRow; in do_row()
245 const ushort(*rowA)[3] = (const ushort(*)[3]) srcRowA; in do_row()
246 const ushort(*rowB)[3] = (const ushort(*)[3]) srcRowB; in do_row()
247 ushort(*dst)[3] = (ushort(*)[3]) dstRow; in do_row()
257 const ushort(*rowA)[2] = (const ushort(*)[2]) srcRowA; in do_row()
258 const ushort(*rowB)[2] = (const ushort(*)[2]) srcRowB; in do_row()
259 ushort(*dst)[2] = (ushort(*)[2]) dstRow; in do_row()
268 const ushort *rowA = (const ushort *) srcRowA; in do_row()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_gen_mipmap.c232 const ushort(*rowA)[4] = (const ushort(*)[4]) srcRowA; in do_row()
233 const ushort(*rowB)[4] = (const ushort(*)[4]) srcRowB; in do_row()
234 ushort(*dst)[4] = (ushort(*)[4]) dstRow; in do_row()
245 const ushort(*rowA)[3] = (const ushort(*)[3]) srcRowA; in do_row()
246 const ushort(*rowB)[3] = (const ushort(*)[3]) srcRowB; in do_row()
247 ushort(*dst)[3] = (ushort(*)[3]) dstRow; in do_row()
257 const ushort(*rowA)[2] = (const ushort(*)[2]) srcRowA; in do_row()
258 const ushort(*rowB)[2] = (const ushort(*)[2]) srcRowB; in do_row()
259 ushort(*dst)[2] = (ushort(*)[2]) dstRow; in do_row()
268 const ushort *rowA = (const ushort *) srcRowA; in do_row()
[all …]
/external/ltrace/testsuite/ltrace.main/
Dparameters.conf11 void func_ushort(ushort, ushort)
33 enum[long](A=-1) func_negative_enum(enum[short](A=-1), enum[ushort](A=-1), enum[int](A=-1), enum[ui…
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/
Dtranslate_generic.c143 ATTRIB( R16G16B16A16_FLOAT, 4, float, ushort, TO_16_FLOAT )
144 ATTRIB( R16G16B16_FLOAT, 3, float, ushort, TO_16_FLOAT )
145 ATTRIB( R16G16_FLOAT, 2, float, ushort, TO_16_FLOAT )
146 ATTRIB( R16_FLOAT, 1, float, ushort, TO_16_FLOAT )
168 ATTRIB( R16G16B16A16_USCALED, 4, float, ushort, TO_16_USCALED )
169 ATTRIB( R16G16B16_USCALED, 3, float, ushort, TO_16_USCALED )
170 ATTRIB( R16G16_USCALED, 2, float, ushort, TO_16_USCALED )
171 ATTRIB( R16_USCALED, 1, float, ushort, TO_16_USCALED )
178 ATTRIB( R16G16B16A16_UNORM, 4, float, ushort, TO_16_UNORM )
179 ATTRIB( R16G16B16_UNORM, 3, float, ushort, TO_16_UNORM )
[all …]
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_generic.c143 ATTRIB( R16G16B16A16_FLOAT, 4, float, ushort, TO_16_FLOAT )
144 ATTRIB( R16G16B16_FLOAT, 3, float, ushort, TO_16_FLOAT )
145 ATTRIB( R16G16_FLOAT, 2, float, ushort, TO_16_FLOAT )
146 ATTRIB( R16_FLOAT, 1, float, ushort, TO_16_FLOAT )
168 ATTRIB( R16G16B16A16_USCALED, 4, float, ushort, TO_16_USCALED )
169 ATTRIB( R16G16B16_USCALED, 3, float, ushort, TO_16_USCALED )
170 ATTRIB( R16G16_USCALED, 2, float, ushort, TO_16_USCALED )
171 ATTRIB( R16_USCALED, 1, float, ushort, TO_16_USCALED )
178 ATTRIB( R16G16B16A16_UNORM, 4, float, ushort, TO_16_UNORM )
179 ATTRIB( R16G16B16_UNORM, 3, float, ushort, TO_16_UNORM )
[all …]
/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); \
/external/libutf/
Dutfdef.h2 #define ushort _utfushort macro
9 typedef unsigned short ushort; typedef
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
Dutfdef.h16 #define ushort _utfushort macro
23 typedef unsigned short ushort; typedef

1234567