Home
last modified time | relevance | path

Searched refs:BufferType (Results 1 – 25 of 134) sorted by relevance

123456

/external/angle/src/tests/perf_tests/
DBlitFramebufferPerf.cpp19 enum class BufferType enum
27 const char *BufferTypeString(BufferType type) in BufferTypeString()
31 case BufferType::COLOR: in BufferTypeString()
33 case BufferType::DEPTH: in BufferTypeString()
35 case BufferType::STENCIL: in BufferTypeString()
37 case BufferType::DEPTH_STENCIL: in BufferTypeString()
44 GLbitfield BufferTypeMask(BufferType type) in BufferTypeMask()
48 case BufferType::COLOR: in BufferTypeMask()
50 case BufferType::DEPTH: in BufferTypeMask()
52 case BufferType::STENCIL: in BufferTypeMask()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator.h44 template <typename BufferType>
46 template <typename BufferType>
71 template <typename BufferType>
79 absl::flat_hash_map<const BufferType*, Chunk> chunk_map;
85 template <typename BufferType>
88 std::vector<HeapResult<BufferType>> heap_results;
242 template <typename BufferType>
246 using Result = HeapSimulator::Result<BufferType>;
247 using HeapResult = HeapSimulator::HeapResult<BufferType>;
252 virtual void Alloc(const BufferType* buffer, int64_t size) = 0;
[all …]
Dheap_simulator.cc455 template <typename BufferType>
456 void NoFragmentationStatsHeap<BufferType>::Alloc(const BufferType* buffer, in Alloc()
464 template <typename BufferType>
465 void NoFragmentationStatsHeap<BufferType>::AccountForSubcomputationMemory( in AccountForSubcomputationMemory()
493 template <typename BufferType>
494 void NoFragmentationStatsHeap<BufferType>::Free(const BufferType* buffer, in Free()
499 template <typename BufferType>
500 HeapSimulator::Result<BufferType>
501 NoFragmentationStatsHeap<BufferType>::Finish() { in Finish()
509 template <typename BufferType>
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilWriteConditionsTests.cpp63 enum BufferType enum
97 …DepthStencilWriteConditionsInstance (Context& context, const BufferType& bufferType, const VkForma…
100 BufferType m_bufferType;
104 …Instance::DepthStencilWriteConditionsInstance (Context& context, const BufferType& bufferType, con… in DepthStencilWriteConditionsInstance()
235 …const VkImageAspectFlagBits imageAspectFlagBits = m_bufferType == BufferType::DEPTH ? VK_IMAG… in iterate()
276 …m_bufferType == BufferType::DEPTH ? VK_TRUE : VK_FALSE, // VkBool32 … in iterate()
280 …m_bufferType == BufferType::STENCIL ? VK_TRUE : VK_FALSE, // VkBool32 … in iterate()
323 if (m_bufferType == BufferType::DEPTH) in iterate()
335 if (m_bufferType == BufferType::STENCIL) in iterate()
361 const BufferType bufferType,
[all …]
/external/skia/src/gpu/graphite/dawn/
DDawnBuffer.cpp32 BufferType type, in Make()
40 case BufferType::kVertex: in Make()
43 case BufferType::kIndex: in Make()
46 case BufferType::kXferCpuToGpu: in Make()
49 case BufferType::kXferGpuToCpu: in Make()
52 case BufferType::kUniform: in Make()
55 case BufferType::kStorage: in Make()
58 case BufferType::kIndirect: in Make()
61 case BufferType::kVertexStorage: in Make()
64 case BufferType::kIndexStorage: in Make()
/external/skia/src/gpu/graphite/
DBufferManager.cpp63 size_t starting_alignment(BufferType type, bool useTransferBuffers, const Caps* caps) { in starting_alignment()
66 if (type == BufferType::kUniform) { in starting_alignment()
68 } else if (type == BufferType::kStorage || type == BufferType::kVertexStorage || in starting_alignment()
69 type == BufferType::kIndexStorage || type == BufferType::kIndirect) { in starting_alignment()
87 { BufferType::kVertex, kVertexBufferSize, caps }, in DrawBufferManager()
88 { BufferType::kIndex, kIndexBufferSize, caps }, in DrawBufferManager()
89 { BufferType::kUniform, kUniformBufferSize, caps }, in DrawBufferManager()
90 { BufferType::kStorage, kStorageBufferSize, caps }, // mapped storage in DrawBufferManager()
91 { BufferType::kStorage, kStorageBufferSize, caps }, // GPU-only storage in DrawBufferManager()
92 { BufferType::kVertexStorage, kVertexBufferSize, caps }, in DrawBufferManager()
[all …]
DResourceProvider.cpp194 BufferType type, in findOrCreateBuffer()
201 if (type == BufferType::kStorage || type == BufferType::kIndirect || in findOrCreateBuffer()
202 type == BufferType::kVertexStorage || type == BufferType::kIndexStorage) { in findOrCreateBuffer()
205 } else if (type == BufferType::kUniform) { in findOrCreateBuffer()
208 } else if (type == BufferType::kXferCpuToGpu || type == BufferType::kXferGpuToCpu) { in findOrCreateBuffer()
DBufferManager.h68 BufferInfo(BufferType type, size_t blockSize, const Caps* caps);
70 const BufferType fType;
145 BufferInfo(BufferType type, const Caps* caps);
156 const BufferType fBufferType;
/external/skia/src/gpu/graphite/vk/
DVulkanBuffer.cpp18 BufferType type, in Make()
50 case BufferType::kVertex: in Make()
53 case BufferType::kIndex: in Make()
56 case BufferType::kStorage: in Make()
59 case BufferType::kIndirect: in Make()
63 case BufferType::kVertexStorage: in Make()
66 case BufferType::kIndexStorage: in Make()
69 case BufferType::kUniform: in Make()
73 case BufferType::kXferCpuToGpu: in Make()
77 case BufferType::kXferGpuToCpu: in Make()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dxfeed_queue.h35 template <typename BufferType>
41 void EnqueueDestination(BufferType buffers) { in EnqueueDestination()
51 BufferType BlockingGetNextDestination() { in BlockingGetNextDestination()
57 BufferType current_buffer; in BlockingGetNextDestination()
93 std::deque<BufferType> enqueued_buffers_ ABSL_GUARDED_BY(mu_);
117 template <typename BufferType>
118 class BlockingXfeedQueue : public XfeedQueue<BufferType> {
/external/crosvm/media/cros-codecs/src/decoders/vp8/backends/
Dvaapi.rs12 use libva::BufferType;
45 pic_param: BufferType,
46 slice_param: BufferType,
47 slice_data: BufferType,
48 iq_matrix: BufferType,
49 probability_table: BufferType,
112 ) -> Result<libva::BufferType> { in build_iq_matrix() argument
141 Ok(BufferType::IQMatrix(IQMatrix::VP8(IQMatrixBufferVP8::new( in build_iq_matrix()
146 fn build_probability_table(frame_hdr: &Header) -> libva::BufferType { in build_probability_table() argument
147 BufferType::Probability(ProbabilityDataBufferVP8::new(frame_hdr.coeff_prob())) in build_probability_table()
[all …]
/external/crosvm/media/libva/src/
Dbuffer.rs11 use crate::buffer_type::BufferType;
27 pub(crate) fn new(context: Rc<Context>, mut type_: BufferType) -> Result<Self> { in new()
31 BufferType::PictureParameter(ref mut picture_param) => match picture_param { in new()
50 BufferType::SliceParameter(ref mut slice_param) => match slice_param { in new()
69 BufferType::IQMatrix(ref mut iq_matrix) => match iq_matrix { in new()
84 BufferType::Probability(ref mut wrapper) => ( in new()
89 BufferType::SliceData(ref mut data) => { in new()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
DBufferUtilsTest.java27 import com.android.org.conscrypt.TestUtils.BufferType;
64 public static BufferType[] data() { in data()
65 return new BufferType[] { BufferType.HEAP, BufferType.DIRECT }; in data()
69 public BufferType bufferType;
123 for (BufferType destinationType : BufferType.values()) { in copyNoConsume()
/external/conscrypt/common/src/test/java/org/conscrypt/
DBufferUtilsTest.java26 import org.conscrypt.TestUtils.BufferType;
60 public static BufferType[] data() { in data()
61 return new BufferType[] { BufferType.HEAP, BufferType.DIRECT }; in data()
65 public BufferType bufferType;
119 for (BufferType destinationType : BufferType.values()) { in copyNoConsume()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_bufferreadwriterect.cpp36 typedef unsigned char BufferType; typedef
49 BufferType* verify[TotalImages];
50 BufferType* backing[TotalImages];
53 BufferType* tmp_buffer;
61 static void initialize_image(BufferType* ptr, size_t w, size_t h, size_t d, MTdata mt) in initialize_image()
63 enum { ElementSize = sizeof(BufferType)/sizeof(unsigned char) }; in initialize_image()
74 void print_buffer(BufferType* buf, size_t w, size_t h, size_t d) { in print_buffer()
198 int verify_region(BufferType* device, size_t src, size_t soffset[3], size_t sregion[3], size_t dst,… in verify_region()
273 size_t size_bytes = width[src]*height[src]*depth[src]*sizeof(BufferType); in map_verify_region()
277BufferType* mapped = (BufferType*)clEnqueueMapBuffer(queue,buffer[src],CL_TRUE,CL_MAP_READ,0,size_… in map_verify_region()
[all …]
/external/deqp-deps/amber/src/vulkan/
Dengine_vulkan.cc233 auto type = BufferCommand::BufferType::kSSBO; in CreatePipeline()
234 if (buf_info.type == BufferType::kStorageImage) { in CreatePipeline()
235 type = BufferCommand::BufferType::kStorageImage; in CreatePipeline()
236 } else if (buf_info.type == BufferType::kSampledImage) { in CreatePipeline()
237 type = BufferCommand::BufferType::kSampledImage; in CreatePipeline()
238 } else if (buf_info.type == BufferType::kCombinedImageSampler) { in CreatePipeline()
239 type = BufferCommand::BufferType::kCombinedImageSampler; in CreatePipeline()
240 } else if (buf_info.type == BufferType::kUniformTexelBuffer) { in CreatePipeline()
241 type = BufferCommand::BufferType::kUniformTexelBuffer; in CreatePipeline()
242 } else if (buf_info.type == BufferType::kStorageTexelBuffer) { in CreatePipeline()
[all …]
/external/curl/lib/vauth/
Ddigest_sspi.c180 chlg_buf.BufferType = SECBUFFER_TOKEN; in Curl_auth_create_digest_md5_message()
188 resp_buf.BufferType = SECBUFFER_TOKEN; in Curl_auth_create_digest_md5_message()
448 chlg_buf[0].BufferType = SECBUFFER_TOKEN; in Curl_auth_create_digest_http_message()
451 chlg_buf[1].BufferType = SECBUFFER_PKG_PARAMS; in Curl_auth_create_digest_http_message()
454 chlg_buf[2].BufferType = SECBUFFER_PKG_PARAMS; in Curl_auth_create_digest_http_message()
457 chlg_buf[3].BufferType = SECBUFFER_PKG_PARAMS; in Curl_auth_create_digest_http_message()
460 chlg_buf[4].BufferType = SECBUFFER_PADDING; in Curl_auth_create_digest_http_message()
546 chlg_buf[0].BufferType = SECBUFFER_TOKEN; in Curl_auth_create_digest_http_message()
549 chlg_buf[1].BufferType = SECBUFFER_PKG_PARAMS; in Curl_auth_create_digest_http_message()
552 chlg_buf[2].BufferType = SECBUFFER_PKG_PARAMS; in Curl_auth_create_digest_http_message()
[all …]
Dkrb5_sspi.c186 chlg_buf.BufferType = SECBUFFER_TOKEN; in Curl_auth_create_gssapi_user_message()
195 resp_buf.BufferType = SECBUFFER_TOKEN; in Curl_auth_create_gssapi_user_message()
299 input_buf[0].BufferType = SECBUFFER_STREAM; in Curl_auth_create_gssapi_security_message()
302 input_buf[1].BufferType = SECBUFFER_DATA; in Curl_auth_create_gssapi_security_message()
383 wrap_buf[0].BufferType = SECBUFFER_TOKEN; in Curl_auth_create_gssapi_security_message()
386 wrap_buf[1].BufferType = SECBUFFER_DATA; in Curl_auth_create_gssapi_security_message()
389 wrap_buf[2].BufferType = SECBUFFER_PADDING; in Curl_auth_create_gssapi_security_message()
/external/crosvm/media/cros-codecs/src/decoders/vp9/backends/
Dvaapi.rs11 use libva::BufferType;
48 pic_param: BufferType,
49 slice_param: BufferType,
50 slice_data: BufferType,
177 ) -> Result<libva::BufferType> { argument
242 Ok(libva::BufferType::PictureParameter(
250 ) -> Result<libva::BufferType> { argument
280 Ok(libva::BufferType::SliceParameter(
293 pic_param: BufferType, in save_params() argument
294 slice_param: BufferType, in save_params() argument
[all …]
/external/crosvm/media/cros-codecs/src/decoders/h264/backends/
Dvaapi.rs11 use libva::BufferType;
50 pic_param: Option<BufferType>,
51 iq_matrix: Option<BufferType>,
52 slice_param: Option<BufferType>,
53 slice_data: Option<BufferType>,
58 fn save_pic_params(&mut self, pic_param: BufferType, iq_matrix: BufferType) { in save_pic_params() argument
63 fn save_slice_params(&mut self, slice_param: BufferType) { in save_slice_params() argument
67 fn save_slice_data(&mut self, slice_data: BufferType) { in save_slice_data() argument
232 fn build_iq_matrix(pps: &Pps) -> BufferType { in build_iq_matrix() argument
250 BufferType::IQMatrix(IQMatrix::H264(IQMatrixBufferH264::new( in build_iq_matrix()
[all …]
/external/deqp-deps/amber/src/
Dpipeline.cc381 info.type = BufferType::kColor; in AddColorAttachment()
396 info.type = BufferType::kResolve; in AddResolveTarget()
420 depth_stencil_buffer_.type = BufferType::kDepthStencil; in SetDepthStencilBuffer()
449 vertex_buffers_.back().type = BufferType::kVertex; in AddVertexBuffer()
462 push_constant_buffer_.type = BufferType::kPushConstant; in SetPushConstantBuffer()
479 push_constant_buffer_.type = BufferType::kPushConstant; in CreatePushConstantBuffer()
527 BufferType type, in AddBuffer()
548 BufferType type, in AddBuffer()
570 void Pipeline::AddBuffer(Buffer* buf, BufferType type, uint32_t arg_no) { in AddBuffer()
708 if (info.type == BufferType::kUnknown) { in UpdateOpenCLBufferBindings()
[all …]
Dcommand.h490 enum class BufferType { enum
503 BufferCommand(BufferType type, Pipeline* pipeline);
506 bool IsSSBO() const { return buffer_type_ == BufferType::kSSBO; } in IsSSBO()
508 return buffer_type_ == BufferType::kSSBODynamic; in IsSSBODynamic()
510 bool IsUniform() const { return buffer_type_ == BufferType::kUniform; } in IsUniform()
512 return buffer_type_ == BufferType::kUniformDynamic; in IsUniformDynamic()
515 return buffer_type_ == BufferType::kStorageImage; in IsStorageImage()
518 return buffer_type_ == BufferType::kSampledImage; in IsSampledImage()
521 return buffer_type_ == BufferType::kCombinedImageSampler; in IsCombinedImageSampler()
524 return buffer_type_ == BufferType::kUniformTexelBuffer; in IsUniformTexelBuffer()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemBufferValidator.cpp57 const char* generateShaderBufferString (TestType testType, BufferType bufferType) in generateShaderBufferString()
75 …idatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType) in initBufferValidatorPrograms()
182 vk::VkDescriptorType getDescriptorType (BufferType bufferType) in getDescriptorType()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/
Dquantize_weights.h32 enum class BufferType { QUANTIZED_INT8, QUANTIZED_FLOAT16 }; enum
79 BufferType quant_type = BufferType::QUANTIZED_INT8,
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_weights.h34 enum class BufferType { QUANTIZED_INT8, QUANTIZED_FLOAT16 }; enum
64 BufferType quant_type = BufferType::QUANTIZED_INT8,

123456