Home
last modified time | relevance | path

Searched refs:Buffer (Results 1 – 25 of 195) sorted by relevance

12345678

/frameworks/base/opengl/java/android/opengl/
DETC1.java19 import java.nio.Buffer;
68 public static native void encodeBlock(Buffer in, int validPixelMask, Buffer out); in encodeBlock()
81 public static native void decodeBlock(Buffer in, Buffer out); in decodeBlock()
97 public static native void encodeImage(Buffer in, int width, int height, in encodeImage()
98 int pixelSize, int stride, Buffer out); in encodeImage()
109 public static native void decodeImage(Buffer in, Buffer out, in decodeImage()
118 public static native void formatHeader(Buffer header, int width, int height); in formatHeader()
124 public static native boolean isValid(Buffer header); in isValid()
130 public static native int getWidth(Buffer header); in getWidth()
136 public static native int getHeight(Buffer header); in getHeight()
DGLES10.java22 import java.nio.Buffer;
268 private static Buffer _colorPointer;
269 private static Buffer _normalPointer;
270 private static Buffer _texCoordPointer;
271 private static Buffer _vertexPointer;
388 java.nio.Buffer pointer, in glColorPointerBounds()
396 java.nio.Buffer pointer in glColorPointer()
424 java.nio.Buffer data in glCompressedTexImage2D()
438 java.nio.Buffer data in glCompressedTexSubImage2D()
540 java.nio.Buffer indices in glDrawElements()
[all …]
/frameworks/libs/binary_translation/tools/nogrod/
Dbuffer.h28 class Buffer {
30 Buffer() = default;
31 explicit Buffer(std::vector<T> buffer) in Buffer() function
33 explicit constexpr Buffer(const T* data, size_t size) : data_{data}, size_{size} {} in Buffer() function
39 Buffer(const Buffer<T>&) = delete;
40 Buffer<T>& operator=(const Buffer<T>&) = delete;
44 Buffer(Buffer<T>&& that) { *this = std::move(that); } in Buffer() function
46 Buffer<T>& operator=(Buffer<T>&& that) {
Dbuffer_tests.cc29 Buffer b{v.data(), v.size()}; in TEST()
35 Buffer b1(std::move(v)); in TEST()
47 Buffer b_to_move{v.data(), v.size()}; in TEST()
49 Buffer b = std::move(b_to_move); in TEST()
55 Buffer b1_to_move(std::move(v)); in TEST()
56 Buffer b1 = std::move(b1_to_move); in TEST()
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DGLImplHeader.java-impl29 import java.nio.Buffer;
46 Buffer _colorPointer = null;
47 Buffer _normalPointer = null;
48 Buffer _texCoordPointer = null;
49 Buffer _vertexPointer = null;
50 Buffer _pointSizePointerOES = null;
51 Buffer _matrixIndexPointerOES = null;
52 Buffer _weightPointerOES = null;
64 public void glGetPointerv(int pname, java.nio.Buffer[] params) {
81 "Application %s (SDK target %d) called a GL11 Pointer method with an indirect Buffer.",
DGL11ImplHeader.java-impl9 import java.nio.Buffer;
22 Buffer _colorPointer = null;
23 Buffer _normalPointer = null;
24 Buffer _texCoordPointer = null;
25 Buffer _vertexPointer = null;
/frameworks/layoutlib/bridge/src/com/android/tools/layoutlib/java/nio/
DNIOAccess_Delegate.java22 import java.nio.Buffer;
40 public static long getBasePointer(Buffer b) { in getBasePointer()
42 long address = (long)ReflectionUtils.getFieldValue(Buffer.class, b, "address"); in getBasePointer()
56 static Object getBaseArray(Buffer b) { in getBaseArray()
67 static int getBaseArrayOffset(Buffer b) { in getBaseArrayOffset()
/frameworks/av/services/audioflinger/
DRecordTracks.h92 AudioBufferProvider::Buffer& sinkBuffer() final { return mSink; } in sinkBuffer()
106 status_t getNextBuffer(AudioBufferProvider::Buffer* buffer) override;
113 AudioBufferProvider::Buffer mSink; // references client's buffer sink in shared memory
153 status_t getNextBuffer(AudioBufferProvider::Buffer* buffer) override;
154 void releaseBuffer(AudioBufferProvider::Buffer* buffer) override;
157 status_t obtainBuffer(Proxy::Buffer* buffer,
159 void releaseBuffer(Proxy::Buffer* buffer) override;
193 status_t getNextBuffer(AudioBufferProvider::Buffer* buffer) final;
194 void releaseBuffer(AudioBufferProvider::Buffer* buffer) final;
199 status_t obtainBuffer(Proxy::Buffer* buffer, const struct timespec* timeOut = nullptr) final;
[all …]
DPlaybackTracks.h230 status_t getNextBuffer(AudioBufferProvider::Buffer* buffer) override;
231 void releaseBuffer(AudioBufferProvider::Buffer* buffer) override;
357 void interceptBuffer(const AudioBufferProvider::Buffer& buffer);
415 class Buffer : public AudioBufferProvider::Buffer {
453 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer,
455 void queueBuffer(Buffer& inBuffer);
463 Vector < Buffer* > mBufferQueue;
464 AudioBufferProvider::Buffer mOutBuffer;
514 status_t getNextBuffer(AudioBufferProvider::Buffer* buffer) final;
515 void releaseBuffer(AudioBufferProvider::Buffer* buffer) final;
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DBuffer.cpp20 Buffer::Buffer(size_t capacity) : mRangeOffset(0), mOwnsData(true) { in Buffer() function in clearkeydrm::Buffer
31 Buffer::~Buffer() { in ~Buffer()
/frameworks/av/media/libaudioclient/include/media/
DAudioBufferProvider.h31 struct Buffer { struct
32 Buffer() : raw(NULL), frameCount(0) { } in Buffer() function
56 virtual status_t getNextBuffer(Buffer* buffer) = 0; argument
69 virtual void releaseBuffer(Buffer* buffer) = 0;
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.h41 struct Buffer { struct
55 Vector<Buffer> *inputBuffers,
56 Vector<Buffer> *outputBuffers,
63 OMX_U32 portIndex, Vector<Buffer> *buffers);
102 Vector<Buffer> *inputBuffers,
103 Vector<Buffer> *outputBuffers);
/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/clearkeydrm/
DBuffer.h23 struct Buffer : public ::android::RefBase { struct
24 explicit Buffer(size_t capacity);
33 virtual ~Buffer(); argument
43 CLEARKEY_DISALLOW_COPY_AND_ASSIGN(Buffer); argument
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java30 import java.nio.Buffer;
47 Buffer _colorPointer = null;
48 Buffer _normalPointer = null;
49 Buffer _texCoordPointer = null;
50 Buffer _vertexPointer = null;
51 Buffer _pointSizePointerOES = null;
52 Buffer _matrixIndexPointerOES = null;
53 Buffer _weightPointerOES = null;
65 public void glGetPointerv(int pname, java.nio.Buffer[] params) { in glGetPointerv()
205 java.nio.Buffer pointer, in glColorPointerBounds()
[all …]
/frameworks/compile/libbcc/bcinfo/
DBitcodeTranslator.cpp157 std::string Buffer; in translate() local
159 llvm::raw_string_ostream OS(Buffer); in translate()
166 &wrapper, Buffer.size(), kMinimumUntranslatedVersion, in translate()
173 mTranslatedBitcodeSize = actualWrapperLen + Buffer.size(); in translate()
176 memcpy(c + actualWrapperLen, Buffer.c_str(), Buffer.size()); in translate()
/frameworks/native/libs/bufferstreams/rust/src/buffers/
Dbuffer_owner.rs15 use super::Buffer;
21 fn on_return(&self, buffer: &Buffer); in on_return() argument
27 fn on_return(&self, _buffer: &Buffer) {} in on_return() argument
Dbuffer.rs24 pub struct Buffer { struct
29 impl Buffer { impl
51 impl Drop for Buffer { implementation
77 let buffer = Buffer::new_unowned(hardware_buffer); in test_get_buffer_id()
Dbuffer_pool.rs26 use super::{Buffer, BufferOwner};
46 fn on_return(&self, buffer: &Buffer) { in on_return() argument
87 pub fn next_buffer(&mut self) -> Option<Buffer> { in next_buffer() argument
90 Some(Buffer::new( in next_buffer()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHistoryTest.cpp131 LayerHistory::LayerUpdateType::Buffer); in recordFramesAndExpect()
177 LayerHistory::LayerUpdateType::Buffer); in TEST_F()
203 LayerHistory::LayerUpdateType::Buffer); in TEST_F()
234 LayerHistory::LayerUpdateType::Buffer); in TEST_F()
244 LayerHistory::LayerUpdateType::Buffer); in TEST_F()
306 LayerHistory::LayerUpdateType::Buffer); in TEST_F()
324 LayerHistory::LayerUpdateType::Buffer); in TEST_F()
340 LayerHistory::LayerUpdateType::Buffer); in TEST_F()
362 LayerHistory::LayerUpdateType::Buffer); in TEST_F()
371 LayerHistory::LayerUpdateType::Buffer); in TEST_F()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitReader_3_0.h48 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer,
56 getBitcodeTargetTriple(MemoryBufferRef Buffer, LLVMContext &Context,
61 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context,
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitReader_2_7.h48 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer,
56 getBitcodeTargetTriple(MemoryBufferRef Buffer, LLVMContext &Context,
61 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context,
/frameworks/native/libs/gui/include/gui/test/
DCallbackUtils.h51 enum Buffer { enum
69 ExpectedResult::Buffer bufferResult = ACQUIRED,
78 ExpectedResult::Buffer bufferResult = ACQUIRED,
132 ExpectedSurfaceResult(ExpectedResult::Buffer bufferResult, in ExpectedSurfaceResult()
153 if (mBufferResult == ExpectedResult::Buffer::ACQUIRED) { in verifySurfaceControlStats()
158 ASSERT_EQ(acquireTime > 0, mBufferResult == ExpectedResult::Buffer::ACQUIRED); in verifySurfaceControlStats()
170 ExpectedResult::Buffer mBufferResult;
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h77 virtual status_t getNextBuffer(Buffer *buffer);
78 virtual void releaseBuffer(Buffer *buffer);
94 AudioBufferProvider::Buffer mBuffer;
208 virtual status_t getNextBuffer(Buffer* buffer);
209 virtual void releaseBuffer(Buffer* buffer);
233 AudioBufferProvider::Buffer mBuffer; // for upstream request
266 status_t getNextBuffer(Buffer* pBuffer) override;
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DLayerSettings.h36 struct Buffer { struct
95 Buffer buffer = Buffer();
158 static inline bool operator==(const Buffer& lhs, const Buffer& rhs) {
195 static inline void PrintTo(const Buffer& settings, ::std::ostream* os) { in PrintTo()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java344 java.nio.Buffer pointer in glColorPointer()
355 java.nio.Buffer data in glCompressedTexImage2D()
367 java.nio.Buffer data in glCompressedTexSubImage2D()
443 java.nio.Buffer indices in glDrawElements()
742 java.nio.Buffer pointer in glNormalPointer()
799 java.nio.Buffer pixels in glReadPixels()
869 java.nio.Buffer pointer in glTexCoordPointer()
919 java.nio.Buffer pixels in glTexImage2D()
943 java.nio.Buffer pixels in glTexSubImage2D()
962 java.nio.Buffer pointer in glVertexPointer()

12345678