Searched refs:dstFrames (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 560 void TimestretchBufferProvider::processFrames(void *dstBuffer, size_t *dstFrames, in processFrames() argument 563 ALOGV("processFrames(%zu %zu) remaining(%zu)", *dstFrames, *srcFrames, mRemaining); in processFrames() 572 const size_t targetSrc = *dstFrames * mPlaybackRate.mSpeed; in processFrames() 574 *dstFrames = *srcFrames / mPlaybackRate.mSpeed; in processFrames() 578 if (*dstFrames > 0) { in processFrames() 581 if (*dstFrames <= *srcFrames) { in processFrames() 582 size_t copySize = mFrameSize * *dstFrames; in processFrames() 586 for (size_t count = 0; count < *dstFrames; count += *srcFrames) { in processFrames() 587 size_t remaining = std::min(*srcFrames, *dstFrames - count); in processFrames() 595 memset(dstBuffer,0, mFrameSize * *dstFrames); in processFrames() [all …]
|
/frameworks/av/include/media/ |
D | AudioResamplerPublic.h | 150 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate; in destinationFramesPossible() local 151 return dstFrames > 2 ? dstFrames - 2 : 0; in destinationFramesPossible()
|
D | BufferProviders.h | 199 virtual void processFrames(void *dstBuffer, size_t *dstFrames,
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioResamplerPublic.h | 150 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate; in destinationFramesPossible() local 151 return dstFrames > 2 ? dstFrames - 2 : 0; in destinationFramesPossible()
|
/frameworks/av/media/libmedia/include/media/ |
D | BufferProviders.h | 199 virtual void processFrames(void *dstBuffer, size_t *dstFrames,
|