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

/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerDyn.h87 inline void setImpulse(TI *impulse) { argument
88 mImpulse = impulse;
92 inline void readAgain(TI*& impulse, const int halfNumCoefs,
96 inline void readAdvance(TI*& impulse, const int halfNumCoefs,
107 TI* mImpulse; // current location of the impulse response (centered)
H A DAudioResamplerDyn.cpp124 // copy in the input data into the head (impulse+halfNumCoefs) of the buffer.
127 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAgain(TI*& impulse, const int halfNumCoefs, argument
130 TI* head = impulse + halfNumCoefs*CHANNELS;
136 // advance the impulse pointer, and load in data into the head (impulse+halfNumCoefs)
139 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAdvance(TI*& impulse, const int halfNumCoefs, argument
142 impulse += CHANNELS;
144 if (CC_UNLIKELY(impulse >= mRingFull)) {
147 impulse -= shiftDown;
149 readAgain<CHANNELS>(impulse, halfNumCoef
504 TI* impulse = mInBuffer.getImpulse(); local
[all...]
H A DAudioResamplerSinc.cpp299 int16_t* impulse = mImpulse; local
319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
336 int16_t* head = impulse + headOffset;
343 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL);
353 read<CHANNELS>(impulse, phaseFraction, in, inputIndex);
365 mImpulse = impulse;
380 int16_t*& impulse, uint32_t& phaseFraction,
383 impulse
379 read( int16_t*& impulse, uint32_t& phaseFraction, const int16_t* in, size_t inputIndex) argument
[all...]
H A DAudioResamplerSinc.h64 inline void read(int16_t*& impulse, uint32_t& phaseFraction,
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dservice_endpoint.h31 uint64_t impulse[4] = {}; member in struct:android::pdx::MessageInfo
H A Dservice.h281 * Returns true if this Message describes an asynchronous "impulse" message.
286 * Returns a pointer to the impulse payload. Impulses are a maximum of 32
287 * bytes in size and the start of the impulse payload is guaranteed to be
293 * Returns one byte past the end of the impulse payload, as conventional for
524 * asynchronous "impulse" messages. Impulses have a limited-size payload that
527 virtual void HandleImpulse(Message& impulse);
/frameworks/native/libs/vr/libpdx/
H A Dservice_tests.cpp94 MOCK_METHOD1(HandleImpulse, void(Message& impulse));
113 void SetupMessageInfo(MessageInfo* info, int32_t op, bool impulse = false) {
117 info->mid = impulse ? Message::IMPULSE_MESSAGE_ID : kTestMid;
127 memset(info->impulse, 0, sizeof(info->impulse));
131 bool impulse = false) {
132 SetupMessageInfo(info, op, impulse);
H A Dservice.cpp72 return reinterpret_cast<const std::uint8_t*>(info_.impulse);
586 void Service::HandleImpulse(Message& /*impulse*/) {}
/frameworks/native/libs/vr/libpdx_uds/
H A Dservice_endpoint.cpp520 static_assert(sizeof(info.impulse) == request.impulse_payload.size(),
523 memcpy(info.impulse, request.impulse_payload.data(),
H A Dservice_framework_tests.cpp69 using ImpulsePayload = std::array<std::uint8_t, sizeof(MessageInfo::impulse)>;
487 // Set test channel with an impulse and perform the test again.

Completed in 759 milliseconds