Home
last modified time | relevance | path

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

12345678910>>...23

/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.h189 typedef unsigned short uint16; /* 16-bit unsigned integer */ typedef
198 uint16 value; /* Message-dependent value (not always used) */
205 uint16 namelen; /* Length of the interface name */
206 uint16 desclen; /* Length of the interface description */
208 uint16 naddr; /* Number of addresses */
209 uint16 dummy; /* Must be zero */
256 uint16 family; /* Address family */
266 uint16 family; /* Address family */
267 uint16 port; /* Port number */
278 uint16 family; /* Address family */
[all …]
/external/pdfium/third_party/libtiff/
Dtif_aux.c94 uint16 **tf = td->td_transferfunction; in TIFFDefaultTransferFunction()
102 nbytes = n * sizeof (uint16); in TIFFDefaultTransferFunction()
103 tf[0] = (uint16 *)_TIFFmalloc(nbytes); in TIFFDefaultTransferFunction()
109 tf[0][i] = (uint16)floor(65535.*pow(t, 2.2) + .5); in TIFFDefaultTransferFunction()
113 tf[1] = (uint16 *)_TIFFmalloc(nbytes); in TIFFDefaultTransferFunction()
117 tf[2] = (uint16 *)_TIFFmalloc(nbytes); in TIFFDefaultTransferFunction()
185 *va_arg(ap, uint16 *) = td->td_bitspersample; in TIFFVGetFieldDefaulted()
188 *va_arg(ap, uint16 *) = td->td_threshholding; in TIFFVGetFieldDefaulted()
191 *va_arg(ap, uint16 *) = td->td_fillorder; in TIFFVGetFieldDefaulted()
194 *va_arg(ap, uint16 *) = td->td_orientation; in TIFFVGetFieldDefaulted()
[all …]
Dtif_dir.h51 uint16 tdir_tag; /* see below */
52 uint16 tdir_type; /* data type; see below */
55 uint16 toff_short;
72 uint16 td_bitspersample;
73 uint16 td_sampleformat;
74 uint16 td_compression;
75 uint16 td_photometric;
76 uint16 td_threshholding;
77 uint16 td_fillorder;
78 uint16 td_orientation;
[all …]
Dtif_dir.c65 void _TIFFsetShortArray(uint16** wpp, uint16* wp, uint32 n) in _TIFFsetShortArray()
66 { setByteArray((void**) wpp, (void*) wp, n, sizeof (uint16)); } in _TIFFsetShortArray()
98 uint16* va; in setExtraSamples()
101 *v = (uint16) va_arg(ap, uint16_vap); in setExtraSamples()
102 if ((uint16) *v > td->td_samplesperpixel) in setExtraSamples()
104 va = va_arg(ap, uint16*); in setExtraSamples()
121 td->td_extrasamples = (uint16) *v; in setExtraSamples()
136 uint16 i = td->td_samplesperpixel; in checkInkNamesString()
202 td->td_bitspersample = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
226 v = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
[all …]
Dtif_dirwrite.c45 …irectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count,…
47 …toryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double value);
50 static int TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3…
51 static int TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
53 static int TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 …
55 static int TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
57 static int TIFFWriteDirectoryTagBytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
60 static int TIFFWriteDirectoryTagSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 …
62 static int TIFFWriteDirectoryTagSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
64 static int TIFFWriteDirectoryTagSbytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
[all …]
Dtif_pixarlog.c114 horizontalAccumulateF(uint16 *wp, int n, int stride, float *op, in horizontalAccumulateF()
177 horizontalAccumulate12(uint16 *wp, int n, int stride, int16 *op, in horizontalAccumulate12()
184 #define CLAMP12(t) (((t) < 3071) ? (uint16) (t) : 3071) in horizontalAccumulate12()
245 horizontalAccumulate16(uint16 *wp, int n, int stride, uint16 *op, in horizontalAccumulate16()
246 uint16 *ToLinear16) in horizontalAccumulate16()
297 horizontalAccumulate11(uint16 *wp, int n, int stride, uint16 *op) in horizontalAccumulate11()
311 op[0] = (uint16)((cr += wp[0]) & mask); in horizontalAccumulate11()
312 op[1] = (uint16)((cg += wp[1]) & mask); in horizontalAccumulate11()
313 op[2] = (uint16)((cb += wp[2]) & mask); in horizontalAccumulate11()
324 op[0] = (uint16)((cr += wp[0]) & mask); in horizontalAccumulate11()
[all …]
Dtiffio.h72 typedef uint16 tdir_t; /* directory index */
73 typedef uint16 tsample_t; /* sample number */
206 uint16 bitspersample; /* image bits/sample */
207 uint16 samplesperpixel; /* image samples/pixel */
208 uint16 orientation; /* image orientation */
209 uint16 req_orientation; /* requested orientation */
210 uint16 photometric; /* image photometric interp */
211 uint16* redcmap; /* colormap palette */
212 uint16* greencmap;
213 uint16* bluecmap;
[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 …]
/external/protobuf/src/google/protobuf/stubs/
Dport.h108 typedef unsigned __int16 uint16; typedef
118 typedef unsigned short uint16; typedef
232 #define GOOGLE_UNALIGNED_LOAD16(_p) (*reinterpret_cast<const uint16 *>(_p))
236 #define GOOGLE_UNALIGNED_STORE16(_p, _val) (*reinterpret_cast<uint16 *>(_p) = (_val))
241 inline uint16 GOOGLE_UNALIGNED_LOAD16(const void *p) { in GOOGLE_UNALIGNED_LOAD16()
242 uint16 t; in GOOGLE_UNALIGNED_LOAD16()
259 inline void GOOGLE_UNALIGNED_STORE16(void *p, uint16 v) { in GOOGLE_UNALIGNED_STORE16()
294 static inline uint16 bswap_16(uint16 x) { in bswap_16()
295 return static_cast<uint16>(((x & 0xFF) << 8) | ((x & 0xFF00) >> 8)); in bswap_16()
327 static uint16 FromHost16(uint16 x) { return bswap_16(x); } in FromHost16()
[all …]
/external/libtextclassifier/lang_id/common/lite_base/
Dendian.h37 static inline uint16 bswap_16(uint16 x) {
38 return (uint16)(((x & 0xFF) << 8) | ((x & 0xFF00) >> 8)); // NOLINT
96 static uint16 FromHost16(uint16 x) { return x; } in FromHost16()
97 static uint16 ToHost16(uint16 x) { return x; } in ToHost16()
109 static uint16 FromHost16(uint16 x) { return gbswap_16(x); }
110 static uint16 ToHost16(uint16 x) { return gbswap_16(x); }
/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/libtextclassifier/utils/base/
Dendian.h58 static inline uint16 bswap_16(uint16 x) {
59 return (uint16)(((x & 0xFF) << 8) | ((x & 0xFF00) >> 8)); // NOLINT
109 static uint16 FromHost16(uint16 x) { return x; } in FromHost16()
110 static uint16 ToHost16(uint16 x) { return x; } in ToHost16()
122 static uint16 FromHost16(uint16 x) { return gbswap_16(x); }
123 static uint16 ToHost16(uint16 x) { return gbswap_16(x); }
/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/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/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/libyuv/files/include/libyuv/
Dscale_row.h135 const uint16* src_argb,
136 uint16* dst_argb,
179 void ScaleRowDown2_16_C(const uint16* src_ptr,
181 uint16* dst,
187 void ScaleRowDown2Linear_16_C(const uint16* src_ptr,
189 uint16* dst,
199 void ScaleRowDown2Box_16_C(const uint16* src_ptr,
201 uint16* dst,
207 void ScaleRowDown4_16_C(const uint16* src_ptr,
209 uint16* dst,
[all …]
/external/libyuv/files/source/
Dscale_common.cc48 void ScaleRowDown2_16_C(const uint16* src_ptr, in ScaleRowDown2_16_C()
50 uint16* dst, in ScaleRowDown2_16_C()
83 void ScaleRowDown2Linear_16_C(const uint16* src_ptr, in ScaleRowDown2Linear_16_C()
85 uint16* dst, in ScaleRowDown2Linear_16_C()
87 const uint16* s = src_ptr; in ScaleRowDown2Linear_16_C()
144 void ScaleRowDown2Box_16_C(const uint16* src_ptr, in ScaleRowDown2Box_16_C()
146 uint16* dst, in ScaleRowDown2Box_16_C()
148 const uint16* s = src_ptr; in ScaleRowDown2Box_16_C()
149 const uint16* t = src_ptr + src_stride; in ScaleRowDown2Box_16_C()
180 void ScaleRowDown4_16_C(const uint16* src_ptr, in ScaleRowDown4_16_C()
[all …]
/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 …]
Dscale.cc111 const uint16* src_ptr, uint16* dst_ptr, in ScalePlaneDown2_16()
114 void (*ScaleRowDown2)(const uint16* src_ptr, ptrdiff_t src_stride, in ScalePlaneDown2_16()
115 uint16* dst_ptr, int dst_width) = in ScalePlaneDown2_16()
225 const uint16* src_ptr, uint16* dst_ptr, in ScalePlaneDown4_16()
228 void (*ScaleRowDown4)(const uint16* src_ptr, ptrdiff_t src_stride, in ScalePlaneDown4_16()
229 uint16* dst_ptr, int dst_width) = in ScalePlaneDown4_16()
369 const uint16* src_ptr, uint16* dst_ptr, in ScalePlaneDown34_16()
372 void (*ScaleRowDown34_0)(const uint16* src_ptr, ptrdiff_t src_stride, in ScalePlaneDown34_16()
373 uint16* dst_ptr, int dst_width); in ScalePlaneDown34_16()
374 void (*ScaleRowDown34_1)(const uint16* src_ptr, ptrdiff_t src_stride, in ScalePlaneDown34_16()
[all …]

12345678910>>...23