Searched refs:buffers (Results 26 - 50 of 94) sorted by relevance

1234

/frameworks/native/opengl/libagl/
H A DBufferObjectManager.h64 void deleteBuffers(GLsizei n, const GLuint* buffers);
H A Dstate.cpp370 int index = c->rasterizer.state.buffers.color.format;
376 int index = c->rasterizer.state.buffers.color.format;
382 int index = c->rasterizer.state.buffers.color.format;
388 int index = c->rasterizer.state.buffers.color.format;
410 params[0] = c->rasterizer.state.buffers.depth.format ? 0 : 16;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiDiagnostics.java301 byte[][] buffers = e.getValue();
305 for (int i = 0; i < buffers.length; i++) {
306 size += buffers[i].length;
311 for (int i = 0; i < buffers.length; i++) {
312 System.arraycopy(buffers[i], 0, buffer, index, buffers[i].length);
313 index += buffers[i].length;
436 mLog.wC("no ring buffers found");
451 if (DBG) mLog.tC("No ring buffers to log anything!");
514 byte[][] buffers
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegCompressor.cpp39 status_t JpegCompressor::start(const Vector<CpuConsumer::LockedBuffer*>& buffers, argument
51 mBuffers = buffers;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGLToolbox.java168 int[] buffers = new int[] { vboId };
169 GLES20.glDeleteBuffers(1, buffers, 0);
/frameworks/av/media/libstagefright/codec2/include/
H A DC2Work.h87 std::vector<std::shared_ptr<C2Buffer>> buffers; member in struct:android::C2BufferPack
89 //< for output buffers, these are the responses to requestedInfos
103 //< output.buffers.
124 * the work is submitted. Allocating the output buffers in the worklets is the responsibility
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java227 // 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 DGL11.java204 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
/frameworks/base/tools/aapt2/
H A DStringPool_test.cpp226 BigBuffer buffers[2] = {BigBuffer(1024), BigBuffer(1024)}; local
227 StringPool::FlattenUtf8(&buffers[0], pool);
228 StringPool::FlattenUtf16(&buffers[1], pool);
230 // Test both UTF-8 and UTF-16 buffers.
231 for (const BigBuffer& buffer : buffers) {
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11.spec8 void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
10 void glGenBuffers ( GLsizei n, GLuint *buffers )
H A Dchecks.spec30 glDeleteBuffers check buffers n
44 glGenBuffers check buffers n
/frameworks/wilhelm/src/android/
H A Dandroid_StreamPlayer.h44 virtual void setBuffers(const Vector<sp<IMemory> > &buffers); // mediaserver calls exactly once
64 // array of shared memory buffers
67 // list of available buffers in shared memory, identified by their index
102 // was refilled, or because during playback, the shared memory buffers should remain
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp93 void clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers);
95 jbyteArray getCallbackBuffer(JNIEnv *env, Vector<jbyteArray> *buffers, size_t bufferSize);
120 bool mManualBufferMode; // Whether to use application managed buffers.
223 JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize)
228 if (!buffers->isEmpty()) {
229 ALOGV("Using callback buffer from queue of length %zu", buffers->size());
230 jbyteArray globalBuffer = buffers->itemAt(0);
231 buffers->removeAt(0);
271 ALOGV("Out of buffers, clearing callback!");
357 // Video buffers ar
222 getCallbackBuffer( JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize) argument
515 clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers) argument
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DOffscreenBufferPoolTests.cpp140 // Create many buffers, with several at each size
141 std::vector<OffscreenBuffer*> buffers; local
144 buffers.push_back(pool.get(renderThread.renderState(), size, size));
148 for (auto& buffer : buffers) pool.putOrDelete(buffer);
/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp59 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, argument
61 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize),
69 ClientProxy::ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument
71 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer)
523 StaticAudioTrackClientProxy::StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, argument
525 : AudioTrackClientProxy(cblk, buffers, frameCount, frameSize),
615 ServerProxy::ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument
617 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer),
878 StaticAudioTrackServerProxy::StaticAudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, argument
880 : AudioTrackServerProxy(cblk, buffers, frameCoun
[all...]
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp331 Vector<sp<MediaCodecBuffer> > buffers; local
332 err = encoder->getOutputBuffers(&buffers);
334 fprintf(stderr, "Unable to get output buffers (err=%d)\n", err);
398 fwrite(buffers[bufIndex]->data(), 1, size, rawFp);
416 buffers[bufIndex]->data(), buffers[bufIndex]->size());
461 ALOGV("Encoder buffers changed");
462 err = encoder->getOutputBuffers(&buffers);
465 "Unable to get new output buffers (err=%d)\n", err);
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.h63 OMX_U32 portIndex, Vector<Buffer> *buffers);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DTrackDecoder.java39 private static final long TIMEOUT_US = 50; // Timeout for en-queueing and de-queueing buffers.
67 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info);
66 onDataAvailable( MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) argument
H A DCpuVideoTrackDecoder.java81 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) {
84 mDecodedBuffer = buffers[bufferIndex];
80 onDataAvailable( MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) argument
H A DGpuVideoTrackDecoder.java107 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) {
106 onDataAvailable( MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s43 ; * [in] pSrcMVLeftMB pointers to the motion vector buffers of the
46 ; * [in] pSrcMVUpperMB pointers to the motion vector buffers of the
49 ; * [in] pSrcMVUpperRightMB pointers to the motion vector buffers of the
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s43 ; * [in] pSrcMVLeftMB pointers to the motion vector buffers of the
46 ; * [in] pSrcMVUpperMB pointers to the motion vector buffers of the
49 ; * [in] pSrcMVUpperRightMB pointers to the motion vector buffers of the
/frameworks/av/include/media/
H A DIMediaSource.h39 // Maximum number of buffers would be read in readMultiple.
49 // returns. Any buffers the object may be holding onto at the time of
51 // Also, it is imperative that any buffers output by this object and
109 // but should be prepared for buffers of the new configuration.
115 // Returns a vector of new buffers of data, where the new buffers are added
118 // reached, or format change is hit, or |kMaxNumReadMultiple| buffers have
123 // but should be prepared for buffers of the new configuration.
128 Vector<MediaBuffer *> *buffers, uint32_t maxNumBuffers = 1,
143 // The consumer of this media source requests that the given buffers
[all...]
/frameworks/av/media/libmedia/include/media/
H A DIMediaSource.h39 // Maximum number of buffers would be read in readMultiple.
49 // returns. Any buffers the object may be holding onto at the time of
51 // Also, it is imperative that any buffers output by this object and
109 // but should be prepared for buffers of the new configuration.
115 // Returns a vector of new buffers of data, where the new buffers are added
118 // reached, or format change is hit, or |kMaxNumReadMultiple| buffers have
123 // but should be prepared for buffers of the new configuration.
128 Vector<MediaBuffer *> *buffers, uint32_t maxNumBuffers = 1,
143 // The consumer of this media source requests that the given buffers
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.cpp44 void *buffers; variable
45 SLuint32 byteOrder; // desired to use for PCM buffers
96 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which;
252 fprintf(stderr, " -n# number of buffers (default 2)\n");
352 buffers = malloc(framesPerBuffer * sfframesize * numBuffers);
497 // loop until EOF or no more buffers
499 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which;

Completed in 944 milliseconds

1234