/hardware/libhardware/modules/camera/3_4/metadata/ |
D | metadata.cpp | 49 for (auto& component : components_) { in FillStaticMetadata() local 53 res = component->PopulateStaticFields(&additional_metadata); in FillStaticMetadata() 68 std::vector<int32_t> tags = component->StaticTags(); in FillStaticMetadata() 72 tags = component->ControlTags(); in FillStaticMetadata() 76 tags = component->DynamicTags(); in FillStaticMetadata() 116 for (auto& component : components_) { in IsValidRequest() local 118 bool valid_request = component->SupportsRequestValues(metadata); in IsValidRequest() 142 for (auto& component : components_) { in GetRequestTemplate() local 146 component->PopulateTemplateRequest(template_type, &additional_metadata); in GetRequestTemplate() 172 for (auto& component : components_) { in SetRequestSettings() local [all …]
|
/hardware/google/interfaces/media/c2/1.0/ |
D | IComponent.hal | 27 * Interface for a Codec 2.0 component corresponding to API level 1.0 or 37 * Queues up work for the component. 47 * component. 50 * - BAD_INDEX - Some component(s) in some Work do(es) not exist. 59 * Discards and abandons any pending work for the component. 73 * - OK - The component has been successfully flushed. 87 * Drains the component, and optionally downstream components. This is a 90 * Marks last work item as "drain-till-here", so component is notified not 102 * @param withEos Whether to drain the component with marking end-of-stream. 120 * - CANNOT_DO - The component does not support an output surface. [all …]
|
D | IComponentStore.hal | 29 * Creates a component by name. 33 * @param name Name of the component to create. This should match one of the 35 * @param listener The component listener to use for the component. 36 * @param pool The buffer pool client manager of the component listener. 39 * - OK - The component was created successfully. 40 * - NOT_FOUND - There is no component with the given name. 41 * - NO_MEMORY - Not enough memory to create the component. 42 * - TIMED_OUT - The component could not be created within the time limit. 45 * component. (unexpected) 46 * @return comp The created component if `Status = OK`. [all …]
|
D | IComponentInterface.hal | 23 * a potential or actual component. It can be created and used independently of 24 * an actual Codec 2.0 component instance to query support and parameters for 25 * various component settings and configurations for a potential component. 34 * The name of the component or component interface object is a unique name 35 * for that component or component interface 'class'; however, multiple 36 * instances of that component must have the same name.
|
D | IInputSurface.hal | 31 * Connects this input surface to a component. 35 * @param component The component to connect to. This must have type 39 * - BAD_STATE - The component is in running state. 40 * - DUPLICATE - The surface is already connected to a component. 41 * - NO_MEMORY - Could not allocate memory to connect to the component. 44 * from the component. 47 IComponent component
|
/hardware/qcom/sdm845/media/mm-core/src/common/ |
D | omx_core_cmp.cpp | 49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); in qc_omx_create_component_wrapper() local 52 component->nSize = sizeof(OMX_COMPONENTTYPE); in qc_omx_create_component_wrapper() 53 component->nVersion.nVersion = OMX_SPEC_VERSION; in qc_omx_create_component_wrapper() 54 component->pApplicationPrivate = 0; in qc_omx_create_component_wrapper() 55 component->pComponentPrivate = obj_ptr; in qc_omx_create_component_wrapper() 57 component->AllocateBuffer = &qc_omx_component_allocate_buffer; in qc_omx_create_component_wrapper() 58 component->FreeBuffer = &qc_omx_component_free_buffer; in qc_omx_create_component_wrapper() 59 component->GetParameter = &qc_omx_component_get_parameter; in qc_omx_create_component_wrapper() 60 component->SetParameter = &qc_omx_component_set_parameter; in qc_omx_create_component_wrapper() 61 component->SendCommand = &qc_omx_component_send_command; in qc_omx_create_component_wrapper() [all …]
|
/hardware/qcom/media/msm8974/mm-core/src/common/ |
D | omx_core_cmp.cpp | 49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); in qc_omx_create_component_wrapper() local 52 component->nSize = sizeof(OMX_COMPONENTTYPE); in qc_omx_create_component_wrapper() 53 component->nVersion.nVersion = OMX_SPEC_VERSION; in qc_omx_create_component_wrapper() 54 component->pApplicationPrivate = 0; in qc_omx_create_component_wrapper() 55 component->pComponentPrivate = obj_ptr; in qc_omx_create_component_wrapper() 57 component->AllocateBuffer = &qc_omx_component_allocate_buffer; in qc_omx_create_component_wrapper() 58 component->FreeBuffer = &qc_omx_component_free_buffer; in qc_omx_create_component_wrapper() 59 component->GetParameter = &qc_omx_component_get_parameter; in qc_omx_create_component_wrapper() 60 component->SetParameter = &qc_omx_component_set_parameter; in qc_omx_create_component_wrapper() 61 component->SendCommand = &qc_omx_component_send_command; in qc_omx_create_component_wrapper() [all …]
|
/hardware/qcom/media/msm8974/mm-core/omxcore/src/common/ |
D | omx_core_cmp.cpp | 49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); in qc_omx_create_component_wrapper() local 52 component->nSize = sizeof(OMX_COMPONENTTYPE); in qc_omx_create_component_wrapper() 53 component->nVersion.nVersion = OMX_SPEC_VERSION; in qc_omx_create_component_wrapper() 54 component->pApplicationPrivate = 0; in qc_omx_create_component_wrapper() 55 component->pComponentPrivate = obj_ptr; in qc_omx_create_component_wrapper() 57 component->AllocateBuffer = &qc_omx_component_allocate_buffer; in qc_omx_create_component_wrapper() 58 component->FreeBuffer = &qc_omx_component_free_buffer; in qc_omx_create_component_wrapper() 59 component->GetParameter = &qc_omx_component_get_parameter; in qc_omx_create_component_wrapper() 60 component->SetParameter = &qc_omx_component_set_parameter; in qc_omx_create_component_wrapper() 61 component->SendCommand = &qc_omx_component_send_command; in qc_omx_create_component_wrapper() [all …]
|
/hardware/qcom/media/msm8998/mm-core/src/common/ |
D | omx_core_cmp.cpp | 49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); in qc_omx_create_component_wrapper() local 52 component->nSize = sizeof(OMX_COMPONENTTYPE); in qc_omx_create_component_wrapper() 53 component->nVersion.nVersion = OMX_SPEC_VERSION; in qc_omx_create_component_wrapper() 54 component->pApplicationPrivate = 0; in qc_omx_create_component_wrapper() 55 component->pComponentPrivate = obj_ptr; in qc_omx_create_component_wrapper() 57 component->AllocateBuffer = &qc_omx_component_allocate_buffer; in qc_omx_create_component_wrapper() 58 component->FreeBuffer = &qc_omx_component_free_buffer; in qc_omx_create_component_wrapper() 59 component->GetParameter = &qc_omx_component_get_parameter; in qc_omx_create_component_wrapper() 60 component->SetParameter = &qc_omx_component_set_parameter; in qc_omx_create_component_wrapper() 61 component->SendCommand = &qc_omx_component_send_command; in qc_omx_create_component_wrapper() [all …]
|
/hardware/qcom/media/msm8996/mm-core/src/common/ |
D | omx_core_cmp.cpp | 49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); in qc_omx_create_component_wrapper() local 52 component->nSize = sizeof(OMX_COMPONENTTYPE); in qc_omx_create_component_wrapper() 53 component->nVersion.nVersion = OMX_SPEC_VERSION; in qc_omx_create_component_wrapper() 54 component->pApplicationPrivate = 0; in qc_omx_create_component_wrapper() 55 component->pComponentPrivate = obj_ptr; in qc_omx_create_component_wrapper() 57 component->AllocateBuffer = &qc_omx_component_allocate_buffer; in qc_omx_create_component_wrapper() 58 component->FreeBuffer = &qc_omx_component_free_buffer; in qc_omx_create_component_wrapper() 59 component->GetParameter = &qc_omx_component_get_parameter; in qc_omx_create_component_wrapper() 60 component->SetParameter = &qc_omx_component_set_parameter; in qc_omx_create_component_wrapper() 61 component->SendCommand = &qc_omx_component_send_command; in qc_omx_create_component_wrapper() [all …]
|
/hardware/interfaces/media/c2/1.0/ |
D | IComponent.hal | 31 * Interface for a Codec2 component corresponding to API level 1.0 or below. 45 * Queues up work for the component. 53 * to queue to the component. 56 * - `BAD_INDEX` - Some component id in some `Worklet` is not valid. 66 * Discards and abandons any pending `Work` items for the component. 80 * - `OK` - The component has been successfully flushed. 93 * Drains the component, and optionally downstream components. This is a 96 * The last `Work` item is marked as "drain-till-here", so the component is 107 * @param withEos Whether to drain the component with marking end-of-stream. 125 * - `CANNOT_DO` - The component does not support an output surface. [all …]
|
D | IComponentStore.hal | 37 * Creates a component by name. 39 * @param name Name of the component to create. This must match one of the 45 * - `OK` - The component was created successfully. 46 * - `NOT_FOUND` - There is no component with the given name. 47 * - `NO_MEMORY` - Not enough memory to create the component. 50 * @return comp The created component if @p status is `OK`. 64 * Creates a component interface by name. 66 * @param name Name of the component interface to create. This should match 69 * - `OK` - The component interface was created successfully. 70 * - `NOT_FOUND` - There is no component interface with the given name. [all …]
|
D | IComponentInterface.hal | 23 * a potential or actual component. It can be created and used independently of 24 * an actual Codec2 component to query supported parameters for various 25 * component settings, and configurations for a potential component. 27 * An actual component exposes this interface via IComponent::getInterface(). 31 * Returns the @ref IConfigurable instance associated to this component
|
D | IInputSurfaceConnection.hal | 22 * Connection between a component and an input surface. 29 * Destroys the connection between an input surface and a component. 33 * - `BAD_STATE` - The component is not in running state. 34 * - `NOT_FOUND` - The surface is not connected to a component.
|
/hardware/google/av/media/codecs/cmds/ |
D | codec2.cpp | 80 void onWorkDone(std::weak_ptr<C2Component> component, 82 void onTripped(std::weak_ptr<C2Component> component, 84 void onError(std::weak_ptr<C2Component> component, uint32_t errorCode); 119 virtual void onWorkDone_nb(std::weak_ptr<C2Component> component, in onWorkDone_nb() argument 121 mThis->onWorkDone(component, std::move(workItems)); in onWorkDone_nb() 124 virtual void onTripped_nb(std::weak_ptr<C2Component> component, in onTripped_nb() argument 126 mThis->onTripped(component, settingResult); in onTripped_nb() 129 virtual void onError_nb(std::weak_ptr<C2Component> component, in onError_nb() argument 131 mThis->onError(component, errorCode); in onError_nb() 175 std::weak_ptr<C2Component> component, std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone() argument [all …]
|
/hardware/google/av/codec2/faultinjection/ |
D | C2ComponentWrapper.cpp | 64 void C2ComponentWrapper::Listener::onWorkDone_nb(std::weak_ptr<C2Component> component, in onWorkDone_nb() argument 66 mListener->onWorkDone_nb(component, std::move(workItems)); in onWorkDone_nb() 69 void C2ComponentWrapper::Listener::onTripped_nb(std::weak_ptr<C2Component> component, in onTripped_nb() argument 71 mListener->onTripped_nb(component,settingResult); in onTripped_nb() 75 std::weak_ptr<C2Component> component, uint32_t errorCode) { in onError_nb() argument 76 mListener->onError_nb(component, errorCode); in onError_nb()
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
D | ComponentStore.cpp | 165 sp<Component> component; in createComponent() local 172 component = new Component(c2component, listener, this, pool); in createComponent() 173 if (!component) { in createComponent() 175 } else if (component->status() != C2_OK) { in createComponent() 176 status = static_cast<Status>(component->status()); in createComponent() 178 component->initListener(component); in createComponent() 179 if (component->status() != C2_OK) { in createComponent() 180 status = static_cast<Status>(component->status()); in createComponent() 183 component->setLocalId( in createComponent() 185 Component::InterfaceKey(component), in createComponent() [all …]
|
/hardware/interfaces/graphics/common/1.1/ |
D | types.hal | 31 * 16-bit format that has a single 16-bit depth component. 33 * The component values are unsigned normalized to the range [0, 1], whose 39 * 32-bit format that has a single 24-bit depth component and, optionally, 42 * The component values are unsigned normalized to the range [0, 1], whose 48 * 32-bit format that has a 24-bit depth component and an 8-bit stencil 49 * component packed into 32-bits. 51 * The depth component values are unsigned normalized to the range [0, 1], 58 * 32-bit format that has a single 32-bit depth component. 60 * The component values are signed floats, whose interpretation is defined 66 * Two-component format that has a 32-bit depth component, an 8-bit stencil [all …]
|
/hardware/libhardware/modules/camera/3_4/ |
D | format_metadata_factory_test.cpp | 102 for (auto& component : components) { in TEST_F() local 104 component->PopulateStaticFields(&metadata); in TEST_F() 106 int32_t tag = component->StaticTags()[0]; in TEST_F() 168 for (auto& component : components) { in TEST_F() local 170 component->PopulateStaticFields(&metadata); in TEST_F() 172 int32_t tag = component->StaticTags()[0]; in TEST_F()
|
/hardware/qcom/media/msm8974/libstagefrighthw/ |
D | QComOMXPlugin.cpp | 74 OMX_COMPONENTTYPE **component) { in makeComponentInstance() argument 80 reinterpret_cast<OMX_HANDLETYPE *>(component), in makeComponentInstance() 86 OMX_COMPONENTTYPE *component) { in destroyComponentInstance() argument 91 return (*mFreeHandle)(reinterpret_cast<OMX_HANDLETYPE *>(component)); in destroyComponentInstance()
|
/hardware/qcom/media/msm8998/libstagefrighthw/ |
D | QComOMXPlugin.cpp | 74 OMX_COMPONENTTYPE **component) { in makeComponentInstance() argument 80 reinterpret_cast<OMX_HANDLETYPE *>(component), in makeComponentInstance() 86 OMX_COMPONENTTYPE *component) { in destroyComponentInstance() argument 91 return (*mFreeHandle)(reinterpret_cast<OMX_HANDLETYPE *>(component)); in destroyComponentInstance()
|
/hardware/qcom/media/msm8996/libstagefrighthw/ |
D | QComOMXPlugin.cpp | 74 OMX_COMPONENTTYPE **component) { in makeComponentInstance() argument 80 reinterpret_cast<OMX_HANDLETYPE *>(component), in makeComponentInstance() 86 OMX_COMPONENTTYPE *component) { in destroyComponentInstance() argument 91 return (*mFreeHandle)(reinterpret_cast<OMX_HANDLETYPE *>(component)); in destroyComponentInstance()
|
/hardware/google/av/codec2/vndk/ |
D | C2Store.cpp | 299 std::shared_ptr<const C2Component> component, in _createBlockPool() argument 318 mComponents[poolId] = component; in _createBlockPool() 330 mComponents[poolId] = component; in _createBlockPool() 342 mComponents[poolId] = component; in _createBlockPool() 353 mComponents[poolId] = component; in _createBlockPool() 362 std::shared_ptr<const C2Component> component, in createBlockPool() argument 364 return _createBlockPool(allocatorId, component, mBlockPoolSeqId++, pool); in createBlockPool() 369 std::shared_ptr<const C2Component> component, in getBlockPool() argument 381 if (component == found->second.lock()) { in getBlockPool() 404 C2BlockPool::local_id_t id, std::shared_ptr<const C2Component> component, in GetCodec2BlockPool() argument [all …]
|
/hardware/google/av/codec2/hidl/1.0/mts/common/ |
D | media_c2_hidl_test_common.h | 120 void setComponent(const char* _component) { component = _component; } in setComponent() 128 const hidl_string getComponent() const { return component; } in getComponent() 177 hidl_string component; variable 185 const std::shared_ptr<android::Codec2Client::Component>& component, 195 const std::shared_ptr<android::Codec2Client::Component>& component,
|
/hardware/google/av/codec2/hidl/client/ |
D | client.cpp | 333 std::weak_ptr<Component> component; member 346 std::shared_ptr<Codec2Client::Component> strongComponent = component.lock(); in onWorkDone() 351 listener->onWorkDone(component, workItems, numDiscardedInputBuffers); in onWorkDone() 374 listener->onTripped(component, c2SettingResults); in onTripped() 386 listener->onError(component, s == Status::OK ? in onError() 408 component.lock(); in onFramesRendered() 454 std::shared_ptr<Codec2Client::Component>* const component) { in createComponent() argument 466 [&status, component, hidlListener]( in createComponent() 473 *component = std::make_shared<Codec2Client::Component>(c); in createComponent() 474 hidlListener->component = *component; in createComponent() [all …]
|