/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 | 444 size_t bufferIndex; in onMessageReceived() local 445 CHECK(msg->findInt32("bufferIndex", (int32_t*)&bufferIndex)); in onMessageReceived() 446 CHECK(bufferIndex < mEncoderOutputBuffers.size()); in onMessageReceived() 447 mEncoder->releaseOutputBuffer(bufferIndex); in onMessageReceived() 615 size_t bufferIndex = *mAvailEncoderInputIndices.begin(); in feedEncoderInputBuffers() local 624 memcpy(mEncoderInputBuffers.itemAt(bufferIndex)->data(), in feedEncoderInputBuffers() 631 mEncoderInputBuffers.itemAt(bufferIndex)->setMediaBufferBase( in feedEncoderInputBuffers() 641 bufferIndex, 0, (buffer == NULL) ? 0 : buffer->size(), in feedEncoderInputBuffers() 672 size_t bufferIndex; in doMoreWork() local 673 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/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.cpp | 127 DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex, in dataCallback() argument 136 sDataCb((int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, &md, this); in dataCallback() 142 uint32_t bufferIndex, int64_t timestamp) { in dataCallbackTimestamp() argument 147 sDataCbTimestamp(timestamp, (int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, this); in dataCallbackTimestamp() 153 uint32_t bufferIndex, int64_t timestamp) { in handleCallbackTimestamp() argument 160 mem->mBuffers[bufferIndex]->pointer(); in handleCallbackTimestamp() 162 sDataCbTimestamp(timestamp, (int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, this); in handleCallbackTimestamp() 180 if (hidl_msg.bufferIndex >= mem->mNumBufs) { in handleCallbackTimestampBatch() 182 hidl_msg.bufferIndex, mem->mNumBufs); in handleCallbackTimestampBatch() 186 mem->mBuffers[hidl_msg.bufferIndex]->pointer(); in handleCallbackTimestampBatch() [all …]
|
D | CameraHardwareInterface.h | 422 uint32_t data, uint32_t bufferIndex, 426 uint32_t data, uint32_t bufferIndex, int64_t timestamp) override; 430 uint32_t bufferIndex, int64_t timestamp) override;
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecSource.cpp | 654 size_t bufferIndex = *mAvailEncoderInputIndices.begin(); in feedEncoderInputBuffers() local 669 mAvailEncoderInputIndices.push_back(bufferIndex); in feedEncoderInputBuffers() 694 status_t err = mEncoder->getInputBuffer(bufferIndex, &inbuf); in feedEncoderInputBuffers() 719 bufferIndex, 0, size, timeUs, flags); in feedEncoderInputBuffers()
|
D | MediaCodec.cpp | 2585 status_t MediaCodec::queueCSDInputBuffer(size_t bufferIndex) { in queueCSDInputBuffer() argument 2588 const BufferInfo &info = mPortBuffers[kPortIndexInput][bufferIndex]; in queueCSDInputBuffer() 2599 ALOGV("Input buffer %zu is not properly allocated", bufferIndex); in queueCSDInputBuffer() 2608 msg->setSize("index", bufferIndex); in queueCSDInputBuffer()
|
/frameworks/av/media/libstagefright/include/ |
D | MediaCodec.h | 398 status_t queueCSDInputBuffer(size_t bufferIndex);
|