Searched refs:buffer (Results 401 - 425 of 636) sorted by relevance

<<11121314151617181920>>

/frameworks/base/services/input/
H A DEventHub.cpp639 size_t EventHub::getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) {
646 RawEvent* event = buffer;
728 char buffer[16];
731 nRead = read(mWakeReadPipeFd, buffer, sizeof(buffer));
732 } while ((nRead == -1 && errno == EINTR) || nRead == sizeof(buffer));
779 // the evdev client buffer.
835 // The result buffer is full. Reset the pending event index
867 if (event != buffer || awoken) {
915 return event - buffer;
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h412 * @param IV Optional buffer
441 * @param buffer Reference to the buffer that should receive the read data.
481 * @param buffer Reference to the buffer that should receive the read data.
490 void* buffer,
496 void* buffer,
/frameworks/av/include/media/stagefright/
H A DCameraSource.h84 MediaBuffer **buffer, const ReadOptions *options = NULL);
113 virtual void signalBufferReturned(MediaBuffer* buffer);
H A DMPEG4Writer.h169 off64_t addSample_l(MediaBuffer *buffer);
170 off64_t addLengthPrefixedSample_l(MediaBuffer *buffer);
H A DMPEG2TSWriter.h81 void writeAccessUnit(int32_t sourceIndex, const sp<ABuffer> &buffer);
H A DOMXCodec.h43 // The client wants to access the output buffer's video
55 // Only submit one input buffer at one time.
82 MediaBuffer **buffer, const ReadOptions *options = NULL);
87 virtual void signalBufferReturned(MediaBuffer *buffer);
221 // The index in each of the mPortBuffers arrays of the buffer that will be
306 bool drainInputBuffer(IOMX::buffer_id buffer);
307 void fillOutputBuffer(IOMX::buffer_id buffer);
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h54 void setBuffer(const char *name, const sp<ABuffer> &buffer);
69 bool findBuffer(const char *name, sp<ABuffer> *buffer) const;
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorTools.h105 M4OSA_UInt32 width, M4OSA_UInt32 height, M4VIFI_UInt8 *buffer,
109 M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 stride, M4VIFI_UInt8 *buffer);
/frameworks/av/libvideoeditor/vss/src/
H A DVideoEditorResampler.cpp29 virtual status_t getNextBuffer(Buffer* buffer, int64_t pts);
30 virtual void releaseBuffer(Buffer* buffer);
108 // Allocate buffer for maximum allowed number of samples.
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DMediaBufferPuller.cpp104 void MediaBufferPuller::putBuffer(MediaBuffer* buffer) { argument
106 mReleaseBuffers.push(buffer);
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp49 ssize_t AudioBufferProviderSource::read(void *buffer, argument
71 memcpy(buffer, (char *) mBuffer.raw + (mConsumed << mBitShift), count << mBitShift);
79 // return a short count rather than continuing with next buffer.
141 // don't get next buffer until we really need it
/frameworks/av/media/libstagefright/
H A DSampleTable.cpp237 uint8_t buffer[12]; local
239 mSampleToChunkOffset + 8 + i * 12, buffer, sizeof(buffer))
240 != (ssize_t)sizeof(buffer)) {
244 CHECK(U32_AT(buffer) >= 1); // chunk index is 1 based in the spec.
247 mSampleToChunkEntries[i].startChunk = U32_AT(buffer) - 1;
248 mSampleToChunkEntries[i].samplesPerChunk = U32_AT(&buffer[4]);
249 mSampleToChunkEntries[i].chunkDesc = U32_AT(&buffer[8]);
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp176 void AMessage::setBuffer(const char *name, const sp<ABuffer> &buffer) {
177 setObjectInternal(name, sp<RefBase>(buffer), kTypeBuffer);
404 sp<ABuffer> buffer = static_cast<ABuffer *>(item.u.refValue);
406 if (buffer != NULL && buffer->size() <= 64) {
408 hexdump(buffer->data(), buffer->size(), indent + 4, &tmp);
413 "Buffer *%s = %p", item.mName, buffer.get());
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerStressTest.java161 byte[] buffer = new byte[blockSize];
176 fo.write(buffer);
/frameworks/base/libs/hwui/
H A DCaches.h162 bool bindMeshBuffer(const GLuint buffer);
169 bool bindIndicesBuffer(const GLuint buffer);
/frameworks/native/include/gui/
H A DISurfaceTexture.h47 // requestBuffer requests a new buffer for the given index. The server (i.e.
48 // the ISurfaceTexture implementation) assigns the newly created buffer to
50 // slot->buffer mapping so that it's not necessary to transfer a
54 // setBufferCount sets the number of buffer slots available. Calling this
55 // will also cause all buffer slots to be emptied. The caller should empty
56 // its mirrored copy of the buffer slots when calling this method.
59 // dequeueBuffer requests a new buffer slot for the client to use. Ownership
61 // use the contents of the buffer associated with that slot. The slot index
62 // returned may or may not contain a buffer. If the slot is empty the client
63 // should call requestBuffer to assign a new buffer t
[all...]
/frameworks/native/include/utils/
H A DTextOutput.h105 inline const void* buffer() const;
180 inline const void* HexDump::buffer() const { return mBuffer; } function in class:android::HexDump
/frameworks/native/libs/utils/
H A DVectorImpl.cpp303 void* buffer = editArrayImpl();
304 if (buffer) {
305 return reinterpret_cast<char*>(buffer) + index*mItemSize;
318 const void* buffer = arrayImpl();
319 if (buffer) {
320 return reinterpret_cast<const char*>(buffer) + index*mItemSize;
581 const void* buffer = vector.arrayImpl();
585 ssize_t err = add( reinterpret_cast<const char*>(buffer) + i*is );
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h104 CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer);
/frameworks/av/include/private/media/
H A DAudioTrackShared.h43 #define CBLK_FORCEREADY_OFF 0x0000 // track is ready when buffer full
45 #define CBLK_INVALID_ON 0x0008 // track buffer is invalidated by AudioFlinger:
73 // if there is a shared buffer, "buffers" is the value of pointer() for the shared
74 // buffer, otherwise "buffers" points immediately after the control block
96 // 16 bit because data is converted to 16 bit before being stored in buffer
120 void* buffer(uint32_t offset) const;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.h33 const sp<ABuffer> &buffer,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_dpb.h69 /* structure to represent display image output from the buffer */
79 dpbPicture_t *buffer; member in struct:__anon815
/frameworks/av/media/mtp/
H A DMtpProperty.h97 void print(MtpPropertyValue& value, MtpString& buffer);
/frameworks/av/services/camera/libcameraservice/camera2/
H A DZslProcessor.h93 BufferItemConsumer::BufferItem buffer; member in struct:android::camera2::ZslProcessor::ZslPair
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h82 status_t initTexture(void* buffer, size_t len);

Completed in 720 milliseconds

<<11121314151617181920>>