Home
last modified time | relevance | path

Searched refs:mBitShift (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libnbaio/
DPipe.cpp55 memcpy((char *) mBuffer + (rear << mBitShift), buffer, written << mBitShift); in write()
61 memcpy(mBuffer, (char *) buffer + (written << mBitShift), count << mBitShift); in write()
DMonoPipeReader.cpp76 memcpy(buffer, (char *) mPipe->mBuffer + (front << mBitShift), part1 << mBitShift); in read()
80 memcpy((char *) buffer + (part1 << mBitShift), mPipe->mBuffer, part2 << mBitShift); in read()
DPipeReader.cpp79 memcpy(buffer, (char *) mPipe.mBuffer + (front << mBitShift), red << mBitShift); in read()
86 memcpy((char *) buffer + (red << mBitShift), mPipe.mBuffer, count << mBitShift); in read()
DAudioStreamInSource.cpp51 mBitShift = Format_frameBitShift(mFormat); in negotiate()
73 ssize_t bytesRead = mStream->read(mStream, buffer, count << mBitShift); in read()
75 size_t framesRead = bytesRead >> mBitShift; in read()
DAudioStreamOutSink.cpp48 mBitShift = Format_frameBitShift(mFormat); in negotiate()
60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift); in write()
62 ret >>= mBitShift; in write()
DMonoPipe.cpp118 memcpy((char *) mBuffer + (rear << mBitShift), buffer, part1 << mBitShift); in write()
122 memcpy(mBuffer, (char *) buffer + (part1 << mBitShift), part2 << mBitShift); in write()
132 buffer = (char *) buffer + (written << mBitShift); in write()
DAudioBufferProviderSource.cpp71 memcpy(buffer, (char *) mBuffer.raw + (mConsumed << mBitShift), count << mBitShift); in read()
123 char* readTgt = (char *) mBuffer.raw + (mConsumed << mBitShift); in readVia()
/frameworks/av/include/media/nbaio/
DNBAIO.h119 mBitShift(Format_frameBitShift(format)) { } in NBAIO_Port()
126 size_t mBitShift; // assign in parallel with any assignment to mFormat variable
DAudioStreamOutSink.h46 virtual ssize_t availableToWrite() const { return mStreamBufferSizeBytes >> mBitShift; } in availableToWrite()
DAudioStreamInSource.h46 virtual ssize_t availableToRead() { return mStreamBufferSizeBytes >> mBitShift; } in availableToRead()
/frameworks/av/services/audioflinger/
DThreads.cpp1886 #define mBitShift 2 // FIXME in threadLoop_write() macro
1887 size_t count = mBytesRemaining >> mBitShift; in threadLoop_write()
1903 bytesWritten = framesWritten << mBitShift; in threadLoop_write()