/hardware/samsung_slsi/exynos5/libexynosutils/ |
H A D | exynos5_format_v4l2.c | 350 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/gralloc/ |
H A D | gralloc.cpp | 234 int err, planes, fd, fd1, fd2 = 0; local 257 planes = 3; 268 planes = 2; 280 planes = 1; 294 if (planes == 1) { 301 if (planes == 3) {
|
/hardware/samsung_slsi/exynos5/include/ |
H A D | s5p_fimc_v4l2.h | 102 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:__anon2723
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/ |
H A D | vpx_image.h | 127 unsigned char *planes[4]; /**< pointer to the top left pixel for each plane */ member in struct:vpx_image
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
H A D | Exynos_OSAL_Android.cpp | 76 OMX_OUT OMX_PTR planes) 85 ExynosVideoPlane *vplanes = (ExynosVideoPlane *) planes; 190 OMX_OUT OMX_PTR planes) 199 ret = Exynos_OSAL_LockANBHandle((OMX_U32)pBuf, width, height, format, pStride, planes); 469 ExynosVideoPlane planes[MAX_BUFFER_PLANE]; local 511 &stride, planes); 512 pExynosPort->extendBufferHeader[i].buf_fd[0] = planes[0].fd; 513 pExynosPort->extendBufferHeader[i].pYUVBuf[0] = planes[0].addr; 514 pExynosPort->extendBufferHeader[i].buf_fd[1] = planes[1].fd; 515 pExynosPort->extendBufferHeader[i].pYUVBuf[1] = 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_U32 *pStride, OMX_OUT OMX_PTR planes) argument 184 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/libcsc/ |
H A D | csc.c | 93 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/libgscaler/ |
H A D | exynos_gsc_utils.h | 115 struct v4l2_plane planes[NUM_OF_GSC_PLANES]; member in struct:gsc_info
|
H A D | exynos_gscaler.c | 117 /* 2 planes */ 137 /* 3 planes */ 689 info->buffer.m.planes = info->planes; 694 info->buffer.m.planes[i].m.fd = (int)info->addr[i]; 695 info->buffer.m.planes[i].length = plane_size[i]; 696 info->buffer.m.planes[i].bytesused = 0; 1639 struct v4l2_plane planes[NUM_OF_GSC_PLANES]; local 1656 memset(&planes[i], 0, sizeof(struct v4l2_plane)); 1661 buf.m.planes 1730 struct v4l2_plane planes[NUM_OF_GSC_PLANES]; local [all...] |
/hardware/samsung_slsi/exynos5/libhwjpeg/ |
H A D | ExynosJpegBase.cpp | 212 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/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/ |
H A D | ExynosVideoDecoder.c | 234 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 1526 struct v4l2_plane planes[VIDEO_DECODER_OUTBUF_PLANES]; local 1956 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 D | ExynosVideoEncoder.c | 227 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/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/ |
H A D | Exynos_OMX_Vdec.c | 397 ExynosVideoPlane planes[MAX_BUFFER_PLANE]; local 400 Exynos_OSAL_LockANBHandle(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;
|
H A D | Exynos_OMX_VdecControl.c | 1531 ExynosVideoPlane planes[MAX_BUFFER_PLANE]; local 1533 memset(planes, 0, sizeof(planes)); 1543 Exynos_OSAL_LockANBHandle(pUseBuffer->bufferHeader->pBuffer, width, height, pExynosPort->portDefinition.format.video.eColorFormat, &stride, planes); 1545 Exynos_OSAL_LockMetaData(pUseBuffer->bufferHeader->pBuffer, width, height, pExynosPort->portDefinition.format.video.eColorFormat, &stride, planes); 1561 pData->buffer.multiPlaneBuffer.dataBuffer[0] = planes[0].addr; 1562 pData->buffer.multiPlaneBuffer.fd[0] = planes[0].fd; 1563 pData->buffer.multiPlaneBuffer.dataBuffer[1] = planes[1].addr; 1564 pData->buffer.multiPlaneBuffer.fd[1] = planes[1].fd;
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/ |
H A D | Exynos_OMX_Venc.c | 324 ExynosVideoPlane planes[MAX_BUFFER_PLANE]; local 329 Exynos_OSAL_LockANBHandle((OMX_U32)ppBuf[0], nFrameWidth, nFrameHeight, OMX_COLOR_FormatAndroidOpaque, &stride, planes); 334 pSrcBuf[0] = planes[0].addr; 335 pSrcFd[0] = (void *)planes[0].fd; 475 ExynosVideoPlane planes[MAX_BUFFER_PLANE]; local 478 Exynos_OSAL_LockANBHandle((OMX_U32)ppBuf[0], nFrameWidth, nFrameHeight, OMX_COLOR_FormatYUV420SemiPlanar, &stride, planes); 480 srcInputData->buffer.multiPlaneBuffer.fd[0] = planes[0].fd; 481 srcInputData->buffer.multiPlaneBuffer.fd[1] = planes[1].fd;
|
/hardware/samsung_slsi/exynos5/librotator/ |
H A D | exynos_rotator.c | 79 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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | vpxdec.c | 55 "Flip the chroma planes in the output"); 125 return I420Scale(src->planes[VPX_PLANE_Y], src->stride[VPX_PLANE_Y], 126 src->planes[VPX_PLANE_U], src->stride[VPX_PLANE_U], 127 src->planes[VPX_PLANE_V], src->stride[VPX_PLANE_V], 129 dst->planes[VPX_PLANE_Y], dst->stride[VPX_PLANE_Y], 130 dst->planes[VPX_PLANE_U], dst->stride[VPX_PLANE_U], 131 dst->planes[VPX_PLANE_V], dst->stride[VPX_PLANE_V], 237 static void update_image_md5(const vpx_image_t *img, const int planes[3], argument 242 const int plane = planes[i]; 243 const unsigned char *buf = img->planes[plan 255 write_image_file(const vpx_image_t *img, const int planes[3], FILE *file) argument 844 const int *planes = flipuv ? PLANES_YVU : PLANES_YUV; local [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/h264/ |
H A D | Exynos_OMX_H264dec.c | 131 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; 1012 ExynosVideoPlane planes[MFC_OUTPUT_BUFFER_PLANE]; local 1802 pSrcOutputData->buffer.singlePlaneBuffer.dataBuffer = pVideoBuffer->planes[0].addr; 1803 pSrcOutputData->buffer.singlePlaneBuffer.fd = pVideoBuffer->planes[0].fd; 1804 pSrcOutputData->allocSize = pVideoBuffer->planes[ [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/mpeg4/ |
H A D | Exynos_OMX_Mpeg4dec.c | 143 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; 1116 ExynosVideoPlane planes[MFC_OUTPUT_BUFFER_PLANE]; local 1960 pSrcOutputData->buffer.singlePlaneBuffer.dataBuffer = pVideoBuffer->planes[0].addr; 1961 pSrcOutputData->buffer.singlePlaneBuffer.fd = pVideoBuffer->planes[0].fd; 1962 pSrcOutputData->allocSize = pVideoBuffer->planes[ [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/vp8/ |
H A D | Exynos_OMX_Vp8dec.c | 84 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; 926 ExynosVideoPlane planes[MFC_OUTPUT_BUFFER_PLANE]; local 1549 pSrcOutputData->buffer.singlePlaneBuffer.dataBuffer = pVideoBuffer->planes[0].addr; 1550 pSrcOutputData->buffer.singlePlaneBuffer.fd = pVideoBuffer->planes[0].fd; 1551 pSrcOutputData->allocSize = pVideoBuffer->planes[ [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/h264/ |
H A D | Exynos_OMX_H264enc.c | 402 *pVirtAddr = pCodecBuffer->planes[0].addr; 405 *dataSize = pCodecBuffer->planes[0].allocSize; 908 ExynosVideoPlane planes[MFC_INPUT_BUFFER_PLANE]; local 1057 pVideoBuffer->planes[0].addr, 1058 pVideoBuffer->planes[0].dataSize); 1059 Exynos_OSAL_Memcpy(OMXBuffer->pBuffer, pVideoBuffer->planes[0].addr, pVideoBuffer->planes[0].dataSize); 1060 OMXBuffer->nFilledLen = pVideoBuffer->planes[0].dataSize; 1757 ExynosVideoPlane planes[MFC_INPUT_BUFFER_PLANE]; local 1857 pSrcOutputData->buffer.multiPlaneBuffer.dataBuffer[plane] = pVideoBuffer->planes[plan [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/mpeg4/ |
H A D | Exynos_OMX_Mpeg4enc.c | 530 *pVirtAddr = pCodecBuffer->planes[0].addr; 533 *dataSize = pCodecBuffer->planes[0].allocSize; 1033 ExynosVideoPlane planes[MFC_INPUT_BUFFER_PLANE]; local 1191 pVideoBuffer->planes[0].addr, 1192 pVideoBuffer->planes[0].dataSize); 1193 Exynos_OSAL_Memcpy(OMXBuffer->pBuffer, pVideoBuffer->planes[0].addr, pVideoBuffer->planes[0].dataSize); 1194 OMXBuffer->nFilledLen = pVideoBuffer->planes[0].dataSize; 1958 ExynosVideoPlane planes[MFC_INPUT_BUFFER_PLANE]; local 2058 pSrcOutputData->buffer.multiPlaneBuffer.dataBuffer[plane] = pVideoBuffer->planes[plan [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/ |
H A D | ExynosVideoApi.h | 125 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/qcom/msm8x84/kernel-headers/media/ |
H A D | msmb_isp.h | 375 struct msm_isp_qbuf_plane planes[MAX_PLANES_PER_STREAM]; member in struct:msm_isp_qbuf_buffer
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
H A D | msmb_isp.h | 341 struct msm_isp_qbuf_plane planes[MAX_PLANES_PER_STREAM]; member in struct:msm_isp_qbuf_buffer
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
H A D | ExynosCameraHWInterface2.h | 182 int planes; member in struct:android::node_info 393 int planes; member in struct:android::stream_parameters
|