Home
last modified time | relevance | path

Searched refs:descriptors (Results 1 – 25 of 32) sorted by relevance

12

/hardware/qcom/display/sdm845/libgralloc1/
Dgr_allocator.cpp149 const vector<shared_ptr<BufferDescriptor>>& descriptors, in CheckForBufferSharing() argument
161 cur_uncached = UseUncached(descriptors[i]->GetProducerUsage(), in CheckForBufferSharing()
162 descriptors[i]->GetConsumerUsage()); in CheckForBufferSharing()
163 GetIonHeapInfo(descriptors[i]->GetProducerUsage(), descriptors[i]->GetConsumerUsage(), in CheckForBufferSharing()
172 GetAlignedWidthAndHeight(GetBufferInfo(*descriptors[i]), &alignedw, &alignedh); in CheckForBufferSharing()
173 unsigned int size = GetSize(GetBufferInfo(*descriptors[i]), alignedw, alignedh); in CheckForBufferSharing()
Dgr_allocator.h60 const std::vector<std::shared_ptr<BufferDescriptor>>& descriptors,
Dgr_buf_mgr.cpp103 std::vector<std::shared_ptr<BufferDescriptor>> descriptors; in AllocateBuffers() local
109 descriptors.push_back(map_descriptor->second); in AllocateBuffers()
114 for (auto &descriptor : descriptors) { in AllocateBuffers()
124 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index); in AllocateBuffers()
134 if (AllocateBuffer(*descriptors[UINT(max_buf_index)], &out_buffers[max_buf_index])) { in AllocateBuffers()
143 CreateSharedHandle(out_buffers[max_buf_index], *descriptors[i], &out_buffers[i]); in AllocateBuffers()
150 if (AllocateBuffer(*descriptors[i], &out_buffers[i])) { in AllocateBuffers()
Dgr_device_impl.cpp370 const gralloc1_buffer_descriptor_t *descriptors, in AllocateBuffers() argument
372 if (!num_descriptors || !descriptors) { in AllocateBuffers()
377 gralloc1_error_t status = dev->buf_mgr_->AllocateBuffers(num_descriptors, descriptors, in AllocateBuffers()
Dgr_device_impl.h100 const gralloc1_buffer_descriptor_t *descriptors,
/hardware/interfaces/cas/1.0/vts/functional/
DVtsHalCasV1_0TargetTest.cpp337 hidl_vec<HidlCasPluginDescriptor> descriptors; in TEST_F() local
339 ->enumeratePlugins([&descriptors]( in TEST_F()
340 hidl_vec<HidlCasPluginDescriptor> const& desc) { descriptors = desc; }) in TEST_F()
343 if (descriptors.size() == 0) { in TEST_F()
349 for (size_t i = 0; i < descriptors.size(); i++) { in TEST_F()
350 int32_t caSystemId = descriptors[i].caSystemId; in TEST_F()
376 hidl_vec<HidlCasPluginDescriptor> descriptors; in TEST_F() local
378 ->enumeratePlugins([&descriptors]( in TEST_F()
379 hidl_vec<HidlCasPluginDescriptor> const& desc) { descriptors = desc; }) in TEST_F()
382 if (descriptors.size() == 0) { in TEST_F()
[all …]
/hardware/interfaces/cas/1.0/default/
DFactoryLoader.h175 vector<CasPluginDescriptor> descriptors; in queryPluginsFromPath() local
176 if (!openFactory(path) || mFactory->queryPlugins(&descriptors) != OK) { in queryPluginsFromPath()
181 for (auto it = descriptors.begin(); it != descriptors.end(); it++) { in queryPluginsFromPath()
/hardware/qcom/audio/post_proc/
Dvolume_listener.c179 static const effect_descriptor_t *descriptors[] = { variable
718 for (itt = 0; descriptors[itt] != NULL; itt++) { in vol_prc_lib_create()
719 if (memcmp(uuid, &descriptors[itt]->uuid, sizeof(effect_uuid_t)) == 0) { in vol_prc_lib_create()
721 context->desc = descriptors[itt]; in vol_prc_lib_create()
728 if (descriptors[itt] == NULL) { in vol_prc_lib_create()
841 for (i = 0; descriptors[i] != NULL; i++) { in vol_prc_lib_get_descriptor()
842 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) { in vol_prc_lib_get_descriptor()
843 *descriptor = *descriptors[i]; in vol_prc_lib_get_descriptor()
Dbundle.c41 const effect_descriptor_t *descriptors[] = { variable
325 for (i = 0; descriptors[i] != NULL; i++) { in effect_lib_create()
326 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) in effect_lib_create()
330 if (descriptors[i] == NULL) in effect_lib_create()
495 for (i = 0; descriptors[i] != NULL; i++) { in effect_lib_get_descriptor()
496 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) { in effect_lib_get_descriptor()
497 *descriptor = *descriptors[i]; in effect_lib_get_descriptor()
/hardware/interfaces/dumpstate/1.0/
DIDumpstateDevice.hal21 * Dump device-specific state into the given file descriptors.
28 * @param h A native handle with one or two valid file descriptors.
/hardware/interfaces/cas/1.0/
DIMediaCasService.hal32 * @return descriptors an array of descriptors for the available CA systems.
34 enumeratePlugins() generates (vec<HidlCasPluginDescriptor> descriptors);
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c128 const effect_descriptor_t *descriptors[NUM_ID] = { variable
449 descriptors[AEC_ID] = desc; in init()
454 descriptors[NS_ID] = desc; in init()
480 if (memcmp(&descriptors[i]->uuid, uuid, sizeof(effect_uuid_t)) == 0) in get_descriptor()
481 return descriptors[i]; in get_descriptor()
661 *pDescriptor = *descriptors[effect->id]; in fx_get_descriptor()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp157 const vector<shared_ptr<BufferDescriptor>>& descriptors, in CheckForBufferSharing() argument
169 cur_uncached = UseUncached(descriptors[i]->GetProducerUsage(), in CheckForBufferSharing()
170 descriptors[i]->GetConsumerUsage()); in CheckForBufferSharing()
171 GetIonHeapInfo(descriptors[i]->GetProducerUsage(), descriptors[i]->GetConsumerUsage(), in CheckForBufferSharing()
180 GetAlignedWidthAndHeight(*descriptors[i], &alignedw, &alignedh); in CheckForBufferSharing()
181 unsigned int size = GetSize(*descriptors[i], alignedw, alignedh); in CheckForBufferSharing()
Dgr_buf_mgr.cpp97 std::vector<std::shared_ptr<BufferDescriptor>> descriptors; in AllocateBuffers() local
103 descriptors.push_back(map_descriptor->second); in AllocateBuffers()
108 for (auto &descriptor : descriptors) { in AllocateBuffers()
118 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index); in AllocateBuffers()
128 if (AllocateBuffer(*descriptors[UINT(max_buf_index)], &out_buffers[max_buf_index])) { in AllocateBuffers()
137 CreateSharedHandle(out_buffers[max_buf_index], *descriptors[i], &out_buffers[i]); in AllocateBuffers()
144 if (AllocateBuffer(*descriptors[i], &out_buffers[i])) { in AllocateBuffers()
Dgr_allocator.h61 const std::vector<std::shared_ptr<BufferDescriptor>>& descriptors,
Dgr_device_impl.cpp355 const gralloc1_buffer_descriptor_t *descriptors, in AllocateBuffers() argument
357 if (!num_descriptors || !descriptors) { in AllocateBuffers()
362 gralloc1_error_t status = dev->buf_mgr_->AllocateBuffers(num_descriptors, descriptors, in AllocateBuffers()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp155 const vector<shared_ptr<BufferDescriptor>>& descriptors, in CheckForBufferSharing() argument
167 cur_uncached = UseUncached(descriptors[i]->GetProducerUsage(), in CheckForBufferSharing()
168 descriptors[i]->GetConsumerUsage()); in CheckForBufferSharing()
169 GetIonHeapInfo(descriptors[i]->GetProducerUsage(), descriptors[i]->GetConsumerUsage(), in CheckForBufferSharing()
178 GetAlignedWidthAndHeight(*descriptors[i], &alignedw, &alignedh); in CheckForBufferSharing()
179 unsigned int size = GetSize(*descriptors[i], alignedw, alignedh); in CheckForBufferSharing()
Dgr_buf_mgr.cpp97 std::vector<std::shared_ptr<BufferDescriptor>> descriptors; in AllocateBuffers() local
103 descriptors.push_back(map_descriptor->second); in AllocateBuffers()
108 for (auto &descriptor : descriptors) { in AllocateBuffers()
118 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index); in AllocateBuffers()
128 if (AllocateBuffer(*descriptors[UINT(max_buf_index)], &out_buffers[max_buf_index])) { in AllocateBuffers()
137 CreateSharedHandle(out_buffers[max_buf_index], *descriptors[i], &out_buffers[i]); in AllocateBuffers()
144 if (AllocateBuffer(*descriptors[i], &out_buffers[i])) { in AllocateBuffers()
Dgr_allocator.h61 const std::vector<std::shared_ptr<BufferDescriptor>>& descriptors,
Dgr_device_impl.cpp370 const gralloc1_buffer_descriptor_t *descriptors, in AllocateBuffers() argument
372 if (!num_descriptors || !descriptors) { in AllocateBuffers()
377 gralloc1_error_t status = dev->buf_mgr_->AllocateBuffers(num_descriptors, descriptors, in AllocateBuffers()
Dgr_device_impl.h100 const gralloc1_buffer_descriptor_t *descriptors,
/hardware/interfaces/audio/effect/2.0/
DIEffectsFactory.hal24 * Returns descriptors of different effects in all loaded libraries.
27 * @return result list of effect descriptors.
/hardware/interfaces/tetheroffload/config/1.0/
DIOffloadConfig.hal25 * Provides bound netlink file descriptors for use in the management process
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c143 const effect_descriptor_t *descriptors[] = { variable
957 for (i = 0; descriptors[i] != NULL; i++) { in effect_lib_create()
958 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) in effect_lib_create()
962 if (descriptors[i] == NULL) in effect_lib_create()
1046 for (i = 0; descriptors[i] != NULL; i++) { in effect_lib_get_descriptor()
1047 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) { in effect_lib_get_descriptor()
1048 *descriptor = *descriptors[i]; in effect_lib_get_descriptor()
/hardware/interfaces/graphics/allocator/2.0/default/
DGralloc1On0Adapter.cpp284 const gralloc1_buffer_descriptor_t* descriptors, in allocateHook() argument
296 auto descriptor = adapter->getDescriptor(descriptors[i]); in allocateHook()
303 error = adapter->allocate(descriptors[i], descriptor, &bufferHandle); in allocateHook()

12