Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 83) sorted by relevance

1234

/hardware/ti/omap4-aah/camera/
DMemoryManager.cpp75 CameraBuffer *buffers = new CameraBuffer [numArrayEntriesC]; in allocateBufferList() local
76 if(!buffers) { in allocateBufferList()
83 memset(buffers, 0, sizeof(CameraBuffer) * numArrayEntriesC); in allocateBufferList()
114 buffers[i].type = CAMERA_BUFFER_ION; in allocateBufferList()
115 buffers[i].opaque = data; in allocateBufferList()
116 buffers[i].mapped = data; in allocateBufferList()
117 buffers[i].ion_handle = handle; in allocateBufferList()
118 buffers[i].ion_fd = mIonFd; in allocateBufferList()
119 buffers[i].fd = mmap_fd; in allocateBufferList()
120 buffers[i].size = size; in allocateBufferList()
[all …]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/
DTrustletSession.cpp55 if (!buffers.empty()) { in ~TrustletSession()
56 LOG_W("%s: Mapped buffers still available %u", __func__, buffers.size()); in ~TrustletSession()
58 for ( it = buffers.begin() ; it != buffers.end(); it++ ) in ~TrustletSession()
61 buffers.clear(); in ~TrustletSession()
91 if (buffers.find(pWsm->handle) != buffers.end()) { in addBulkBuff()
95 buffers[pWsm->handle] = pWsm; in addBulkBuff()
102 if (buffers.find(handle) == buffers.end()) { in removeBulkBuff()
105 CWsm_ptr pWsm = buffers[handle]; in removeBulkBuff()
107 buffers.erase(handle); in removeBulkBuff()
114 if (buffers.empty()) { in popBulkBuff()
[all …]
DTrustletSession.h45 std::map<uint32_t, CWsm_ptr> buffers; variable
/hardware/intel/common/libva/va/x11/
Ddri2_util.c53 union dri_buffer buffers[5]; member
121 VA_DRI2Buffer *buffers; in dri2GetRenderingBuffer() local
129 buffers = VA_DRI2GetBuffers(ctx->native_dpy, dri_drawable->x_drawable, in dri2GetRenderingBuffer()
132 assert(buffers); in dri2GetRenderingBuffer()
133 if (buffers == NULL) in dri2GetRenderingBuffer()
139 dri2_drawable->buffers[i].dri2.attachment = buffers[i].attachment; in dri2GetRenderingBuffer()
140 dri2_drawable->buffers[i].dri2.name = buffers[i].name; in dri2GetRenderingBuffer()
141 dri2_drawable->buffers[i].dri2.pitch = buffers[i].pitch; in dri2GetRenderingBuffer()
142 dri2_drawable->buffers[i].dri2.cpp = buffers[i].cpp; in dri2GetRenderingBuffer()
143 dri2_drawable->buffers[i].dri2.flags = buffers[i].flags; in dri2GetRenderingBuffer()
[all …]
Dva_dri2.c254 VA_DRI2Buffer *buffers; in VA_DRI2GetBuffers() local
281 buffers = Xmalloc(rep.count * sizeof buffers[0]); in VA_DRI2GetBuffers()
282 if (buffers == NULL) { in VA_DRI2GetBuffers()
291 buffers[i].attachment = repBuffer.attachment; in VA_DRI2GetBuffers()
292 buffers[i].name = repBuffer.name; in VA_DRI2GetBuffers()
293 buffers[i].pitch = repBuffer.pitch; in VA_DRI2GetBuffers()
294 buffers[i].cpp = repBuffer.cpp; in VA_DRI2GetBuffers()
295 buffers[i].flags = repBuffer.flags; in VA_DRI2GetBuffers()
301 return buffers; in VA_DRI2GetBuffers()
/hardware/intel/common/omx-components/videocodec/
DOMXVideoEncoderH263.cpp88 OMX_BUFFERHEADERTYPE **buffers, in ProcessorProcess() argument
104 LOGV_IF(buffers[INPORT_INDEX]->nFlags & OMX_BUFFERFLAG_EOS, in ProcessorProcess()
107 if (!buffers[INPORT_INDEX]->nFilledLen) { in ProcessorProcess()
112 inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset; in ProcessorProcess()
113 inBuf.size = buffers[INPORT_INDEX]->nFilledLen; in ProcessorProcess()
116 inBuf.timeStamp = buffers[INPORT_INDEX]->nTimeStamp; in ProcessorProcess()
121 outBuf.data = buffers[OUTPORT_INDEX]->pBuffer + buffers[OUTPORT_INDEX]->nOffset; in ProcessorProcess()
122 outBuf.bufferSize = buffers[OUTPORT_INDEX]->nAllocLen - buffers[OUTPORT_INDEX]->nOffset; in ProcessorProcess()
218 buffers[OUTPORT_INDEX]->nFilledLen = outfilledlen; in ProcessorProcess()
219 buffers[OUTPORT_INDEX]->nTimeStamp = outtimestamp; in ProcessorProcess()
[all …]
DOMXVideoEncoderMPEG4.cpp81 OMX_BUFFERHEADERTYPE **buffers, in ProcessorProcess() argument
95 LOGV_IF(buffers[INPORT_INDEX]->nFlags & OMX_BUFFERFLAG_EOS, in ProcessorProcess()
98 if (!buffers[INPORT_INDEX]->nFilledLen) { in ProcessorProcess()
103 inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset; in ProcessorProcess()
104 inBuf.size = buffers[INPORT_INDEX]->nFilledLen; in ProcessorProcess()
107 inBuf.timeStamp = buffers[INPORT_INDEX]->nTimeStamp; in ProcessorProcess()
112 buffers[OUTPORT_INDEX]->pBuffer + buffers[OUTPORT_INDEX]->nOffset; in ProcessorProcess()
114 outBuf.bufferSize = buffers[OUTPORT_INDEX]->nAllocLen - buffers[OUTPORT_INDEX]->nOffset; in ProcessorProcess()
222 buffers[OUTPORT_INDEX]->nFilledLen = outfilledlen; in ProcessorProcess()
223 buffers[OUTPORT_INDEX]->nTimeStamp = outtimestamp; in ProcessorProcess()
[all …]
DOMXVideoEncoderVP8.cpp73 OMX_ERRORTYPE OMXVideoEncoderVP8::ProcessorProcess(OMX_BUFFERHEADERTYPE **buffers, in ProcessorProcess() argument
86 if(buffers[INPORT_INDEX]->nFlags & OMX_BUFFERFLAG_EOS) { in ProcessorProcess()
91 if (!buffers[INPORT_INDEX]->nFilledLen) { in ProcessorProcess()
96 inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset; in ProcessorProcess()
97 inBuf.size = buffers[INPORT_INDEX]->nFilledLen; in ProcessorProcess()
99 inBuf.timeStamp = buffers[INPORT_INDEX]->nTimeStamp; in ProcessorProcess()
102 buffers[OUTPORT_INDEX]->pBuffer + buffers[OUTPORT_INDEX]->nOffset; in ProcessorProcess()
104 outBuf.bufferSize = buffers[OUTPORT_INDEX]->nAllocLen - buffers[OUTPORT_INDEX]->nOffset; in ProcessorProcess()
139 outtimestamp = buffers[INPORT_INDEX]->nTimeStamp; in ProcessorProcess()
195 buffers[OUTPORT_INDEX]->nFilledLen = outfilledlen; in ProcessorProcess()
[all …]
DOMXVideoEncoderAVC.cpp338 OMX_BOOL OMXVideoEncoderAVC::ProcessCacheOperation(OMX_BUFFERHEADERTYPE **buffers) { in ProcessCacheOperation() argument
344 uint32_t encodeInfo = (uint32_t) buffers[INPORT_INDEX]->pPlatformPrivate; in ProcessCacheOperation()
353 eInfo.NotStopFrame, buffers[INPORT_INDEX]->nFlags & OMX_BUFFERFLAG_EOS); in ProcessCacheOperation()
356 …if (buffers[INPORT_INDEX]->nFilledLen == 0 && buffers[INPORT_INDEX]->nFlags & OMX_BUFFERFLAG_EOS) { in ProcessCacheOperation()
365 mBFrameList.push_front(buffers[INPORT_INDEX]); in ProcessCacheOperation()
392 if (buffers[INPORT_INDEX]->nFlags & OMX_BUFFERFLAG_EOS && i == 0 ) { in ProcessCacheOperation()
395 buffers[INPORT_INDEX]->nFlags &= ~OMX_BUFFERFLAG_EOS; in ProcessCacheOperation()
414 ports[INPORT_INDEX]->PushThisBuffer(buffers[INPORT_INDEX]); //put it at the tail in ProcessCacheOperation()
430 buffers[INPORT_INDEX]->pPlatformPrivate = (OMX_PTR) encodeInfo; in ProcessCacheOperation()
437 OMX_BUFFERHEADERTYPE **buffers, OMX_BOOL *outBufReturned) { in ProcessDataRetrieve() argument
[all …]
DOMXVideoEncoderAVC.h79 OMX_BUFFERHEADERTYPE **buffers,
120 OMX_BOOL ProcessCacheOperation(OMX_BUFFERHEADERTYPE **buffers);
122 OMX_BUFFERHEADERTYPE **buffers,
DOMXVideoEncoderH263.h34 OMX_BUFFERHEADERTYPE **buffers,
DOMXVideoEncoderMPEG4.h35 OMX_BUFFERHEADERTYPE **buffers,
DOMXVideoEncoderVP8.h16 …virtual OMX_ERRORTYPE ProcessorProcess(OMX_BUFFERHEADERTYPE **buffers, buffer_retain_t *retains, O…
/hardware/intel/common/libva/test/basic/
Dtestplan.txt48 - Create and destroy buffers
54 - Map & unmap buffers
68 - Render single MPEG2 I-frame, split buffers
69 - Slice split over 2 buffers
72 - Render single MPEG2 I-frame, split buffers
73 - Slice split over 3 buffers
Dtest_vaSurfaceAttrib.c118 vaSurfaceExternBuf.buffers = (unsigned long*)malloc(sizeof(unsigned int)); in test()
119 vaSurfaceExternBuf.buffers[0] = usrbuf; in test()
/hardware/intel/common/wrs_omxil_core/base/src/
Dcomponentbase.cpp1896 OMX_BUFFERHEADERTYPE **buffers[nr_ports]; in Work() local
1907 memset(buffers, 0, sizeof(OMX_BUFFERHEADERTYPE *) * nr_ports); in Work()
1917 buffers[i] = &buffers_hdr[i]; in Work()
1923 ret = ProcessorProcess(buffers, &retain[0], nr_ports); in Work()
1930 PostProcessBuffers(buffers, &retain[0]); in Work()
1937 ports[i]->RetainThisBuffer(*buffers[i], false); in Work()
1940 ports[i]->RetainThisBuffer(*buffers[i], true); in Work()
1943 ports[i]->RetainAndReturnBuffer(buffers_org[i], *buffers[i]); in Work()
1948 ports[i]->ReturnThisBuffer(*buffers[i]); in Work()
1959 ports[i]->ReturnThisBuffer(*buffers[i]); in Work()
[all …]
/hardware/intel/img/libdrm/libdrm/nouveau/
Dnouveau_pushbuf.c102 r->bo_index = pbbo - nvpb->buffers; in nouveau_pushbuf_emit_reloc()
244 nvpb->buffers = calloc(NOUVEAU_GEM_MAX_BUFFERS, in nouveau_pushbuf_init()
277 req.buffers = (uint64_t)(unsigned long)nvpb->buffers; in nouveau_pushbuf_flush()
297 req.buffers = (uint64_t)(unsigned long)nvpb->buffers; in nouveau_pushbuf_flush()
310 struct drm_nouveau_gem_pushbuf_bo *pbbo = &nvpb->buffers[i]; in nouveau_pushbuf_flush()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXReprocess.cpp33 CameraBuffer* buffers, in setParametersReprocess() argument
44 if (!buffers) { in setParametersReprocess()
51 w = buffers[0].width; in setParametersReprocess()
52 h = buffers[0].height; in setParametersReprocess()
53 s = buffers[0].stride; in setParametersReprocess()
55 valstr = buffers[0].format; in setParametersReprocess()
/hardware/intel/img/hwcomposer/
DAndroid.mk39 common/buffers/BufferCache.cpp \
40 common/buffers/GraphicBuffer.cpp \
41 common/buffers/BufferManager.cpp \
/hardware/intel/img/libdrm/shared-core/
Dnouveau_drm.h143 uint64_t buffers; member
154 uint64_t buffers; member
/hardware/intel/img/hwcomposer/ips/common/
DRotationBufferProvider.cpp159 unsigned long buffers; in createVaSurface() local
207 vaSurfaceAttrib->buffers = &buffers; in createVaSurface()
217 vaSurfaceAttrib->buffers[0] = khandle; in createVaSurface()
221 vaSurfaceAttrib->buffers[0] = payload->khandle; in createVaSurface()
/hardware/intel/common/libwsbm/src/
Dwsbm_manager.h120 struct _WsbmBufferObject *buffers[],
131 struct _WsbmBufferObject *buffers[]);
Dwsbm_slabpool.c134 struct _WsbmSlabBuffer *buffers; member
467 slab->buffers = calloc(numBuffers, sizeof(*slab->buffers)); in wsbmAllocSlab()
468 if (!slab->buffers) { in wsbmAllocSlab()
479 sBuf = slab->buffers; in wsbmAllocSlab()
501 sBuf = slab->buffers; in wsbmAllocSlab()
509 free(slab->buffers); in wsbmAllocSlab()
556 sBuf = slab->buffers; in wsbmSlabFreeBufferLocked()
565 free(slab->buffers); in wsbmSlabFreeBufferLocked()
/hardware/libhardware/modules/camera/
DStream.cpp206 buf_set->buffers[i]); in registerBuffers()
207 mBuffers[i] = buf_set->buffers[i]; in registerBuffers()
/hardware/intel/common/libva/va/
Dva_tpi.h65 unsigned long *buffers; /* buffer handles or user pointers */ member

1234