Home
last modified time | relevance | path

Searched refs:uint8 (Results 1 – 25 of 827) sorted by relevance

12345678910>>...34

/external/cronet/third_party/ced/src/compact_enc_det/
Dcompact_enc_det_generated_tables2.h19 static const uint8 ced_hires_0[1024] = {
57 static const uint8 ced_hires_1[1024] = {
95 static const uint8 ced_hires_2[1024] = {
133 static const uint8 ced_hires_3[1024] = {
171 static const uint8 ced_hires_4[1024] = {
209 static const uint8 ced_hires_5[1024] = {
247 static const uint8 ced_hires_6[1024] = {
285 static const uint8 ced_hires_7[1024] = {
323 static const uint8 ced_hires_8[1024] = {
361 static const uint8 ced_hires_9[1024] = {
[all …]
/external/libusb/libusb/os/
Dhaiku_usb.h39 uint8 CountConfigurations() const;
41 const usb_configuration_descriptor* ConfigurationDescriptor(uint8) const;
43 uint8 EndpointToIndex(uint8) const;
44 uint8 EndpointToInterface(uint8) const;
45 int ClaimInterface(uint8);
46 int ReleaseInterface(uint8);
47 int CheckInterfacesFree(uint8);
48 void SetActiveConfiguration(uint8);
49 uint8 ActiveConfigurationIndex() const;
56 uint8 fActiveConfiguration;
[all …]
Dhaiku_usb_backend.cpp255 USBDeviceHandle::ClaimInterface(uint8 inumber) in ClaimInterface()
264 USBDeviceHandle::ReleaseInterface(uint8 inumber) in ReleaseInterface()
272 USBDeviceHandle::SetConfiguration(uint8 config) in SetConfiguration()
283 fUSBDevice->SetActiveConfiguration((uint8)config_index); in SetConfiguration()
288 USBDeviceHandle::SetAltSetting(uint8 inumber, uint8 alt) in SetAltSetting()
313 USBDeviceHandle::ClearHalt(uint8 endpoint) in ClearHalt()
348 for (uint8 i = 0; i < fDeviceDescriptor.num_configurations; i++) { in ~USBDevice()
372 uint8
385 USBDevice::ConfigurationDescriptor(uint8 index) const in ConfigurationDescriptor()
398 uint8
[all …]
/external/libaom/third_party/libyuv/source/
Drow_mips.cc23 void CopyRow_MIPS(const uint8* src, uint8* dst, int count) { in CopyRow_MIPS()
383 void SplitUVRow_MIPS_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, in SplitUVRow_MIPS_DSPR2()
450 void MirrorRow_MIPS_DSPR2(const uint8* src, uint8* dst, int width) { in MirrorRow_MIPS_DSPR2()
501 void MirrorUVRow_MIPS_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, in MirrorUVRow_MIPS_DSPR2()
658 void I422ToARGBRow_MIPS_DSPR2(const uint8* y_buf, in I422ToARGBRow_MIPS_DSPR2()
659 const uint8* u_buf, in I422ToARGBRow_MIPS_DSPR2()
660 const uint8* v_buf, in I422ToARGBRow_MIPS_DSPR2()
661 uint8* rgb_buf, in I422ToARGBRow_MIPS_DSPR2()
720 void I422ToABGRRow_MIPS_DSPR2(const uint8* y_buf, in I422ToABGRRow_MIPS_DSPR2()
721 const uint8* u_buf, in I422ToABGRRow_MIPS_DSPR2()
[all …]
Dscale_mips.cc24 void ScaleRowDown2_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, in ScaleRowDown2_MIPS_DSPR2()
25 uint8* dst, int dst_width) { in ScaleRowDown2_MIPS_DSPR2()
81 void ScaleRowDown2Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, in ScaleRowDown2Box_MIPS_DSPR2()
82 uint8* dst, int dst_width) { in ScaleRowDown2Box_MIPS_DSPR2()
83 const uint8* t = src_ptr + src_stride; in ScaleRowDown2Box_MIPS_DSPR2()
181 void ScaleRowDown4_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, in ScaleRowDown4_MIPS_DSPR2()
182 uint8* dst, int dst_width) { in ScaleRowDown4_MIPS_DSPR2()
237 void ScaleRowDown4Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, in ScaleRowDown4Box_MIPS_DSPR2()
238 uint8* dst, int dst_width) { in ScaleRowDown4Box_MIPS_DSPR2()
240 const uint8* s1 = src_ptr + stride; in ScaleRowDown4Box_MIPS_DSPR2()
[all …]
Drotate_mips.cc25 void TransposeWx8_MIPS_DSPR2(const uint8* src, int src_stride, in TransposeWx8_MIPS_DSPR2()
26 uint8* dst, int dst_stride, int width) { in TransposeWx8_MIPS_DSPR2()
109 void TransposeWx8_Fast_MIPS_DSPR2(const uint8* src, int src_stride, in TransposeWx8_Fast_MIPS_DSPR2()
110 uint8* dst, int dst_stride, int width) { in TransposeWx8_Fast_MIPS_DSPR2()
311 void TransposeUVWx8_MIPS_DSPR2(const uint8* src, int src_stride, in TransposeUVWx8_MIPS_DSPR2()
312 uint8* dst_a, int dst_stride_a, in TransposeUVWx8_MIPS_DSPR2()
313 uint8* dst_b, int dst_stride_b, in TransposeUVWx8_MIPS_DSPR2()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h70 typedef uint8 SVGA3dColorWriteEnable;
75 typedef uint8 SVGA3dDepthWriteMask;
92 typedef uint8 SVGA3dCullMode;
106 typedef uint8 SVGA3dComparisonFunc;
118 typedef uint8 SVGA3dMultisampleEnable;
452 #define SVGADX_QDSTATE_INVALID ((uint8)-1) /* Query has no state */
459 typedef uint8 SVGADXQueryDeviceState;
1084 typedef uint8 SVGA3DCreateDSViewFlags;
1096 uint8 pad0;
1115 uint8 pad0;
[all …]
/external/tensorflow/tensorflow/compiler/xla/stream_executor/gpu/
Dredzone_allocator.cc54 uint8 redzone_pattern) in RedzoneAllocator()
65 port::StatusOr<DeviceMemory<uint8>> RedzoneAllocator::AllocateBytes( in AllocateBytes()
84 static_assert(sizeof(uint8) == 1, "Unexpected size"); in AllocateBytes()
85 DeviceMemory<uint8> allocated_buffer_memory(*allocated_buffer); in AllocateBytes()
87 DeviceMemory<uint8> lhs_redzone = stream_->parent()->GetSubBuffer( in AllocateBytes()
90 DeviceMemory<uint8> data_chunk = stream_->parent()->GetSubBuffer( in AllocateBytes()
98 DeviceMemory<uint8> rhs_redzone_slop = stream_->parent()->GetSubBuffer( in AllocateBytes()
101 DeviceMemory<uint8> rhs_redzone_nonslop = stream_->parent()->GetSubBuffer( in AllocateBytes()
105 uint8 pattern_arr[] = {redzone_pattern_, redzone_pattern_, redzone_pattern_, in AllocateBytes()
178 TypedKernel<DeviceMemory<uint8>, uint8, uint64_t, DeviceMemory<uint64_t>>;
[all …]
Dasm_compiler.h46 port::StatusOr<std::vector<uint8>> CompileGpuAsm(int device_ordinal,
56 port::StatusOr<std::vector<uint8>> CompileGpuAsm(int cc_major, int cc_minor,
64 port::StatusOr<absl::Span<const uint8>> CompileGpuAsmOrGetCached(
69 std::vector<uint8> bytes;
74 port::StatusOr<std::vector<uint8>> BundleGpuAsm(
79 std::vector<uint8> bytes;
84 port::StatusOr<std::vector<uint8>> BundleGpuAsm(
89 port::StatusOr<std::vector<uint8>> LinkGpuAsm(
97 absl::string_view ptx, absl::Span<const uint8> cubin_data) { in LoadKernelOrGetPtr()
/external/libpcap/
Drpcap-protocol.h136 typedef unsigned char uint8; /* 8-bit unsigned integer */ typedef
145 uint8 ver; /* RPCAP version number */
146 uint8 type; /* RPCAP message type (error, findalldevs, ...) */
160 uint8 minvers; /* Minimum version supported */
161 uint8 maxvers; /* Maximum version supported */
162 uint8 pad[2]; /* Pad to 4-byte boundary **/
179 uint8 minvers; /* Minimum version supported */
180 uint8 maxvers; /* Maximum version supported */
250 uint8 zero[8]; /* Padding */
262 uint8 addr[16]; /* IPv6 address */
[all …]
/external/tensorflow/tensorflow/core/util/proto/
Ddecode.h81 inline const uint8* ReadVarint64FromArray(const uint8* buffer, bool* ok,
92 inline const uint8* ReadVarint32FromArray(const uint8* buffer, bool* ok, in ReadVarint32FromArray()
95 const uint8* buf = ReadVarint64FromArray(buffer, ok, &tmp); in ReadVarint32FromArray()
104 const uint8* ReadFromArray(const uint8* buf, TensorType* value);
107 inline const uint8* ReadFromArray<int64_t, WireFormatLite::TYPE_INT32>(
108 const uint8* buf, int64_t* value) {
117 inline const uint8* ReadFromArray<int32, WireFormatLite::TYPE_INT32>(
118 const uint8* buf, int32* value) {
127 inline const uint8* ReadFromArray<int64_t, WireFormatLite::TYPE_INT64>(
128 const uint8* buf, int64_t* value) {
[all …]
/external/dng_sdk/source/
Ddng_string.cpp494 uint8 c = (uint8) *(s++); in IsASCII()
673 uint8 *d = buffer.Buffer_uint8 (); in Set_UTF8()
674 uint8 * const destEnd = d + destBufferLength; in Set_UTF8()
698 *(d++) = (uint8) aChar; in Set_UTF8()
704 *(d++) = (uint8) ((aChar >> 6) | 0x000000C0); in Set_UTF8()
705 *(d++) = (uint8) ((aChar & 0x0000003F) | 0x00000080); in Set_UTF8()
711 *(d++) = (uint8) ( (aChar >> 12) | 0x000000E0); in Set_UTF8()
712 *(d++) = (uint8) (((aChar >> 6) & 0x0000003F) | 0x00000080); in Set_UTF8()
713 *(d++) = (uint8) ( (aChar & 0x0000003F) | 0x00000080); in Set_UTF8()
719 *(d++) = (uint8) ( (aChar >> 18) | 0x000000F0); in Set_UTF8()
[all …]
Ddng_color_space.cpp247 const uint8 *&data) const in ICCProfile()
280 const uint8 *&data) const in ICCProfile()
284 static const uint8 ksRGBProfileData [] = in ICCProfile()
591 const uint8 *&data) const in ICCProfile()
595 static const uint8 kAdobeRGBProfileData [] = in ICCProfile()
687 const uint8 *&data) const in ICCProfile()
691 static const uint8 kColorMatchProfileData [] = in ICCProfile()
783 const uint8 *&data) const in ICCProfile()
787 static const uint8 kProPhotoProfileData [] = in ICCProfile()
909 const uint8 *&data) const in ICCProfile()
[all …]
/external/libyuv/files/docs/
Drotation.md7 int ConvertToI420(const uint8* src_frame, size_t src_size,
8 uint8* dst_y, int dst_stride_y,
9 uint8* dst_u, int dst_stride_u,
10 uint8* dst_v, int dst_stride_v,
32 int ConvertToARGB(const uint8* src_frame, size_t src_size,
33 uint8* dst_argb, int dst_stride_argb,
44 int I420Rotate(const uint8* src_y, int src_stride_y,
45 const uint8* src_u, int src_stride_u,
46 const uint8* src_v, int src_stride_v,
47 uint8* dst_y, int dst_stride_y,
[all …]
/external/tensorflow/tensorflow/core/lib/gif/
Dgif_io_test.cc45 std::unique_ptr<uint8[]> imgdata; in TestDecodeGif()
50 [&](int frame_cnt, int width, int height, int channels) -> uint8* { in TestDecodeGif()
55 return new uint8[frame_cnt * height * width * channels]; in TestDecodeGif()
82 void TestDecodeAnimatedGif(Env* env, const uint8* gif_data, in TestDecodeAnimatedGif()
92 std::unique_ptr<uint8[]> png_imgdata( in TestDecodeAnimatedGif()
93 new uint8[height * width * decode.channels]); in TestDecodeAnimatedGif()
95 decode.channels * width * sizeof(uint8), &decode); in TestDecodeAnimatedGif()
112 std::unique_ptr<uint8[]> gif_imgdata; in TEST()
117 [&](int num_frames, int width, int height, int channels) -> uint8* { in TEST()
122 return new uint8[num_frames * height * width * channels]; in TEST()
[all …]
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/
Dlibyuv_frame_buffer_utils.cc56 const_cast<uint8*>(output_buffer->plane(0).buffer), in ConvertFromNv12()
71 const_cast<uint8*>(output_buffer->plane(0).buffer), in ConvertFromNv12()
103 const_cast<uint8*>(output_data.y_buffer), in ConvertFromNv12()
110 const_cast<uint8*>(output_data.v_buffer), in ConvertFromNv12()
117 const_cast<uint8*>(output_buffer->plane(0).buffer), in ConvertFromNv12()
143 const_cast<uint8*>(output_buffer->plane(0).buffer), in ConvertFromNv21()
158 const_cast<uint8*>(output_buffer->plane(0).buffer), in ConvertFromNv21()
190 const_cast<uint8*>(output_data.y_buffer), in ConvertFromNv21()
197 const_cast<uint8*>(output_data.u_buffer), in ConvertFromNv21()
204 const_cast<uint8*>(output_buffer->plane(0).buffer), in ConvertFromNv21()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dfingerprint_op.cc30 inline void CopyToBuffer(const T& value, uint8* output) { in CopyToBuffer()
38 std::reverse_copy(reinterpret_cast<const uint8*>(&value), in CopyToBuffer()
39 reinterpret_cast<const uint8*>(&value + 1), output); in CopyToBuffer()
43 void FarmhashFingerprint64(TTypes<uint8, 2>::ConstTensor input, in FarmhashFingerprint64() argument
44 TTypes<uint8, 2>::Matrix output) { in FarmhashFingerprint64()
56 TTypes<uint8, 2>::Matrix output) { in FarmhashFingerprint64() argument
118 FarmhashFingerprint64(input.flat<tstring>(), temp.tensor<uint8, 2>()); in Compute()
119 FarmhashFingerprint64(static_cast<const Tensor&>(temp).shaped<uint8, 2>( in Compute()
121 output->matrix<uint8>()); in Compute()
125 FarmhashFingerprint64(input.flat<tstring>(), output->matrix<uint8>()); in Compute()
[all …]
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem_unittest.cc39 int ComputeSumAbsoluteDifference(const uint8* a, const uint8* b, int width, in ComputeSumAbsoluteDifference()
43 const uint8* const pa = a + i * a_stride; in ComputeSumAbsoluteDifference()
44 const uint8* const pb = b + i * b_stride; in ComputeSumAbsoluteDifference()
62 const uint8* const temp = absl::bit_cast<const uint8*>(jpeg.data()); in TestJPEG()
66 std::unique_ptr<uint8[]> imgdata; in TestJPEG()
104 const auto* temp = absl::bit_cast<const uint8*>(jpeg.data()); in TestCropAndDecodeJpeg()
107 std::unique_ptr<uint8[]> imgdata1; in TestCropAndDecodeJpeg()
117 uint8* buffer = nullptr; in TestCropAndDecodeJpeg()
123 buffer = new uint8[flags.stride * height]; in TestCropAndDecodeJpeg()
132 std::unique_ptr<uint8[]> imgdata2; in TestCropAndDecodeJpeg()
[all …]
/external/deqp/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/mul_extended/
Dunsigned_8bit.amber78 %uint8 = OpTypeInt 8 0
79 %v2uint8 = OpTypeVector %uint8 2
86 %_ptr_Uniform_uint8 = OpTypePointer Uniform %uint8
92 %ResType = OpTypeStruct %uint8 %uint8
111 %30 = OpLoad %uint8 %29
114 %34 = OpLoad %uint8 %33
120 %45 = OpCompositeExtract %uint8 %44 0
122 %46 = OpCompositeExtract %uint8 %44 1
135 BUFFER input DATA_TYPE vec2<uint8> DATA
238 BUFFER output DATA_TYPE vec2<uint8> SIZE 100 FILL 0.0
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.h531 uint8 alphaToCoverageEnable,
532 uint8 independentBlendEnable,
542 uint8 depthEnable,
545 uint8 stencilEnable,
546 uint8 frontEnable,
547 uint8 backEnable,
548 uint8 stencilReadMask,
549 uint8 stencilWriteMask,
550 uint8 frontStencilFailOp,
551 uint8 frontStencilDepthFailOp,
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Drandom.inl20 struct compute_rand<uint8, P, tvec1>
22 GLM_FUNC_QUALIFIER static tvec1<uint8, P> call()
24 return tvec1<uint8, P>(
25 std::rand() % std::numeric_limits<uint8>::max());
30 struct compute_rand<uint8, P, tvec2>
32 GLM_FUNC_QUALIFIER static tvec2<uint8, P> call()
34 return tvec2<uint8, P>(
35 std::rand() % std::numeric_limits<uint8>::max(),
36 std::rand() % std::numeric_limits<uint8>::max());
41 struct compute_rand<uint8, P, tvec3>
[all …]
/external/tensorflow/tensorflow/core/kernels/image/
Ddecode_image_op.cc266 uint8* buffer = jpeg::Uncompress( in DecodeJpegV2()
268 [&](int width, int height, int channels) -> uint8* { in DecodeJpegV2()
288 return output->flat<uint8>().data(); in DecodeJpegV2()
290 return new uint8[buffer_size]; in DecodeJpegV2()
305 std::unique_ptr<uint8[]> buffer_unique_ptr(buffer); in DecodeJpegV2()
310 TTypes<uint8>::UnalignedConstFlat buffer_view(buffer, buffer_size); in DecodeJpegV2()
313 (std::numeric_limits<uint8>::max() + 1)); in DecodeJpegV2()
318 float scale = 1. / std::numeric_limits<uint8>::max(); in DecodeJpegV2()
394 reinterpret_cast<png_bytep>(output->flat<uint8>().data()), in DecodePngV2()
395 decode.channels * width * sizeof(uint8), &decode), in DecodePngV2()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/
Dresize_nearest_neighbor_test.cc85 std::vector<uint8> input_data = {1, 2, 3, 4}; in TEST()
88 std::vector<uint8> output_data = {1, 1, 2, 1, 1, 2, 3, 3, 4}; in TEST()
107 std::vector<uint8> input_data = {1, 2, 3, 4}; in TEST()
110 std::vector<uint8> output_data = {1, 2, 2, 3, 4, 4, 3, 4, 4}; in TEST()
119 std::vector<uint8> input_data = {1, 2, 3, 4}; in TEST()
122 std::vector<uint8> output_data = {1, 2, 2, 3, 4, 4, 3, 4, 4}; in TEST()
166 std::vector<uint8> input_data = {1, 2, 3, 4}; in TEST()
169 std::vector<uint8> output_data = {1, 1, 1, 2, 2, 3, 3, 3, 4, 4}; in TEST()
177 std::vector<uint8> input_data = {1, 2, 3, 4}; in TEST()
180 std::vector<uint8> output_data = {1, 1, 2, 2, 2, 3, 3, 4, 4, 4}; in TEST()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dlegacy_reference_ops.h113 inline void DepthwiseConv(const uint8* input_data, const Dims<4>& input_dims, in DepthwiseConv()
114 int32 input_offset, const uint8* filter_data, in DepthwiseConv()
122 int32 output_activation_max, uint8* output_data, in DepthwiseConv()
148 inline void DepthwiseConv(const uint8* input_data, const Dims<4>& input_dims, in DepthwiseConv()
149 int32 input_offset, const uint8* filter_data, in DepthwiseConv()
156 int32 output_activation_max, uint8* output_data, in DepthwiseConv()
168 void DepthwiseConv(const uint8* input_data, const Dims<4>& input_dims, in DepthwiseConv()
169 int32 input_offset, const uint8* filter_data, in DepthwiseConv()
176 uint8* output_data, const Dims<4>& output_dims) { in DepthwiseConv()
191 void DepthwiseConv(const uint8* input_data, const Dims<4>& input_dims, in DepthwiseConv()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dresize_nearest_neighbor_test.cc29 using uint8 = std::uint8_t; typedef
96 m.SetInput<uint8>({3, 6}); in TEST_P()
98 EXPECT_THAT(m.GetOutput<uint8>(), in TEST_P()
128 m.SetInput<uint8>({3, 9}); in TEST_P()
130 EXPECT_THAT(m.GetOutput<uint8>(), in TEST_P()
166 m.SetInput<uint8>({ in TEST_P()
171 EXPECT_THAT(m.GetOutput<uint8>(), ElementsAreArray(ArrayFloatNear({ in TEST_P()
282 m.SetInput<uint8>({ in TEST_P()
289 EXPECT_THAT(m.GetOutput<uint8>(), ElementsAreArray(ArrayFloatNear({ in TEST_P()
339 m.SetInput<uint8>({ in TEST_P()
[all …]

12345678910>>...34