Home
last modified time | relevance | path

Searched refs:pState (Results 1 – 25 of 48) sorted by relevance

12

/external/sonivox/arm-fm-22k/lib_src/
Deas_pcm.c46 static EAS_RESULT LinearPCMDecode (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
47 static EAS_RESULT LinearPCMLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time);
108 static EAS_RESULT RenderPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState, EAS_I32 numSamples);
113 static EAS_RESULT InitPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState);
133 S_PCM_STATE *pState; in EAS_PEInit() local
153 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PEInit()
154 pState->fileHandle = NULL; in EAS_PEInit()
208 S_PCM_STATE *pState; in EAS_PERender() local
213 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PERender()
215 …if ((pState->fileHandle) && (pState->state != EAS_STATE_STOPPED) && (pState->state != EAS_STATE_PA… in EAS_PERender()
[all …]
Deas_imaadpcm.c49 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
50 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
51 static void IMADecoderADPCM (S_DECODER_STATE *pState, EAS_U8 nibble);
52 static EAS_RESULT IMADecoderLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time);
82 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderInit() argument
84 pState->decoderL.step = 0; in IMADecoderInit()
85 pState->decoderR.step = 0; in IMADecoderInit()
105 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderSample() argument
111 if (pState->hiNibble) in IMADecoderSample()
113 IMADecoderADPCM(&pState->decoderL, (EAS_U8)(pState->srcByte >> 4)); in IMADecoderSample()
[all …]
Deas_pcm.h181 EAS_RESULT EAS_PEUpdateParams (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_…
196 EAS_RESULT EAS_PELocate (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I32 time);
221 EAS_RESULT EAS_PEUpdateVolume (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume);
236 EAS_RESULT EAS_PEUpdatePitch (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch);
258 EAS_RESULT EAS_PEState (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_STATE *pState);
Deas_pcmdata.h134 EAS_RESULT (* EAS_CONST pfInit)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
135 EAS_RESULT (* EAS_CONST pfDecodeSample)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
136 EAS_RESULT (* EAS_CONST pfLocate)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time);
154 EAS_RESULT EAS_PESeek (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 *pLocation);
Deas_wavefile.c81 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
225 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState) in WaveState() argument
232 return EAS_PEState(pEASData, pWaveData->streamHandle, pState); in WaveState()
236 *pState = EAS_STATE_STOPPED; in WaveState()
238 *pState = EAS_STATE_OPEN; in WaveState()
Deas_public.c1633 EAS_PUBLIC EAS_RESULT EAS_State (EAS_DATA_HANDLE pEASData, EAS_HANDLE pStream, EAS_STATE *pState) in EAS_State() argument
1643 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, pState)) != EAS_SUCCESS) in EAS_State()
1647 if (pStream->repeatCount && (*pState == EAS_STATE_STOPPED)) in EAS_State()
1648 *pState = EAS_STATE_PLAY; in EAS_State()
1651 if (*pState > EAS_STATE_PLAY) in EAS_State()
1658 *pState = EAS_STATE_PAUSED; in EAS_State()
1660 *pState = EAS_STATE_PAUSING; in EAS_State()
1665 *pState = EAS_STATE_PLAY; in EAS_State()
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_pcm.c46 static EAS_RESULT LinearPCMDecode (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
47 static EAS_RESULT LinearPCMLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time);
108 static EAS_RESULT RenderPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState, EAS_I32 numSamples);
113 static EAS_RESULT InitPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState);
133 S_PCM_STATE *pState; in EAS_PEInit() local
153 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PEInit()
154 pState->fileHandle = NULL; in EAS_PEInit()
208 S_PCM_STATE *pState; in EAS_PERender() local
213 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PERender()
215 …if ((pState->fileHandle) && (pState->state != EAS_STATE_STOPPED) && (pState->state != EAS_STATE_PA… in EAS_PERender()
[all …]
Deas_imaadpcm.c49 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
50 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
51 static void IMADecoderADPCM (S_DECODER_STATE *pState, EAS_U8 nibble);
52 static EAS_RESULT IMADecoderLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time);
82 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderInit() argument
84 pState->decoderL.step = 0; in IMADecoderInit()
85 pState->decoderR.step = 0; in IMADecoderInit()
105 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderSample() argument
111 if (pState->hiNibble) in IMADecoderSample()
113 IMADecoderADPCM(&pState->decoderL, (EAS_U8)(pState->srcByte >> 4)); in IMADecoderSample()
[all …]
Deas_pcm.h181 EAS_RESULT EAS_PEUpdateParams (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_…
196 EAS_RESULT EAS_PELocate (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I32 time);
221 EAS_RESULT EAS_PEUpdateVolume (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume);
236 EAS_RESULT EAS_PEUpdatePitch (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch);
258 EAS_RESULT EAS_PEState (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_STATE *pState);
Deas_pcmdata.h134 EAS_RESULT (* EAS_CONST pfInit)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
135 EAS_RESULT (* EAS_CONST pfDecodeSample)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
136 EAS_RESULT (* EAS_CONST pfLocate)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time);
154 EAS_RESULT EAS_PESeek (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 *pLocation);
Deas_wavefile.c81 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
225 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState) in WaveState() argument
232 return EAS_PEState(pEASData, pWaveData->streamHandle, pState); in WaveState()
236 *pState = EAS_STATE_STOPPED; in WaveState()
238 *pState = EAS_STATE_OPEN; in WaveState()
Deas_public.c1633 EAS_PUBLIC EAS_RESULT EAS_State (EAS_DATA_HANDLE pEASData, EAS_HANDLE pStream, EAS_STATE *pState) in EAS_State() argument
1643 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, pState)) != EAS_SUCCESS) in EAS_State()
1647 if (pStream->repeatCount && (*pState == EAS_STATE_STOPPED)) in EAS_State()
1648 *pState = EAS_STATE_PLAY; in EAS_State()
1651 if (*pState > EAS_STATE_PLAY) in EAS_State()
1658 *pState = EAS_STATE_PAUSED; in EAS_State()
1660 *pState = EAS_STATE_PAUSING; in EAS_State()
1665 *pState = EAS_STATE_PLAY; in EAS_State()
Deas_smf.h38 EAS_RESULT SMF_State (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
/external/sonivox/arm-wt-22k/lib_src/
Deas_pcm.c46 static EAS_RESULT LinearPCMDecode (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
47 static EAS_RESULT LinearPCMLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time);
108 static EAS_RESULT RenderPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState, EAS_I32 numSamples);
113 static EAS_RESULT InitPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState);
133 S_PCM_STATE *pState; in EAS_PEInit() local
153 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PEInit()
154 pState->fileHandle = NULL; in EAS_PEInit()
208 S_PCM_STATE *pState; in EAS_PERender() local
213 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PERender()
215 …if ((pState->fileHandle) && (pState->state != EAS_STATE_STOPPED) && (pState->state != EAS_STATE_PA… in EAS_PERender()
[all …]
Deas_imaadpcm.c49 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
50 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
51 static void IMADecoderADPCM (S_DECODER_STATE *pState, EAS_U8 nibble);
52 static EAS_RESULT IMADecoderLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time);
82 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderInit() argument
84 pState->decoderL.step = 0; in IMADecoderInit()
85 pState->decoderR.step = 0; in IMADecoderInit()
105 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderSample() argument
111 if (pState->hiNibble) in IMADecoderSample()
113 IMADecoderADPCM(&pState->decoderL, (EAS_U8)(pState->srcByte >> 4)); in IMADecoderSample()
[all …]
Deas_pcm.h181 EAS_RESULT EAS_PEUpdateParams (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_…
196 EAS_RESULT EAS_PELocate (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I32 time);
221 EAS_RESULT EAS_PEUpdateVolume (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume);
236 EAS_RESULT EAS_PEUpdatePitch (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch);
258 EAS_RESULT EAS_PEState (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_STATE *pState);
Deas_pcmdata.h134 EAS_RESULT (* EAS_CONST pfInit)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
135 EAS_RESULT (* EAS_CONST pfDecodeSample)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState);
136 EAS_RESULT (* EAS_CONST pfLocate)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time);
154 EAS_RESULT EAS_PESeek (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 *pLocation);
Deas_dlssynth.c45 …pChannel, const S_DLS_ENVELOPE *pEnvParams, EAS_I16 *pValue, EAS_I16 *pIncrement, EAS_U8 *pState);
467 …*pChannel, const S_DLS_ENVELOPE *pEnvParams, EAS_I16 *pValue, EAS_I16 *pIncrement, EAS_U8 *pState) in DLS_UpdateEnvelope() argument
471 switch (*pState) in DLS_UpdateEnvelope()
475 *pState = eEnvelopeStateDelay; in DLS_UpdateEnvelope()
490 *pState = eEnvelopeStateAttack; in DLS_UpdateEnvelope()
511 *pState = eEnvelopeStateHold; in DLS_UpdateEnvelope()
531 *pState = eEnvelopeStateDecay; in DLS_UpdateEnvelope()
551 *pState = eEnvelopeStateSustain; in DLS_UpdateEnvelope()
562 *pState = eEnvelopeStateMuted; in DLS_UpdateEnvelope()
Deas_wavefile.c81 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
225 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState) in WaveState() argument
232 return EAS_PEState(pEASData, pWaveData->streamHandle, pState); in WaveState()
236 *pState = EAS_STATE_STOPPED; in WaveState()
238 *pState = EAS_STATE_OPEN; in WaveState()
Deas_public.c1648 EAS_PUBLIC EAS_RESULT EAS_State (EAS_DATA_HANDLE pEASData, EAS_HANDLE pStream, EAS_STATE *pState) in EAS_State() argument
1658 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, pState)) != EAS_SUCCESS) in EAS_State()
1662 if (pStream->repeatCount && (*pState == EAS_STATE_STOPPED)) in EAS_State()
1663 *pState = EAS_STATE_PLAY; in EAS_State()
1666 if (*pState != EAS_STATE_PAUSED && *pState != EAS_STATE_PAUSING) in EAS_State()
1673 *pState = EAS_STATE_PAUSED; in EAS_State()
1675 *pState = EAS_STATE_PAUSING; in EAS_State()
1680 *pState = EAS_STATE_PLAY; in EAS_State()
Deas_smf.h38 EAS_RESULT SMF_State (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
/external/pdfium/core/src/fpdfdoc/
Ddoc_ocg.cpp143 CPDF_Dictionary *pState = pUsage->GetDict(csConfig); in LoadOCGStateFromConfig() local
144 if (!pState) { in LoadOCGStateFromConfig()
147 bState = pState->GetString(csFind) != FX_BSTRC("OFF"); in LoadOCGStateFromConfig()
160 CPDF_Dictionary *pState = pUsage->GetDict(csState); in LoadOCGState() local
161 if (pState) { in LoadOCGState()
163 if (pState->KeyExist(csFind)) { in LoadOCGState()
164 return pState->GetString(csFind) != FX_BSTRC("OFF"); in LoadOCGState()
168 pState = pUsage->GetDict(FX_BSTRC("View")); in LoadOCGState()
169 if (pState && pState->KeyExist(FX_BSTRC("ViewState"))) { in LoadOCGState()
170 return pState->GetString(FX_BSTRC("ViewState")) != FX_BSTRC("OFF"); in LoadOCGState()
/external/aac/libAACdec/src/
Daacdec_tns.cpp257 FIXP_DBL x, *pState = state; \ in CTns_Filter()
261 x = (pSpec [0]>>1) + fMultDiv2 (*pCoeff++, pState [0]) ; \ in CTns_Filter()
263 x = (pSpec [0]<<s) + fMultDiv2 (*pCoeff++, pState [0]) ; in CTns_Filter()
266 x = fMultAddDiv2 (x, *pCoeff, pState [1]); \ in CTns_Filter()
267 pState [0] = pState [1] - (fMultDiv2 (*pCoeff++, x) <<2) ; \ in CTns_Filter()
268 pState++; in CTns_Filter()
275 *pState =(-x) << 1; \ in CTns_Filter()
Daacdec_hcrs.cpp239 pHcr->nonPcwSideinfo.pState = aStateConstant2State[pSta[codewordOffset]]; in DecodeNonPCWs()
241 while(pHcr->nonPcwSideinfo.pState) { in DecodeNonPCWs()
242 ret = ((STATEFUNC) pHcr->nonPcwSideinfo.pState)(bs, pHcr); in DecodeNonPCWs()
580 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_ONLY()
593 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_ONLY()
709 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN__BODY()
716 …pHcr->nonPcwSideinfo.pState = aStateConstant2State[pSta[codewordOffset]]; /* get state f… in Hcr_State_BODY_SIGN__BODY()
728 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN__BODY()
814 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN__SIGN()
825 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN__SIGN()
[all …]
/external/pdfium/core/src/reflow/
Dlayoutprocessor_reflow.cpp908 CRF_CharState* pState = (CRF_CharState*)m_pReflowedPage->m_pCharState->GetAt(i); in GetCharState() local
909 …if(pState->m_Color == color && pState->m_fFontSize == fHeight && pState->m_pFont == pFont && pStat… in GetCharState()
910 return pState; in GetCharState()
913 CRF_CharState pState; in GetCharState() local
914 pState.m_pTextObj = pObj; in GetCharState()
915 pState.m_Color = color; in GetCharState()
916 pState.m_pFont = pFont; in GetCharState()
917 pState.m_fFontSize = fHeight; in GetCharState()
920 pState.m_fAscent = ascent * fHeight / (ascent - descent); in GetCharState()
922 pState.m_fDescent = 0; in GetCharState()
[all …]

12