Searched refs:mBitShift (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/media/libnbaio/ |
D | Pipe.cpp | 55 memcpy((char *) mBuffer + (rear << mBitShift), buffer, written << mBitShift); in write() 61 memcpy(mBuffer, (char *) buffer + (written << mBitShift), count << mBitShift); in write()
|
D | MonoPipeReader.cpp | 76 memcpy(buffer, (char *) mPipe->mBuffer + (front << mBitShift), part1 << mBitShift); in read() 80 memcpy((char *) buffer + (part1 << mBitShift), mPipe->mBuffer, part2 << mBitShift); in read()
|
D | PipeReader.cpp | 79 memcpy(buffer, (char *) mPipe.mBuffer + (front << mBitShift), red << mBitShift); in read() 86 memcpy((char *) buffer + (red << mBitShift), mPipe.mBuffer, count << mBitShift); in read()
|
D | AudioStreamInSource.cpp | 51 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()
|
D | AudioStreamOutSink.cpp | 48 mBitShift = Format_frameBitShift(mFormat); in negotiate() 60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift); in write() 62 ret >>= mBitShift; in write()
|
D | MonoPipe.cpp | 118 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()
|
D | AudioBufferProviderSource.cpp | 71 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/ |
D | NBAIO.h | 119 mBitShift(Format_frameBitShift(format)) { } in NBAIO_Port() 126 size_t mBitShift; // assign in parallel with any assignment to mFormat variable
|
D | AudioStreamOutSink.h | 46 virtual ssize_t availableToWrite() const { return mStreamBufferSizeBytes >> mBitShift; } in availableToWrite()
|
D | AudioStreamInSource.h | 46 virtual ssize_t availableToRead() { return mStreamBufferSizeBytes >> mBitShift; } in availableToRead()
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 1886 #define mBitShift 2 // FIXME in threadLoop_write() macro 1887 size_t count = mBytesRemaining >> mBitShift; in threadLoop_write() 1903 bytesWritten = framesWritten << mBitShift; in threadLoop_write()
|