Searched refs:planes (Results 1 - 25 of 41) sorted by relevance

12

/hardware/samsung_slsi/exynos5/libcsc/
H A Dcsc.c93 void *planes[CSC_MAX_PLANES]; member in struct:_CSC_BUFFER
121 (unsigned char *)handle->dst_buffer.planes[CSC_Y_PLANE],
122 (unsigned char *)handle->dst_buffer.planes[CSC_U_PLANE],
123 (unsigned char *)handle->dst_buffer.planes[CSC_V_PLANE],
124 (unsigned char *)handle->src_buffer.planes[CSC_RGB_PLANE],
131 (unsigned char *)handle->dst_buffer.planes[CSC_Y_PLANE],
132 (unsigned char *)handle->dst_buffer.planes[CSC_UV_PLANE],
133 (unsigned char *)handle->src_buffer.planes[CSC_RGB_PLANE],
155 (unsigned char *)handle->dst_buffer.planes[CSC_Y_PLANE],
156 (unsigned char *)handle->src_buffer.planes[CSC_Y_PLAN
[all...]
/hardware/samsung_slsi/exynos5/libexynosutils/
H A Dexynos5_format_v4l2.c350 int V4L2_PIX_2_YUV_INFO(unsigned int v4l2_pixel_format, unsigned int * bpp, unsigned int * planes) argument
355 *planes = 1;
363 *planes = 2;
369 *planes = 3;
376 *planes = 1;
383 *planes = 2;
387 *planes = 3;
399 unsigned int bpp, planes; local
401 if (V4L2_PIX_2_YUV_INFO(v4l2_pixel_format, &bpp, &planes) < 0)
409 unsigned int bpp, planes; local
[all...]
/hardware/samsung_slsi/exynos5/include/
H A Ds5p_fimc_v4l2.h102 int planes; member in struct:fimc_buf
116 int planes; member in struct:yuv_fmt_list
142 unsigned int planes; // number of planes for the Image member in struct:__anon1474
H A Dexynos_format.h151 * @param planes
152 * address of planes[out]
160 unsigned int *planes);
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Android.h73 OMX_OUT OMX_PTR planes);
82 OMX_OUT OMX_PTR planes);
90 OMX_OUT OMX_PTR planes);
H A DExynos_OSAL_Android.cpp75 OMX_OUT OMX_PTR planes)
84 ExynosVideoPlane *vplanes = (ExynosVideoPlane *) planes;
187 OMX_OUT OMX_PTR planes)
194 ret = Exynos_OSAL_LockANBHandle((OMX_U32)pANB->handle, width, height, format, planes);
224 OMX_OUT OMX_PTR planes)
233 ret = Exynos_OSAL_LockANBHandle((OMX_U32)pBuf, width, height, format, planes);
492 ExynosVideoPlane planes[MAX_BUFFER_PLANE]; local
533 &stride, planes);
534 pExynosPort->extendBufferHeader[i].buf_fd[0] = planes[0].fd;
535 pExynosPort->extendBufferHeader[i].pYUVBuf[0] = planes[
70 Exynos_OSAL_LockANBHandle( OMX_IN OMX_U32 handle, OMX_IN OMX_U32 width, OMX_IN OMX_U32 height, OMX_IN OMX_COLOR_FORMATTYPE format, OMX_OUT OMX_PTR planes) argument
181 Exynos_OSAL_LockANB( OMX_IN OMX_PTR pBuffer, OMX_IN OMX_U32 width, OMX_IN OMX_U32 height, OMX_IN OMX_COLOR_FORMATTYPE format, OMX_OUT OMX_U32 *pStride, OMX_OUT OMX_PTR planes) argument
218 Exynos_OSAL_LockMetaData( OMX_IN OMX_PTR pBuffer, OMX_IN OMX_U32 width, OMX_IN OMX_U32 height, OMX_IN OMX_COLOR_FORMATTYPE format, OMX_OUT OMX_U32 *pStride, OMX_OUT OMX_PTR planes) argument
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
H A DExynosVideoDecoder.c234 pVideoPlane = &pCtx->pInbuf[i].planes[j];
252 pVideoPlane = &pCtx->pOutbuf[i].planes[j];
843 struct v4l2_plane planes[VIDEO_DECODER_INBUF_PLANES]; local
897 buf.m.planes = planes;
907 pVideoPlane = &pCtx->pInbuf[i].planes[0];
910 buf.m.planes[0].length, PROT_READ | PROT_WRITE,
911 MAP_SHARED, pCtx->hDec, buf.m.planes[0].m.mem_offset);
918 pVideoPlane->allocSize = buf.m.planes[0].length;
933 pVideoPlane = &pCtx->pInbuf[i].planes[
962 struct v4l2_plane planes[VIDEO_DECODER_OUTBUF_PLANES]; local
1235 MFC_Decoder_Register_Inbuf( void *pHandle, ExynosVideoPlane *planes, int nPlanes) argument
1273 MFC_Decoder_Register_Outbuf( void *pHandle, ExynosVideoPlane *planes, int nPlanes) argument
1428 struct v4l2_plane planes[VIDEO_DECODER_INBUF_PLANES]; local
1524 struct v4l2_plane planes[VIDEO_DECODER_OUTBUF_PLANES]; local
1954 struct v4l2_plane planes[VIDEO_DECODER_OUTBUF_PLANES]; local
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/
H A DExynosVideoEncoder.c227 pVideoPlane = &pCtx->pInbuf[i].planes[j];
245 pVideoPlane = &pCtx->pOutbuf[i].planes[j];
1177 struct v4l2_plane planes[VIDEO_ENCODER_INBUF_PLANES]; local
1222 buf.m.planes = planes;
1234 pVideoPlane = &pCtx->pInbuf[i].planes[j];
1236 buf.m.planes[j].length, PROT_READ | PROT_WRITE,
1237 MAP_SHARED, pCtx->hEnc, buf.m.planes[j].m.mem_offset);
1245 pVideoPlane->allocSize = buf.m.planes[j].length;
1269 pVideoPlane = &pCtx->pInbuf[i].planes[
1299 struct v4l2_plane planes[VIDEO_ENCODER_OUTBUF_PLANES]; local
1613 MFC_Encoder_Register_Inbuf( void *pHandle, ExynosVideoPlane *planes, int nPlanes) argument
1650 MFC_Encoder_Register_Outbuf( void *pHandle, ExynosVideoPlane *planes, int nPlanes) argument
1803 struct v4l2_plane planes[VIDEO_ENCODER_INBUF_PLANES]; local
1887 struct v4l2_plane planes[VIDEO_ENCODER_OUTBUF_PLANES]; local
2039 struct v4l2_plane planes[VIDEO_ENCODER_OUTBUF_PLANES]; local
2180 struct v4l2_plane planes[VIDEO_ENCODER_INBUF_PLANES]; local
[all...]
/hardware/qcom/camera/QCamera2/HAL3/
H A DQCamera3Mem.cpp204 /* Plane 0 needs to be set separately. Set other planes in a loop */
205 bufDef.planes[0].length = offset.mp[0].len;
206 bufDef.planes[0].m.userptr = mMemInfo[index].fd;
207 bufDef.planes[0].data_offset = offset.mp[0].offset;
208 bufDef.planes[0].reserved[0] = 0;
210 bufDef.planes[i].length = offset.mp[i].len;
211 bufDef.planes[i].m.userptr = mMemInfo[i].fd;
212 bufDef.planes[i].data_offset = offset.mp[i].offset;
213 bufDef.planes[i].reserved[0] =
214 bufDef.planes[
[all...]
/hardware/samsung_slsi/exynos5/gralloc/
H A Dgralloc.cpp237 int err, planes, fd, fd1, fd2 = 0; local
260 planes = 3;
271 planes = 2;
283 planes = 1;
297 if (planes == 1) {
304 if (planes == 3) {
/hardware/samsung_slsi/exynos5/libhwjpeg/
H A DExynosJpegBase.cpp212 v4l2_buf.m.planes = plane;
216 v4l2_buf.m.planes[i].m.fd = (unsigned long)pstBuf->addr[i];
217 v4l2_buf.m.planes[i].length = pstBuf->size[i];
234 struct v4l2_plane planes[3]; local
238 memset(planes, 0, sizeof(struct v4l2_plane)*3);
243 buf.m.planes = planes;
254 t_stJpegConfig.sizeJpeg = buf.m.planes[0].bytesused;
/hardware/samsung_slsi/exynos5/libgscaler/
H A Dexynos_gsc_utils.h115 struct v4l2_plane planes[NUM_OF_GSC_PLANES]; member in struct:gsc_info
H A Dexynos_gscaler.c117 /* 2 planes */
137 /* 3 planes */
684 info->buffer.m.planes = info->planes;
689 info->buffer.m.planes[i].m.fd = (int)info->addr[i];
690 info->buffer.m.planes[i].length = plane_size[i];
691 info->buffer.m.planes[i].bytesused = 0;
1624 struct v4l2_plane planes[NUM_OF_GSC_PLANES]; local
1641 memset(&planes[i], 0, sizeof(struct v4l2_plane));
1646 buf.m.planes
1715 struct v4l2_plane planes[NUM_OF_GSC_PLANES]; local
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_app.c251 (uint8_t *)frame->buffer + frame->planes[i].data_offset,
252 frame->planes[i].length);
297 /* Plane 0 needs to be set seperately. Set other planes
299 app_bufs[i].buf.planes[0].length = frame_offset_info->mp[0].len;
300 app_bufs[i].buf.planes[0].m.userptr = app_bufs[i].buf.fd;
301 app_bufs[i].buf.planes[0].data_offset = frame_offset_info->mp[0].offset;
302 app_bufs[i].buf.planes[0].reserved[0] = 0;
304 app_bufs[i].buf.planes[j].length = frame_offset_info->mp[j].len;
305 app_bufs[i].buf.planes[j].m.userptr = app_bufs[i].buf.fd;
306 app_bufs[i].buf.planes[
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/
H A DExynosVideoApi.h125 ExynosVideoPlane planes[VIDEO_BUFFER_MAX_PLANES]; member in struct:_ExynosVideoBuffer
286 ExynosVideoErrorType (*Register)(void *pHandle, ExynosVideoPlane *planes, int nPlanes);
310 ExynosVideoErrorType (*Register)(void *pHandle, ExynosVideoPlane *planes, int nPlanes);
/hardware/samsung_slsi/exynos5/libcamera2/
H A DExynosCameraHWInterface2.cpp125 if (node->planes >= 1) {
164 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
168 v4l2_buf.m.planes = planes;
172 v4l2_buf.length = node->planes;
174 for(i = 0; i < node->planes; i++){
175 v4l2_buf.m.planes[i].m.fd = (int)(node->buffer[index].fd.extFd[i]);
176 v4l2_buf.m.planes[i].length = (unsigned long)(node->buffer[index].size.extS[i]);
235 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
240 v4l2_buf.m.planes
253 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
1555 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
2025 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
4005 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
[all...]
/hardware/qcom/camera/QCamera2/HAL/
H A DQCameraMem.cpp213 /* Plane 0 needs to be set separately. Set other planes in a loop */
214 bufDef.planes[0].length = offset.mp[0].len;
215 bufDef.planes[0].m.userptr = mMemInfo[index].fd;
216 bufDef.planes[0].data_offset = offset.mp[0].offset;
217 bufDef.planes[0].reserved[0] = 0;
219 bufDef.planes[i].length = offset.mp[i].len;
220 bufDef.planes[i].m.userptr = mMemInfo[i].fd;
221 bufDef.planes[i].data_offset = offset.mp[i].offset;
222 bufDef.planes[i].reserved[0] =
223 bufDef.planes[
[all...]
/hardware/samsung_slsi/exynos5/libcamera/
H A DExynosCamera.cpp1324 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
1326 v4l2_buf.m.planes = planes;
1364 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
1366 v4l2_buf.m.planes = planes;
1373 v4l2_buf.m.planes[i].m.fd= m_previewBuf[buf->reserved.p].fd.extFd[i];
1374 v4l2_buf.m.planes[i].length = m_previewBuf[buf->reserved.p].size.extS[i];
1528 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
1530 v4l2_buf.m.planes
1579 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
1711 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
1756 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
3414 unsigned int planes; local
3470 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/h264/
H A DExynos_OMX_H264enc.c402 *pVirtAddr = pCodecBuffer->planes[0].addr;
405 *dataSize = pCodecBuffer->planes[0].allocSize;
908 ExynosVideoPlane planes[MFC_INPUT_BUFFER_PLANE]; local
1051 pVideoBuffer->planes[0].addr,
1052 pVideoBuffer->planes[0].dataSize);
1053 Exynos_OSAL_Memcpy(OMXBuffer->pBuffer, pVideoBuffer->planes[0].addr, pVideoBuffer->planes[0].dataSize);
1054 OMXBuffer->nFilledLen = pVideoBuffer->planes[0].dataSize;
1771 ExynosVideoPlane planes[MFC_INPUT_BUFFER_PLANE]; local
1871 pSrcOutputData->buffer.multiPlaneBuffer.dataBuffer[plane] = pVideoBuffer->planes[plan
[all...]
/hardware/samsung_slsi/exynos5/librotator/
H A Dexynos_rotator.c79 struct v4l2_plane planes[NUM_OF_ROTATOR_PLANES]; member in struct:rotator_info
567 info->buffer.m.planes = info->planes;
571 info->buffer.m.planes[i].m.userptr = (unsigned long)info->addr[i];
572 info->buffer.m.planes[i].length = plane_size[i];
573 info->buffer.m.planes[i].bytesused = 0;
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/h264/
H A DExynos_OMX_H264dec.c131 addr[0] = pCodecBuffer->planes[0].addr;
132 addr[1] = pCodecBuffer->planes[1].addr;
133 addr[2] = pCodecBuffer->planes[2].addr;
137 size[0] = pCodecBuffer->planes[0].allocSize;
138 size[1] = pCodecBuffer->planes[1].allocSize;
139 size[2] = pCodecBuffer->planes[2].allocSize;
1010 ExynosVideoPlane planes[MFC_OUTPUT_BUFFER_PLANE]; local
1800 pSrcOutputData->buffer.singlePlaneBuffer.dataBuffer = pVideoBuffer->planes[0].addr;
1801 pSrcOutputData->buffer.singlePlaneBuffer.fd = pVideoBuffer->planes[0].fd;
1802 pSrcOutputData->allocSize = pVideoBuffer->planes[
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/mpeg4/
H A DExynos_OMX_Mpeg4dec.c143 addr[0] = pCodecBuffer->planes[0].addr;
144 addr[1] = pCodecBuffer->planes[1].addr;
145 addr[2] = pCodecBuffer->planes[2].addr;
149 size[0] = pCodecBuffer->planes[0].allocSize;
150 size[1] = pCodecBuffer->planes[1].allocSize;
151 size[2] = pCodecBuffer->planes[2].allocSize;
991 ExynosVideoPlane planes[MFC_OUTPUT_BUFFER_PLANE]; local
1835 pSrcOutputData->buffer.singlePlaneBuffer.dataBuffer = pVideoBuffer->planes[0].addr;
1836 pSrcOutputData->buffer.singlePlaneBuffer.fd = pVideoBuffer->planes[0].fd;
1837 pSrcOutputData->allocSize = pVideoBuffer->planes[
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/vp8/
H A DExynos_OMX_Vp8dec.c84 addr[0] = pCodecBuffer->planes[0].addr;
85 addr[1] = pCodecBuffer->planes[1].addr;
86 addr[2] = pCodecBuffer->planes[2].addr;
90 size[0] = pCodecBuffer->planes[0].allocSize;
91 size[1] = pCodecBuffer->planes[1].allocSize;
92 size[2] = pCodecBuffer->planes[2].allocSize;
801 ExynosVideoPlane planes[MFC_OUTPUT_BUFFER_PLANE]; local
1424 pSrcOutputData->buffer.singlePlaneBuffer.dataBuffer = pVideoBuffer->planes[0].addr;
1425 pSrcOutputData->buffer.singlePlaneBuffer.fd = pVideoBuffer->planes[0].fd;
1426 pSrcOutputData->allocSize = pVideoBuffer->planes[
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_stream.c934 * @num_planes : number of planes in the buffer
946 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
953 vb.m.planes = &planes[0];
1132 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
1136 memcpy(planes, buf->planes, sizeof(planes));
1141 buffer.m.planes = &planes[
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
H A DExynos_OMX_Vdec.c397 ExynosVideoPlane planes[MAX_BUFFER_PLANE]; local
400 Exynos_OSAL_LockANB(pOutputBuf, width, height, exynosOutputPort->portDefinition.format.video.eColorFormat, &stride, planes);
402 Exynos_OSAL_LockMetaData(pOutputBuf, width, height, exynosOutputPort->portDefinition.format.video.eColorFormat, &stride, planes);
408 pYUVBuf[0] = (unsigned char *)planes[0].addr;
409 pYUVBuf[1] = (unsigned char *)planes[1].addr;
410 pYUVBuf[2] = (unsigned char *)planes[2].addr;
412 pYUVBuf[0] = (unsigned char *)planes[0].fd;
413 pYUVBuf[1] = (unsigned char *)planes[1].fd;
414 pYUVBuf[2] = (unsigned char *)planes[2].fd;

Completed in 458 milliseconds

12