Lines Matching refs:procId
87 uint32_t procId; // type of pre processor (enum preproc_id)
232 const effect_uuid_t * ProcIdToUuid(int procId)
234 if (procId >= PREPROC_NUM_EFFECTS) {
237 return sUuidToPreProcTable[procId];
251 bool HasReverseStream(uint32_t procId)
253 if (procId == PREPROC_AEC) {
630 void Session_SetProcEnabled(preproc_session_t *session, uint32_t procId, bool enabled);
641 ALOGV("Effect_SetState proc %d, new %d old %d", effect->procId, state, effect->state);
647 Session_SetProcEnabled(effect->session, effect->procId, false);
679 Session_SetProcEnabled(effect->session, effect->procId, false);
700 Session_SetProcEnabled(effect->session, effect->procId, true);
715 int Effect_Init(preproc_effect_t *effect, uint32_t procId)
717 if (HasReverseStream(procId)) {
722 effect->ops = sPreProcOps[procId];
723 effect->procId = procId;
770 int32_t procId,
775 ALOGV("Session_CreateEffect procId %d, createdMsk %08x", procId, session->createdMsk);
821 status = Effect_Create(&session->effects[procId], session, interface);
826 session->createdMsk |= (1<<procId);
844 ALOGW_IF(Effect_Release(fx) != 0, " Effect_Release() failed for proc ID %d", fx->procId);
845 session->createdMsk &= ~(1<<fx->procId);
1064 void Session_SetProcEnabled(preproc_session_t *session, uint32_t procId, bool enabled)
1077 session->enabledMsk |= (1 << procId);
1078 if (HasReverseStream(procId)) {
1083 session->revEnabledMsk |= (1 << procId);
1086 session->enabledMsk &= ~(1 << procId);
1087 if (HasReverseStream(procId)) {
1088 session->revEnabledMsk &= ~(1 << procId);
1092 procId, enabled, session->enabledMsk, session->revEnabledMsk);
1094 if (HasReverseStream(procId)) {
1106 preproc_session_t *PreProc_GetSession(int32_t procId, int32_t sessionId, int32_t ioId)
1112 if (sSessions[i].createdMsk & (1 << procId)) {
1180 session->processedMsk |= (1<<effect->procId);
1530 effect->aux_channels_on = sHasAuxChannels[effect->procId];
1596 " fx %d", effect->procId);
1707 *pDescriptor = *sDescriptors[effect->procId];
1730 session->revProcessedMsk |= (1<<effect->procId);
1831 uint32_t procId;
1841 procId = UuidToProcId(&desc->type);
1843 session = PreProc_GetSession(procId, sessionId, ioId);
1849 status = Session_CreateEffect(session, procId, pInterface);