/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/av/services/camera/libcameraservice/api1/client2/ |
H A D | BurstCapture.cpp | 90 Vector<CpuConsumer::LockedBuffer*> buffers; local 91 buffers.push_back(imgBuffer); 92 buffers.push_back(imgEncoded); 95 jpeg->start(buffers, 1); 99 return buffers[1];
|
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/av/include/private/media/ |
H A D | AudioTrackShared.h | 195 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, 210 void* const mBuffers; // starting address of buffers 226 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 318 AudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument 320 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, 364 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 414 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument 416 : ClientProxy(cblk, buffers, frameCount, frameSize, 426 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 472 AudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_ argument 558 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 114 buffers.push(mem); 116 setBuffers(buffers);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | GraphicsStatsService.java | 44 * its primary job is merely to manage distributing these buffers. However, 46 * directly to ThreadedRenderer for dumping buffers. 57 * this would end up using under 14KiB (12KiB for the buffers, plus some overhead 146 ActiveBuffer buffers = mActive.get(i); 147 if (buffers.mPid == pid 148 && buffers.mUid == uid) { 149 return buffers; 154 ActiveBuffer buffers = new ActiveBuffer(token, uid, pid, packageName); 155 mActive.add(buffers); 156 return buffers; [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureGLToGL_test.cpp | 31 // This test requires 3 buffers to avoid deadlock because we're 83 // This test requires 3 buffers to complete run on a single thread. 153 sp<GraphicBuffer> buffers[2]; local 176 buffers[i] = mST->getCurrentBuffer(); 179 // Destroy the GL texture object to release its ref on buffers[2]. 189 EXPECT_EQ(1, buffers[0]->getStrongCount()); 194 EXPECT_EQ(3, buffers[1]->getStrongCount()); 198 sp<GraphicBuffer> buffers[3]; local 222 buffers[i] = mST->getCurrentBuffer(); 226 // 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 2628 invalidateByteBuffer( @ullable ByteBuffer[] buffers, int index) argument 2638 validateInputByteBuffer( @ullable ByteBuffer[] buffers, int index) argument 2649 revalidateByteBuffer( @ullable ByteBuffer[] buffers, int index) argument 2661 validateOutputByteBuffer( @ullable ByteBuffer[] buffers, int index, @NonNull BufferInfo info) argument 2672 invalidateByteBuffers(@ullable ByteBuffer[] buffers) argument 2689 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/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/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiLogger.java | 211 byte[][] buffers = e.getValue(); 215 for (int i = 0; i < buffers.length; i++) { 216 size += buffers[i].length; 221 for (int i = 0; i < buffers.length; i++) { 222 System.arraycopy(buffers[i], 0, buffer, index, buffers[i].length); 223 index += buffers[i].length; 311 Log.e(TAG, "no ring buffers found"); 320 if (DBG) Log.d(TAG, "No ring buffers to log anything!"); 370 Log.e(TAG, "Not ring buffers availabl [all...] |
/frameworks/native/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 71 * Currently it is pretty simple, it manages only two buffers (the front and 118 buffers[i] = new NativeBuffer( 129 &buffers[i]->handle, &buffers[i]->stride); 168 if (buffers[i] != NULL) { 169 grDev->free(grDev, buffers[i]->handle); 250 ALOG_ASSERT(self->buffers[index] != self->front, ""); 256 *buffer = self->buffers[index].get();
|
/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;
|
/frameworks/av/media/libstagefright/ |
H A D | OMXCodec.cpp | 62 // buffers after 3 seconds. 264 if (info->hasQuirk("output-buffers-are-unreadable")) { 1632 ALOGE("protected output buffers must be stent to an ANativeWindow"); 1641 ALOGE("Storing meta data in video buffers is not supported"); 1657 CODEC_LOGV("allocating %u buffers of size %u on %s port", 1766 Vector<MediaBuffer *> buffers; local 1771 buffers.push(mbuf); 1774 status_t err = mSource->setBuffers(buffers); 1778 buffers.editItemAt(i)->release(); 1780 buffers 1975 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local 2044 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local 2095 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local 2632 countBuffersWeOwn(const Vector<BufferInfo> &buffers) argument 2645 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local 2675 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local 2798 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local 2811 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local 2819 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local 3141 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local 3154 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local 3850 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoderBase.cpp | 86 status_t NuPlayer::DecoderBase::getInputBuffers(Vector<sp<ABuffer> > *buffers) const { 88 msg->setPointer("buffers", buffers); 155 CHECK(msg->findPointer("buffers", (void **)&dstBuffers)); 199 // 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
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11.java | 204 int[] buffers, 210 java.nio.IntBuffer buffers 222 int[] buffers, 228 java.nio.IntBuffer buffers 202 glDeleteBuffers( int n, int[] buffers, int offset ) argument 220 glGenBuffers( int n, int[] buffers, int offset ) argument
|