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

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
H A DBuffer.cpp17 #include "Buffer.h"
27 Buffer::Buffer(size_t capacity) function in class:android::hardware::drm::V1_1::clearkey::Buffer
40 Buffer::~Buffer() {
/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.h54 EVENT_OVERRUN = 1, // Buffer overrun occurred.
63 /* Client should declare a Buffer and pass address to obtainBuffer()
67 class Buffer class in class:android::AudioRecord
102 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read
409 * Buffer fields
424 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
485 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
489 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
496 * Buffer fields:
501 void releaseBuffer(const Buffer* audioBuffe
[all...]
H A DAudioTrack.h59 EVENT_UNDERRUN = 1, // Buffer underrun occurred. This will not occur for
79 /* Client should declare a Buffer and pass the address to obtainBuffer()
83 class Buffer class in class:android::AudioTrack
118 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
679 * Buffer fields
693 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
702 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
706 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
713 * Buffer fields:
718 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.h54 EVENT_OVERRUN = 1, // Buffer overrun occurred.
63 /* Client should declare a Buffer and pass address to obtainBuffer()
67 class Buffer class in class:android::AudioRecord
102 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read
409 * Buffer fields
424 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
485 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
489 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
496 * Buffer fields:
501 void releaseBuffer(const Buffer* audioBuffe
[all...]
H A DAudioTrack.h59 EVENT_UNDERRUN = 1, // Buffer underrun occurred. This will not occur for
79 /* Client should declare a Buffer and pass the address to obtainBuffer()
83 class Buffer class in class:android::AudioTrack
118 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
679 * Buffer fields
693 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
702 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
706 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
713 * Buffer fields:
718 void releaseBuffer(const Buffer* audioBuffe
[all...]
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
H A DJAudioTrack.h46 class Buffer class in class:android::JAudioTrack
62 * - EVENT_MORE_DATA: pointer to JAudioTrack::Buffer struct. The callback must not
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
H A DBuffer.h33 struct Buffer : public RefBase { struct in namespace:android::hardware::drm::V1_1::clearkey
34 explicit Buffer(size_t capacity);
43 virtual ~Buffer();
53 CLEARKEY_DISALLOW_COPY_AND_ASSIGN(Buffer);
/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);
102 Vector<Buffer> *inputBuffers,
103 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.cpp147 class TessellationCache::Buffer { class in class:android::uirenderer::TessellationCache
149 explicit Buffer(const sp<Task<VertexBuffer*> >& task) : mTask(task), mBuffer(nullptr) {} function in class:android::uirenderer::TessellationCache::Buffer
151 ~Buffer() {
283 , mCache(LruCache<Description, Buffer*>::kUnlimitedCapacity)
300 LruCache<Description, Buffer*>::Iterator iter(mCache);
335 Buffer*& buffer) {
379 TessellationCache::Buffer* TessellationCache::getOrCreateBuffer(const Description& entry,
381 Buffer* buffer = mCache.get(entry);
385 buffer = new Buffer(task);
428 TessellationCache::Buffer* TessellationCach
[all...]
/frameworks/av/media/libstagefright/codecs/common/include/
H A DvoType.h166 VO_PBYTE Buffer; /*!< Buffer pointer */ member in struct:__anon560
167 VO_U32 Length; /*!< Buffer size in byte */
/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/services/audioflinger/
H A DPlaybackTracks.h124 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
218 class Buffer : public AudioBufferProvider::Buffer { class in class:OutputTrack
246 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer,
255 Vector < Buffer* > mBufferQueue;
256 AudioBufferProvider::Buffer mOutBuffer;
296 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
297 virtual void releaseBuffer(AudioBufferProvider::Buffer* buffer);
300 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
302 virtual void releaseBuffer(Proxy::Buffer* buffe
[all...]
/frameworks/av/include/private/media/
H A DAudioTrackShared.h212 struct Buffer { struct in class:android::Proxy
280 status_t obtainBuffer(Buffer* buffer, const struct timespec *requested = NULL,
291 void releaseBuffer(Buffer* buffer);
521 virtual status_t obtainBuffer(Buffer* buffer, bool ackFlush = false);
531 virtual void releaseBuffer(Buffer* buffer);
656 virtual status_t obtainBuffer(Buffer* buffer, bool ackFlush);
657 virtual void releaseBuffer(Buffer* 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.cpp824 // Buffer
826 struct Buffer { struct in namespace:null_driver
830 DEFINE_OBJECT_HANDLE_CONVERSION(Buffer)
842 Buffer* buffer = static_cast<Buffer*>(allocator->pfnAllocation(
843 allocator->pUserData, sizeof(Buffer), alignof(Buffer),
855 Buffer* buffer = GetBufferFromHandle(buffer_handle);
866 Buffer* buffer = GetBufferFromHandle(buffer_handle);

Completed in 1527 milliseconds