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

1234

/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/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
H A Dandroid_StreamPlayer.cpp68 void StreamSourceAppProxy::setBuffers(const Vector<sp<IMemory> > &buffers) { argument
71 mBuffers = buffers;
81 // no buffers available to push data to from the buffer queue, bail
90 //SL_LOGD("onBufferAvailable() now %d buffers available in queue",
261 //SL_LOGD("%d buffers available after reading from queue", mAvailableBuffers.size());
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp90 void clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers);
92 jbyteArray getCallbackBuffer(JNIEnv *env, Vector<jbyteArray> *buffers, size_t bufferSize);
117 bool mManualBufferMode; // Whether to use application managed buffers.
220 JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize)
225 if (!buffers->isEmpty()) {
226 ALOGV("Using callback buffer from queue of length %zu", buffers->size());
227 jbyteArray globalBuffer = buffers->itemAt(0);
228 buffers->removeAt(0);
268 ALOGV("Out of buffers, clearing callback!");
427 // of buffers fo
219 getCallbackBuffer( JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize) argument
489 clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers) argument
[all...]
H A Dandroid_opengl_GLES11.cpp703 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
712 GLuint *buffers = (GLuint *) 0; local
717 _exceptionMessage = "buffers == null";
735 buffers = buffers_base + offset;
739 (GLuint *)buffers
752 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
762 GLuint *buffers = (GLuint *) 0; local
764 buffers = (GLuint *)getPointer(_env, buffers_buf, (jarray*)&_array, &_remaining, &_bufferOffset);
771 if (buffers == NULL) {
773 buffers
816 GLuint *buffers = (GLuint *) 0; local
866 GLuint *buffers = (GLuint *) 0; local
[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/libmedia/
H A DIMediaSource.cpp193 virtual status_t readMultiple(Vector<MediaBuffer *> *buffers, uint32_t maxNumBuffers) { argument
195 if (buffers == NULL || !buffers->isEmpty()) {
216 buffers->push_back(buf);
231 virtual status_t setBuffers(const Vector<MediaBuffer *> & buffers __unused) {
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),
861 StaticAudioTrackServerProxy::StaticAudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, argument
863 : AudioTrackServerProxy(cblk, buffers, frameCoun
[all...]
H A DIAudioFlinger.cpp190 sp<IMemory>& buffers,
215 buffers.clear();
242 buffers = interface_cast<IMemory>(reply.readStrongBinder());
243 if (buffers != 0 && buffers->pointer() == NULL) {
244 buffers.clear();
254 // buffers is permitted to be 0
256 if (record != 0 || cblk != 0 || buffers != 0) {
258 "or buffers but with status %d", lStatus);
264 buffers
176 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t *pFrameCount, track_flags_t *flags, pid_t pid, pid_t tid, int clientUid, audio_session_t *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status) argument
996 sp<IMemory> buffers; local
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3BufferManager.cpp70 // need check this, as the buffers are not really shared between streams, the buffers are
145 // De-list all the buffers associated with this stream first.
207 // We've already attached more buffers to this stream than we currently have
241 // for cases where one stream is active, the other stream may request some buffers randomly.
250 // Proactively free buffers for other streams if the current number of allocated buffers
254 // buffers for them.
499 bool Camera3BufferManager::hasBufferForStreamLocked(BufferList& buffers, int streamId) { argument
500 BufferList::iterator i = buffers
512 getFirstBufferFromBufferListLocked( BufferList& buffers, int streamId) argument
[all...]
H A DCamera3Stream.cpp125 ALOGE("%s: Cannot configure stream; has outstanding buffers",
221 ALOGE("%s: Unable to register stream buffers with HAL: %s (%d)",
286 // buffers
294 ALOGE("%s: Stream %d: Can't prepare stream that has outstanding buffers",
344 // Get next buffer - this may allocate, and take a while for large buffers
354 // Check if we still have buffers left to allocate
359 // Done with prepare - mark stream as such, and return all buffers
384 // Return all valid buffers to stream, in ERROR state to indicate
412 // If any buffers have been handed to the HAL, the stream cannot be torn down.
414 ALOGE("%s: Stream %d: Can't tear down a stream that has outstanding buffers",
700 Vector<buffer_handle_t*> buffers; local
[all...]
/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/
H A DMediaCodec.cpp617 const Vector<BufferInfo> &buffers = mPortBuffers[portIndex]; local
618 for (size_t i = 0; i < buffers.size(); ++i) {
619 const BufferInfo &info = buffers.itemAt(i);
863 status_t MediaCodec::getWidevineLegacyBuffers(Vector<sp<ABuffer> > *buffers) const {
866 msg->setPointer("buffers", buffers);
873 status_t MediaCodec::getInputBuffers(Vector<sp<ABuffer> > *buffers) const {
876 msg->setPointer("buffers", buffers);
882 status_t MediaCodec::getOutputBuffers(Vector<sp<ABuffer> > *buffers) cons
941 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
1348 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2374 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2408 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
[all...]
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp330 Vector<sp<ABuffer> > buffers; local
331 err = encoder->getOutputBuffers(&buffers);
333 fprintf(stderr, "Unable to get output buffers (err=%d)\n", err);
400 fwrite(buffers[bufIndex]->data(), 1, size, rawFp);
416 err = muxer->writeSampleData(buffers[bufIndex], trackIdx,
460 ALOGV("Encoder buffers changed");
461 err = encoder->getOutputBuffers(&buffers);
464 "Unable to get new output buffers (err=%d)\n", err);
/frameworks/base/libs/hwui/debug/
H A Dnullgles.cpp29 void glGenCommon(GLsizei n, GLuint *buffers) { argument
33 buffers[i] = ++nextId;
37 void glGenBuffers(GLsizei n, GLuint *buffers) { argument
38 glGenCommon(n, buffers);
190 void glDeleteBuffers(GLsizei n, const GLuint *buffers) {} argument
/frameworks/native/opengl/libagl/
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/av/include/media/stagefright/
H A DMediaCodec.h152 status_t getWidevineLegacyBuffers(Vector<sp<ABuffer> > *buffers) const;
154 status_t getInputBuffers(Vector<sp<ABuffer> > *buffers) const;
155 status_t getOutputBuffers(Vector<sp<ABuffer> > *buffers) const;
/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/wilhelm/tests/sandbox/
H A Dplaybq.c44 void *buffers; variable
45 SLuint32 byteOrder; // desired to use for PCM buffers
94 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which;
250 fprintf(stderr, " -n# number of buffers (default 2)\n");
350 buffers = malloc(framesPerBuffer * sfframesize * numBuffers);
495 // loop until EOF or no more buffers
497 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which;
H A Dplaybq.cpp44 void *buffers; variable
45 SLuint32 byteOrder; // desired to use for PCM buffers
94 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which;
250 fprintf(stderr, " -n# number of buffers (default 2)\n");
350 buffers = malloc(framesPerBuffer * sfframesize * numBuffers);
495 // loop until EOF or no more buffers
497 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which;

Completed in 719 milliseconds

1234