Searched defs:component (Results 1 - 21 of 21) sorted by relevance

/hardware/qcom/media/msm8974/libstagefrighthw/
H A DQComOMXPlugin.cpp74 OMX_COMPONENTTYPE **component) {
80 reinterpret_cast<OMX_HANDLETYPE *>(component),
86 OMX_COMPONENTTYPE *component) {
91 return (*mFreeHandle)(reinterpret_cast<OMX_HANDLETYPE *>(component));
70 makeComponentInstance( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
85 destroyComponentInstance( OMX_COMPONENTTYPE *component) argument
/hardware/qcom/media/msm8996/libstagefrighthw/
H A DQComOMXPlugin.cpp74 OMX_COMPONENTTYPE **component) {
80 reinterpret_cast<OMX_HANDLETYPE *>(component),
86 OMX_COMPONENTTYPE *component) {
91 return (*mFreeHandle)(reinterpret_cast<OMX_HANDLETYPE *>(component));
70 makeComponentInstance( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
85 destroyComponentInstance( OMX_COMPONENTTYPE *component) argument
/hardware/qcom/media/msm8998/libstagefrighthw/
H A DQComOMXPlugin.cpp74 OMX_COMPONENTTYPE **component) {
80 reinterpret_cast<OMX_HANDLETYPE *>(component),
86 OMX_COMPONENTTYPE *component) {
91 return (*mFreeHandle)(reinterpret_cast<OMX_HANDLETYPE *>(component));
70 makeComponentInstance( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
85 destroyComponentInstance( OMX_COMPONENTTYPE *component) argument
/hardware/qcom/camera/msm8998/mm-image-codec/qomx_core/
H A Dqomx_core.h52 * @comp_name: name of the component
61 * @handle: array of number of instances of the component
62 * @roles: array of roles played by the component
64 * component name
65 * @open: Is the component active
67 * @obj_ptr: Function ptr to get the instance of the component
70 * the component
74 char *roles[OMX_CORE_MAX_ROLES]; //Roles played by the component
76 uint8_t open; //Is component active
86 * @component
92 omx_core_component_t component[OMX_COMP_MAX_NUM]; //Array of pointers to components member in struct:_omx_core_t
[all...]
/hardware/google/av/codec2/1.0/mts/common/
H A Dmedia_c2_hidl_test_common.h114 void setComponent(const char* _component) { component = _component; }
125 const hidl_string getComponent() const { return component; }
132 {"component", required_argument, 0, 'C'},
164 "-C, --component: C2 component to test\n"
174 hidl_string component; member in class:ComponentTestEnvironment
/hardware/intel/common/libstagefrighthw/
H A DWrsOMXPlugin.cpp92 ALOGI("OMX IL core %s: declares component %s", coreName, tmpComponentName);
122 OMX_COMPONENTTYPE **component) {
130 reinterpret_cast<OMX_HANDLETYPE *>(component),
137 comp.mComponent = *component;
151 OMX_COMPONENTTYPE *component) {
154 if (mComponents[i].mComponent == component) {
158 OMX_ERRORTYPE omx_res = (*(mComponents[i].mCore->mFreeHandle))(reinterpret_cast<OMX_HANDLETYPE *>(component));
118 makeComponentInstance( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
150 destroyComponentInstance( OMX_COMPONENTTYPE *component) argument
/hardware/interfaces/media/omx/1.0/vts/functional/common/
H A Dmedia_hidl_test_common.h41 /* As component is switching states (loaded<->idle<->execute), dequeueMessage()
46 /* While the component is amidst a process call, asynchronous commands like
65 component, enumerator in enum:bufferOwner
141 // OMX_EventBufferFlag event is sent when the component has
371 void setComponent(const char* _component) { component = _component; }
379 const hidl_string getComponent() const { return component; }
386 static struct option options[] = {{"component", required_argument, 0, 'C'},
418 "-C, --component: OMX component to test\n"
419 "-R, --role: OMX component Rol
[all...]
/hardware/intel/common/libva/test/decode/
H A Dtinyjpeg-internal.h74 struct component struct
107 struct component component_infos[COMPONENTS];
/hardware/qcom/media/msm8974/mm-core/omxcore/src/common/
H A Domx_core_cmp.cpp33 operate directly on the component.
49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); local
52 component->nSize = sizeof(OMX_COMPONENTTYPE);
53 component->nVersion.nVersion = OMX_SPEC_VERSION;
54 component->pApplicationPrivate = 0;
55 component->pComponentPrivate = obj_ptr;
57 component->AllocateBuffer = &qc_omx_component_allocate_buffer;
58 component->FreeBuffer = &qc_omx_component_free_buffer;
59 component->GetParameter = &qc_omx_component_get_parameter;
60 component
[all...]
/hardware/qcom/media/msm8974/mm-core/src/common/
H A Domx_core_cmp.cpp33 operate directly on the component.
49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); local
52 component->nSize = sizeof(OMX_COMPONENTTYPE);
53 component->nVersion.nVersion = OMX_SPEC_VERSION;
54 component->pApplicationPrivate = 0;
55 component->pComponentPrivate = obj_ptr;
57 component->AllocateBuffer = &qc_omx_component_allocate_buffer;
58 component->FreeBuffer = &qc_omx_component_free_buffer;
59 component->GetParameter = &qc_omx_component_get_parameter;
60 component
[all...]
/hardware/qcom/media/msm8996/mm-core/src/common/
H A Domx_core_cmp.cpp33 operate directly on the component.
49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); local
52 component->nSize = sizeof(OMX_COMPONENTTYPE);
53 component->nVersion.nVersion = OMX_SPEC_VERSION;
54 component->pApplicationPrivate = 0;
55 component->pComponentPrivate = obj_ptr;
57 component->AllocateBuffer = &qc_omx_component_allocate_buffer;
58 component->FreeBuffer = &qc_omx_component_free_buffer;
59 component->GetParameter = &qc_omx_component_get_parameter;
60 component
[all...]
/hardware/qcom/media/msm8998/mm-core/src/common/
H A Domx_core_cmp.cpp33 operate directly on the component.
49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); local
52 component->nSize = sizeof(OMX_COMPONENTTYPE);
53 component->nVersion.nVersion = OMX_SPEC_VERSION;
54 component->pApplicationPrivate = 0;
55 component->pComponentPrivate = obj_ptr;
57 component->AllocateBuffer = &qc_omx_component_allocate_buffer;
58 component->FreeBuffer = &qc_omx_component_free_buffer;
59 component->GetParameter = &qc_omx_component_get_parameter;
60 component
[all...]
/hardware/google/av/codec2/hidl/1.0/utils/
H A DComponent.cpp103 Listener(const sp<Component>& component) : argument
104 mComponent(component),
105 mListener(component->mListener) {
178 const std::shared_ptr<C2Component>& component,
184 std::make_unique<CompIntf>(component->intf()))),
185 mComponent(component),
186 mInterface(component->intf()),
191 // TODO: We could cache this per component/interface type
407 Component::InterfaceKey::InterfaceKey(const sp<IComponent>& component) { argument
408 isRemote = component
177 Component( const std::shared_ptr<C2Component>& component, const sp<IComponentListener>& listener, const sp<ComponentStore>& store, const sp<::android::hardware::media::bufferpool::V1_0:: IClientManager>& clientPoolManager) argument
[all...]
H A DComponentStore.cpp164 sp<Component> component; local
171 component = new Component(c2component, listener, this, pool);
172 if (!component) {
174 } else if (component->status() != C2_OK) {
175 status = static_cast<Status>(component->status());
177 component->initListener(component);
178 if (component->status() != C2_OK) {
179 status = static_cast<Status>(component->status());
182 component
[all...]
H A DInputSurface.cpp123 const sp<IComponent>& component,
127 if (!component) {
130 std::shared_ptr<C2Component> comp = mStore->findC2Component(component);
122 connectToComponent( const sp<IComponent>& component, connectToComponent_cb _hidl_cb) argument
/hardware/google/av/media/codecs/cmds/
H A Dcodec2.cpp81 void onWorkDone(std::weak_ptr<C2Component> component,
83 void onTripped(std::weak_ptr<C2Component> component,
85 void onError(std::weak_ptr<C2Component> component, uint32_t errorCode);
120 virtual void onWorkDone_nb(std::weak_ptr<C2Component> component,
122 mThis->onWorkDone(component, std::move(workItems));
125 virtual void onTripped_nb(std::weak_ptr<C2Component> component,
127 mThis->onTripped(component, settingResult);
130 virtual void onError_nb(std::weak_ptr<C2Component> component,
132 mThis->onError(component, errorCode);
176 std::weak_ptr<C2Component> component, st
175 onWorkDone( std::weak_ptr<C2Component> component, std::list<std::unique_ptr<C2Work>> workItems) argument
186 onTripped( std::weak_ptr<C2Component> component, std::vector<std::shared_ptr<C2SettingResult>> settingResult) argument
194 onError(std::weak_ptr<C2Component> component, uint32_t errorCode) argument
217 std::shared_ptr<C2Component> component; local
[all...]
/hardware/google/av/media/v4l2store/
H A DC2VDAComponentStore.cpp34 std::shared_ptr<C2Component>* const component) override;
60 * An object encapsulating a loaded component module.
78 // Return the traits of the component in this module.
83 c2_node_id_t id, std::shared_ptr<C2Component>* component,
91 std::shared_ptr<C2Component::Traits> mTraits; ///< cached component traits
98 C2ComponentFactory* mComponentFactory; ///< loaded/created component factory
102 * An object encapsulating a loadable component module.
111 * Load the component module.
113 * This method simply returns the component module if it is already currently loaded, or
119 * \retval C2_OK the component modul
237 createComponent( c2_node_id_t id, std::shared_ptr<C2Component>* component, std::function<void(::C2Component*)> deleter) argument
319 createComponent(C2String name, std::shared_ptr<C2Component>* const component) argument
[all...]
/hardware/google/av/codec2/hidl/client/
H A Dclient.cpp352 std::shared_ptr<Codec2Client::Component>* const component) {
357 std::weak_ptr<Component> component; member in struct:android::HidlListener
368 // release input buffers potentially held by the component from queue
369 std::shared_ptr<Codec2Client::Component> strongComponent = component.lock();
374 listener->onWorkDone(component, workItems);
397 listener->onTripped(component, c2SettingResults);
409 listener->onError(component, s == Status::OK ?
446 [&status, component, hidlListener](
453 *component = std::make_shared<Codec2Client::Component>(c);
454 hidlListener->component
349 createComponent( const C2String& name, const std::shared_ptr<Codec2Client::Listener>& listener, std::shared_ptr<Codec2Client::Component>* const component) argument
670 std::shared_ptr<Component> component; local
1157 setDeathListener( const std::shared_ptr<Component>& component, const std::shared_ptr<Listener>& listener) argument
1162 std::weak_ptr<Component> component; member in struct:android::HidlDeathRecipient
1208 connectToComponent( const std::shared_ptr<Codec2Client::Component>& component, std::shared_ptr<Connection>* connection) argument
[all...]
/hardware/google/av/codec2/vndk/
H A DC2Store.cpp41 * Returns the preferred component store in this process to access its interface.
83 /// component store to use
293 std::shared_ptr<const C2Component> component,
312 mComponents[poolId] = component;
324 mComponents[poolId] = component;
336 mComponents[poolId] = component;
347 mComponents[poolId] = component;
356 std::shared_ptr<const C2Component> component,
358 return _createBlockPool(allocatorId, component, mBlockPoolSeqId++, pool);
363 std::shared_ptr<const C2Component> component,
291 _createBlockPool( C2PlatformAllocatorStore::id_t allocatorId, std::shared_ptr<const C2Component> component, C2BlockPool::local_id_t poolId, std::shared_ptr<C2BlockPool> *pool) argument
354 createBlockPool( C2PlatformAllocatorStore::id_t allocatorId, std::shared_ptr<const C2Component> component, std::shared_ptr<C2BlockPool> *pool) argument
361 getBlockPool( C2BlockPool::local_id_t blockPoolId, std::shared_ptr<const C2Component> component, std::shared_ptr<C2BlockPool> *pool) argument
397 GetCodec2BlockPool( C2BlockPool::local_id_t id, std::shared_ptr<const C2Component> component, std::shared_ptr<C2BlockPool> *pool) argument
436 CreateCodec2BlockPool( C2PlatformAllocatorStore::id_t allocatorId, std::shared_ptr<const C2Component> component, std::shared_ptr<C2BlockPool> *pool) argument
695 createComponent( c2_node_id_t id, std::shared_ptr<C2Component> *component, std::function<void(::C2Component*)> deleter) argument
852 createComponent( C2String name, std::shared_ptr<C2Component> *const component) argument
[all...]
/hardware/google/av/media/sfplugin/
H A DCCodec.cpp369 C2String, std::shared_ptr<C2Component> *const component) {
370 component->reset();
419 const std::weak_ptr<Codec2Client::Component>& component,
421 (void)component; variable
430 const std::weak_ptr<Codec2Client::Component>& component,
434 (void)component; variable
439 const std::weak_ptr<Codec2Client::Component>& component,
442 (void)component; variable
447 const std::weak_ptr<Codec2Client::Component>& component) override {
448 { // Log the death of the component
368 createComponent( C2String, std::shared_ptr<C2Component> *const component) argument
[all...]
H A DCCodecConfig.cpp169 * is supported by the component will determine the exposed value. (TODO: perhaps restrict this
481 const std::shared_ptr<Codec2Client::Component> &component) {
486 c2_status_t c2err = component->query({ &domain, &kind }, {}, C2_DONT_BLOCK, &queried);
489 // TEMP: determine kind from component name
491 if (component->getName().find("encoder") != std::string::npos) {
493 } else if (component->getName().find("decoder") != std::string::npos) {
500 c2err = component->query(
541 c2err = component->querySupportedParams(&mParamDescs);
608 const std::shared_ptr<Codec2Client::Component> &component,
621 c2_status_t c2Err = component
479 initialize( const std::shared_ptr<Codec2Client> &client, const std::shared_ptr<Codec2Client::Component> &component) argument
607 subscribeToConfigUpdate( const std::shared_ptr<Codec2Client::Component> &component, const std::vector<C2Param::Index> &indices, c2_blocking_t blocking) argument
632 queryConfiguration( const std::shared_ptr<Codec2Client::Component> &component) argument
888 getConfigUpdateFromSdkParams( std::shared_ptr<Codec2Client::Component> component, const sp<AMessage> &sdkParams, Domain domain, c2_blocking_t blocking, std::vector<std::unique_ptr<C2Param>> *configUpdate) const argument
927 setParameters( std::shared_ptr<Codec2Client::Component> component, std::vector<std::unique_ptr<C2Param>> &configUpdate, c2_blocking_t blocking) argument
[all...]

Completed in 600 milliseconds