Home
last modified time | relevance | path

Searched refs:AddressMode (Results 1 – 25 of 28) sorted by relevance

12

/external/deqp-deps/amber/src/
Dsampler.h32 enum class AddressMode : int8_t { enum
68 void SetAddressModeU(AddressMode mode) { address_mode_u_ = mode; } in SetAddressModeU()
69 AddressMode GetAddressModeU() const { return address_mode_u_; } in GetAddressModeU()
71 void SetAddressModeV(AddressMode mode) { address_mode_v_ = mode; } in SetAddressModeV()
72 AddressMode GetAddressModeV() const { return address_mode_v_; } in GetAddressModeV()
74 void SetAddressModeW(AddressMode mode) { address_mode_w_ = mode; } in SetAddressModeW()
75 AddressMode GetAddressModeW() const { return address_mode_w_; } in GetAddressModeW()
94 AddressMode address_mode_u_ = AddressMode::kRepeat;
95 AddressMode address_mode_v_ = AddressMode::kRepeat;
96 AddressMode address_mode_w_ = AddressMode::kRepeat;
Dpipeline.cc939 AddressMode addressing_mode = AddressMode::kUnknown; in GenerateOpenCLLiteralSamplers()
944 addressing_mode = AddressMode::kClampToEdge; in GenerateOpenCLLiteralSamplers()
947 addressing_mode = AddressMode::kClampToBorder; in GenerateOpenCLLiteralSamplers()
950 addressing_mode = AddressMode::kRepeat; in GenerateOpenCLLiteralSamplers()
953 addressing_mode = AddressMode::kMirroredRepeat; in GenerateOpenCLLiteralSamplers()
Dpipeline_test.cc816 EXPECT_EQ(AddressMode::kClampToEdge, info.sampler->GetAddressModeU()); in TEST_F()
817 EXPECT_EQ(AddressMode::kClampToEdge, info.sampler->GetAddressModeV()); in TEST_F()
818 EXPECT_EQ(AddressMode::kClampToEdge, info.sampler->GetAddressModeW()); in TEST_F()
825 EXPECT_EQ(AddressMode::kMirroredRepeat, info.sampler->GetAddressModeU()); in TEST_F()
826 EXPECT_EQ(AddressMode::kMirroredRepeat, info.sampler->GetAddressModeV()); in TEST_F()
827 EXPECT_EQ(AddressMode::kMirroredRepeat, info.sampler->GetAddressModeW()); in TEST_F()
/external/deqp-deps/amber/src/vulkan/
Dsampler.cc21 VkSamplerAddressMode GetVkAddressMode(AddressMode mode) { in GetVkAddressMode()
23 case AddressMode::kRepeat: in GetVkAddressMode()
25 case AddressMode::kMirroredRepeat: in GetVkAddressMode()
27 case AddressMode::kClampToEdge: in GetVkAddressMode()
29 case AddressMode::kClampToBorder: in GetVkAddressMode()
32 assert(mode == AddressMode::kMirrorClampToEdge); in GetVkAddressMode()
/external/pigweed/pw_hex_dump/
Dhex_dump.cc66 if (flags.prefix_mode != AddressMode::kDisabled) { in PrintFormatHeader()
67 std::string_view header(flags.prefix_mode == AddressMode::kOffset in PrintFormatHeader()
72 if (flags.prefix_mode == AddressMode::kOffset) { in PrintFormatHeader()
142 if (flags.prefix_mode != AddressMode::kDisabled) { in DumpLine()
144 if (flags.prefix_mode == AddressMode::kAbsolute) { in DumpLine()
240 if (flags.prefix_mode == AddressMode::kAbsolute) { in ValidateBufferSize()
243 } else if (flags.prefix_mode == AddressMode::kOffset) { in ValidateBufferSize()
Dhex_dump_test.cc72 .prefix_mode = FormattedHexDumper::AddressMode::kDisabled};
90 .prefix_mode = FormattedHexDumper::AddressMode::kDisabled};
167 default_flags_.prefix_mode = FormattedHexDumper::AddressMode::kOffset; in TEST_F()
294 default_flags_.prefix_mode = FormattedHexDumper::AddressMode::kOffset; in TEST_F()
319 default_flags_.prefix_mode = FormattedHexDumper::AddressMode::kAbsolute; in TEST_F()
375 default_flags_.prefix_mode = FormattedHexDumper::AddressMode::kOffset; in TEST_F()
/external/deqp-deps/amber/src/amberscript/
Dparser_sampler_test.cc41 EXPECT_EQ(AddressMode::kRepeat, sampler->GetAddressModeU()); in TEST_F()
42 EXPECT_EQ(AddressMode::kRepeat, sampler->GetAddressModeV()); in TEST_F()
43 EXPECT_EQ(AddressMode::kRepeat, sampler->GetAddressModeW()); in TEST_F()
77 EXPECT_EQ(AddressMode::kClampToEdge, sampler->GetAddressModeU()); in TEST_F()
78 EXPECT_EQ(AddressMode::kClampToBorder, sampler->GetAddressModeV()); in TEST_F()
79 EXPECT_EQ(AddressMode::kMirroredRepeat, sampler->GetAddressModeW()); in TEST_F()
Dparser.cc141 AddressMode StrToAddressMode(std::string str) { in StrToAddressMode()
143 return AddressMode::kRepeat; in StrToAddressMode()
145 return AddressMode::kMirroredRepeat; in StrToAddressMode()
147 return AddressMode::kClampToEdge; in StrToAddressMode()
149 return AddressMode::kClampToBorder; in StrToAddressMode()
151 return AddressMode::kMirrorClampToEdge; in StrToAddressMode()
153 return AddressMode::kUnknown; in StrToAddressMode()
3589 if (mode == AddressMode::kUnknown) in ParseSampler()
3602 if (mode == AddressMode::kUnknown) in ParseSampler()
3615 if (mode == AddressMode::kUnknown) in ParseSampler()
/external/pigweed/pw_hex_dump/public/pw_hex_dump/
Dhex_dump.h67 enum AddressMode { enum
90 AddressMode prefix_mode : 2;
97 .prefix_mode = AddressMode::kOffset};
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dtensor_desc.h30 enum class AddressMode { enum
73 void SetAddressMode(AddressMode mode);
149 AddressMode AddressModeFromState() const;
Dtensor_desc.cc46 std::string AddressModeToCLSampler(AddressMode address_mode) { in AddressModeToCLSampler()
48 case AddressMode::kDontCare: in AddressModeToCLSampler()
50 case AddressMode::kZero: in AddressModeToCLSampler()
798 void TensorDescriptor::SetAddressMode(AddressMode mode) { in SetAddressMode()
799 if (mode == AddressMode::kZero) { in SetAddressMode()
873 AddressMode TensorDescriptor::AddressModeFromState() const { in AddressModeFromState()
877 return AddressMode::kZero; in AddressModeFromState()
879 return AddressMode::kDontCare; in AddressModeFromState()
882 return AddressMode::kDontCare; in AddressModeFromState()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dmax_unpooling.cc29 src_desc.SetAddressMode(AddressMode::kZero); in GetMaxUnpoolingKernelCode()
35 src_ind_desc.SetAddressMode(AddressMode::kZero); in GetMaxUnpoolingKernelCode()
Ddepthwise_conv_3x3_stride_h2.cc221 src_desc.SetAddressMode(AddressMode::kZero); in CreateDepthWiseConv3x3StrideH2()
Dconvolution_transposed_3x3_thin.cc44 src_desc.SetAddressMode(AddressMode::kZero); in GenerateConvolutionTransposedCode()
Ddepthwise_conv_3x3.cc58 src_desc.SetAddressMode(AddressMode::kZero); in GenerateDepthwiseConvCode()
Dpooling.cc31 src_desc.SetAddressMode(AddressMode::kZero); in GetAveragePoolingKernelCode()
Dconv_constants.cc103 src_desc.SetAddressMode(AddressMode::kZero); in GenerateConvolutionConstantCode()
Dconvolution_transposed_4x4.cc75 src_desc.SetAddressMode(AddressMode::kZero); in GenerateConvolutionTransposedCode()
Ddepthwise_conv.cc73 src_desc.SetAddressMode(AddressMode::kZero); in GenerateDepthwiseConvolutionCode()
Dconvolution_transposed_3x3.cc60 src_desc.SetAddressMode(AddressMode::kZero); in GenerateConvolutionTransposedCode()
Dconvolution_transposed.cc131 src_desc.SetAddressMode(AddressMode::kZero); in GenerateConvolutionTransposedCode()
/external/skia/src/gpu/dawn/
DGrDawnGpu.cpp96 static wgpu::AddressMode to_dawn_address_mode(GrSamplerState::WrapMode wrapMode) { in to_dawn_address_mode()
99 return wgpu::AddressMode::ClampToEdge; in to_dawn_address_mode()
101 return wgpu::AddressMode::Repeat; in to_dawn_address_mode()
103 return wgpu::AddressMode::MirrorRepeat; in to_dawn_address_mode()
108 return wgpu::AddressMode::ClampToEdge; in to_dawn_address_mode()
877 desc.addressModeW = wgpu::AddressMode::ClampToEdge; in getOrCreateSampler()
/external/stressapptest/src/
Dos.h308 virtual int AddressMode();
Dos.cc136 int OsLayer::AddressMode() { in AddressMode() function in OsLayer
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/special/
Ddepthwise_conv_plus_1x1_conv.cc117 src_desc.SetAddressMode(AddressMode::kZero); in GenerateCode()

12