Home
last modified time | relevance | path

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

12345

/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 …]
DGLES30.java352 java.nio.Buffer indices in glDrawRangeElements()
378 java.nio.Buffer pixels in glTexImage3D()
409 java.nio.Buffer pixels in glTexSubImage3D()
453 java.nio.Buffer data in glCompressedTexImage3D()
483 java.nio.Buffer data in glCompressedTexSubImage3D()
597 public static native java.nio.Buffer glGetBufferPointerv( in glGetBufferPointerv()
772 public static native java.nio.Buffer glMapBufferRange( in glMapBufferRange()
953 java.nio.Buffer pointer, in glVertexAttribIPointerBounds()
962 java.nio.Buffer pointer in glVertexAttribIPointer()
1353 java.nio.Buffer length, in glGetActiveUniformBlockName()
[all …]
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DGLImplHeader.java-impl28 import java.nio.Buffer;
44 Buffer _colorPointer = null;
45 Buffer _normalPointer = null;
46 Buffer _texCoordPointer = null;
47 Buffer _vertexPointer = null;
48 Buffer _pointSizePointerOES = null;
49 Buffer _matrixIndexPointerOES = null;
50 Buffer _weightPointerOES = null;
61 public void glGetPointerv(int pname, java.nio.Buffer[] params) {
78 "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/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java29 import java.nio.Buffer;
45 Buffer _colorPointer = null;
46 Buffer _normalPointer = null;
47 Buffer _texCoordPointer = null;
48 Buffer _vertexPointer = null;
49 Buffer _pointSizePointerOES = null;
50 Buffer _matrixIndexPointerOES = null;
51 Buffer _weightPointerOES = null;
62 public void glGetPointerv(int pname, java.nio.Buffer[] params) { in glGetPointerv()
202 java.nio.Buffer pointer, in glColorPointerBounds()
[all …]
/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);
104 Vector<Buffer> *inputBuffers,
105 Vector<Buffer> *outputBuffers);
/frameworks/av/media/libaudioclient/include/media/
DAudioBufferProvider.h31 struct Buffer { struct
32 Buffer() : raw(NULL), frameCount(0) { } in Buffer() argument
56 virtual status_t getNextBuffer(Buffer* buffer) = 0; argument
69 virtual void releaseBuffer(Buffer* buffer) = 0;
/frameworks/av/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;
DBufferProviders.h76 virtual status_t getNextBuffer(Buffer *buffer);
77 virtual void releaseBuffer(Buffer *buffer);
92 AudioBufferProvider::Buffer mBuffer;
173 virtual status_t getNextBuffer(Buffer* buffer);
174 virtual void releaseBuffer(Buffer* buffer);
197 AudioBufferProvider::Buffer mBuffer; // for upstream request
/frameworks/av/services/audioflinger/
DRecordTracks.h72 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
77 AudioBufferProvider::Buffer mSink; // references client's buffer sink in shared memory
111 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
112 virtual void releaseBuffer(AudioBufferProvider::Buffer* buffer);
115 virtual status_t obtainBuffer(Proxy::Buffer *buffer,
117 virtual void releaseBuffer(Proxy::Buffer *buffer);
DPlaybackTracks.h101 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
192 class Buffer : public AudioBufferProvider::Buffer {
217 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer,
226 Vector < Buffer* > mBufferQueue;
227 AudioBufferProvider::Buffer mOutBuffer;
253 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
254 virtual void releaseBuffer(AudioBufferProvider::Buffer* buffer);
257 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
259 virtual void releaseBuffer(Proxy::Buffer* buffer);
/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/base/libs/hwui/
DTessellationCache.h169 class Buffer;
180 Buffer* getRectBuffer(const Matrix4& transform, const SkPaint& paint,
182 Buffer* getRoundRectBuffer(const Matrix4& transform, const SkPaint& paint,
185 Buffer* getOrCreateBuffer(const Description& entry, Tessellator tessellator);
197 LruCache<Description, Buffer*> mCache;
198 class BufferRemovedListener : public OnEntryRemoved<Description, Buffer*> {
199 void operator()(Description& description, Buffer*& buffer) override;
DTessellationCache.cpp150 class TessellationCache::Buffer { class in android::uirenderer::TessellationCache
152 explicit Buffer(const sp<Task<VertexBuffer*> >& task) in Buffer() function in android::uirenderer::TessellationCache::Buffer
157 ~Buffer() { in ~Buffer()
294 , mCache(LruCache<Description, Buffer*>::kUnlimitedCapacity) in TessellationCache()
310 LruCache<Description, Buffer*>::Iterator iter(mCache); in getSize()
346 Buffer*& buffer) { in operator ()()
391 TessellationCache::Buffer* TessellationCache::getOrCreateBuffer( in getOrCreateBuffer()
393 Buffer* buffer = mCache.get(entry); in getOrCreateBuffer()
397 buffer = new Buffer(task); in getOrCreateBuffer()
438 TessellationCache::Buffer* TessellationCache::getRoundRectBuffer( in getRoundRectBuffer()
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h76 virtual status_t getNextBuffer(Buffer *buffer);
77 virtual void releaseBuffer(Buffer *buffer);
92 AudioBufferProvider::Buffer mBuffer;
173 virtual status_t getNextBuffer(Buffer* buffer);
174 virtual void releaseBuffer(Buffer* buffer);
197 AudioBufferProvider::Buffer mBuffer; // for upstream request
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c220 inData.Buffer = inBuf; in main()
221 bytesLeft = ReadFile2Buf(infile,inData.Buffer,READ_SIZE); in main()
228 outData.Buffer = outBuf; in main()
236 outData.Buffer = outBuf; in main()
249 fwrite(outData.Buffer, 1, outData.Length, outfile); in main()
263 inData.Buffer = inBuf; in main()
/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/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()
/frameworks/base/tests/touchlag/
Dtouchlag.cpp40 struct Buffer { struct
50 void clearBuffer(Buffer* buf, uint32_t pixel) { in clearBuffer() argument
54 void drawTwoPixels(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) { in drawTwoPixels()
67 void drawHLine(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) { in drawHLine()
84 void drawRect(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w, size_t h) { in drawRect()
105 void drawCircle(Buffer* buf, uint32_t pixel, in drawCircle()
228 Buffer framebuffer; in main()
/frameworks/compile/slang/BitWriter_3_2/
DReaderWriter_3_2.h34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
/frameworks/compile/slang/BitWriter_2_9_func/
DReaderWriter_2_9_func.h34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
/frameworks/compile/slang/BitWriter_2_9/
DReaderWriter_2_9.h34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglGetActiveUniformBlockName.java18 java.nio.Buffer length, in glGetActiveUniformBlockName()
19 java.nio.Buffer uniformBlockName in glGetActiveUniformBlockName()

12345