Home
last modified time | relevance | path

Searched refs:uint16 (Results 1 – 25 of 257) sorted by relevance

1234567891011

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dpacking.hpp67 GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const & v);
83 GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 p);
125 GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const & v);
141 GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 p);
154 GLM_FUNC_DECL uint16 packUnorm1x16(float v);
167 GLM_FUNC_DECL float unpackUnorm1x16(uint16 p);
212 GLM_FUNC_DECL uint16 packSnorm1x16(float v);
225 GLM_FUNC_DECL float unpackSnorm1x16(uint16 p);
268 GLM_FUNC_DECL uint16 packHalf1x16(float v);
279 GLM_FUNC_DECL float unpackHalf1x16(uint16 v);
[all …]
Dbitfield.hpp104 GLM_FUNC_DECL uint16 bitfieldInterleave(uint8 x, uint8 y);
118 GLM_FUNC_DECL uint32 bitfieldInterleave(uint16 x, uint16 y);
160 GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z);
202 GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z, uint16 w);
Dbitfield.inl19 GLM_FUNC_QUALIFIER glm::uint16 bitfieldInterleave(glm::uint8 x, glm::uint8 y)
21 glm::uint16 REG1(x);
22 glm::uint16 REG2(y);
24 REG1 = ((REG1 << 4) | REG1) & glm::uint16(0x0F0F);
25 REG2 = ((REG2 << 4) | REG2) & glm::uint16(0x0F0F);
27 REG1 = ((REG1 << 2) | REG1) & glm::uint16(0x3333);
28 REG2 = ((REG2 << 2) | REG2) & glm::uint16(0x3333);
30 REG1 = ((REG1 << 1) | REG1) & glm::uint16(0x5555);
31 REG2 = ((REG2 << 1) | REG2) & glm::uint16(0x5555);
37 GLM_FUNC_QUALIFIER glm::uint32 bitfieldInterleave(glm::uint16 x, glm::uint16 y)
[all …]
Dtype_precision.hpp326 typedef detail::uint16 lowp_uint16;
342 typedef detail::uint16 lowp_uint16_t;
358 typedef detail::uint16 lowp_u16;
374 typedef detail::uint16 mediump_uint16;
390 typedef detail::uint16 mediump_uint16_t;
406 typedef detail::uint16 mediump_u16;
422 typedef detail::uint16 highp_uint16;
438 typedef detail::uint16 highp_uint16_t;
454 typedef detail::uint16 highp_u16;
470 typedef detail::uint16 uint16; typedef
[all …]
Dpacking.inl15 GLM_FUNC_QUALIFIER glm::uint16 float2half(glm::uint32 f)
211 uint16 pack;
222 uint16 pack;
234 uint16 pack;
280 GLM_FUNC_QUALIFIER static tvec1<uint16, P> pack(tvec1<float, P> const & v)
288 GLM_FUNC_QUALIFIER static tvec1<float, P> unpack(tvec1<uint16, P> const & v)
299 GLM_FUNC_QUALIFIER static tvec2<uint16, P> pack(tvec2<float, P> const & v)
307 GLM_FUNC_QUALIFIER static tvec2<float, P> unpack(tvec2<uint16, P> const & v)
318 GLM_FUNC_QUALIFIER static tvec3<uint16, P> pack(tvec3<float, P> const & v)
326 GLM_FUNC_QUALIFIER static tvec3<float, P> unpack(tvec3<uint16, P> const & v)
[all …]
Drandom.inl66 struct compute_rand<uint16, P, vecType>
68 GLM_FUNC_QUALIFIER static vecType<uint16, P> call()
71 (vecType<uint16, P>(compute_rand<uint8, P, vecType>::call()) << static_cast<uint16>(8)) |
72 (vecType<uint16, P>(compute_rand<uint8, P, vecType>::call()) << static_cast<uint16>(0));
82 (vecType<uint32, P>(compute_rand<uint16, P, vecType>::call()) << static_cast<uint32>(16)) |
83 (vecType<uint32, P>(compute_rand<uint16, P, vecType>::call()) << static_cast<uint32>(0));
127 …return (vecType<int16, P>(compute_rand<uint16, P, vecType>::call() % vecType<uint16, P>(Max + stat…
132 struct compute_linearRand<uint16, P, vecType>
134 …GLM_FUNC_QUALIFIER static vecType<uint16, P> call(vecType<uint16, P> const & Min, vecType<uint16, …
136 return (compute_rand<uint16, P, vecType>::call() % (Max + static_cast<uint16>(1) - Min)) + Min;
[all …]
/third_party/mindspore/mindspore/numpy/
Ddtypes.py17 from ..common.dtype import (int8, int16, int32, int64, uint8, uint16, uint32, uint64,
60 uint16,
77 'uint16': uint16,
105 (uint8, uint16): uint16,
108 (uint16, uint32): uint32,
109 (uint16, uint64): uint64,
115 (uint16, int8): int32,
116 (uint16, int16): int32,
117 (uint16, int32): int32,
118 (uint16, int64): int64,
[all …]
/third_party/protobuf/src/google/protobuf/stubs/
Dport.h130 typedef uint16_t uint16; typedef
157 inline uint16 GOOGLE_UNALIGNED_LOAD16(const void *p) { in GOOGLE_UNALIGNED_LOAD16()
169 inline void GOOGLE_UNALIGNED_STORE16(void *p, uint16 v) { in GOOGLE_UNALIGNED_STORE16()
183 #define GOOGLE_UNALIGNED_LOAD16(_p) (*reinterpret_cast<const uint16 *>(_p))
187 #define GOOGLE_UNALIGNED_STORE16(_p, _val) (*reinterpret_cast<uint16 *>(_p) = (_val))
192 inline uint16 GOOGLE_UNALIGNED_LOAD16(const void *p) { in GOOGLE_UNALIGNED_LOAD16()
193 uint16 t; in GOOGLE_UNALIGNED_LOAD16()
210 inline void GOOGLE_UNALIGNED_STORE16(void *p, uint16 v) { in GOOGLE_UNALIGNED_STORE16()
245 static inline uint16 bswap_16(uint16 x) { in bswap_16()
246 return static_cast<uint16>(((x & 0xFF) << 8) | ((x & 0xFF00) >> 8)); in bswap_16()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_reference.h34 void RefSwapBytes16 (uint16 *dPtr,
51 void RefSetArea16 (uint16 *dPtr,
52 uint16 value,
83 void RefCopyArea16 (const uint16 *sPtr,
84 uint16 *dPtr,
108 uint16 *dPtr,
143 void RefCopyArea16_S16 (const uint16 *sPtr,
155 void RefCopyArea16_32 (const uint16 *sPtr,
180 void RefCopyArea16_R32 (const uint16 *sPtr,
220 uint16 *dPtr,
[all …]
Ddng_image_writer.h49 uint16 fResolutionUnit;
64 uint16 fCode;
66 uint16 fType;
72 tiff_tag (uint16 code, in tiff_tag()
73 uint16 type, in tiff_tag()
89 uint16 Code () const in Code()
94 uint16 Type () const in Type()
137 tag_data_ptr (uint16 code, in tag_data_ptr()
138 uint16 type, in tag_data_ptr()
177 tag_string (uint16 code,
[all …]
Ddng_bottlenecks.h43 (uint16 *dPtr,
63 (uint16 *dPtr,
64 uint16 value,
98 (const uint16 *sPtr,
99 uint16 *dPtr,
125 uint16 *dPtr,
163 (const uint16 *sPtr,
176 (const uint16 *sPtr,
203 (const uint16 *sPtr,
246 uint16 *dPtr,
[all …]
Ddng_reference.cpp54 void RefSwapBytes16 (uint16 *dPtr, in RefSwapBytes16()
125 void RefSetArea16 (uint16 *dPtr, in RefSetArea16()
126 uint16 value, in RefSetArea16()
138 uint16 *dPtr1 = dPtr; in RefSetArea16()
143 uint16 *dPtr2 = dPtr1; in RefSetArea16()
256 void RefCopyArea16 (const uint16 *sPtr, in RefCopyArea16()
257 uint16 *dPtr, in RefCopyArea16()
272 const uint16 *sPtr1 = sPtr; in RefCopyArea16()
273 uint16 *dPtr1 = dPtr; in RefCopyArea16()
278 const uint16 *sPtr2 = sPtr1; in RefCopyArea16()
[all …]
Ddng_utils.h94 inline uint16 Min_uint16 (uint16 x, uint16 y) in Min_uint16()
101 inline uint16 Max_uint16 (uint16 x, uint16 y) in Max_uint16()
156 inline uint16 Pin_uint16 (int32 x) in Pin_uint16()
178 return (uint16) x; in Pin_uint16()
594 inline uint16 SwapBytes16 (uint16 x) in SwapBytes16()
597 return (uint16) ((x << 8) | in SwapBytes16()
805 inline uint32 DNG_HalfToFloat (uint16 halfValue) in DNG_HalfToFloat()
878 inline uint16 DNG_FloatToHalf (uint32 i) in DNG_FloatToHalf()
893 return (uint16)sign; in DNG_FloatToHalf()
913 return (uint16)(sign | (mantissa >> 13)); in DNG_FloatToHalf()
[all …]
Ddng_memory.h144 uint16 * Buffer_uint16 () in Buffer_uint16()
146 return (uint16 *) Buffer (); in Buffer_uint16()
152 const uint16 * Buffer_uint16 () const in Buffer_uint16()
154 return (const uint16 *) Buffer (); in Buffer_uint16()
406 uint16 * Buffer_uint16 () in Buffer_uint16()
408 return (uint16 *) Buffer (); in Buffer_uint16()
414 const uint16 * Buffer_uint16 () const in Buffer_uint16()
416 return (const uint16 *) Buffer (); in Buffer_uint16()
Ddng_linearization_info.cpp316 uint16 *lut = NULL; in dng_linearize_plane()
372 uint16 z = (uint16) Round_uint32 (y * 0x0FFFF); in dng_linearize_plane()
574 const uint16 *lut = fScale_buffer->Buffer_uint16 (); in Process()
576 uint16 *dstPtr = (uint16 *) dPtr; in Process()
598 const uint16 *srcPtr = (const uint16 *) sPtr; in Process()
641 const uint16 *srcPtr = (const uint16 *) sPtr; in Process()
688 uint16 *dstPtr = (uint16 *) dPtr; in Process()
728 const uint16 *srcPtr = (const uint16 *) sPtr; in Process()
832 const uint16 *srcPtr = (const uint16 *) sPtr; in Process()
913 uint16 *dstPtr = (uint16 *) dPtr; in Process()
[all …]
Ddng_ref_counted_block.h160 uint16 * Buffer_uint16 () in Buffer_uint16()
162 return (uint16 *) Buffer (); in Buffer_uint16()
168 const uint16 * Buffer_uint16 () const in Buffer_uint16()
170 return (const uint16 *) Buffer (); in Buffer_uint16()
/third_party/glslang/Test/
Dspv.int16.amd.frag12 // int16/uint16 in block
19 // int16/uint16 for input
114 u16v = u16vec2(bv); // bool -> uint16
116 bv = bvec2(u16v); // uint16 -> bool
119 u16v = u16vec2(iv); // int -> uint16
121 iv = ivec2(u16v); // uint16 -> int
124 u16v = u16vec2(uv); // uint -> uint16
126 uv = u16v; // uint16 -> uint
129 u16v = u16vec2(fv); // float -> uint16
131 fv = u16v; // uint16 -> float
[all …]
/third_party/boost/libs/safe_numerics/example/
Dmotor1.c28 uint16 phase=0; // ccpPhase[phase_ix]
32 uint16 ccpr; // copy of CCPR1&2
33 uint16 c; // integer delay count
34 uint16 step_no; // progress of move
35 uint16 step_down; // start of down-ramp
36 uint16 move; // total steps to move
37 uint16 midpt; // midpoint of move
43 uint16 const ccpPhase[] = {0x909, 0x908, 0x808, 0x809}; // 00,01,11,10
48 uint16 make16(uint8 l, uint8 r) { in make16()
49 return (uint16) l << 8 + r; in make16()
Dmotor2.c28 uint16 phase=0; // ccpPhase[phase_ix]
36 uint16 step_no; // progress of move
37 uint16 step_down; // start of down-ramp
38 uint16 move; // total steps to move
39 uint16 midpt; // midpoint of move
44 uint16 const ccpPhase[] = {0x909, 0x908, 0x808, 0x809}; // 00,01,11,10
49 uint16 make16(uint8 l, uint8 r) { in make16()
50 return (uint16) l << 8 + r; in make16()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dglm.cpp12 template struct tvec1<uint16, lowp>;
23 template struct tvec1<uint16, mediump>;
34 template struct tvec1<uint16, highp>;
46 template struct tvec2<uint16, lowp>;
57 template struct tvec2<uint16, mediump>;
68 template struct tvec2<uint16, highp>;
80 template struct tvec3<uint16, lowp>;
91 template struct tvec3<uint16, mediump>;
102 template struct tvec3<uint16, highp>;
114 template struct tvec4<uint16, lowp>;
[all …]
/third_party/mindspore/mindspore/common/
Ddtype.py68 uint16 = typing.UInt(16) variable
69 ushort = uint16
125 uint16,
135 uint_type = (uint8, uint16, uint32, uint64,)
157 np.uint16: uint16,
231 uint16: np.uint16,
261 uint16: int,
/third_party/protobuf/src/google/protobuf/util/internal/
Djson_escaping.h47 static constexpr uint16 kMinHighSurrogate = 0xd800;
52 static constexpr uint16 kMaxHighSurrogate = 0xdbff;
57 static constexpr uint16 kMinLowSurrogate = 0xdc00;
62 static constexpr uint16 kMaxLowSurrogate = 0xdfff;
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/uconvert/
Dspec_const_opt_truncate_16.amber29 %uint16 = OpTypeInt 16 0
31 %output_buffer = OpTypeStruct %uint16
35 %_ptr_StorageBuffer_uint16 = OpTypePointer StorageBuffer %uint16
37 %op_spec_const = OpSpecConstantOp %uint16 UConvert %spec_const
Dspec_const_opt_truncate_983040.amber28 %uint16 = OpTypeInt 16 0
30 %output_buffer = OpTypeStruct %uint16
34 %_ptr_StorageBuffer_uint16 = OpTypePointer StorageBuffer %uint16
36 %op_spec_const = OpSpecConstantOp %uint16 UConvert %spec_const
/third_party/boost/libs/endian/test/
Dintrinsic_test.cpp10 typedef unsigned short uint16; typedef
20 uint16 x2 = 0x1122U; in main()
21 uint16 y2 = BOOST_ENDIAN_INTRINSIC_BYTE_SWAP_2(x2); in main()

1234567891011