diff options
author | jpadmana <jayashree.r.padmanaban@intel.com> | 2013-09-30 14:17:21 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-09-30 14:17:21 -0700 |
commit | c30acb663946cdbe85a3010945f782e0dc717ee6 (patch) | |
tree | 8f7360eadb5463b8327fdc509339c4d3f33042ca /include/media | |
parent | 3cc5436d23ec7568d199d7a73299501c9647a742 (diff) | |
parent | 2eab94f7dfd41a65e13aca379a1aed97447f8884 (diff) | |
download | frameworks_av-c30acb663946cdbe85a3010945f782e0dc717ee6.zip frameworks_av-c30acb663946cdbe85a3010945f782e0dc717ee6.tar.gz frameworks_av-c30acb663946cdbe85a3010945f782e0dc717ee6.tar.bz2 |
am 2eab94f7: Effects Factory changes for effects offload
* commit '2eab94f7dfd41a65e13aca379a1aed97447f8884':
Effects Factory changes for effects offload
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/EffectsFactoryApi.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/media/EffectsFactoryApi.h b/include/media/EffectsFactoryApi.h index b1ed7b0..b1143b9 100644 --- a/include/media/EffectsFactoryApi.h +++ b/include/media/EffectsFactoryApi.h @@ -171,6 +171,30 @@ int EffectGetDescriptor(const effect_uuid_t *pEffectUuid, effect_descriptor_t *p //////////////////////////////////////////////////////////////////////////////// int EffectIsNullUuid(const effect_uuid_t *pEffectUuid); +//////////////////////////////////////////////////////////////////////////////// +// +// Function: EffectGetSubEffects +// +// Description: Returns the descriptors of the sub effects of the effect +// whose uuid is pointed to by first argument. +// +// Input: +// pEffectUuid: pointer to the effect uuid. +// size: size of the buffer pointed by pDescriptor. +// +// Input/Output: +// pDescriptor: address where to return the sub effect descriptors. +// +// Output: +// returned value: 0 successful operation. +// -ENODEV factory failed to initialize +// -EINVAL invalid pEffectUuid or pDescriptor +// -ENOENT no effect with this uuid found +// *pDescriptor: updated with the sub effect descriptors. +// +//////////////////////////////////////////////////////////////////////////////// +int EffectGetSubEffects(const effect_uuid_t *pEffectUuid, effect_descriptor_t *pDescriptors, size_t size); + #if __cplusplus } // extern "C" #endif |