Home
last modified time | relevance | path

Searched refs:capacityInFrames (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/services/oboeservice/
DSharedMemoryWrapper.cpp69 android::fifo_frames_t capacityInFrames) { in setupFifoBuffer() argument
78 mSharedMemorySizeInBytes = bytesPerFrame * capacityInFrames; in setupFifoBuffer()
90 bytesPerFrame, capacityInFrames, mReadCounterAddress, in setupFifoBuffer()
106 int32_t bytesPerFrame, int32_t framesPerBurst, int32_t capacityInFrames, in fillParcelable() argument
108 const int capacityInBytes = bytesPerFrame * capacityInFrames; in fillParcelable()
113 ringBufferParcelable.setCapacityInFrames(capacityInFrames); in fillParcelable()
DSharedRingBuffer.cpp43 fifo_frames_t capacityInFrames) { in allocate() argument
44 mCapacityInFrames = capacityInFrames; in allocate()
47 mDataMemorySizeInBytes = bytesPerFrame * capacityInFrames; in allocate()
81 mFifoBuffer = std::make_shared<FifoBufferIndirect>(bytesPerFrame, capacityInFrames, in allocate()
DAAudioServiceStreamShared.cpp111 int32_t capacityInFrames = numBursts * framesPerBurst; in calculateBufferCapacity() local
114 if (capacityInFrames > MAX_FRAMES_PER_BUFFER) { in calculateBufferCapacity()
116 capacityInFrames, MAX_FRAMES_PER_BUFFER); in calculateBufferCapacity()
120 requestedCapacityFrames, capacityInFrames); in calculateBufferCapacity()
121 return capacityInFrames; in calculateBufferCapacity()
DSharedMemoryWrapper.h44 android::fifo_frames_t capacityInFrames);
68 int32_t capacityInFrames,
DSharedRingBuffer.h46 …o_result_t allocate(android::fifo_frames_t bytesPerFrame, android::fifo_frames_t capacityInFrames);
/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.cpp41 FifoBufferAllocated::FifoBufferAllocated(int32_t bytesPerFrame, fifo_frames_t capacityInFrames) in FifoBufferAllocated() argument
44 mFifo = std::make_unique<FifoController>(capacityInFrames, capacityInFrames); in FifoBufferAllocated()
46 int32_t bytesPerBuffer = bytesPerFrame * capacityInFrames; in FifoBufferAllocated()
49 __func__, capacityInFrames, bytesPerFrame); in FifoBufferAllocated()
53 fifo_frames_t capacityInFrames, in FifoBufferIndirect() argument
61 mFifo = std::make_unique<FifoControllerIndirect>(capacityInFrames, in FifoBufferIndirect()
62 capacityInFrames, in FifoBufferIndirect()
DFifoBuffer.h141 FifoBufferAllocated(int32_t bytesPerFrame, fifo_frames_t capacityInFrames);
158 fifo_frames_t capacityInFrames,
/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp42 if (descriptor->capacityInFrames < 1 in AudioEndpoint_validateQueueDescriptor()
43 || descriptor->capacityInFrames > RIDICULOUSLY_LARGE_BUFFER_CAPACITY) { in AudioEndpoint_validateQueueDescriptor()
45 descriptor->capacityInFrames); in AudioEndpoint_validateQueueDescriptor()
135 descriptor->capacityInFrames, in configure()
174 size_t bufferSizeBytes = descriptor.capacityInFrames * descriptor.bytesPerFrame; in configureDataQueue()
179 descriptor.capacityInFrames, in configureDataQueue()
184 uint32_t threshold = descriptor.capacityInFrames / 2; in configureDataQueue()
DAudioStreamInternal.cpp279 mDeviceBufferCapacityInFrames = mEndpointDescriptor.dataQueueDescriptor.capacityInFrames; in configureDataInformation()
/frameworks/av/media/libaaudio/src/binding/
DRingBufferParcelable.cpp38 mCapacityInFrames(parcelable.capacityInFrames), in RingBufferParcelable()
50 result.capacityInFrames = mCapacityInFrames; in parcelable()
105 void RingBufferParcelable::setCapacityInFrames(int32_t capacityInFrames) { in setCapacityInFrames() argument
106 mCapacityInFrames = capacityInFrames; in setCapacityInFrames()
131 descriptor->capacityInFrames = mCapacityInFrames; in resolve()
DAAudioServiceDefinitions.h75 int32_t capacityInFrames; // zero if unused member
DRingBufferParcelable.h76 void setCapacityInFrames(int32_t capacityInFrames);
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/
DRingBuffer.aidl27 int capacityInFrames; // zero if unused