Home
last modified time | relevance | path

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

1234

/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.cpp74 OMX_ERRORTYPE OMXVideoEncoderVP8::ProcessorProcess(OMX_BUFFERHEADERTYPE **buffers, in ProcessorProcess() argument
88 if(buffers[INPORT_INDEX]->nFlags & OMX_BUFFERFLAG_EOS) { in ProcessorProcess()
93 if (!buffers[INPORT_INDEX]->nFilledLen) { in ProcessorProcess()
98 inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset; in ProcessorProcess()
99 inBuf.size = buffers[INPORT_INDEX]->nFilledLen; in ProcessorProcess()
101 inBuf.timeStamp = buffers[INPORT_INDEX]->nTimeStamp; in ProcessorProcess()
125 buffers[OUTPORT_INDEX]->pBuffer + buffers[OUTPORT_INDEX]->nOffset; in ProcessorProcess()
127 outBuf.bufferSize = buffers[OUTPORT_INDEX]->nAllocLen - buffers[OUTPORT_INDEX]->nOffset; in ProcessorProcess()
162 outtimestamp = buffers[INPORT_INDEX]->nTimeStamp; in ProcessorProcess()
218 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/interfaces/graphics/allocator/2.0/default/
DGralloc0Allocator.cpp72 std::vector<hidl_handle> buffers; in allocate() local
73 buffers.reserve(count); in allocate()
94 buffers.emplace_back(hidl_handle(tmpBuffer)); in allocate()
100 hidl_buffers.setToExternal(buffers.data(), buffers.size()); in allocate()
105 for (const auto& buffer : buffers) { in allocate()
DGralloc1Allocator.cpp135 std::vector<hidl_handle> buffers; in allocate() local
136 buffers.reserve(count); in allocate()
157 buffers.emplace_back(hidl_handle(tmpBuffer)); in allocate()
165 hidl_buffers.setToExternal(buffers.data(), buffers.size()); in allocate()
170 for (const auto& buffer : buffers) { in allocate()
/hardware/interfaces/graphics/allocator/2.0/
DIAllocator.hal34 * Allocates buffers with the properties specified by the descriptor.
36 * @param descriptor specifies the properties of the buffers to allocate.
37 * @param count is the number of buffers to allocate.
45 * the buffers, when the concept of consecutive rows is defined.
47 * @return buffers is an array of raw handles to the newly allocated
48 * buffers.
56 vec<handle> buffers);
/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
/hardware/intel/common/wrs_omxil_core/base/src/
Dcomponentbase.cpp1907 OMX_BUFFERHEADERTYPE **buffers[nr_ports]; in Work() local
1918 memset(buffers, 0, sizeof(OMX_BUFFERHEADERTYPE *) * nr_ports); in Work()
1928 buffers[i] = &buffers_hdr[i]; in Work()
1934 ret = ProcessorProcess(buffers, &retain[0], nr_ports); in Work()
1941 PostProcessBuffers(buffers, &retain[0]); in Work()
1948 ports[i]->RetainThisBuffer(*buffers[i], false); in Work()
1951 ports[i]->RetainThisBuffer(*buffers[i], true); in Work()
1954 ports[i]->RetainAndReturnBuffer(buffers_org[i], *buffers[i]); in Work()
1959 ports[i]->ReturnThisBuffer(*buffers[i]); in Work()
1970 ports[i]->ReturnThisBuffer(*buffers[i]); in Work()
[all …]
/hardware/interfaces/camera/device/3.2/
DICameraDeviceSession.hal87 * stream buffers before using buffers from that stream in a request.
92 * buffers for it must be freed after the configureStreams() call returns.
98 * module to allocate the gralloc buffers for each stream.
100 * Newly allocated buffers may be included in a capture request at any time
111 * all in-flight input and output buffers have been returned and their
164 * each stream, including maximum buffers, the usage flags, and the
180 * request and its associated buffers are available. In a normal preview
194 * buffers may simply provide sync fences to wait on. Multiple requests are
200 * is responsible for waiting on and closing the buffers' fences and
210 * The input/output buffers provided by the framework in each request
[all …]
DICameraDeviceCallback.hal25 * These methods are used to return metadata and image buffers for a completed
42 * metadata and low-resolution buffers to be returned in one call, and
43 * post-processed JPEG buffers in a later call, once it is available. Each
45 * metadata or buffers for. Only one call to processCaptureResult
54 * output buffers or result metadata is not allowed.
56 * The order of returning metadata and buffers for a single result does not
57 * matter, but buffers for a given stream must be returned in FIFO order. So
76 * The output buffers do not need to be filled yet; the framework must wait
79 * possible, even if some or all of the output buffers are still in
85 * return an empty metadata buffer, but still provide the output buffers and
[all …]
Dtypes.hal29 * the producer or the consumer for that stream, and how the buffers of the
34 * This stream is an output stream; the camera HAL device must fill buffers
40 * This stream is an input stream; the camera HAL device must read buffers
218 * The width in pixels of the buffers in this stream
223 * The height in pixels of the buffers in this stream
228 * The pixel format for the buffers in this stream.
243 * allocating the gralloc buffers for each stream.
260 * dimensions define the memory layout and structure of the stream buffers,
281 * 720 and 1280 respectively, camera service must supply buffers of size
319 * want to set aside more buffers for batch mode operation (see
[all …]
/hardware/interfaces/camera/device/1.0/
DICameraDevicePreviewCallback.hal59 * Set the number of preview buffers needed by the HAL.
61 * @param count The maximum number of preview buffers to allocate.
67 * Set the dimensions and format of future preview buffers.
99 * Get the minimum number of buffers the preview consumer endpoint needs
103 * @return count The number of buffers the consumer has requested.
115 * @param timestamp The timestamp to set for future buffers.
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield/
DAndroid.mk34 ../../common/buffers/BufferCache.cpp \
35 ../../common/buffers/GraphicBuffer.cpp \
36 ../../common/buffers/BufferManager.cpp \
106 $(LOCAL_PATH)/../../common/buffers \
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield_plus/
DAndroid.mk34 ../../common/buffers/BufferCache.cpp \
35 ../../common/buffers/GraphicBuffer.cpp \
36 ../../common/buffers/BufferManager.cpp \
109 $(LOCAL_PATH)/../../common/buffers \
/hardware/intel/img/hwcomposer/moorefield_hdmi/
DAndroid.mk42 common/buffers/BufferCache.cpp \
43 common/buffers/GraphicBuffer.cpp \
44 common/buffers/BufferManager.cpp \
/hardware/interfaces/graphics/bufferqueue/1.0/
DIGraphicBufferProducer.hal176 * setMaxDequeuedBufferCount sets the maximum number of buffers that can be
198 * buffers after this call.
210 * buffers without blocking. Typically this is used for triple-buffering
279 * max numbers of buffers that can be allocated at once.
281 * too many buffers to be dequeued, either because
363 * this buffer would cause too many buffers to be simultaneously dequeued.
378 * too many buffers to be dequeued, either because
421 * max numbers of buffers that can be allocated at once
557 * A sideband stream is a device-specific mechanism for passing buffers
560 * whether to acquire buffers from the sideband stream or from the queued
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/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[]);

1234