diff options
author | Eric Laurent <elaurent@google.com> | 2013-09-06 13:33:00 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-09-06 13:33:00 -0700 |
commit | 499ab9e17d8bd8b521b567e47c9a1b9421567e2a (patch) | |
tree | a50e386dc948e35559d6c27bd0c299747c323634 /include/media | |
parent | f040fec6317c04ab4f91315e4c46f51e47788238 (diff) | |
parent | c2cfaf78f93361e2edb4af9930a73904d261d198 (diff) | |
download | frameworks_av-499ab9e17d8bd8b521b567e47c9a1b9421567e2a.zip frameworks_av-499ab9e17d8bd8b521b567e47c9a1b9421567e2a.tar.gz frameworks_av-499ab9e17d8bd8b521b567e47c9a1b9421567e2a.tar.bz2 |
am c2cfaf78: am a82975e0: Merge "Effects Factory changes for effects offload" into klp-dev
* commit 'c2cfaf78f93361e2edb4af9930a73904d261d198':
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 |