Home
last modified time | relevance | path

Searched refs:impulse (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.h87 inline void setImpulse(TI *impulse) { in setImpulse() argument
88 mImpulse = impulse; in setImpulse()
92 inline void readAgain(TI*& impulse, const int halfNumCoefs,
96 inline void readAdvance(TI*& impulse, const int halfNumCoefs,
DAudioResamplerDyn.cpp127 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAgain(TI*& impulse, const int halfNumCoefs, in readAgain() argument
130 TI* head = impulse + halfNumCoefs*CHANNELS; in readAgain()
139 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAdvance(TI*& impulse, const int halfNumCoefs, in readAdvance() argument
142 impulse += CHANNELS; in readAdvance()
144 if (CC_UNLIKELY(impulse >= mRingFull)) { in readAdvance()
147 impulse -= shiftDown; in readAdvance()
149 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in readAdvance()
504 TI* impulse = mInBuffer.getImpulse(); in resample() local
549 impulse, c.mHalfNumCoefs, in resample()
560 impulse, c.mHalfNumCoefs, in resample()
[all …]
DAudioResamplerSinc.cpp299 int16_t* impulse = mImpulse; in resample() local
319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
336 int16_t* head = impulse + headOffset; in resample()
343 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); in resample()
353 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); in resample()
365 mImpulse = impulse; in resample()
380 int16_t*& impulse, uint32_t& phaseFraction, in read() argument
383 impulse += CHANNELS; in read()
[all …]
DAudioResamplerSinc.h64 inline void read(int16_t*& impulse, uint32_t& phaseFraction,
/frameworks/native/libs/vr/libpdx/
Dservice_tests.cpp94 MOCK_METHOD1(HandleImpulse, void(Message& impulse));
113 void SetupMessageInfo(MessageInfo* info, int32_t op, bool impulse = false) { in SetupMessageInfo() argument
117 info->mid = impulse ? Message::IMPULSE_MESSAGE_ID : kTestMid; in SetupMessageInfo()
127 memset(info->impulse, 0, sizeof(info->impulse)); in SetupMessageInfo()
131 bool impulse = false) { in SetupMessageInfoAndDefaultExpectations() argument
132 SetupMessageInfo(info, op, impulse); in SetupMessageInfoAndDefaultExpectations()
Dservice.cpp72 return reinterpret_cast<const std::uint8_t*>(info_.impulse); in ImpulseBegin()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice_endpoint.h31 uint64_t impulse[4] = {}; member
Dservice.h527 virtual void HandleImpulse(Message& impulse);
/frameworks/native/libs/vr/libpdx_uds/
Dservice_endpoint.cpp520 static_assert(sizeof(info.impulse) == request.impulse_payload.size(), in ReceiveMessageForChannel()
523 memcpy(info.impulse, request.impulse_payload.data(), in ReceiveMessageForChannel()
Dservice_framework_tests.cpp69 using ImpulsePayload = std::array<std::uint8_t, sizeof(MessageInfo::impulse)>;