/frameworks/av/media/libnbaio/ |
MonoPipeReader.cpp | 62 memcpy(buffer, (char *) mPipe->mBuffer + (front * mFrameSize), part1 * mFrameSize); 66 memcpy((char *) buffer + (part1 * mFrameSize), mPipe->mBuffer, part2 * mFrameSize);
|
Pipe.cpp | 58 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, written * mFrameSize); 64 memcpy(mBuffer, (char *) buffer + (written * mFrameSize), count * mFrameSize);
|
PipeReader.cpp | 84 memcpy(buffer, (char *) mPipe.mBuffer + (front * mFrameSize), red * mFrameSize); 91 memcpy((char *) buffer + (red * mFrameSize), mPipe.mBuffer, count * mFrameSize);
|
AudioStreamInSource.cpp | 51 mFrameSize = Format_frameSize(mFormat); 72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize); 74 size_t framesRead = bytesRead / mFrameSize;
|
AudioStreamOutSink.cpp | 48 mFrameSize = Format_frameSize(mFormat); 59 ssize_t ret = mStream->write(mStream, buffer, count * mFrameSize); 61 ret /= mFrameSize;
|
SourceAudioBufferProvider.cpp | 27 // mFrameSize below 40 mFrameSize = Format_frameSize(source->format()); 57 buffer->raw = (char *) mAllocated + (mOffset * mFrameSize); 67 mAllocated = calloc(buffer->frameCount, mFrameSize); 97 (buffer->raw == (char *) mAllocated + (mOffset * mFrameSize)) &&
|
MonoPipe.cpp | 86 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, part1 * mFrameSize); 90 memcpy(mBuffer, (char *) buffer + (part1 * mFrameSize), part2 * mFrameSize); 100 buffer = (char *) buffer + (written * mFrameSize);
|
NBAIO.cpp | 27 return format.mFrameSize; 58 ret.mFrameSize = audio_is_linear_pcm(format) ? 161 format.mFormat != AUDIO_FORMAT_INVALID && format.mFrameSize != 0; 168 format1.mFrameSize == format2.mFrameSize;
|
AudioBufferProviderSource.cpp | 69 memcpy(buffer, (char *) mBuffer.raw + (mConsumed * mFrameSize), count * mFrameSize); 120 ssize_t ret = via(user, (char *) mBuffer.raw + (mConsumed * mFrameSize), count);
|
/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/ |
fifo.c | 36 fifo->mFrameSize = frameSize; 97 memcpy((char *) fifo->mBuffer + (rear * fifo->mFrameSize), buffer, 98 part1 * fifo->mFrameSize); 101 memcpy(fifo->mBuffer, (char *) buffer + (part1 * fifo->mFrameSize), 102 part2 * fifo->mFrameSize); 124 memcpy(buffer, (char *) fifo->mBuffer + (front * fifo->mFrameSize), 125 part1 * fifo->mFrameSize); 128 memcpy((char *) buffer + (part1 * fifo->mFrameSize), fifo->mBuffer, 129 part2 * fifo->mFrameSize);
|
fifo.h | 39 size_t mFrameSize; // size of each frame in bytes
|
/system/media/audio_utils/ |
fifo.c | 35 fifo->mFrameSize = frameSize; 96 memcpy((char *) fifo->mBuffer + (rear * fifo->mFrameSize), buffer, 97 part1 * fifo->mFrameSize); 100 memcpy(fifo->mBuffer, (char *) buffer + (part1 * fifo->mFrameSize), 101 part2 * fifo->mFrameSize); 123 memcpy(buffer, (char *) fifo->mBuffer + (front * fifo->mFrameSize), 124 part1 * fifo->mFrameSize); 127 memcpy((char *) buffer + (part1 * fifo->mFrameSize), fifo->mBuffer, 128 part2 * fifo->mFrameSize);
|
/hardware/intel/common/libmix/videodecoder/securevideo/baytrail/ |
VideoDecoderAVCSecure.h | 41 uint32_t mFrameSize;
|
/hardware/intel/common/libmix/videodecoder/securevideo/cherrytrail/ |
VideoDecoderAVCSecure.h | 41 uint32_t mFrameSize;
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
QCameraHWI_Mem.cpp | 70 mFrameSize(frame_size), 83 if (mFrameSize > 0) { 89 mFrameSize); 142 if (mFrameSize > 0) 169 mBufferSize, mNumBuffers, mFrameSize);
|
/frameworks/av/media/libstagefright/id3/ |
ID3.cpp | 422 mFrameSize(0) { 446 mOffset += mFrameSize; 528 id->setTo((const char*)frameData, mFrameSize); 532 if (mFrameSize < getHeaderLength() + 1) { 535 size_t n = mFrameSize - getHeaderLength() - 1; 649 if (mFrameSize < getHeaderLength()) { 653 *length = mFrameSize - getHeaderLength(); 672 mFrameSize = 0; 683 mFrameSize = 688 if (mFrameSize == 0) [all...] |
/frameworks/av/include/media/nbaio/ |
AudioStreamInSource.h | 46 virtual ssize_t availableToRead() { return mStreamBufferSizeBytes / mFrameSize; }
|
AudioStreamOutSink.h | 46 virtual ssize_t availableToWrite() const { return mStreamBufferSizeBytes / mFrameSize; }
|
SourceAudioBufferProvider.h | 44 /*const*/ size_t mFrameSize; // frame size in bytes
|
NBAIO.h | 62 size_t mFrameSize; 129 mFrameSize(Format_frameSize(format)) { } 136 size_t mFrameSize; // assign in parallel with any assignment to mFormat
|
/system/media/audio_utils/include/audio_utils/ |
fifo.h | 39 size_t mFrameSize; // size of each frame in bytes
|
/system/media/audio_utils/include/audio_utils/spdif/ |
SPDIFEncoder.h | 97 size_t mFrameSize; // size of sync frame in bytes
|
/frameworks/av/services/audioflinger/tests/ |
test_utils.h | 99 mFrameSize(frameSize), 105 : mAddr(NULL), mNumFrames(0), mFrameSize(0), 137 buffer->raw = (char *)mAddr + mFrameSize * mNextFrame; 177 int mFrameSize; // frame size (# channels * bytes per sample) 288 mFrameSize = mChannels * sizeof(T); 290 mAddr = malloc(mFrameSize * mNumFrames);
|
/device/moto/shamu/camera/QCamera/HAL/core/inc/ |
QCameraHWI_Mem.h | 62 int mFrameSize;
|
/frameworks/av/media/libstagefright/include/ |
ID3.h | 64 size_t mFrameSize;
|