/frameworks/native/libs/gui/tests/ |
H A D | BufferItemConsumer_test.cpp | 103 BufferItem buffer; local 104 status_t ret = mBIC->acquireBuffer(&buffer, 0, false); 107 ALOGV("acquireBuffer: slot=%d", buffer.mSlot); 108 *outSlot = buffer.mSlot; 113 BufferItem buffer; local 114 buffer.mSlot = slot; 115 buffer.mGraphicBuffer = mBuffers[slot]; 116 status_t ret = mBIC->releaseBuffer(buffer, Fence::NO_FENCE); 131 // Test that detaching buffer from consumer side triggers onBufferFreed. 134 // Producer: generate a dummy buffer [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 59 char buffer[SIZE]; local 60 snprintf(buffer, SIZE, "Allocated buffers:\n"); 61 result.append(buffer); 66 snprintf(buffer, SIZE, "%10p: %7.2f KiB | %4u (%4u) x %4u | %4u | %8X | 0x%" PRIx64 72 snprintf(buffer, SIZE, "%10p: unknown | %4u (%4u) x %4u | %4u | %8X | 0x%" PRIx64 78 result.append(buffer); 81 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0); 82 result.append(buffer); 102 // make sure to not allocate a N x 0 or 0 x N buffer, since this is 103 // allowed from an API stand-point allocate a 1x1 buffer instea [all...] |
/frameworks/native/libs/vr/libdvr/include/dvr/ |
H A D | dvr_buffer.h | 17 // Destroys the write buffer. 20 // Returns 1 if the given write buffer object contains a buffer, 0 otherwise. 23 // Returns the global BufferHub id of this buffer. 26 // Returns an AHardwareBuffer for the underlying buffer. 31 // Destroys the read buffer. 34 // Returns 1 if the given write buffer object contains a buffer, 0 otherwise. 37 // Returns the global BufferHub id of this buffer. 40 // Returns an AHardwareBuffer for the underlying buffer [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Image.h | 32 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected, 48 bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected, int32_t cropWidth,
|
/frameworks/av/media/extractors/wav/ |
H A D | WAVExtractor.cpp | 71 MediaBufferBase **buffer, const ReadOptions *options = NULL); 386 // As a temporary buffer for 8->16 bit conversion. 444 MediaBufferBase *buffer; local 445 status_t err = mGroup->acquire_buffer(&buffer); 477 mCurrentPos, buffer->data(), 481 buffer->release(); 482 buffer = NULL; 487 buffer->set_range(0, n); 494 // Create new buffer with 2 byte wide samples 499 memcpy_to_i16_from_u8((int16_t *)tmp->data(), (const uint8_t *)buffer [all...] |
/frameworks/av/drm/common/include/ |
H A D | ReadWriteUtils.h | 50 * Reads the data into the given buffer from the file path provided 53 * @param[out] buffer Data read from the file 56 static int readBytes(const String8& filePath, char** buffer);
|
/frameworks/av/include/media/nbaio/ |
H A D | LibsndfileSource.h | 47 virtual ssize_t read(void *buffer, size_t count);
|
H A D | MonoPipeReader.h | 50 virtual ssize_t read(void *buffer, size_t count);
|
/frameworks/av/media/libmedia/omx/1.0/ |
H A D | WOmxBufferSource.cpp | 89 Return<void> TWOmxBufferSource::onInputBufferAdded(uint32_t buffer) { argument 90 mBase->onInputBufferAdded(int32_t(buffer)); 95 uint32_t buffer, hidl_handle const& fence) { 100 mBase->onInputBufferEmptied(int32_t(buffer), fenceParcelable); 94 onInputBufferEmptied( uint32_t buffer, hidl_handle const& fence) argument
|
/frameworks/av/media/libnbaio/include/media/nbaio/ |
H A D | LibsndfileSource.h | 47 virtual ssize_t read(void *buffer, size_t count);
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
H A D | MonoPipeReader.h | 50 virtual ssize_t read(void *buffer, size_t count);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
H A D | mp3reader.h | 36 bool getFrame(void *buffer, uint32_t *size);
|
/frameworks/av/media/libstagefright/omx/1.0/ |
H A D | WOmxBufferSource.cpp | 89 Return<void> TWOmxBufferSource::onInputBufferAdded(uint32_t buffer) { argument 90 mBase->onInputBufferAdded(int32_t(buffer)); 95 uint32_t buffer, hidl_handle const& fence) { 100 mBase->onInputBufferEmptied(int32_t(buffer), fenceParcelable); 94 onInputBufferEmptied( uint32_t buffer, hidl_handle const& fence) argument
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
H A D | IOmxNodeWrapper.h | 31 const sp<GraphicBuffer> &buffer = nullptr,
|
H A D | OMXNodeInstance.h | 77 OMX_U32 portIndex, size_t size, IOMX::buffer_id *buffer, 81 OMX_U32 portIndex, const OMXBuffer &omxBuf, buffer_id *buffer); 84 OMX_U32 portIndex, buffer_id buffer); 87 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd = -1); 90 buffer_id buffer, const OMXBuffer &omxBuf, 148 // for buffer ptr to buffer id translation 156 // metadata and secure buffer types and graphic buffer mode tracking 192 // For buffer i [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpStringBuffer.cpp | 73 std::vector<char16_t> buffer(count); 78 buffer[i] = ch; 80 if (buffer[count-1] != '\0') { 84 mString = utf16ToUtf8(std::u16string(buffer.data()));
|
H A D | MtpUtils.h | 31 void formatDateTime(time_t seconds, char* buffer, int bufferLength);
|
/frameworks/av/services/audioflinger/ |
H A D | SpdifStreamOut.cpp | 116 ssize_t SpdifStreamOut::writeDataBurst(const void* buffer, size_t bytes) argument 118 return AudioStreamOut::write(buffer, bytes); 121 ssize_t SpdifStreamOut::write(const void* buffer, size_t numBytes) argument 124 return mSpdifEncoder.write(buffer, numBytes);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3DummyStream.h | 57 virtual status_t detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd); 104 const camera3_stream_buffer &buffer, 127 virtual status_t getBufferLocked(camera3_stream_buffer *buffer, 130 const camera3_stream_buffer &buffer,
|
/frameworks/base/core/jni/ |
H A D | android_nio_utils.cpp | 31 void* android::nio_getPointer(JNIEnv *_env, jobject buffer, jarray *array) { argument 39 gNioJNI.getBasePointerID, buffer); 46 gNioJNI.getBaseArrayID, buffer); 48 gNioJNI.getBaseArrayOffsetID, buffer);
|
/frameworks/base/libs/hwui/ |
H A D | Image.h | 37 * Creates a new image from the specified graphic buffer. If the image 41 explicit Image(sp<GraphicBuffer> buffer);
|
/frameworks/base/libs/hwui/debug/ |
H A D | MockGlesDriver.h | 29 MOCK_METHOD2(glBindBuffer_, void(GLenum target, GLuint buffer));
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 54 alt="MediaCodec buffer flow diagram"></object></center> 58 (or receive) an empty input buffer, fill it up with data and send it to the codec for 60 Finally, you request (or receive) a filled output buffer, consume its contents and release it 82 this requirement is slightly relaxed in that a buffer may contain multiple encoded access units 218 state you can process data through the buffer queue manipulation described above. 222 as the first input buffer is dequeued, the codec moves to the Running sub-state, where it spends 223 most of its life. When you queue an input buffer with the {@linkplain #BUFFER_FLAG_END_OF_STREAM 305 codec-specific data and submit it as a single codec-config buffer. 316 <th>CSD buffer #0</th> 317 <th>CSD buffer # 2896 setByteBuffer(@ullable ByteBuffer buffer) argument 3001 freeByteBuffer(@ullable ByteBuffer buffer) argument 3664 MediaImage( @onNull ByteBuffer buffer, @NonNull ByteBuffer info, boolean readOnly, long timestamp, int xOffset, int yOffset, @Nullable Rect cropRect) argument 3739 MediaPlane(@onNull ByteBuffer buffer, int rowInc, int colInc) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbDescriptorParser.cpp | 49 jbyte buffer[MAX_DESCRIPTORS_LENGTH]; local 51 int numBytes = read(fd, buffer, sizeof(buffer)); 57 env->SetByteArrayRegion(ret, 0, numBytes, buffer);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | AudioTrackDecoder.java | 78 ByteBuffer buffer = buffers[bufferIndex]; 80 buffer.position(info.offset); 81 buffer.get(data, 0, info.size); 95 buffer.clear(); 103 * decoded since the last call of this method. The decoder's buffer is cleared as a result. 118 * Clears the decoder's buffer.
|