Searched refs:buffer (Results 301 - 325 of 1380) sorted by relevance

<<11121314151617181920>>

/frameworks/native/libs/gui/tests/
H A DBufferItemConsumer_test.cpp103 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 DGraphicBufferAllocator.cpp59 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 Ddvr_buffer.h17 // 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 DImage.h32 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected,
48 bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected, int32_t cropWidth,
/frameworks/av/media/extractors/wav/
H A DWAVExtractor.cpp71 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 DReadWriteUtils.h50 * 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 DLibsndfileSource.h47 virtual ssize_t read(void *buffer, size_t count);
H A DMonoPipeReader.h50 virtual ssize_t read(void *buffer, size_t count);
/frameworks/av/media/libmedia/omx/1.0/
H A DWOmxBufferSource.cpp89 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 DLibsndfileSource.h47 virtual ssize_t read(void *buffer, size_t count);
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
H A DMonoPipeReader.h50 virtual ssize_t read(void *buffer, size_t count);
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3reader.h36 bool getFrame(void *buffer, uint32_t *size);
/frameworks/av/media/libstagefright/omx/1.0/
H A DWOmxBufferSource.cpp89 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 DIOmxNodeWrapper.h31 const sp<GraphicBuffer> &buffer = nullptr,
H A DOMXNodeInstance.h77 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 DMtpStringBuffer.cpp73 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 DMtpUtils.h31 void formatDateTime(time_t seconds, char* buffer, int bufferLength);
/frameworks/av/services/audioflinger/
H A DSpdifStreamOut.cpp116 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 DCamera3DummyStream.h57 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 Dandroid_nio_utils.cpp31 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 DImage.h37 * 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 DMockGlesDriver.h29 MOCK_METHOD2(glBindBuffer_, void(GLenum target, GLuint buffer));
/frameworks/base/media/java/android/media/
H A DMediaCodec.java54 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 Dcom_android_server_UsbDescriptorParser.cpp49 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 DAudioTrackDecoder.java78 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.

Completed in 511 milliseconds

<<11121314151617181920>>