Home
last modified time | relevance | path

Searched refs:srcLen1 (Results 1 – 2 of 2) sorted by relevance

/device/google/atv/audio_proxy/service/
DRingBufferUtil.cpp29 size_t dstLen2, const int8_t* srcBuf1, size_t srcLen1, in copyRingBuffer() argument
32 DCHECK_GE(dstLen1 + dstLen2, srcLen1 + srcLen2); in copyRingBuffer()
38 if (srcLen1 == dstLen1) { in copyRingBuffer()
39 cp1 = {dstBuf1, srcBuf1, srcLen1}; in copyRingBuffer()
45 } else if (srcLen1 < dstLen1) { in copyRingBuffer()
46 cp1 = {dstBuf1, srcBuf1, srcLen1}; in copyRingBuffer()
48 if (dstLen1 <= srcLen1 + srcLen2) { in copyRingBuffer()
50 cp2 = {cp1.dst + cp1.len, srcBuf2, dstLen1 - srcLen1}; in copyRingBuffer()
51 cp3 = {dstBuf2, cp2.src + cp2.len, srcLen1 + srcLen2 - dstLen1}; in copyRingBuffer()
60 cp2 = {dstBuf2, cp1.src + cp1.len, srcLen1 - dstLen1}; in copyRingBuffer()
DRingBufferUtil.h25 size_t dstLen2, const int8_t* srcBuf1, size_t srcLen1,