Searched defs:descriptor (Results 51 - 71 of 71) sorted by relevance

123

/hardware/qcom/display/msm8909/gralloc/
H A Dgr_buf_mgr.cpp37 static BufferInfo GetBufferInfo(const BufferDescriptor &descriptor) { argument
38 return BufferInfo(descriptor.GetWidth(), descriptor.GetHeight(), descriptor.GetFormat(),
39 descriptor.GetProducerUsage(), descriptor.GetConsumerUsage());
61 auto descriptor = std::make_shared<BufferDescriptor>(); local
62 descriptors_map_.emplace(descriptor->GetId(), descriptor);
63 *descriptor_id = descriptor
70 const auto descriptor = descriptors_map_.find(descriptor_id); local
157 CreateSharedHandle(buffer_handle_t inbuffer, const BufferDescriptor &descriptor, buffer_handle_t *outbuffer) argument
462 AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle, unsigned int bufferSize) argument
[all...]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A Dgr_buf_mgr.cpp37 static BufferInfo GetBufferInfo(const BufferDescriptor &descriptor) { argument
38 return BufferInfo(descriptor.GetWidth(), descriptor.GetHeight(), descriptor.GetFormat(),
39 descriptor.GetProducerUsage(), descriptor.GetConsumerUsage());
61 auto descriptor = std::make_shared<BufferDescriptor>(); local
62 descriptors_map_.emplace(descriptor->GetId(), descriptor);
63 *descriptor_id = descriptor
70 const auto descriptor = descriptors_map_.find(descriptor_id); local
157 CreateSharedHandle(buffer_handle_t inbuffer, const BufferDescriptor &descriptor, buffer_handle_t *outbuffer) argument
459 AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle, unsigned int bufferSize) argument
[all...]
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_allocator.cpp179 // For same format type, find the descriptor with bigger size
197 unsigned int Allocator::GetSize(const BufferDescriptor &descriptor, unsigned int alignedw, argument
200 int format = descriptor.GetFormat();
201 int width = descriptor.GetWidth();
202 int height = descriptor.GetHeight();
203 gralloc1_producer_usage_t prod_usage = descriptor.GetProducerUsage();
204 gralloc1_consumer_usage_t cons_usage = descriptor.GetConsumerUsage();
299 BufferDescriptor descriptor = BufferDescriptor(width, height, format); local
300 GetAlignedWidthAndHeight(descriptor, alignedw, alignedh);
302 *size = GetSize(descriptor, *aligned
305 GetBufferSizeAndDimensions(const BufferDescriptor &descriptor, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument
379 BufferDescriptor descriptor = local
766 GetAlignedWidthAndHeight(const BufferDescriptor &descriptor, unsigned int *alignedw, unsigned int *alignedh) argument
[all...]
H A Dgr_buf_mgr.cpp62 auto descriptor = std::make_shared<BufferDescriptor>(); local
63 descriptors_map_.emplace(descriptor->GetId(), descriptor);
64 *descriptor_id = descriptor->GetId();
71 const auto descriptor = descriptors_map_.find(descriptor_id); local
72 if (descriptor == descriptors_map_.end()) {
75 descriptors_map_.erase(descriptor);
108 for (auto &descriptor : descriptors) {
109 descriptor->SetColorFormat(allocator_->GetImplDefinedFormat(descriptor
158 CreateSharedHandle(buffer_handle_t inbuffer, const BufferDescriptor &descriptor, buffer_handle_t *outbuffer) argument
468 AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle, unsigned int bufferSize) argument
737 auto descriptor = BufferDescriptor(width, height, format, producer_usage, consumer_usage); local
[all...]
/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_allocator.cpp180 // For same format type, find the descriptor with bigger size
198 unsigned int Allocator::GetSize(const BufferDescriptor &descriptor, unsigned int alignedw, argument
201 int format = descriptor.GetFormat();
202 int width = descriptor.GetWidth();
203 int height = descriptor.GetHeight();
204 gralloc1_producer_usage_t prod_usage = descriptor.GetProducerUsage();
205 gralloc1_consumer_usage_t cons_usage = descriptor.GetConsumerUsage();
300 BufferDescriptor descriptor = BufferDescriptor(width, height, format); local
301 GetAlignedWidthAndHeight(descriptor, alignedw, alignedh);
303 *size = GetSize(descriptor, *aligned
306 GetBufferSizeAndDimensions(const BufferDescriptor &descriptor, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument
380 BufferDescriptor descriptor = local
768 GetAlignedWidthAndHeight(const BufferDescriptor &descriptor, unsigned int *alignedw, unsigned int *alignedh) argument
[all...]
H A Dgr_buf_mgr.cpp62 auto descriptor = std::make_shared<BufferDescriptor>(); local
63 descriptors_map_.emplace(descriptor->GetId(), descriptor);
64 *descriptor_id = descriptor->GetId();
71 const auto descriptor = descriptors_map_.find(descriptor_id); local
72 if (descriptor == descriptors_map_.end()) {
75 descriptors_map_.erase(descriptor);
108 for (auto &descriptor : descriptors) {
109 descriptor->SetColorFormat(allocator_->GetImplDefinedFormat(descriptor
158 CreateSharedHandle(buffer_handle_t inbuffer, const BufferDescriptor &descriptor, buffer_handle_t *outbuffer) argument
456 AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle, unsigned int bufferSize) argument
725 auto descriptor = BufferDescriptor(width, height, format, producer_usage, consumer_usage); local
[all...]
H A Dgr_device_impl.cpp227 gralloc1_buffer_descriptor_t descriptor) {
232 return dev->buf_mgr_->DestroyBufferDescriptor(descriptor);
236 gralloc1_buffer_descriptor_t descriptor,
242 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor,
248 gralloc1_buffer_descriptor_t descriptor,
254 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor,
261 gralloc1_buffer_descriptor_t descriptor,
267 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor,
273 gralloc1_buffer_descriptor_t descriptor,
279 return dev->buf_mgr_->CallBufferDescriptorFunction(descriptor,
226 DestroyBufferDescriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor) argument
235 SetConsumerUsage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, gralloc1_consumer_usage_t usage) argument
247 SetBufferDimensions(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, uint32_t width, uint32_t height) argument
260 SetColorFormat(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, int32_t format) argument
272 SetLayerCount(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, uint32_t layer_count) argument
285 SetProducerUsage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, gralloc1_producer_usage_t usage) argument
[all...]
/hardware/google/av/codec2/hidl/client/
H A Dclient.cpp563 std::unique_ptr<C2StructDescriptor> descriptor; local
566 [&descriptor](
573 descriptor.reset();
579 descriptor.reset();
582 status = objcpy(&descriptor, sd[0]);
586 descriptor.reset();
590 return descriptor;
/hardware/interfaces/audio/effect/all-versions/default/include/effect/all-versions/default/
H A DEffect.impl.h615 EffectDescriptor descriptor; local
617 effectDescriptorFromHal(halDescriptor, &descriptor);
619 _hidl_cb(analyzeStatus("get_descriptor", "", sContextCallFunction, status), descriptor);
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
H A DHWC2OnFbAdapter.cpp49 int32_t registerCallbackHook(hwc2_device_t* device, int32_t descriptor, argument
52 switch (descriptor) {
522 hwc2_function_pointer_t getFunctionHook(hwc2_device_t* /*device*/, int32_t descriptor) { argument
523 switch (descriptor) {
627 ALOGE("unknown function descriptor %d", descriptor);
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
H A DComposerCommandBuffer.h579 bool setMQDescriptor(const MQDescriptorSync<uint32_t>& descriptor) { argument
580 mQueue = std::make_unique<CommandQueueType>(descriptor, false);
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
H A DHWC2On1Adapter.h76 hwc2_function_pointer_t doGetFunction(HWC2::FunctionDescriptor descriptor);
79 auto descriptor = static_cast<HWC2::FunctionDescriptor>(intDesc); local
80 return getAdapter(device)->doGetFunction(descriptor);
116 HWC2::Error registerCallback(HWC2::Callback descriptor,
121 auto descriptor = static_cast<HWC2::Callback>(intDesc); local
122 auto error = getAdapter(device)->registerCallback(descriptor,
/hardware/qcom/audio/visualizer/
H A Doffload_visualizer.c1035 effect_descriptor_t *descriptor) {
1041 if (descriptor == NULL || uuid == NULL) {
1048 *descriptor = *descriptors[i];
1265 effect_descriptor_t *descriptor)
1272 if (descriptor == NULL)
1275 *descriptor = *context->desc;
1034 effect_lib_get_descriptor(const effect_uuid_t *uuid, effect_descriptor_t *descriptor) argument
1264 effect_get_descriptor(effect_handle_t self, effect_descriptor_t *descriptor) argument
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
H A Dhwc_session.cpp561 int32_t HWCSession::RegisterCallback(hwc2_device_t *device, int32_t descriptor, argument
569 auto desc = static_cast<HWC2::Callback>(descriptor);
572 if (descriptor == HWC2_CALLBACK_HOTPLUG) {
777 auto descriptor = static_cast<HWC2::FunctionDescriptor>(int_descriptor); local
779 switch (descriptor) {
867 DLOGD("Unknown/Unimplemented function descriptor: %d (%s)", int_descriptor,
868 to_string(descriptor).c_str());
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
H A Dhwc_session.cpp526 int32_t HWCSession::RegisterCallback(hwc2_device_t *device, int32_t descriptor, argument
534 auto desc = static_cast<HWC2::Callback>(descriptor);
537 if (descriptor == HWC2_CALLBACK_HOTPLUG) {
725 auto descriptor = static_cast<HWC2::FunctionDescriptor>(int_descriptor); local
727 switch (descriptor) {
815 DLOGD("Unknown/Unimplemented function descriptor: %d (%s)", int_descriptor,
816 to_string(descriptor).c_str());
/hardware/qcom/display/msm8994/libhwcomposer/
H A DHWC2On1Adapter.h68 hwc2_function_pointer_t doGetFunction(HWC2::FunctionDescriptor descriptor);
71 auto descriptor = static_cast<HWC2::FunctionDescriptor>(intDesc); local
72 return getAdapter(device)->doGetFunction(descriptor);
108 HWC2::Error registerCallback(HWC2::Callback descriptor,
113 auto descriptor = static_cast<HWC2::Callback>(intDesc); local
114 auto error = getAdapter(device)->registerCallback(descriptor,
H A DHWC2On1Adapter.cpp179 FunctionDescriptor descriptor)
181 switch (descriptor) {
340 ALOGE("doGetFunction: Unknown function descriptor: %d (%s)",
341 static_cast<int32_t>(descriptor),
342 to_string(descriptor).c_str());
455 static bool isValid(Callback descriptor) { argument
456 switch (descriptor) {
464 Error HWC2On1Adapter::registerCallback(Callback descriptor, argument
467 if (!isValid(descriptor)) {
471 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor)
178 doGetFunction( FunctionDescriptor descriptor) argument
[all...]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
H A Dhwc_session.cpp412 int32_t HWCSession::RegisterCallback(hwc2_device_t *device, int32_t descriptor, argument
419 auto desc = static_cast<HWC2::Callback>(descriptor);
422 if (descriptor == HWC2_CALLBACK_HOTPLUG)
597 auto descriptor = static_cast<HWC2::FunctionDescriptor>(int_descriptor); local
599 switch (descriptor) {
687 DLOGD("Unknown/Unimplemented function descriptor: %d (%s)", int_descriptor,
688 to_string(descriptor).c_str());
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dhwc_session.cpp431 int32_t HWCSession::RegisterCallback(hwc2_device_t *device, int32_t descriptor, argument
438 auto desc = static_cast<HWC2::Callback>(descriptor);
441 if (descriptor == HWC2_CALLBACK_HOTPLUG)
619 auto descriptor = static_cast<HWC2::FunctionDescriptor>(int_descriptor); local
621 switch (descriptor) {
709 DLOGD("Unknown/Unimplemented function descriptor: %d (%s)", int_descriptor,
710 to_string(descriptor).c_str());
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
H A DHWC2On1Adapter.cpp142 FunctionDescriptor descriptor) {
143 switch (descriptor) {
307 ALOGE("doGetFunction: Unknown function descriptor: %d (%s)",
308 static_cast<int32_t>(descriptor),
309 to_string(descriptor).c_str());
409 static bool isValid(Callback descriptor) { argument
410 switch (descriptor) {
418 Error HWC2On1Adapter::registerCallback(Callback descriptor, argument
420 if (!isValid(descriptor)) {
424 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor)
141 doGetFunction( FunctionDescriptor descriptor) argument
[all...]
/hardware/interfaces/camera/provider/2.4/vts/functional/
H A DVtsHalCameraProviderV2_4TargetTest.cpp589 Return<uint32_t> registerMemory(const hidl_handle& descriptor,
806 const hidl_handle& descriptor, uint32_t bufferSize,
808 if (descriptor->numFds != 1) {
809 ADD_FAILURE() << "camera memory descriptor has"
810 " numFds " << descriptor->numFds << " (expect 1)" ;
813 if (descriptor->data[0] < 0) {
814 ADD_FAILURE() << "camera memory descriptor has"
815 " FD " << descriptor->data[0] << " (expect >= 0)";
820 descriptor->data[0], bufferSize*bufferCount, 0, 0);
3294 [&resultQueue](const auto& descriptor) {
805 registerMemory( const hidl_handle& descriptor, uint32_t bufferSize, uint32_t bufferCount) argument
4832 ::android::hardware::hidl_vec<uint32_t> descriptor; local
[all...]

Completed in 651 milliseconds

123