Home
last modified time | relevance | path

Searched refs:fifo_counter_t (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libaaudio/src/fifo/
DFifoControllerIndirect.h38 fifo_counter_t * readCounterAddress, in FifoControllerIndirect()
39 fifo_counter_t * writeCounterAddress) in FifoControllerIndirect()
41 , mReadCounterAddress((std::atomic<fifo_counter_t> *) readCounterAddress) in FifoControllerIndirect()
42 , mWriteCounterAddress((std::atomic<fifo_counter_t> *) writeCounterAddress) in FifoControllerIndirect()
50 virtual fifo_counter_t getReadCounter() override { in getReadCounter()
54 virtual void setReadCounter(fifo_counter_t count) override { in setReadCounter()
58 virtual fifo_counter_t getWriteCounter() override { in getWriteCounter()
62 virtual void setWriteCounter(fifo_counter_t count) override { in setWriteCounter()
67 std::atomic<fifo_counter_t> * mReadCounterAddress;
68 std::atomic<fifo_counter_t> * mWriteCounterAddress;
DFifoController.h33 FifoController(fifo_counter_t bufferSize, fifo_counter_t threshold) in FifoController()
42 virtual fifo_counter_t getReadCounter() override { in getReadCounter()
45 virtual void setReadCounter(fifo_counter_t n) override { in setReadCounter()
48 virtual fifo_counter_t getWriteCounter() override { in getWriteCounter()
51 virtual void setWriteCounter(fifo_counter_t n) override { in setWriteCounter()
56 std::atomic<fifo_counter_t> mReadCounter;
57 std::atomic<fifo_counter_t> mWriteCounter;
DFifoBuffer.h44 fifo_counter_t *readCounterAddress,
45 fifo_counter_t *writeCounterAddress,
98 fifo_counter_t getReadCounter() { in getReadCounter()
102 void setReadCounter(fifo_counter_t n) { in setReadCounter()
106 fifo_counter_t getWriteCounter() { in getWriteCounter()
110 void setWriteCounter(fifo_counter_t n) { in setWriteCounter()
129 fifo_counter_t mFramesReadCount;
130 fifo_counter_t mFramesUnderrunCount;
DFifoControllerBase.h24 typedef int64_t fifo_counter_t; typedef
52 virtual fifo_counter_t getReadCounter() = 0;
58 virtual void setReadCounter(fifo_counter_t count) = 0;
63 virtual fifo_counter_t getWriteCounter() = 0;
69 virtual void setWriteCounter(fifo_counter_t count) = 0;
DFifoBuffer.cpp54 fifo_counter_t * readIndexAddress, in FifoBuffer()
55 fifo_counter_t * writeIndexAddress, in FifoBuffer()
/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.h68 void setDataReadCounter(android::fifo_counter_t framesRead);
70 android::fifo_counter_t getDataReadCounter();
72 void setDataWriteCounter(android::fifo_counter_t framesWritten);
74 android::fifo_counter_t getDataWriteCounter();
100 android::fifo_counter_t mDataReadCounter; // only used if free-running
101 android::fifo_counter_t mDataWriteCounter; // only used if free-running
DAudioEndpoint.cpp92 fifo_counter_t counter = *descriptor->readCounterAddress; in AudioEndpoint_validateQueueDescriptor()
100 fifo_counter_t counter = *descriptor->writeCounterAddress; in AudioEndpoint_validateQueueDescriptor()
220 void AudioEndpoint::setDataReadCounter(fifo_counter_t framesRead) in setDataReadCounter()
225 fifo_counter_t AudioEndpoint::getDataReadCounter() in getDataReadCounter()
230 void AudioEndpoint::setDataWriteCounter(fifo_counter_t framesRead) in setDataWriteCounter()
235 fifo_counter_t AudioEndpoint::getDataWriteCounter() in getDataWriteCounter()
/frameworks/av/services/oboeservice/
DSharedRingBuffer.cpp46 mSharedMemorySizeInBytes = mDataMemorySizeInBytes + (2 * (sizeof(fifo_counter_t))); in allocate()
73 fifo_counter_t *readCounterAddress = in allocate()
74 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_READ_OFFSET]; in allocate()
75 fifo_counter_t *writeCounterAddress = in allocate()
76 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_WRITE_OFFSET]; in allocate()
92 sizeof(fifo_counter_t)); in fillParcelable()
DSharedRingBuffer.h33 #define SHARED_RINGBUFFER_WRITE_OFFSET sizeof(fifo_counter_t)
34 #define SHARED_RINGBUFFER_DATA_OFFSET (SHARED_RINGBUFFER_WRITE_OFFSET + sizeof(fifo_counter_t))