/frameworks/wilhelm/src/android/ |
H A D | android_StreamPlayer.cpp | 68 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());
|
H A D | android_StreamPlayer.h | 44 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/wilhelm/tests/sandbox/ |
H A D | playbq.cpp | 44 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;
|
/frameworks/rs/tests/java_api/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); 71 buffers.outAllocation.copyTo(buffers.outputImage); 75 return buffers.outputImage; 83 Bitmap mBitmap = Bitmap.createBitmap(buffers [all...] |
/frameworks/rs/tests/java_api/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); 69 buffers.outAllocation.copyTo(buffers.outputImage); 73 return buffers.outputImage; 81 Bitmap mBitmap = Bitmap.createBitmap(buffers [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiDiagnostics.java | 301 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/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 115 // of currently dequeued buffers 146 BQ_LOGE("setMaxDequeuedBufferCount: %d dequeued buffers would " 269 // mMaxDequeuedBufferCount buffers. 281 // our slots are empty but we have many buffers in the queue. This can 283 // it looks like we have too many buffers queued up. 298 // If we're calling this from dequeue, prefer free buffers 317 // If no buffer is found, or if the queue has too many buffers 414 // If we are not allowed to allocate new buffers, 992 // Waiting here allows for two full buffers to be queued but not a 1092 // All BufferQueue buffers hav 1353 Vector<sp<GraphicBuffer>> buffers; local [all...] |
/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...] |
H A D | Surface_test.cpp | 116 // Verify the screenshot works with no protected buffers. 346 ANativeWindowBuffer* buffers[BUFFER_COUNT]; local 347 // Allocate buffers because detachNextBuffer requires allocated buffers 349 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); 352 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[i], fences[i])); 368 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[0], &fences[0])); 371 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[0], fences[0])); 380 // Re-allocate buffers since all buffers ar [all...] |
/frameworks/native/libs/vr/libpdx/ |
H A D | encoder_performance_test.cpp | 98 // Simple callback function to clear/reset the input/output buffers for 280 const std::vector<BufferInfo>& buffers) { 302 buffers.size() * (buffer_column_width + buffer_column_separator.size()); 318 for (const auto& buffer_info : buffers) { 328 for (size_t i = 0; i < buffers.size(); i++) { 346 for (const auto& buffer_info : buffers) { 368 for (const auto& buffer_info : buffers) { 490 // Various backing buffers to run the tests on. 491 std::vector<TestRunner::BufferInfo> buffers; local 494 buffers 279 RunTests(size_t iteration_count, const std::vector<BufferInfo>& buffers) argument [all...] |
/frameworks/native/opengl/include/GLES/ |
H A D | gl.h | 655 GL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 675 GL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
|
H A D | glext.h | 1219 GL_API void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 1228 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
|
/frameworks/native/opengl/include/GLES2/ |
H A D | gl2.h | 413 typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); 434 typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); 556 GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 577 GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
|
H A D | gl2ext.h | 2852 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 2861 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
|
/frameworks/native/opengl/include/GLES3/ |
H A D | gl3.h | 413 typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); 434 typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); 556 GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 577 GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
|
H A D | gl31.h | 413 typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); 434 typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); 556 GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 577 GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
|
H A D | gl32.h | 413 typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); 434 typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); 556 GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 577 GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
|
/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);
|
H A D | array.cpp | 1451 // buffers 1534 void glDeleteBuffers(GLsizei n, const GLuint* buffers) argument 1543 GLuint name = buffers[i]; 1545 // unbind bound deleted buffers... 1580 c->bufferObjectManager->deleteBuffers(n, buffers); 1581 c->bufferObjectManager->recycleTokens(n, buffers); 1584 void glGenBuffers(GLsizei n, GLuint* buffers) argument 1591 c->bufferObjectManager->getToken(n, buffers);
|
H A D | egl.cpp | 598 if (depth.data != gl->rasterizer.state.buffers.depth.data) 697 if (depth.data != gl->rasterizer.state.buffers.depth.data) 781 if (depth.data != gl->rasterizer.state.buffers.depth.data)
|
H A D | matrix.cpp | 676 y = c->rasterizer.state.buffers.color.height - (y + h); 696 GLint H = c->rasterizer.state.buffers.color.height;
|
H A D | state.cpp | 370 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;
|
H A D | texture.cpp | 689 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 793 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 1327 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 1450 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 1507 const GGLSurface& readSurface = c->rasterizer.state.buffers.read.s;
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 1398 list<sp<GraphicBuffer> > buffers; local 1410 // and push it onto the buffers list, so that it 1416 buffers.push_back(texture); 1444 // Free the layer list and graphic buffers
|