Searched defs:Buffer (Results 1 - 21 of 21) sorted by relevance

/frameworks/av/include/media/
H A DAudioBufferProvider.h29 // FIXME merge with AudioTrackShared::Buffer, AudioTrack::Buffer, and AudioRecord::Buffer
31 struct Buffer { struct in class:android::AudioBufferProvider
32 Buffer() : raw(NULL), frameCount(0) { } function in struct:android::AudioBufferProvider::Buffer
56 virtual status_t getNextBuffer(Buffer* buffer) = 0;
69 virtual void releaseBuffer(Buffer* buffer) = 0;
H A DAudioRecord.h48 EVENT_OVERRUN = 1, // Buffer overrun occurred.
57 /* Client should declare a Buffer and pass address to obtainBuffer()
61 class Buffer class in class:android::AudioRecord
96 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read
390 * Buffer fields
405 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
457 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
461 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
468 * Buffer fields:
473 void releaseBuffer(const Buffer* audioBuffe
[all...]
H A DAudioTrack.h58 EVENT_UNDERRUN = 1, // Buffer underrun occurred. This will not occur for
78 /* Client should declare a Buffer and pass the address to obtainBuffer()
82 class Buffer class in class:android::AudioTrack
117 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
659 * Buffer fields
673 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
682 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
686 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
693 * Buffer fields:
698 void releaseBuffer(const Buffer* audioBuffe
[all...]
/frameworks/av/media/libaudioclient/include/media/
H A DAudioBufferProvider.h29 // FIXME merge with AudioTrackShared::Buffer, AudioTrack::Buffer, and AudioRecord::Buffer
31 struct Buffer { struct in class:android::AudioBufferProvider
32 Buffer() : raw(NULL), frameCount(0) { } function in struct:android::AudioBufferProvider::Buffer
56 virtual status_t getNextBuffer(Buffer* buffer) = 0;
69 virtual void releaseBuffer(Buffer* buffer) = 0;
H A DAudioRecord.h48 EVENT_OVERRUN = 1, // Buffer overrun occurred.
57 /* Client should declare a Buffer and pass address to obtainBuffer()
61 class Buffer class in class:android::AudioRecord
96 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read
390 * Buffer fields
405 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
457 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
461 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
468 * Buffer fields:
473 void releaseBuffer(const Buffer* audioBuffe
[all...]
H A DAudioTrack.h58 EVENT_UNDERRUN = 1, // Buffer underrun occurred. This will not occur for
78 /* Client should declare a Buffer and pass the address to obtainBuffer()
82 class Buffer class in class:android::AudioTrack
117 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
659 * Buffer fields
673 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
682 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
686 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
693 * Buffer fields:
698 void releaseBuffer(const Buffer* audioBuffe
[all...]
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.h41 struct Buffer { struct in struct:android::Harness
55 Vector<Buffer> *inputBuffers,
56 Vector<Buffer> *outputBuffers,
63 OMX_U32 portIndex, Vector<Buffer> *buffers);
104 Vector<Buffer> *inputBuffers,
105 Vector<Buffer> *outputBuffers);
/frameworks/base/tools/bit/
H A Dadb.cpp37 struct Buffer: public streambuf struct in inherits:streambuf
39 Buffer(char* begin, size_t size);
42 Buffer::Buffer(char* begin, size_t size) function in class:Buffer
172 Buffer buffer(buf, size);
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp157 std::string Buffer; local
159 llvm::raw_string_ostream OS(Buffer);
166 &wrapper, Buffer.size(), kMinimumUntranslatedVersion,
173 mTranslatedBitcodeSize = actualWrapperLen + Buffer.size();
176 memcpy(c + actualWrapperLen, Buffer.c_str(), Buffer.size());
/frameworks/base/libs/hwui/
H A DTessellationCache.cpp150 class TessellationCache::Buffer { class in class:android::uirenderer::TessellationCache
152 explicit Buffer(const sp<Task<VertexBuffer*> >& task) function in class:android::uirenderer::TessellationCache::Buffer
157 ~Buffer() {
294 , mCache(LruCache<Description, Buffer*>::kUnlimitedCapacity)
310 LruCache<Description, Buffer*>::Iterator iter(mCache);
346 Buffer*& buffer) {
391 TessellationCache::Buffer* TessellationCache::getOrCreateBuffer(
393 Buffer* buffer = mCache.get(entry);
397 buffer = new Buffer(task);
438 TessellationCache::Buffer* TessellationCach
[all...]
/frameworks/av/media/libstagefright/codecs/common/include/
H A DvoType.h166 VO_PBYTE Buffer; /*!< Buffer pointer */ member in struct:__anon566
167 VO_U32 Length; /*!< Buffer size in byte */
/frameworks/av/services/audioflinger/
H A DPlaybackTracks.h101 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
192 class Buffer : public AudioBufferProvider::Buffer { class in class:OutputTrack
217 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer,
226 Vector < Buffer* > mBufferQueue;
227 AudioBufferProvider::Buffer mOutBuffer;
252 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
253 virtual void releaseBuffer(AudioBufferProvider::Buffer* buffer);
256 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
258 virtual void releaseBuffer(Proxy::Buffer* buffe
[all...]
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp40 struct Buffer { struct
50 void clearBuffer(Buffer* buf, uint32_t pixel) {
54 void drawTwoPixels(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) {
67 void drawHLine(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) {
84 void drawRect(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w, size_t h) {
105 void drawCircle(Buffer* buf, uint32_t pixel,
228 Buffer framebuffer;
/frameworks/av/include/private/media/
H A DAudioTrackShared.h210 struct Buffer { struct in class:android::Proxy
278 status_t obtainBuffer(Buffer* buffer, const struct timespec *requested = NULL,
289 void releaseBuffer(Buffer* buffer);
505 virtual status_t obtainBuffer(Buffer* buffer, bool ackFlush = false);
515 virtual void releaseBuffer(Buffer* buffer);
624 virtual status_t obtainBuffer(Buffer* buffer, bool ackFlush);
625 virtual void releaseBuffer(Buffer* buffer);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_MotionEstimationMB.c104 OMX_U8 Buffer [16*16 + 15]; local
111 pTempDstBuf = armAlignTo16Bytes(Buffer);
/frameworks/compile/slang/BitWriter_2_9/
H A DBitcodeWriter.cpp1651 static void WriteInt32ToBuffer(uint32_t Value, SmallVectorImpl<char> &Buffer, argument
1653 Buffer[Position + 0] = (unsigned char) (Value >> 0);
1654 Buffer[Position + 1] = (unsigned char) (Value >> 8);
1655 Buffer[Position + 2] = (unsigned char) (Value >> 16);
1656 Buffer[Position + 3] = (unsigned char) (Value >> 24);
1660 static void EmitDarwinBCHeaderAndTrailer(SmallVectorImpl<char> &Buffer, argument
1688 assert(Buffer.size() >= DarwinBCHeaderSize &&
1691 unsigned BCSize = Buffer.size()-DarwinBCHeaderSize;
1695 WriteInt32ToBuffer(0x0B17C0DE , Buffer, Position);
1696 WriteInt32ToBuffer(0 , Buffer, Positio
1709 SmallVector<char, 1024> Buffer; local
[all...]
/frameworks/compile/slang/BitWriter_2_9_func/
H A DBitcodeWriter.cpp1715 static void WriteInt32ToBuffer(uint32_t Value, SmallVectorImpl<char> &Buffer, argument
1717 Buffer[Position + 0] = (unsigned char) (Value >> 0);
1718 Buffer[Position + 1] = (unsigned char) (Value >> 8);
1719 Buffer[Position + 2] = (unsigned char) (Value >> 16);
1720 Buffer[Position + 3] = (unsigned char) (Value >> 24);
1724 static void EmitDarwinBCHeaderAndTrailer(SmallVectorImpl<char> &Buffer, argument
1752 assert(Buffer.size() >= DarwinBCHeaderSize &&
1755 unsigned BCSize = Buffer.size()-DarwinBCHeaderSize;
1759 WriteInt32ToBuffer(0x0B17C0DE , Buffer, Position);
1760 WriteInt32ToBuffer(0 , Buffer, Positio
1773 SmallVector<char, 1024> Buffer; local
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp189 std::unique_ptr<MemoryBuffer> Buffer;
395 TheModule(nullptr), Buffer(buffer), LazyStreamer(nullptr),
402 Buffer = nullptr;
3317 void BitcodeReader::releaseBuffer() { Buffer.release(); }
3423 const unsigned char *BufPtr = (const unsigned char*)Buffer->getBufferStart();
3424 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize();
3426 if (Buffer->getBufferSize() & 3)
3498 getLazyBitcodeModuleImpl(std::unique_ptr<MemoryBuffer> &&Buffer, argument
3501 Module *M = new Module(Buffer->getBufferIdentifier(), Context);
3503 new BitcodeReader(Buffer
3520 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, const DiagnosticHandlerFunction &DiagnosticHandler) argument
3530 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context, const DiagnosticHandlerFunction &DiagnosticHandler) argument
3548 getBitcodeTargetTriple(MemoryBufferRef Buffer, LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler) argument
[all...]
/frameworks/compile/slang/BitWriter_3_2/
H A DBitcodeWriter.cpp1789 static void WriteInt32ToBuffer(uint32_t Value, SmallVectorImpl<char> &Buffer, argument
1791 Buffer[Position + 0] = (unsigned char) (Value >> 0);
1792 Buffer[Position + 1] = (unsigned char) (Value >> 8);
1793 Buffer[Position + 2] = (unsigned char) (Value >> 16);
1794 Buffer[Position + 3] = (unsigned char) (Value >> 24);
1798 static void EmitDarwinBCHeaderAndTrailer(SmallVectorImpl<char> &Buffer, argument
1826 assert(Buffer.size() >= DarwinBCHeaderSize &&
1829 unsigned BCSize = Buffer.size()-DarwinBCHeaderSize;
1833 WriteInt32ToBuffer(0x0B17C0DE , Buffer, Position);
1834 WriteInt32ToBuffer(0 , Buffer, Positio
1847 SmallVector<char, 0> Buffer; local
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp431 std::unique_ptr<MemoryBuffer> Buffer;
633 TheModule(nullptr), Buffer(buffer), LazyStreamer(nullptr),
639 Buffer = nullptr;
3656 void BitcodeReader::releaseBuffer() { Buffer.release(); }
3765 const unsigned char *BufPtr = (const unsigned char*)Buffer->getBufferStart();
3766 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize();
3768 if (Buffer->getBufferSize() & 3)
3840 getLazyBitcodeModuleImpl(std::unique_ptr<MemoryBuffer> &&Buffer, argument
3843 Module *M = new Module(Buffer->getBufferIdentifier(), Context);
3845 new BitcodeReader(Buffer
3862 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, const DiagnosticHandlerFunction &DiagnosticHandler) argument
3872 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context, const DiagnosticHandlerFunction &DiagnosticHandler) argument
3890 getBitcodeTargetTriple(MemoryBufferRef Buffer, LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler) argument
[all...]
/frameworks/native/vulkan/nulldrv/
H A Dnull_driver.cpp812 // Buffer
814 struct Buffer { struct in namespace:null_driver
818 DEFINE_OBJECT_HANDLE_CONVERSION(Buffer)
830 Buffer* buffer = static_cast<Buffer*>(allocator->pfnAllocation(
831 allocator->pUserData, sizeof(Buffer), alignof(Buffer),
843 Buffer* buffer = GetBufferFromHandle(buffer_handle);
854 Buffer* buffer = GetBufferFromHandle(buffer_handle);

Completed in 742 milliseconds