Home
last modified time | relevance | path

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

12345678910>>...26

/external/neven/Embedded/common/src/b_BasicEm/
DFunctions.c40 uint16 bbs_swapBytes( uint16 valA ) in bbs_swapBytes()
48 uint16* memPtrA ) in bbs_memWrite32()
53 *memPtrA++ = bbs_swapBytes( ( uint16 )( ( valL >> 0 ) & 0xFFFF ) ); in bbs_memWrite32()
54 *memPtrA++ = bbs_swapBytes( ( uint16 )( ( valL >> 16 ) & 0xFFFF ) ); in bbs_memWrite32()
67 const uint16* memPtrA ) in bbs_memRead32()
86 uint32 bbs_memPeek32( const uint16* memPtrA ) in bbs_memPeek32()
104 uint16* memPtrA ) in bbs_memWrite16()
107 *memPtrA++ = bbs_swapBytes( *( uint16* )ptrA ); in bbs_memWrite16()
109 *memPtrA++ = *( uint16* )ptrA; in bbs_memWrite16()
111 return bbs_SIZEOF16( uint16 ); in bbs_memWrite16()
[all …]
DDynMemManager.c90 uint16* pL = ( uint16* )ptrA->memPtrE; in bbs_DynMemManager_allocatedSize()
94 pL = *( uint16** )pL; in bbs_DynMemManager_allocatedSize()
125 uint16* bbs_DynMemManager_alloc( struct bbs_Context* cpA, in bbs_DynMemManager_alloc()
130 uint16* pL = NULL; in bbs_DynMemManager_alloc()
147 uint16** ppL = ( uint16** )ptrA->memPtrE; in bbs_DynMemManager_alloc()
148 while( *ppL != NULL ) ppL = ( uint16** )*ppL; in bbs_DynMemManager_alloc()
170 uint16* memPtrA ) in bbs_DynMemManager_free()
181 uint16* memPtrL = ptrA->memPtrE; in bbs_DynMemManager_free()
182 ptrA->memPtrE = *( uint16** )ptrA->memPtrE; in bbs_DynMemManager_free()
187 uint16* p0L = NULL; in bbs_DynMemManager_free()
[all …]
DFunctions.h50 uint16* memPtrA );
54 const uint16* memPtrA );
57 uint32 bbs_memPeek32( const uint16* memPtrA );
61 uint16* memPtrA );
65 const uint16* memPtrA );
70 uint32 sizeA, uint16* memPtrA );
75 uint32 sizeA, const uint16* memPtrA );
80 uint32 sizeA, uint16* memPtrA );
85 uint32 sizeA, const uint16* memPtrA );
91 uint16* memPtrA );
[all …]
DMemory.c59 uint16* dstL = ( uint16* )dstA; in bbs_memcpy16()
60 const uint16* srcL = ( uint16* )srcA; in bbs_memcpy16()
61 uint16 iL; in bbs_memcpy16()
73 *( uint16* ) ( ( int32 ) dstA + iL ) = *( uint16* ) ( ( int32 ) srcA + iL ); in bbs_memcpy16()
78 uint16* dstL = ( uint16* )dstA; in bbs_memcpy16()
79 const uint16* srcL = ( uint16* )srcA; in bbs_memcpy16()
111 uint16 iL; in bbs_memcpy32()
180 void* bbs_memset16( void* dstA, uint16 valA, uint32 sizeA ) in bbs_memset16()
183 uint16* dstL = ( uint16* )dstA; in bbs_memset16()
/external/libpcap/
Drpcap-protocol.h136 typedef unsigned short uint16; /* 16-bit unsigned integer */ typedef
145 uint16 value; /* Message-dependent value (not always used) */
165 uint16 namelen; /* Length of the interface name */
166 uint16 desclen; /* Length of the interface description */
168 uint16 naddr; /* Number of addresses */
169 uint16 dummy; /* Must be zero */
216 uint16 family; /* Address family */
226 uint16 family; /* Address family */
227 uint16 port; /* Port number */
238 uint16 family; /* Address family */
[all …]
/external/pdfium/third_party/libtiff/
Dtif_aux.c128 uint16 **tf = td->td_transferfunction; in TIFFDefaultTransferFunction()
136 nbytes = n * sizeof (uint16); in TIFFDefaultTransferFunction()
137 tf[0] = (uint16 *)_TIFFmalloc(nbytes); in TIFFDefaultTransferFunction()
143 tf[0][i] = (uint16)floor(65535.*pow(t, 2.2) + .5); in TIFFDefaultTransferFunction()
147 tf[1] = (uint16 *)_TIFFmalloc(nbytes); in TIFFDefaultTransferFunction()
151 tf[2] = (uint16 *)_TIFFmalloc(nbytes); in TIFFDefaultTransferFunction()
219 *va_arg(ap, uint16 *) = td->td_bitspersample; in TIFFVGetFieldDefaulted()
222 *va_arg(ap, uint16 *) = td->td_threshholding; in TIFFVGetFieldDefaulted()
225 *va_arg(ap, uint16 *) = td->td_fillorder; in TIFFVGetFieldDefaulted()
228 *va_arg(ap, uint16 *) = td->td_orientation; in TIFFVGetFieldDefaulted()
[all …]
Dtif_dir.h53 uint16 tdir_tag; /* see below */
54 uint16 tdir_type; /* data type; see below */
57 uint16 toff_short;
75 uint16 td_bitspersample;
76 uint16 td_sampleformat;
77 uint16 td_compression;
78 uint16 td_photometric;
79 uint16 td_threshholding;
80 uint16 td_fillorder;
81 uint16 td_orientation;
[all …]
Dtif_dir.c62 void _TIFFsetShortArray(uint16** wpp, uint16* wp, uint32 n) in _TIFFsetShortArray()
63 { setByteArray((void**) wpp, (void*) wp, n, sizeof (uint16)); } in _TIFFsetShortArray()
95 uint16* va; in setExtraSamples()
100 *v = (uint16) va_arg(ap, uint16_vap); in setExtraSamples()
101 if ((uint16) *v > td->td_samplesperpixel) in setExtraSamples()
103 va = va_arg(ap, uint16*); in setExtraSamples()
132 td->td_extrasamples = (uint16) *v; in setExtraSamples()
147 uint16 i = td->td_samplesperpixel; in checkInkNamesString()
204 td->td_bitspersample = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
228 v = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
[all …]
Dtif_dirwrite.c42 …irectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count,…
44 …toryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double value);
47 static int TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3…
48 static int TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
50 static int TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 …
52 static int TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
54 static int TIFFWriteDirectoryTagBytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
57 static int TIFFWriteDirectoryTagSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 …
59 static int TIFFWriteDirectoryTagSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
61 static int TIFFWriteDirectoryTagSbytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
[all …]
Dtif_pixarlog.c112 horizontalAccumulateF(uint16 *wp, int n, int stride, float *op, in horizontalAccumulateF()
175 horizontalAccumulate12(uint16 *wp, int n, int stride, int16 *op, in horizontalAccumulate12()
182 #define CLAMP12(t) (((t) < 3071) ? (uint16) (t) : 3071) in horizontalAccumulate12()
243 horizontalAccumulate16(uint16 *wp, int n, int stride, uint16 *op, in horizontalAccumulate16()
244 uint16 *ToLinear16) in horizontalAccumulate16()
295 horizontalAccumulate11(uint16 *wp, int n, int stride, uint16 *op) in horizontalAccumulate11()
309 op[0] = (uint16)((cr += wp[0]) & mask); in horizontalAccumulate11()
310 op[1] = (uint16)((cg += wp[1]) & mask); in horizontalAccumulate11()
311 op[2] = (uint16)((cb += wp[2]) & mask); in horizontalAccumulate11()
322 op[0] = (uint16)((cr += wp[0]) & mask); in horizontalAccumulate11()
[all …]
Dtiffio.h70 typedef uint16 tdir_t; /* directory index */
71 typedef uint16 tsample_t; /* sample number */
204 uint16 bitspersample; /* image bits/sample */
205 uint16 samplesperpixel; /* image samples/pixel */
206 uint16 orientation; /* image orientation */
207 uint16 req_orientation; /* requested orientation */
208 uint16 photometric; /* image photometric interp */
209 uint16* redcmap; /* colormap palette */
210 uint16* greencmap;
211 uint16* bluecmap;
[all …]
/external/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 …]
/external/protobuf/src/google/protobuf/stubs/
Dport.h144 typedef unsigned __int16 uint16; typedef
154 typedef uint16_t uint16; typedef
182 inline uint16 GOOGLE_UNALIGNED_LOAD16(const void *p) { in GOOGLE_UNALIGNED_LOAD16()
194 inline void GOOGLE_UNALIGNED_STORE16(void *p, uint16 v) { in GOOGLE_UNALIGNED_STORE16()
208 #define GOOGLE_UNALIGNED_LOAD16(_p) (*reinterpret_cast<const uint16 *>(_p))
212 #define GOOGLE_UNALIGNED_STORE16(_p, _val) (*reinterpret_cast<uint16 *>(_p) = (_val))
217 inline uint16 GOOGLE_UNALIGNED_LOAD16(const void *p) { in GOOGLE_UNALIGNED_LOAD16()
218 uint16 t; in GOOGLE_UNALIGNED_LOAD16()
235 inline void GOOGLE_UNALIGNED_STORE16(void *p, uint16 v) { in GOOGLE_UNALIGNED_STORE16()
276 static inline uint16 bswap_16(uint16 x) { in bswap_16()
[all …]
/external/libaom/libaom/third_party/libyuv/include/libyuv/
Dscale_row.h98 const uint16* src_argb, uint16* dst_argb,
129 void ScaleRowDown2_16_C(const uint16* src_ptr, ptrdiff_t src_stride,
130 uint16* dst, int dst_width);
133 void ScaleRowDown2Linear_16_C(const uint16* src_ptr, ptrdiff_t src_stride,
134 uint16* dst, int dst_width);
137 void ScaleRowDown2Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride,
138 uint16* dst, int dst_width);
141 void ScaleRowDown4_16_C(const uint16* src_ptr, ptrdiff_t src_stride,
142 uint16* dst, int dst_width);
145 void ScaleRowDown4Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride,
[all …]
Dscale.h39 void ScalePlane_16(const uint16* src, int src_stride,
41 uint16* dst, int dst_stride,
67 int I420Scale_16(const uint16* src_y, int src_stride_y,
68 const uint16* src_u, int src_stride_u,
69 const uint16* src_v, int src_stride_v,
71 uint16* dst_y, int dst_stride_y,
72 uint16* dst_u, int dst_stride_u,
73 uint16* dst_v, int dst_stride_v,
/external/libtextclassifier/native/utils/base/
Dendian.h58 static inline uint16 bswap_16(uint16 x) {
59 return (uint16)(((x & 0xFF) << 8) | ((x & 0xFF00) >> 8)); // NOLINT
107 static uint16 FromHost16(uint16 x) { return x; } in FromHost16()
108 static uint16 ToHost16(uint16 x) { return x; } in ToHost16()
120 static uint16 FromHost16(uint16 x) { return gbswap_16(x); }
121 static uint16 ToHost16(uint16 x) { return gbswap_16(x); }
/external/neven/Embedded/common/src/b_ImageEm/
DHistoEq16.c38 void bim_createHisto16( uint16* histoPtrA, in bim_createHisto16()
42 uint16* dstPtrL; in bim_createHisto16()
43 const uint16* srcPtrL; in bim_createHisto16()
66 void bim_createHistoOfSection16( uint16* histoPtrA, in bim_createHistoOfSection16()
71 const uint16* srcPtrL; in bim_createHistoOfSection16()
72 uint16* dstPtrL; in bim_createHistoOfSection16()
121 const uint16* histoPtrA ) in bim_equalize16()
126 const uint16* histoArrPtrL; in bim_equalize16()
127 uint16* dstPtrL; in bim_equalize16()
128 uint16 mappingL[ 256 ]; in bim_equalize16()
[all …]
/external/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 …]
/external/angle/third_party/vulkan-deps/glslang/src/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 …]
/external/deqp-deps/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 …]
/external/tensorflow/tensorflow/core/kernels/
Dsparse_utils_test.cc32 using tensorflow::uint16;
82 uint16 data[] = {0, 0, 0, 0, 0, 0, 1, 0}; in TEST()
83 TTypes<uint16>::ConstMatrix indices_mat(data, 4, 2); in TEST()
86 EXPECT_TRUE(GetStartIndicesOfEachDenseRow<uint16>(indices_mat, in TEST()
88 std::vector<uint16>({0, 3, 4})); in TEST()
134 for (const uint16 v : {0, 3}) { in TEST()
135 t.flat<uint16>()(indx++) = v; in TEST()
137 EXPECT_TRUE(ParseRowStartIndices<uint16>(t, 4) == in TEST()
138 std::vector<uint16>({0, 3, 4})); in TEST()
171 uint16 data[] = {1, 0, 1, 1, 2, 0, 2, 1, 2, 2, 3, 4}; in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dbit_cast.h47 uint16 src) {
54 inline uint16 BitCast<uint16, tensorflow::bfloat16>(tensorflow::bfloat16 src) {
59 inline Eigen::half BitCast<Eigen::half, uint16>(uint16 src) {
66 inline uint16 BitCast<uint16, Eigen::half>(Eigen::half src) {
/external/libaom/libaom/third_party/libyuv/source/
Dscale_common.cc45 void ScaleRowDown2_16_C(const uint16* src_ptr, ptrdiff_t src_stride, in ScaleRowDown2_16_C()
46 uint16* dst, int dst_width) { in ScaleRowDown2_16_C()
74 void ScaleRowDown2Linear_16_C(const uint16* src_ptr, ptrdiff_t src_stride, in ScaleRowDown2Linear_16_C()
75 uint16* dst, int dst_width) { in ScaleRowDown2Linear_16_C()
76 const uint16* s = src_ptr; in ScaleRowDown2Linear_16_C()
106 void ScaleRowDown2Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, in ScaleRowDown2Box_16_C()
107 uint16* dst, int dst_width) { in ScaleRowDown2Box_16_C()
108 const uint16* s = src_ptr; in ScaleRowDown2Box_16_C()
109 const uint16* t = src_ptr + src_stride; in ScaleRowDown2Box_16_C()
137 void ScaleRowDown4_16_C(const uint16* src_ptr, ptrdiff_t src_stride, in ScaleRowDown4_16_C()
[all …]

12345678910>>...26