Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 124) sorted by relevance

12345

/hardware/qcom/audio/post_proc/
Dbundle.c132 if (context->ops.start) in add_effect_to_output()
133 context->ops.start(context, output); in add_effect_to_output()
147 if (context->ops.stop) in remove_effect_from_output()
148 context->ops.stop(context, output); in remove_effect_from_output()
170 (fx_ctxt->ops.process != NULL)) in effects_enabled()
235 if (fx_ctxt->ops.start) in offload_effects_bundle_hal_start_output()
236 fx_ctxt->ops.start(fx_ctxt, out_ctxt); in offload_effects_bundle_hal_start_output()
275 if (fx_ctxt->ops.stop) in offload_effects_bundle_hal_stop_output()
276 fx_ctxt->ops.stop(fx_ctxt, out_ctxt); in offload_effects_bundle_hal_stop_output()
296 if (context->ops.reset) in set_config()
[all …]
/hardware/libhardware/modules/camera/3_0/
DCameraHAL.cpp127 static int get_tag_count(const vendor_tag_ops_t* ops) in get_tag_count() argument
129 return gVendorTags.getTagCount(ops); in get_tag_count()
132 static void get_all_tags(const vendor_tag_ops_t* ops, uint32_t* tag_array) in get_all_tags() argument
134 gVendorTags.getAllTags(ops, tag_array); in get_all_tags()
137 static const char* get_section_name(const vendor_tag_ops_t* ops, uint32_t tag) in get_section_name() argument
139 return gVendorTags.getSectionName(ops, tag); in get_section_name()
142 static const char* get_tag_name(const vendor_tag_ops_t* ops, uint32_t tag) in get_tag_name() argument
144 return gVendorTags.getTagName(ops, tag); in get_tag_name()
147 static int get_tag_type(const vendor_tag_ops_t* ops, uint32_t tag) in get_tag_type() argument
149 return gVendorTags.getTagType(ops, tag); in get_tag_type()
[all …]
DVendorTags.h32 int getTagCount(const vendor_tag_ops_t* ops);
33 void getAllTags(const vendor_tag_ops_t* ops, uint32_t* tag_array);
34 const char* getSectionName(const vendor_tag_ops_t* ops, uint32_t tag);
35 const char* getTagName(const vendor_tag_ops_t* ops, uint32_t tag);
36 int getTagType(const vendor_tag_ops_t* ops, uint32_t tag);
/hardware/google/aemu/host-common/
Daddress_space_host_memory_allocator_unittests.cpp37 struct address_space_device_control_ops ops = {}; in create_address_space_device_control_ops() local
39 ops.add_memory_mapping = &empty_add_memory_mapping; in create_address_space_device_control_ops()
40 ops.remove_memory_mapping = &empty_remove_memory_mapping; in create_address_space_device_control_ops()
42 return ops; in create_address_space_device_control_ops()
76 struct address_space_device_control_ops ops = in TEST() local
81 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST()
87 struct address_space_device_control_ops ops = in TEST() local
92 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST()
106 struct address_space_device_control_ops ops = in TEST() local
111 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST()
[all …]
Daddress_space_shared_slots_host_memory_allocator_unittests.cpp32 struct address_space_device_control_ops ops = {}; in create_address_space_device_control_ops() local
34 ops.add_memory_mapping = &add_memory_mapping; in create_address_space_device_control_ops()
35 ops.remove_memory_mapping = &remove_memory_mapping; in create_address_space_device_control_ops()
37 return ops; in create_address_space_device_control_ops()
121 const struct address_space_device_control_ops ops = in TEST() local
126 MemBlock block(&ops, &hw, 100); in TEST()
154 const struct address_space_device_control_ops ops = in TEST() local
159 MemBlock block(&ops, &hw, 100); in TEST()
Daddress_space_device_control_ops.cpp23 void set_emugl_address_space_device_control_ops(struct address_space_device_control_ops* ops) { in set_emugl_address_space_device_control_ops() argument
24 g_address_space_device_control_ops = *ops; in set_emugl_address_space_device_control_ops()
Daddress_space_shared_slots_host_memory_allocator.cpp95 : ops(o), hw(h) { in MemBlock()
103 if (!ops->add_memory_mapping(physBase, bits, bitsSize)) { in MemBlock()
113 : ops(std::exchange(rhs.ops, nullptr)), in MemBlock()
129 ops->remove_memory_mapping(physBase, bits, bitsSize); in ~MemBlock()
249 const address_space_device_control_ops* ops, in load() argument
267 if (!ops->add_memory_mapping(physBase, bits, bitsSize)) { in load()
285 block->ops = ops; in load()
296 const address_space_device_control_ops *ops, const AddressSpaceHwFuncs* hw) in AddressSpaceSharedSlotsHostMemoryAllocatorContext() argument
297 : m_ops(ops), in AddressSpaceSharedSlotsHostMemoryAllocatorContext()
463 const address_space_device_control_ops *ops, in globalStateLoad() argument
[all …]
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_pipeline_cache.c186 object->ops->destroy(device, object); in vk_pipeline_cache_object_unref()
196 object->ops->destroy(device, object); in vk_pipeline_cache_object_unref()
205 if (object->ops->serialize == NULL) in vk_pipeline_cache_object_serialize()
225 if (!object->ops->serialize(object, blob)) { in vk_pipeline_cache_object_serialize()
252 const struct vk_pipeline_cache_object_ops *ops) in vk_pipeline_cache_object_deserialize() argument
254 if (ops == NULL) in vk_pipeline_cache_object_deserialize()
255 ops = &vk_raw_data_cache_object_ops; in vk_pipeline_cache_object_deserialize()
257 if (unlikely(ops->deserialize == NULL)) { in vk_pipeline_cache_object_deserialize()
267 ops->deserialize(cache, key_data, key_size, &reader); in vk_pipeline_cache_object_deserialize()
273 assert(object->ops == ops); in vk_pipeline_cache_object_deserialize()
[all …]
Dvk_pipeline_cache.h109 const struct vk_pipeline_cache_object_ops *ops; member
121 const struct vk_pipeline_cache_object_ops *ops, in vk_pipeline_cache_object_init() argument
125 object->ops = ops; in vk_pipeline_cache_object_init()
234 const struct vk_pipeline_cache_object_ops *ops,
279 const struct vk_pipeline_cache_object_ops *ops);
Dvk_command_buffer.c33 const struct vk_command_buffer_ops *ops, in vk_command_buffer_init() argument
42 command_buffer->ops = ops; in vk_command_buffer_init()
79 command_buffer->ops->reset != NULL) in vk_command_buffer_begin()
80 command_buffer->ops->reset(command_buffer, 0); in vk_command_buffer_begin()
120 cmd_buffer->ops->reset(cmd_buffer, in vk_command_buffer_recycle()
133 cmd_buffer->ops->reset(cmd_buffer, flags); in vk_common_ResetCommandBuffer()
/hardware/google/gfxstream/guest/mesa/src/util/u_gralloc/
Du_gralloc.c58 assert(u_gralloc_cache[type].u_gralloc->ops.get_buffer_basic_info); in u_gralloc_create()
59 assert(u_gralloc_cache[type].u_gralloc->ops.destroy); in u_gralloc_create()
88 u_gralloc_cache[i].u_gralloc->ops.destroy( in u_gralloc_destroy()
112 ret = gralloc->ops.get_buffer_basic_info(gralloc, hnd, &info); in u_gralloc_get_buffer_basic_info()
131 if (!gralloc->ops.get_buffer_color_info) in u_gralloc_get_buffer_color_info()
134 ret = gralloc->ops.get_buffer_color_info(gralloc, hnd, &info); in u_gralloc_get_buffer_color_info()
148 if (!gralloc->ops.get_front_rendering_usage) in u_gralloc_get_front_rendering_usage()
151 return gralloc->ops.get_front_rendering_usage(gralloc, out_usage); in u_gralloc_get_front_rendering_usage()
Du_gralloc_cros_api.c123 gr->base.ops.get_buffer_basic_info = cros_get_buffer_info; in u_gralloc_cros_api_create()
124 gr->base.ops.get_front_rendering_usage = cros_get_front_rendering_usage; in u_gralloc_cros_api_create()
125 gr->base.ops.destroy = destroy; in u_gralloc_cros_api_create()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec_interface.c242 uint32_t jpegdec_open(mm_jpegdec_ops_t *ops) in jpegdec_open() argument
276 if (NULL != ops) { in jpegdec_open()
278 ops->start_job = mm_jpegdec_intf_start_job; in jpegdec_open()
279 ops->abort_job = mm_jpegdec_intf_abort_job; in jpegdec_open()
280 ops->create_session = mm_jpegdec_intf_create_session; in jpegdec_open()
281 ops->destroy_session = mm_jpegdec_intf_destroy_session; in jpegdec_open()
282 ops->close = mm_jpegdec_intf_close; in jpegdec_open()
Dmm_jpeg_interface.c325 uint32_t jpeg_open(mm_jpeg_ops_t *ops, mm_jpeg_mpo_ops_t *mpo_ops, in jpeg_open() argument
384 if (NULL != ops) { in jpeg_open()
386 ops->start_job = mm_jpeg_intf_start_job; in jpeg_open()
387 ops->abort_job = mm_jpeg_intf_abort_job; in jpeg_open()
388 ops->create_session = mm_jpeg_intf_create_session; in jpeg_open()
389 ops->destroy_session = mm_jpeg_intf_destroy_session; in jpeg_open()
390 ops->close = mm_jpeg_intf_close; in jpeg_open()
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp639 if (mDevice->ops->dump) { // It's fine if the HAL doesn't implement dump() in dumpState()
640 return getHidlStatus(mDevice->ops->dump(mDevice, fd)); in dumpState()
676 if (mDevice->ops->set_callbacks) { in open()
677 mDevice->ops->set_callbacks(mDevice, in open()
693 if (mDevice->ops->set_preview_window) { in setPreviewWindow()
694 return getHidlStatus(mDevice->ops->set_preview_window(mDevice, in setPreviewWindow()
707 if (mDevice->ops->enable_msg_type) { in enableMsgType()
708 mDevice->ops->enable_msg_type(mDevice, msgType); in enableMsgType()
720 if (mDevice->ops->disable_msg_type) { in disableMsgType()
721 mDevice->ops->disable_msg_type(mDevice, msgType); in disableMsgType()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3VendorTags.cpp659 vendor_tag_ops_t* ops) in get_vendor_tag_ops() argument
663 Ops = ops; in get_vendor_tag_ops()
665 ops->get_tag_count = get_tag_count; in get_vendor_tag_ops()
666 ops->get_all_tags = get_all_tags; in get_vendor_tag_ops()
667 ops->get_section_name = get_section_name; in get_vendor_tag_ops()
668 ops->get_tag_name = get_tag_name; in get_vendor_tag_ops()
669 ops->get_tag_type = get_tag_type; in get_vendor_tag_ops()
670 ops->reserved[0] = NULL; in get_vendor_tag_ops()
689 const vendor_tag_ops_t * ops) in get_tag_count() argument
692 if (ops == Ops) in get_tag_count()
[all …]
DQCamera3VendorTags.h571 static void get_vendor_tag_ops(vendor_tag_ops_t* ops);
573 const vendor_tag_ops_t *ops);
575 const vendor_tag_ops_t *ops,
578 const vendor_tag_ops_t *ops,
581 const vendor_tag_ops_t *ops,
584 const vendor_tag_ops_t *ops,
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c83 effect_ops_t ops; member
266 if (context->ops.start) in add_effect_to_output()
267 context->ops.start(context, output); in add_effect_to_output()
278 if (context->ops.stop) in remove_effect_from_output()
279 context->ops.stop(context, output); in remove_effect_from_output()
299 if (fx_ctxt->state == EFFECT_STATE_ACTIVE && fx_ctxt->ops.process != NULL) in effects_enabled()
406 if (fx_ctxt->ops.process != NULL) in capture_thread_loop()
407 fx_ctxt->ops.process(fx_ctxt, &buf, &buf); in capture_thread_loop()
465 if (fx_ctxt->ops.start) in visualizer_hal_start_output()
466 fx_ctxt->ops.start(fx_ctxt, out_ctxt); in visualizer_hal_start_output()
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/fit/
DFunctionInternal.h63 static const target_ops<Result, Args...> ops;
77 Args...>::ops = {
108 static const target_ops<Result, Args...> ops;
120 Args...>::ops = {
151 static const target_ops<Result, Args...> ops;
163 Args...>::ops = {
211 static const target_ops<Result, Args...> ops;
219 Args...>::ops = {
318 if (ops_ != &shared_target_type<SharedFunction>::ops) {
400 assert(ops_ == &shared_target_type<SharedFunction>::ops);
[all …]
/hardware/google/gfxstream/host/
DRenderLibImpl.cpp82 void RenderLibImpl::setDmaOps(emugl_dma_ops ops) { in setDmaOps() argument
83 emugl::set_emugl_dma_get_host_addr(ops.get_host_addr); in setDmaOps()
84 emugl::set_emugl_dma_unlock(ops.unlock); in setDmaOps()
92 void RenderLibImpl::setAddressSpaceDeviceControlOps(struct address_space_device_control_ops* ops) { in setAddressSpaceDeviceControlOps() argument
93 set_emugl_address_space_device_control_ops(ops); in setAddressSpaceDeviceControlOps()
/hardware/google/aemu/host-common/include/host-common/
Daddress_space_shared_slots_host_memory_allocator.h60 const address_space_device_control_ops* ops,
64 const address_space_device_control_ops* ops = nullptr; member
76 AddressSpaceSharedSlotsHostMemoryAllocatorContext(const address_space_device_control_ops *ops,
88 const address_space_device_control_ops *ops,
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
DQCameraHAL3VideoTest.cpp105 device_handle->ops->configure_streams(my_test_obj->device, &(mVideoConfig)); in configureVideoStream()
115 mMetaDataPtr[0] = device_handle->ops->construct_default_request_settings( in constructDefaultRequest()
117 mMetaDataPtr[1] = device_handle->ops->construct_default_request_settings(my_test_obj->device, in constructDefaultRequest()
165 device_handle->ops->process_capture_request(my_test_obj->device, &(mRequest)); in captureRequestRepeat()
178 device_handle->ops->process_capture_request(my_test_obj->device, &(mRequest)); in captureRequestRepeat()
189 device_handle->ops->flush(my_test_obj->device); in videoTestEnd()
DQCameraHAL3PreviewTest.cpp100 device_handle->ops->configure_streams(my_test_obj->device, &(mPreviewConfig)); in configurePreviewStream()
110 mMetaDataPtr[0]= device_handle->ops->construct_default_request_settings(my_test_obj->device, in constructDefaultRequest()
112 mMetaDataPtr[1] = device_handle->ops->construct_default_request_settings(my_test_obj->device, in constructDefaultRequest()
186 device_handle->ops->process_capture_request(my_test_obj->device, &(mRequest)); in captureRequestRepeat()
199 device_handle->ops->process_capture_request(my_test_obj->device, &(mRequest)); in captureRequestRepeat()
210 device_handle->ops->flush(my_test_obj->device); in previewTestEnd()
DQCameraHAL3SnapshotTest.cpp70 mMetaDataPtr[0]= device_handle->ops->construct_default_request_settings(my_test_obj->device, in constructDefaultRequest()
72 mMetaDataPtr[1] = device_handle->ops->construct_default_request_settings(my_test_obj->device, in constructDefaultRequest()
94 device_handle->ops->configure_streams(my_test_obj->device, &(mSnapshotConfig)); in configureSnapshotStream()
115 device_handle->ops->process_capture_request(my_test_obj->device, &(mRequest)); in snapshotProcessCaptureRequest()
143 device_handle->ops->process_capture_request(my_test_obj->device, &(mRequest)); in snapshotProcessCaptureRequestRepeat()
155 device_handle->ops->flush(my_test_obj->device); in snapshotTestEnd()
DQCameraHAL3RawSnapshotTest.cpp68 mMetaDataPtr[0] = device_handle->ops->construct_default_request_settings( in constructDefaultRequest()
70 mMetaDataPtr[1] = device_handle->ops->construct_default_request_settings( in constructDefaultRequest()
93 device_handle->ops->configure_streams(my_test_obj->device, &(mRawSnapshotConfig)); in configureRawSnapshotStream()
117 device_handle->ops->process_capture_request(my_test_obj->device, &(mRequest)); in rawProcessCaptureRequest()
144 device_handle->ops->process_capture_request(my_test_obj->device, &(mRequest)); in rawProcessCaptureRequestRepeat()
155 device_handle->ops->flush(my_test_obj->device); in rawTestEnd()

12345