Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp133 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAgain(TI*& impulse, const int halfNumCoefs, in readAgain() argument
136 TI* head = impulse + halfNumCoefs*CHANNELS; in readAgain()
145 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAdvance(TI*& impulse, const int halfNumCoefs, in readAdvance() argument
148 impulse += CHANNELS; in readAdvance()
150 if (CC_UNLIKELY(impulse >= mRingFull)) { in readAdvance()
153 impulse -= shiftDown; in readAdvance()
155 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in readAdvance()
630 TI* impulse = mInBuffer.getImpulse(); in resample() local
675 impulse, c.mHalfNumCoefs, in resample()
686 impulse, c.mHalfNumCoefs, in resample()
[all …]
DAudioResamplerSinc.cpp300 int16_t* impulse = mImpulse; in resample() local
320 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
323 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
329 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
337 int16_t* head = impulse + headOffset; in resample()
344 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); in resample()
354 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); in resample()
366 mImpulse = impulse; in resample()
381 int16_t*& impulse, uint32_t& phaseFraction, in read() argument
384 impulse += CHANNELS; in read()
[all …]
DAudioResamplerDyn.h125 inline void setImpulse(TI *impulse) { in setImpulse() argument
126 mImpulse = impulse; in setImpulse()
130 inline void readAgain(TI*& impulse, const int halfNumCoefs,
134 inline void readAdvance(TI*& impulse, const int halfNumCoefs,
DAudioResamplerSinc.h64 inline void read(int16_t*& impulse, uint32_t& phaseFraction,
/frameworks/native/libs/vr/libpdx/
Dservice_tests.cpp96 MOCK_METHOD1(HandleImpulse, void(Message& impulse));
115 void SetupMessageInfo(MessageInfo* info, int32_t op, bool impulse = false) { in SetupMessageInfo() argument
119 info->mid = impulse ? Message::IMPULSE_MESSAGE_ID : kTestMid; in SetupMessageInfo()
129 memset(info->impulse, 0, sizeof(info->impulse)); in SetupMessageInfo()
133 bool impulse = false) { in SetupMessageInfoAndDefaultExpectations() argument
134 SetupMessageInfo(info, op, impulse); in SetupMessageInfoAndDefaultExpectations()
Dservice.cpp69 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.h536 virtual void HandleImpulse(Message& impulse);
/frameworks/native/libs/vr/libpdx/fuzz/
Dmessage_fuzzer.cpp57 memcpy(info.impulse, impulse_vec.data(), 32); in LLVMFuzzerTestOneInput()
Dhelpers.h104 memcpy(info.impulse, impulse_vec.data(), 32); in MessageReceive()
/frameworks/native/libs/vr/libpdx_uds/
Dservice_endpoint.cpp530 static_assert(sizeof(info.impulse) == request.impulse_payload.size(), in ReceiveMessageForChannel()
533 memcpy(info.impulse, request.impulse_payload.data(), in ReceiveMessageForChannel()
Dservice_framework_tests.cpp70 using ImpulsePayload = std::array<std::uint8_t, sizeof(MessageInfo::impulse)>;