Lines Matching refs:desc
55 effect_descriptor_t* desc; in EffectProxyCreate() local
75 desc = new effect_descriptor_t[SUB_FX_COUNT]; in EffectProxyCreate()
79 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT]; in EffectProxyCreate()
86 delete[] desc; in EffectProxyCreate()
89 delete[] pContext->desc; in EffectProxyCreate()
98 desc[0] = *(effect_descriptor_t*)(sube[0])->object; in EffectProxyCreate()
99 desc[1] = *(effect_descriptor_t*)(sube[1])->object; in EffectProxyCreate()
100 aeli[0] = sube[0]->lib->desc; in EffectProxyCreate()
101 aeli[1] = sube[1]->lib->desc; in EffectProxyCreate()
102 if ((desc[0].flags & EFFECT_FLAG_HW_ACC_TUNNEL) && in EffectProxyCreate()
103 !(desc[1].flags & EFFECT_FLAG_HW_ACC_TUNNEL)) { in EffectProxyCreate()
105 pContext->desc[SUB_FX_OFFLOAD] = desc[0]; in EffectProxyCreate()
108 pContext->desc[SUB_FX_HOST] = desc[1]; in EffectProxyCreate()
111 else if ((desc[1].flags & EFFECT_FLAG_HW_ACC_TUNNEL) && in EffectProxyCreate()
112 !(desc[0].flags & EFFECT_FLAG_HW_ACC_TUNNEL)) { in EffectProxyCreate()
114 pContext->desc[SUB_FX_HOST] = desc[0]; in EffectProxyCreate()
117 pContext->desc[SUB_FX_OFFLOAD] = desc[1]; in EffectProxyCreate()
122 delete[] desc; in EffectProxyCreate()
125 delete[] pContext->desc; in EffectProxyCreate()
130 delete[] desc; in EffectProxyCreate()
134 effect_uuid_t uuid_print = pContext->desc[SUB_FX_HOST].uuid; in EffectProxyCreate()
162 delete[] pContext->desc; in EffectProxyRelease()
178 const effect_descriptor_t *desc = NULL; in EffectProxyGetDescriptor() local
184 desc = &gProxyDescriptor; in EffectProxyGetDescriptor()
185 *pDescriptor = *desc; in EffectProxyGetDescriptor()
224 &pContext->desc[SUB_FX_HOST].uuid, in Effect_command()
235 &pContext->desc[SUB_FX_OFFLOAD].uuid, in Effect_command()
353 const effect_descriptor_t *desc; in Effect_getDescriptor() local
360 if (pContext->desc == NULL) { in Effect_getDescriptor()
364 desc = &pContext->desc[SUB_FX_HOST]; in Effect_getDescriptor()
365 *pDescriptor = *desc; in Effect_getDescriptor()