/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLId.java | 26 public void glGenBuffers(int n, int[] buffers, int offset); argument 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); argument 32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); argument
|
H A D | GLES20IdImpl.java | 19 public void glGenBuffers(int n, int[] buffers, int offset) { argument 20 GLES20.glGenBuffers(n, buffers, offset); 32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument 33 GLES20.glDeleteBuffers(n, buffers, offset); 38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { argument 39 GLES20.glDeleteFramebuffers(n, buffers, offset);
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/ |
H A D | RefocusFilterd1new.java | 38 ImageBuffersForRenderScriptd1new buffers; field in class:RefocusFilterd1new 49 // Allocates, binds, and initializes buffers that interface between Java 54 buffers = new ImageBuffersForRenderScriptd1new(inputImage, margin, 56 buffers.initializeRenderScript(focalLayer, scriptC); 62 // Extracts the result from .rs file to {@code buffers.outputImage} in Java. 66 scriptC.forEach_PackOutputImage(buffers.outAllocation); 70 buffers.outAllocation.copyTo(buffers.outputImage); 71 return buffers.outputImage; 79 Bitmap mBitmap = Bitmap.createBitmap(buffers [all...] |
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/ |
H A D | RefocusFilterF32.java | 37 ImageBuffersForRenderScriptF32 buffers; field in class:RefocusFilterF32 48 // Allocates, binds, and initializes buffers that interface between Java 53 buffers = new ImageBuffersForRenderScriptF32(inputImage, margin, 55 buffers.initializeRenderScript(focalLayer, scriptC); 60 // Extracts the result from .rs file to {@code buffers.outputImage} in Java. 64 scriptC.forEach_PackOutputImage(buffers.outAllocation); 68 buffers.outAllocation.copyTo(buffers.outputImage); 69 return buffers.outputImage; 77 Bitmap mBitmap = Bitmap.createBitmap(buffers [all...] |
/frameworks/av/include/private/media/ |
H A D | AudioTrackShared.h | 205 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, 222 void* const mBuffers; // starting address of buffers 238 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 356 AudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument 358 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, 407 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 457 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument 459 : ClientProxy(cblk, buffers, frameCount, frameSize, 479 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 544 AudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_ argument 646 AudioRecordServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool clientInServer) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | IStreamSource.cpp | 65 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) { argument 68 data.writeInt64(static_cast<int64_t>(buffers.size())); 69 for (size_t i = 0; i < buffers.size(); ++i) { 70 data.writeStrongBinder(IInterface::asBinder(buffers.itemAt(i))); 109 Vector<sp<IMemory> > buffers; local 115 buffers.push(mem); 120 setBuffers(buffers);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | GraphicsStatsService.java | 43 * its primary job is merely to manage distributing these buffers. However, 45 * directly to ThreadedRenderer for dumping buffers. 134 ActiveBuffer buffers = mActive.get(i); 135 if (buffers.mPid == pid 136 && buffers.mUid == uid) { 137 return buffers; 142 ActiveBuffer buffers = new ActiveBuffer(token, uid, pid, packageName); 143 mActive.add(buffers); 144 return buffers;
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureGLToGL_test.cpp | 31 // This test requires 3 buffers to avoid deadlock because we're 86 // This test requires 3 buffers to complete run on a single thread. 160 sp<GraphicBuffer> buffers[2]; local 183 buffers[i] = mST->getCurrentBuffer(); 186 // Destroy the GL texture object to release its ref on buffers[2]. 196 EXPECT_EQ(1, buffers[0]->getStrongCount()); 201 EXPECT_EQ(3, buffers[1]->getStrongCount()); 206 sp<GraphicBuffer> buffers[3]; local 230 buffers[i] = mST->getCurrentBuffer(); 234 // on buffers[ [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 54 asynchronously and uses a set of input and output buffers. At a simplistic level, you request 56 processing. The codec uses up the data and transforms it into one of its empty output buffers. 65 buffers without mapping or copying them to ByteBuffers; thus, it is much more efficient. 68 efficient than using ByteBuffers, as some native buffers may be mapped into {@linkplain 75 Input buffers (for decoders) and output buffers (for encoders) contain compressed data according 80 of audio. In either case, buffers do not start or end on arbitrary byte boundaries, but rather on 85 Raw audio buffers contain entire frames of PCM audio data, which is one sample for each channel 107 In ByteBuffer mode video buffers are laid out according to their {@linkplain 115 <li><strong>flexible YUV buffers</stron 2817 invalidateByteBuffer( @ullable ByteBuffer[] buffers, int index) argument 2827 validateInputByteBuffer( @ullable ByteBuffer[] buffers, int index) argument 2838 revalidateByteBuffer( @ullable ByteBuffer[] buffers, int index) argument 2850 validateOutputByteBuffer( @ullable ByteBuffer[] buffers, int index, @NonNull BufferInfo info) argument 2861 invalidateByteBuffers(@ullable ByteBuffer[] buffers) argument 2878 freeByteBuffers(@ullable ByteBuffer[] buffers) argument [all...] |
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | audio.c | 42 static char* buffers[BUFFER_COUNT]; variable 150 if (pcm_read(pcm, buffers[index], BUFFER_SIZE)) { 175 err = pcm_write(pcm, buffers[index], BUFFER_SIZE); 200 buffers[i] = malloc(BUFFER_SIZE);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3BufferManager.h | 35 * A class managing the graphic buffers that is used by camera output streams. It allocates and 36 * hands out Gralloc buffers to the clients (e.g., Camera3OutputStream) based on the requests. 39 * buffer maintained by the buffer manager, it will dynamically deallocate some buffers that are 56 * usage flags, etc. for the buffer manager to allocate and hand out buffers for this stream. 65 * over the buffer allocation role and provides buffers to this stream via getBufferForStream(). 70 * uses buffer manager to manage the stream buffers, it should disable the BufferQueue 91 * After all streams for a given stream set are unregistered, all the buffers solely owned (for 92 * this stream set) by this buffer manager will be freed; all buffers subsequently returned to 109 * it and increment its count of handed-out buffers. When the total number of allocated buffers [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | AudioTrackDecoder.java | 77 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { 78 ByteBuffer buffer = buffers[bufferIndex]; 76 onDataAvailable( MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) argument
|
/frameworks/native/opengl/libagl/ |
H A D | BufferObjectManager.cpp | 85 void EGLBufferObjectManager::deleteBuffers(GLsizei n, const GLuint* buffers) argument 89 const GLuint t = *buffers++;
|
H A D | BufferObjectManager.h | 64 void deleteBuffers(GLsizei n, const GLuint* buffers);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | DisplaySourceService.java | 229 ByteBuffer[] buffers = null; 233 if (buffers == null) { 234 buffers = codec.getOutputBuffers(); 237 ByteBuffer buffer = buffers[index]; 245 buffers = null;
|
/frameworks/av/cmds/stagefright/ |
H A D | stream.cpp | 51 virtual void setBuffers(const Vector<sp<IMemory> > &buffers); 88 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) { argument 89 mBuffers = buffers; 131 virtual void setBuffers(const Vector<sp<IMemory> > &buffers); 199 const Vector<sp<IMemory> > &buffers) { 200 mBuffers = buffers; 198 setBuffers( const Vector<sp<IMemory> > &buffers) argument
|
/frameworks/av/include/media/ |
H A D | IStreamSource.h | 33 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) = 0;
|
H A D | IMediaSource.h | 36 // Maximum number of buffers would be read in readMultiple. 46 // returns. Any buffers the object may be holding onto at the time of 48 // Also, it is imperative that any buffers output by this object and 100 // but should be prepared for buffers of the new configuration. 104 // Returns a vector of new buffers of data. The vector size could be 105 // <= |maxNumBuffers|. Used for buffers with small size 108 // reached, or format change is hit, or |kMaxNumReadMultiple| buffers have 113 // but should be prepared for buffers of the new configuration. 115 Vector<MediaBuffer *> *buffers, uint32_t maxNumBuffers = 1) = 0; 122 // The consumer of this media source requests that the given buffers [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | JpegCompressor.h | 19 * This class simulates a hardware JPEG compressor. It receives image buffers 49 // Start compressing COMPRESSED format buffers; JpegCompressor takes 51 status_t start(Vector<CpuConsumer::LockedBuffer*> buffers,
|
H A D | JpegCompressor.cpp | 39 status_t JpegCompressor::start(Vector<CpuConsumer::LockedBuffer*> buffers, argument 51 mBuffers = buffers;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiLogger.java | 286 byte[][] buffers = e.getValue(); 290 for (int i = 0; i < buffers.length; i++) { 291 size += buffers[i].length; 296 for (int i = 0; i < buffers.length; i++) { 297 System.arraycopy(buffers[i], 0, buffer, index, buffers[i].length); 298 index += buffers[i].length; 416 Log.e(TAG, "no ring buffers found"); 431 if (DBG) Log.d(TAG, "No ring buffers to log anything!"); 481 Log.e(TAG, "Not ring buffers availabl [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoderBase.cpp | 94 status_t NuPlayer::DecoderBase::getInputBuffers(Vector<sp<ABuffer> > *buffers) const { 96 msg->setPointer("buffers", buffers); 174 CHECK(msg->findPointer("buffers", (void **)&dstBuffers)); 218 // We cannot immediately release the codec due to buffers still outstanding
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GLToolbox.java | 168 int[] buffers = new int[] { vboId }; 169 GLES20.glDeleteBuffers(1, buffers, 0);
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.h | 62 Vector<Buffer> *buffers);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11.java | 227 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) 231 int[] buffers, 235 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) 239 java.nio.IntBuffer buffers 251 // C function void glGenBuffers ( GLsizei n, GLuint *buffers ) 255 int[] buffers, 259 // C function void glGenBuffers ( GLsizei n, GLuint *buffers ) 263 java.nio.IntBuffer buffers 229 glDeleteBuffers( int n, int[] buffers, int offset ) argument 253 glGenBuffers( int n, int[] buffers, int offset ) argument
|