Lines Matching refs:desc
58 effect_descriptor_t* desc;
78 desc = new effect_descriptor_t[SUB_FX_COUNT];
82 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT];
89 delete[] desc;
92 delete[] pContext->desc;
97 // to the Context desc array
100 desc[0] = *(effect_descriptor_t*)(sube[0])->object;
101 desc[1] = *(effect_descriptor_t*)(sube[1])->object;
102 aeli[0] = sube[0]->lib->desc;
103 aeli[1] = sube[1]->lib->desc;
104 if ((desc[0].flags & EFFECT_FLAG_HW_ACC_TUNNEL) &&
105 !(desc[1].flags & EFFECT_FLAG_HW_ACC_TUNNEL)) {
107 pContext->desc[SUB_FX_OFFLOAD] = desc[0];
110 pContext->desc[SUB_FX_HOST] = desc[1];
113 else if ((desc[1].flags & EFFECT_FLAG_HW_ACC_TUNNEL) &&
114 !(desc[0].flags & EFFECT_FLAG_HW_ACC_TUNNEL)) {
116 pContext->desc[SUB_FX_HOST] = desc[0];
119 pContext->desc[SUB_FX_OFFLOAD] = desc[1];
122 delete[] desc;
126 effect_uuid_t uuid_print = pContext->desc[SUB_FX_HOST].uuid;
154 delete[] pContext->desc;
170 const effect_descriptor_t *desc = NULL;
176 desc = &gProxyDescriptor;
177 *pDescriptor = *desc;
216 &pContext->desc[SUB_FX_HOST].uuid,
227 &pContext->desc[SUB_FX_OFFLOAD].uuid,
340 const effect_descriptor_t *desc;
347 if (pContext->desc == NULL) {
351 desc = &pContext->desc[SUB_FX_HOST];
352 *pDescriptor = *desc;