Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 87) 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/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/
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 …]
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 …]
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,
DOMXVideoEncoderMPEG4.h35 OMX_BUFFERHEADERTYPE **buffers,
DOMXVideoEncoderH263.h34 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.cpp1895 OMX_BUFFERHEADERTYPE **buffers[nr_ports]; in Work() local
1906 memset(buffers, 0, sizeof(OMX_BUFFERHEADERTYPE *) * nr_ports); in Work()
1916 buffers[i] = &buffers_hdr[i]; in Work()
1922 ret = ProcessorProcess(buffers, &retain[0], nr_ports); in Work()
1929 PostProcessBuffers(buffers, &retain[0]); in Work()
1936 ports[i]->RetainThisBuffer(*buffers[i], false); in Work()
1939 ports[i]->RetainThisBuffer(*buffers[i], true); in Work()
1942 ports[i]->RetainAndReturnBuffer(buffers_org[i], *buffers[i]); in Work()
1947 ports[i]->ReturnThisBuffer(*buffers[i]); in Work()
1958 ports[i]->ReturnThisBuffer(*buffers[i]); in Work()
[all …]
/hardware/qcom/camera/usbcamcore/src/
DQCameraMjpegDecode.cpp279 rc = jpeg_buffer_init(&source.buffers[0]); in decoder_test()
282 rc = jpeg_buffer_init(&source.buffers[1]); in decoder_test()
286 rc = jpeg_buffer_allocate(source.buffers[0], 0xA000, use_pmem); in decoder_test()
288 rc = jpeg_buffer_use_external_buffer(source.buffers[0], in decoder_test()
294 source.buffers[0], p_args->inputMjpegBuffer); in decoder_test()
298 rc = jpeg_buffer_allocate(source.buffers[1], 0xA000, use_pmem); in decoder_test()
300 rc = jpeg_buffer_use_external_buffer(source.buffers[1], in decoder_test()
306 source.buffers[1], p_args->inputMjpegBuffer); in decoder_test()
309 jpeg_buffer_destroy(&source.buffers[0]); in decoder_test()
310 jpeg_buffer_destroy(&source.buffers[1]); in decoder_test()
[all …]
/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/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/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/moorefield_hdmi/
DAndroid.mk42 common/buffers/BufferCache.cpp \
43 common/buffers/GraphicBuffer.cpp \
44 common/buffers/BufferManager.cpp \
/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[]);
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DRotationBufferProvider.cpp159 unsigned long buffers; in createVaSurface() local
208 vaSurfaceAttrib->buffers = &buffers; in createVaSurface()
218 vaSurfaceAttrib->buffers[0] = (uintptr_t) khandle; in createVaSurface()
222 vaSurfaceAttrib->buffers[0] = (uintptr_t) payload->khandle; in createVaSurface()
/hardware/libhardware/modules/camera/
DStream.cpp204 buf_set->buffers[i]); in registerBuffers()
205 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
/hardware/ti/omap4xxx/hwc/
Dhal_public.h109 int (*Post2)(framebuffer_device_t *fb, buffer_handle_t *buffers,

1234