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

123

/hardware/samsung_slsi/exynos5/libcsc/
H A Dcsc.c85 void *planes[CSC_MAX_PLANES]; member in struct:_CSC_BUFFER
113 (unsigned char *)handle->dst_buffer.planes[CSC_Y_PLANE],
114 (unsigned char *)handle->dst_buffer.planes[CSC_U_PLANE],
115 (unsigned char *)handle->dst_buffer.planes[CSC_V_PLANE],
116 (unsigned char *)handle->src_buffer.planes[CSC_RGB_PLANE],
123 (unsigned char *)handle->dst_buffer.planes[CSC_Y_PLANE],
124 (unsigned char *)handle->dst_buffer.planes[CSC_UV_PLANE],
125 (unsigned char *)handle->src_buffer.planes[CSC_RGB_PLANE],
147 (unsigned char *)handle->dst_buffer.planes[CSC_Y_PLANE],
148 (unsigned char *)handle->src_buffer.planes[CSC_Y_PLAN
[all...]
/hardware/samsung_slsi/exynos5/libexynosutils/
H A Dexynos5_format_v4l2.c366 int V4L2_PIX_2_YUV_INFO(unsigned int v4l2_pixel_format, unsigned int * bpp, unsigned int * planes) argument
371 *planes = 1;
379 *planes = 2;
385 *planes = 3;
392 *planes = 1;
399 *planes = 2;
403 *planes = 3;
415 unsigned int bpp, planes; local
417 if (V4L2_PIX_2_YUV_INFO(v4l2_pixel_format, &bpp, &planes) < 0)
425 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:__anon1439
H A Dexynos_format.h133 * @param planes
134 * address of planes[out]
142 unsigned int *planes);
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
H A DExynosVideoDecoder.c219 pVideoPlane = &pCtx->pInbuf[i].planes[j];
237 pVideoPlane = &pCtx->pOutbuf[i].planes[j];
804 struct v4l2_plane planes[VIDEO_DECODER_INBUF_PLANES]; local
858 buf.m.planes = planes;
868 pVideoPlane = &pCtx->pInbuf[i].planes[0];
871 buf.m.planes[0].length, PROT_READ | PROT_WRITE,
872 MAP_SHARED, pCtx->hDec, buf.m.planes[0].m.mem_offset);
879 pVideoPlane->allocSize = buf.m.planes[0].length;
894 pVideoPlane = &pCtx->pInbuf[i].planes[
923 struct v4l2_plane planes[VIDEO_DECODER_OUTBUF_PLANES]; local
1192 MFC_Decoder_Register_Inbuf( void *pHandle, ExynosVideoPlane *planes, int nPlanes) argument
1230 MFC_Decoder_Register_Outbuf( void *pHandle, ExynosVideoPlane *planes, int nPlanes) argument
1385 struct v4l2_plane planes[VIDEO_DECODER_INBUF_PLANES]; local
1471 struct v4l2_plane planes[VIDEO_DECODER_OUTBUF_PLANES]; local
[all...]
/hardware/qcom/camera/QCamera/HAL2/core/src/
H A DQCameraStream_Preview.cpp82 uint32_t planes[VIDEO_MAX_PLANES]; local
92 planes[i] = mFrameOffsetInfo.mp[i].len;
103 /* Plane 0 needs to be set seperately. Set other planes
105 mDisplayBuf[i].planes[0].length = planes[0];
106 mDisplayBuf[i].planes[0].m.userptr = mPreviewMemory.private_buffer_handle[i]->fd;
107 mDisplayBuf[i].planes[0].data_offset = mFrameOffsetInfo.mp[0].offset;
108 mDisplayBuf[i].planes[0].reserved[0] =0;
110 mDisplayBuf[i].planes[j].length = planes[
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Android.h53 OMX_OUT OMX_PTR planes);
61 OMX_OUT OMX_PTR planes);
H A DExynos_OSAL_Android.cpp68 OMX_OUT OMX_PTR planes)
77 ExynosVideoPlane *vplanes = (ExynosVideoPlane *) planes;
165 OMX_OUT OMX_PTR planes)
172 ret = Exynos_OSAL_LockANBHandle((OMX_U32)pANB->handle, width, height, format, planes);
209 ExynosVideoPlane planes[MAX_BUFFER_PLANE]; local
250 &stride, planes);
251 pExynosPort->extendBufferHeader[i].buf_fd[0] = planes[0].fd;
252 pExynosPort->extendBufferHeader[i].pYUVBuf[0] = planes[0].addr;
253 pExynosPort->extendBufferHeader[i].buf_fd[1] = planes[1].fd;
254 pExynosPort->extendBufferHeader[i].pYUVBuf[1] = planes[
63 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
159 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
[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];
1153 struct v4l2_plane planes[VIDEO_ENCODER_INBUF_PLANES]; local
1198 buf.m.planes = planes;
1210 pVideoPlane = &pCtx->pInbuf[i].planes[j];
1212 buf.m.planes[j].length, PROT_READ | PROT_WRITE,
1213 MAP_SHARED, pCtx->hEnc, buf.m.planes[j].m.mem_offset);
1221 pVideoPlane->allocSize = buf.m.planes[j].length;
1245 pVideoPlane = &pCtx->pInbuf[i].planes[
1275 struct v4l2_plane planes[VIDEO_ENCODER_OUTBUF_PLANES]; local
1589 MFC_Encoder_Register_Inbuf( void *pHandle, ExynosVideoPlane *planes, int nPlanes) argument
1626 MFC_Encoder_Register_Outbuf( void *pHandle, ExynosVideoPlane *planes, int nPlanes) argument
1779 struct v4l2_plane planes[VIDEO_ENCODER_INBUF_PLANES]; local
1859 struct v4l2_plane planes[VIDEO_ENCODER_OUTBUF_PLANES]; local
2000 struct v4l2_plane planes[VIDEO_ENCODER_OUTBUF_PLANES]; local
2136 struct v4l2_plane planes[VIDEO_ENCODER_INBUF_PLANES]; local
[all...]
/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
H A Dmm_qcamera_preview.c154 int y_off = newFrame->buffer + newFrame->planes[0].data_offset;
155 //int cbcr_off = newFrame->buffer + newFrame->planes[1].data_offset;//newFrame->buffer + newFrame->planes[0].length;
156 int cbcr_off = newFrame->buffer + newFrame->planes[0].length;
158 CDBG("%s: Y_off length = %d cbcr_off length = %d", __func__, newFrame->planes[0].length,newFrame->planes[1].length);
160 write(file_fd, (const void *)(y_off), newFrame->planes[0].length);
162 (newFrame->planes[1].length * newFrame->num_planes));
164 CDBG("%s: CBCR = %d", __func__, newFrame->planes[j].data_offset);
166 (newFrame->planes[
337 uint32_t planes[VIDEO_MAX_PLANES]; local
[all...]
H A Dmm_qcamera_video.c115 uint32_t planes[VIDEO_MAX_PLANES];
122 planes[i] = frame_offset_info->mp[i].len;
149 pme->video_buf.frame[i].cbcr_off = planes[0];
161 /* Plane 0 needs to be set seperately. Set other planes
163 bufs[i].planes[0].length = planes[0];
164 bufs[i].planes[0].m.userptr = bufs[i].fd;
165 bufs[i].planes[0].data_offset = y_off;
166 bufs[i].planes[0].reserved[0] = 0;
169 bufs[i].planes[
[all...]
H A Dmm_qcamera_snapshot.c225 reg_buf.def.buf.mp[0].planes[0].length = planes_main[0];
226 reg_buf.def.buf.mp[0].planes[0].m.userptr = pme->raw_snapshot_buf.frame[0].fd;
227 reg_buf.def.buf.mp[0].planes[0].data_offset = 0;
228 reg_buf.def.buf.mp[0].planes[0].reserved[0] = reg_buf.def.buf.mp[0].frame_offset;
230 reg_buf.def.buf.mp[0].planes[j].length = planes_main[j];
231 reg_buf.def.buf.mp[0].planes[j].m.userptr = pme->raw_snapshot_buf.frame[0].fd;
232 reg_buf.def.buf.mp[0].planes[j].data_offset = 0;
233 reg_buf.def.buf.mp[0].planes[j].reserved[0] = reg_buf.def.buf.mp[0].planes[j-1].reserved[0] +
234 reg_buf.def.buf.mp[0].planes[
[all...]
/hardware/qcom/camera/QCamera/HAL/core/src/
H A DQCameraHWI_Preview.cpp311 uint32_t planes[VIDEO_MAX_PLANES]; local
331 planes[i] = dim.display_frame_offset.mp[i].len;
343 NULL,NULL, num_planes, planes) < 0) {
514 uint32_t planes[VIDEO_MAX_PLANES]; local
552 planes[0] = dim.display_frame_offset.mp[0].len;
553 planes[1] = dim.display_frame_offset.mp[1].len;
571 mDisplayStreamBuf.frame[i].cbcr_off = planes[0];
604 /* Plane 0 needs to be set seperately. Set other planes
606 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[
652 uint32_t planes[VIDEO_MAX_PLANES]; local
[all...]
H A DQCameraHWI_Record.cpp388 uint32_t planes[VIDEO_MAX_PLANES]; local
408 planes[0] = dim.video_frame_offset.mp[0].len;
409 planes[1] = dim.video_frame_offset.mp[1].len;
438 mHalCamCtrl->mRecordingMemory.cbcr_offset = planes[0];
495 /* Plane 0 needs to be set seperately. Set other planes
497 mRecordBuf.video.video.buf.mp[cnt].planes[0].reserved[0] =
499 mRecordBuf.video.video.buf.mp[cnt].planes[0].length = planes[0];
500 mRecordBuf.video.video.buf.mp[cnt].planes[0].m.userptr =
503 mRecordBuf.video.video.buf.mp[cnt].planes[
[all...]
/hardware/qcom/camera/
H A DQCameraHWI_Preview.cpp318 uint32_t planes[VIDEO_MAX_PLANES]; local
338 planes[i] = dim.display_frame_offset.mp[i].len;
350 NULL,NULL, num_planes, planes) < 0) {
534 uint32_t planes[VIDEO_MAX_PLANES]; local
573 planes[i] = dim.display_frame_offset.mp[i].len;
592 mDisplayStreamBuf.frame[i].cbcr_off = planes[0];
637 /* Plane 0 needs to be set seperately. Set other planes
639 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[0];
640 mDisplayBuf.preview.buf.mp[i].planes[
685 uint32_t planes[VIDEO_MAX_PLANES]; local
[all...]
H A DQCameraHWI_Record.cpp387 uint32_t planes[VIDEO_MAX_PLANES]; local
407 planes[0] = dim.video_frame_offset.mp[0].len;
408 planes[1] = dim.video_frame_offset.mp[1].len;
437 mHalCamCtrl->mRecordingMemory.cbcr_offset = planes[0];
494 /* Plane 0 needs to be set seperately. Set other planes
496 mRecordBuf.video.video.buf.mp[cnt].planes[0].reserved[0] =
498 mRecordBuf.video.video.buf.mp[cnt].planes[0].length = planes[0];
499 mRecordBuf.video.video.buf.mp[cnt].planes[0].m.userptr =
502 mRecordBuf.video.video.buf.mp[cnt].planes[
[all...]
H A DQCameraHWI_Preview_7x27A.cpp356 uint32_t planes[VIDEO_MAX_PLANES]; local
394 planes[0] = dim.display_frame_offset.mp[0].len;
395 planes[1] = dim.display_frame_offset.mp[1].len;
411 mDisplayStreamBuf.frame[i].cbcr_off = planes[0];
433 /* Plane 0 needs to be set seperately. Set other planes
435 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[0];
436 mDisplayBuf.preview.buf.mp[i].planes[0].m.userptr = mDisplayStreamBuf.frame[i].fd;
437 mDisplayBuf.preview.buf.mp[i].planes[0].data_offset = 0;
438 mDisplayBuf.preview.buf.mp[i].planes[
[all...]
/hardware/qcom/camera/mm-camera-interface/
H A Dmm_jpeg_encoder.h61 uint32_t* p_cbcr_offset, uint32_t* p_buf_size, uint8_t *num_planes, uint32_t planes[]);
H A Dmm_omx_jpeg_encoder.h68 uint32_t planes[]);
H A Dmm_camera_stream.c197 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
202 vb.m.planes = &planes[0];
212 __func__, i, vb.m.planes[i].reserved[0],
213 vb.m.planes[i].data_offset);
214 stream->frame.frame[idx].planes[i].reserved[0] =
215 vb.m.planes[i].reserved[0];
216 stream->frame.frame[idx].planes[i].data_offset =
217 vb.m.planes[i].data_offset;
392 buffer.m.planes
485 uint32_t planes[VIDEO_MAX_PLANES]; local
[all...]
/hardware/samsung_slsi/exynos5/gralloc/
H A Dgralloc.cpp221 int err, planes, fd, fd1, fd2 = 0; local
244 planes = 3;
255 planes = 2;
267 planes = 1;
281 if (planes == 1) {
288 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
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/
H A DExynosVideoApi.h111 ExynosVideoPlane planes[VIDEO_BUFFER_MAX_PLANES]; member in struct:_ExynosVideoBuffer
267 ExynosVideoErrorType (*Register)(void *pHandle, ExynosVideoPlane *planes, int nPlanes);
287 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
1535 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
1984 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
3963 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
[all...]

Completed in 241 milliseconds

123