Home
last modified time | relevance | path

Searched refs:bufferId (Results 1 – 21 of 21) sorted by relevance

/external/v4l2_codec2/plugin_store/
DC2VdaPooledBlockPool.cpp76 std::optional<uint32_t> bufferId = getBufferIdFromGraphicBlock(*fetchBlock); in fetchGraphicBlock() local
77 if (!bufferId) { in fetchGraphicBlock()
83 mBufferIds.insert(*bufferId); in fetchGraphicBlock()
86 if (mBufferIds.find(*bufferId) != mBufferIds.end()) { in fetchGraphicBlock()
87 ALOGV("Returned buffer id = %u", *bufferId); in fetchGraphicBlock()
/external/skqp/src/ports/
DSkFontMgr_fuchsia.cpp103 uint32_t bufferId; member
107 return std::tie(bufferId, ttcIndex) == std::tie(other.bufferId, other.ttcIndex); in operator ==()
185 sk_sp<SkData> GetOrCreateSkData(int bufferId, const fuchsia::mem::Buffer& buffer) const;
186 void OnSkDataDeleted(int bufferId) const;
367 sk_sp<SkData> SkFontMgr_Fuchsia::GetOrCreateSkData(int bufferId, argument
371 auto iter = fBufferCache.find(bufferId);
377 … [font_mgr, bufferId]() { font_mgr->OnSkDataDeleted(bufferId); });
381 fBufferCache[bufferId] = data.get();
385 void SkFontMgr_Fuchsia::OnSkDataDeleted(int bufferId) const {
386 SK_UNUSED bool wasFound = fBufferCache.erase(bufferId) != 0;
[all …]
/external/skia/src/ports/
DSkFontMgr_fuchsia.cpp179 uint32_t bufferId; member
183 return std::tie(bufferId, ttcIndex) == std::tie(other.bufferId, other.ttcIndex); in operator ==()
260 sk_sp<SkData> GetOrCreateSkData(int bufferId, const fuchsia::mem::Buffer& buffer) const;
261 void OnSkDataDeleted(int bufferId) const;
453 sk_sp<SkData> SkFontMgr_Fuchsia::GetOrCreateSkData(int bufferId, in GetOrCreateSkData() argument
457 auto iter = fBufferCache.find(bufferId); in GetOrCreateSkData()
463 buffer, [font_mgr, bufferId]() { font_mgr->OnSkDataDeleted(bufferId); }); in GetOrCreateSkData()
467 fBufferCache[bufferId] = data.get(); in GetOrCreateSkData()
471 void SkFontMgr_Fuchsia::OnSkDataDeleted(int bufferId) const { in OnSkDataDeleted()
472 SK_UNUSED bool wasFound = fBufferCache.erase(bufferId) != 0; in OnSkDataDeleted()
[all …]
/external/v4l2_codec2/components/
DV4L2Encoder.cpp721 size_t bufferId = buffer->bufferId(); in enqueueInputBuffer() local
752 index, timestamp, bufferId); in enqueueInputBuffer()
754 ALOG_ASSERT(!mInputBuffers[bufferId]); in enqueueInputBuffer()
755 mInputBuffers[bufferId] = std::move(frame); in enqueueInputBuffer()
780 size_t bufferId = buffer->bufferId(); in enqueueOutputBuffer() local
790 ALOG_ASSERT(!mOutputBuffers[bufferId]); in enqueueOutputBuffer()
791 mOutputBuffers[bufferId] = std::move(bitstreamBuffer); in enqueueOutputBuffer()
792 ALOGV("%s(): Queued buffer in output queue (bufferId: %zu)", __func__, bufferId); in enqueueOutputBuffer()
819 uint64_t index = mInputBuffers[buffer->bufferId()]->index(); in dequeueInputBuffer()
824 index, timestamp, buffer->bufferId()); in dequeueInputBuffer()
[all …]
DV4L2Decoder.cpp412 const size_t bufferId = dequeuedBuffer->bufferId(); in serviceDeviceTask() local
417 bufferId, bitstreamId, bytesUsed, isLast); in serviceDeviceTask()
420 auto it = mFrameAtDevice.find(bufferId); in serviceDeviceTask()
422 bufferId); in serviceDeviceTask()
434 ALOGV("Recycle empty buffer %zu back to V4L2 output queue.", bufferId); in serviceDeviceTask()
436 auto outputBuffer = mOutputQueue->getFreeBuffer(bufferId); in serviceDeviceTask()
437 ALOG_ASSERT(outputBuffer, "V4L2 output queue slot %zu is not freed.", bufferId); in serviceDeviceTask()
444 mFrameAtDevice.insert(std::make_pair(bufferId, std::move(frame))); in serviceDeviceTask()
626 uint32_t v4l2Id = outputBuffer->bufferId(); in onVideoFrameReady()
DVideoFramePool.cpp211 std::optional<uint32_t> bufferId = getBufferIdFromGraphicBlock(*mBlockPool, *block); in getVideoFrameTask() local
215 if (bufferId && frame) { in getVideoFrameTask()
216 frameWithBlockId = std::make_pair(std::move(frame), *bufferId); in getVideoFrameTask()
/external/deqp/external/openglcts/modules/common/
DglcLayoutLocationTests.cpp81 deUint32 bufferId; // used only by GL_TEXTURE_BUFFER member
83 ResultData(deUint32 tId) : textureId(tId), bufferId(0) in ResultData()
87 ResultData(deUint32 tId, deUint32 bId) : textureId(tId), bufferId(bId) in ResultData()
173 deUint32 bufferId; in createTextureBuffer() local
174 gl.genBuffers(1, &bufferId); in createTextureBuffer()
175 gl.bindBuffer(GL_TEXTURE_BUFFER, bufferId); in createTextureBuffer()
181 gl.texBuffer(GL_TEXTURE_BUFFER, internalFormat, bufferId); in createTextureBuffer()
182 return ResultData(textureId, bufferId); in createTextureBuffer()
530 if (resultData.bufferId) in iterate()
531 gl.deleteBuffers(1, &resultData.bufferId); in iterate()
/external/deqp/modules/gles3/functional/
Des3fBufferObjectQueryTests.cpp251 GLuint bufferId = 0; in test() local
252 glGenBuffers(1, &bufferId); in test()
253 glBindBuffer(m_bufferTarget, bufferId); in test()
258 glDeleteBuffers(1, &bufferId); in test()
458 GLuint bufferId = 0; in test() local
459 glGenBuffers(1, &bufferId); in test()
460 glBindBuffer(GL_ARRAY_BUFFER, bufferId); in test()
477 glDeleteBuffers(1, &bufferId); in test()
/external/v4l2_codec2/common/
DV4L2Device.cpp92 const struct v4l2_format& format, size_t bufferId);
104 const struct v4l2_format& format, size_t bufferId);
122 const struct v4l2_format& format, size_t bufferId) { in create() argument
124 std::unique_ptr<V4L2Buffer> buffer(new V4L2Buffer(device, type, memory, format, bufferId)); in create()
132 enum v4l2_memory memory, const struct v4l2_format& format, size_t bufferId) in V4L2Buffer() argument
143 mV4l2Buffer.index = bufferId; in V4L2Buffer()
221 void returnBuffer(size_t bufferId);
237 void V4L2BuffersList::returnBuffer(size_t bufferId) { in returnBuffer() argument
240 auto inserted = mFreeBuffers.emplace(bufferId); in returnBuffer()
255 size_t bufferId = *iter; in getFreeBuffer() local
[all …]
/external/deqp/modules/gles2/functional/
Des2fBufferObjectQueryTests.cpp166 GLuint bufferId = 0; in test() local
167 glGenBuffers(1, &bufferId); in test()
168 glBindBuffer(m_bufferTarget, bufferId); in test()
173 glDeleteBuffers(1, &bufferId); in test()
/external/libdrm/
Dxf86drmMode.h281 extern drmModeFBPtr drmModeGetFB(int fd, uint32_t bufferId);
282 extern drmModeFB2Ptr drmModeGetFB2(int fd, uint32_t bufferId);
306 extern int drmModeRmFB(int fd, uint32_t bufferId);
311 extern int drmModeDirtyFB(int fd, uint32_t bufferId,
327 int drmModeSetCrtc(int fd, uint32_t crtcId, uint32_t bufferId,
Dxf86drmMode.c313 drm_public int drmModeRmFB(int fd, uint32_t bufferId) in drmModeRmFB() argument
315 return DRM_IOCTL(fd, DRM_IOCTL_MODE_RMFB, &bufferId); in drmModeRmFB()
343 drm_public int drmModeDirtyFB(int fd, uint32_t bufferId, in drmModeDirtyFB() argument
349 dirty.fb_id = bufferId; in drmModeDirtyFB()
392 drm_public int drmModeSetCrtc(int fd, uint32_t crtcId, uint32_t bufferId, in drmModeSetCrtc() argument
402 crtc.fb_id = bufferId; in drmModeSetCrtc()
/external/angle/src/libANGLE/renderer/gl/
DVertexArrayGL.cpp674 GLuint bufferId = GetNativeBufferID(arrayBuffer); in updateAttribPointer() local
675 stateManager->bindBuffer(gl::BufferBinding::Array, bufferId); in updateAttribPointer()
691 mNativeState->bindings[attribIndex].buffer = bufferId; in updateAttribPointer()
786 GLuint bufferId = GetNativeBufferID(arrayBuffer); in updateBindingBuffer() local
789 functions->bindVertexBuffer(static_cast<GLuint>(bindingIndex), bufferId, binding.getOffset(), in updateBindingBuffer()
795 mNativeState->bindings[bindingIndex].buffer = bufferId; in updateBindingBuffer()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderPrimitiveQueries.cpp480 void GeometryShaderPrimitiveQueries::readPrimitiveQueryValues(glw::GLint bufferId, glw::GLuint* nPr… in readPrimitiveQueryValues() argument
486 gl.bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0, bufferId); in readPrimitiveQueryValues()
DesextcGeometryShaderPrimitiveQueries.hpp114 void readPrimitiveQueryValues(glw::GLint bufferId, glw::GLuint* nPrimitivesGenerated,
/external/angle/src/tests/gl_tests/
DAtomicCounterBufferTest.cpp290 int32_t bufferId = (even) ? 0 : atomicCounterBuffer[bufferIndex]; in TEST_P() local
292 glBindBufferBase(GL_ATOMIC_COUNTER_BUFFER, bindingPoint, bufferId); in TEST_P()
/external/v4l2_codec2/common/include/v4l2_codec2/common/
DV4L2Device.h98 size_t bufferId() const;
147 size_t bufferId() const;
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateTests.cpp1092 deUint32 bufferId; // Which buffer to use for the descriptor update. in iterate() member
1150 descWrite.bufferId = deRandom_getUint32(&m_random) % kNumBuffers; in iterate()
1163 val0[c] = bufferContents[lastWrite.bufferId][lastWrite.offset / 4 + c]; in iterate()
1164 val1[c] = bufferContents[lastWrite.bufferId][lastWrite.offset / 4 + 4 + c]; in iterate()
1190 descWrite.bufferId = deRandom_getUint32(&m_random) % kNumBuffers; in iterate()
1205 buffers[write.bufferId]->get(), // VkBuffer buffer in iterate()
/external/llvm-project/mlir/lib/IR/
DDiagnostics.cpp512 unsigned bufferId = impl->getSourceMgrBufferIDForFile(mgr, loc.getFilename()); in convertLocToSMLoc() local
513 if (!bufferId) in convertLocToSMLoc()
515 return mgr.FindLocForLineAndColumn(bufferId, loc.getLine(), loc.getColumn()); in convertLocToSMLoc()
/external/angle/src/libANGLE/capture/
DFrameCapture.h420 void eraseBufferDataMapEntry(const gl::BufferID bufferId) in eraseBufferDataMapEntry() argument
422 const auto &bufferDataInfo = mBufferDataMap.find(bufferId); in eraseBufferDataMapEntry()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h1711 uint32 bufferId; member