Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DLineBreakBufferedWriter.java43 private int bufferIndex; field in LineBreakBufferedWriter
82 this.bufferIndex = 0; in LineBreakBufferedWriter()
92 writeBuffer(bufferIndex); in flush()
93 bufferIndex = 0; in flush()
99 if (bufferIndex < buffer.length) { in write()
100 buffer[bufferIndex] = (char)c; in write()
101 bufferIndex++; in write()
103 lastNewline = bufferIndex; in write()
119 while (bufferIndex + len > bufferSize) { in write()
123 int maxLength = bufferSize - bufferIndex; in write()
[all …]
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DInputBufferManager.h189 size_t bufferIndex; member
193 size_t bufferIndex, in TrackedBuffer()
197 bufferIndex(bufferIndex), in TrackedBuffer()
201 return bufferIndex < other.bufferIndex;
/frameworks/av/media/codec2/hidl/1.0/utils/
DInputBufferManager.cpp142 << ", bufferIndex = " << bufferId.bufferIndex in _unregisterFrameData()
203 << ", bufferIndex = " << bufferId.bufferIndex in _unregisterFrameData()
246 << ", bufferIndex = " << id.bufferIndex in _onBufferDestroyed()
257 << ", bufferIndex = " << id.bufferIndex in _onBufferDestroyed()
270 << ", bufferIndex = " << std::dec << id.bufferIndex in _onBufferDestroyed()
280 << "bufferIndex = " << id.bufferIndex in _onBufferDestroyed()
296 deathNotifications.indices[id.frameIndex].emplace_back(id.bufferIndex); in _onBufferDestroyed()
366 for (const size_t& bufferIndex : bufferIndices) { in processNotifications() local
369 inputBuffer.arrayIndex = bufferIndex; in processNotifications()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.cpp121 DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex, in dataCallback() argument
135 sDataCb((int32_t) msgType, mem, bufferIndex, &md, this); in dataCallback()
141 uint32_t bufferIndex, int64_t timestamp) { in dataCallbackTimestamp() argument
151 sDataCbTimestamp(timestamp, (int32_t) msgType, mem, bufferIndex, this); in dataCallbackTimestamp()
157 uint32_t bufferIndex, int64_t timestamp) { in handleCallbackTimestamp() argument
169 heapMem->mBuffers[bufferIndex]->pointer(); in handleCallbackTimestamp()
171 sDataCbTimestamp(timestamp, (int32_t) msgType, mem, bufferIndex, this); in handleCallbackTimestamp()
190 if (hidl_msg.bufferIndex >= mem->mNumBufs) { in handleCallbackTimestampBatch()
192 hidl_msg.bufferIndex, mem->mNumBufs); in handleCallbackTimestampBatch()
196 mem->mBuffers[hidl_msg.bufferIndex]->pointer(); in handleCallbackTimestampBatch()
[all …]
DCameraHardwareInterface.h385 uint32_t data, uint32_t bufferIndex,
389 uint32_t data, uint32_t bufferIndex, int64_t timestamp) override;
393 uint32_t bufferIndex, int64_t timestamp) override;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DAudioTrackDecoder.java77 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable() argument
78 ByteBuffer buffer = buffers[bufferIndex]; in onDataAvailable()
96 codec.releaseOutputBuffer(bufferIndex, false); in onDataAvailable()
DCpuVideoTrackDecoder.java81 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable() argument
84 mDecodedBuffer = buffers[bufferIndex]; in onDataAvailable()
96 codec.releaseOutputBuffer(bufferIndex, false); in onDataAvailable()
DGpuVideoTrackDecoder.java107 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable() argument
113 codec.releaseOutputBuffer(bufferIndex, textureAvailable); in onDataAvailable()
DTrackDecoder.java67 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info); in onDataAvailable() argument
/frameworks/av/media/libstagefright/
DMediaCodecSource.cpp692 size_t bufferIndex = *mAvailEncoderInputIndices.begin(); in feedEncoderInputBuffers() local
707 mAvailEncoderInputIndices.push_back(bufferIndex); in feedEncoderInputBuffers()
732 status_t err = mEncoder->getInputBuffer(bufferIndex, &inbuf); in feedEncoderInputBuffers()
758 bufferIndex, 0, size, timeUs, flags); in feedEncoderInputBuffers()
DMediaCodec.cpp3166 status_t MediaCodec::queueCSDInputBuffer(size_t bufferIndex) { in queueCSDInputBuffer() argument
3169 const BufferInfo &info = mPortBuffers[kPortIndexInput][bufferIndex]; in queueCSDInputBuffer()
3180 ALOGV("Input buffer %zu is not properly allocated", bufferIndex); in queueCSDInputBuffer()
3189 msg->setSize("index", bufferIndex); in queueCSDInputBuffer()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DResponderLocation.java861 int bufferIndex = bufferBitOffset / Byte.SIZE; // The byte index that contains the bit in getBitAtBitOffsetInByteArray() local
863 int result = (buffer[bufferIndex] & (MSB_IN_BYTE >> bitOffsetInByte)) == 0 ? 0 : 1; in getBitAtBitOffsetInByteArray()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h414 status_t queueCSDInputBuffer(size_t bufferIndex);