Searched refs:bufferIndex (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | LineBreakBufferedWriter.java | 43 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/libstagefright/wifi-display/source/ |
D | Converter.cpp | 443 size_t bufferIndex; in onMessageReceived() local 444 CHECK(msg->findInt32("bufferIndex", (int32_t*)&bufferIndex)); in onMessageReceived() 445 CHECK(bufferIndex < mEncoderOutputBuffers.size()); in onMessageReceived() 446 mEncoder->releaseOutputBuffer(bufferIndex); in onMessageReceived() 614 size_t bufferIndex = *mAvailEncoderInputIndices.begin(); in feedEncoderInputBuffers() local 623 memcpy(mEncoderInputBuffers.itemAt(bufferIndex)->data(), in feedEncoderInputBuffers() 630 mEncoderInputBuffers.itemAt(bufferIndex)->setMediaBufferBase( in feedEncoderInputBuffers() 640 bufferIndex, 0, (buffer == NULL) ? 0 : buffer->size(), in feedEncoderInputBuffers() 671 size_t bufferIndex; in doMoreWork() local 672 err = mEncoder->dequeueInputBuffer(&bufferIndex); in doMoreWork() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | AudioTrackDecoder.java | 77 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()
|
D | CpuVideoTrackDecoder.java | 81 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable() argument 84 mDecodedBuffer = buffers[bufferIndex]; in onDataAvailable() 96 codec.releaseOutputBuffer(bufferIndex, false); in onDataAvailable()
|
D | GpuVideoTrackDecoder.java | 107 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable() argument 113 codec.releaseOutputBuffer(bufferIndex, textureAvailable); in onDataAvailable()
|
D | TrackDecoder.java | 67 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info); in onDataAvailable() argument
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecSource.cpp | 640 size_t bufferIndex = *mAvailEncoderInputIndices.begin(); in feedEncoderInputBuffers() local 670 status_t err = mEncoder->getInputBuffer(bufferIndex, &inbuf); in feedEncoderInputBuffers() 693 bufferIndex, 0, size, timeUs, flags); in feedEncoderInputBuffers()
|
D | MediaCodec.cpp | 2295 status_t MediaCodec::queueCSDInputBuffer(size_t bufferIndex) { in queueCSDInputBuffer() argument 2299 &mPortBuffers[kPortIndexInput].itemAt(bufferIndex); in queueCSDInputBuffer() 2316 msg->setSize("index", bufferIndex); in queueCSDInputBuffer()
|
/frameworks/av/include/media/stagefright/ |
D | MediaCodec.h | 377 status_t queueCSDInputBuffer(size_t bufferIndex);
|