Home
last modified time | relevance | path

Searched refs:mp (Results 1 – 25 of 61) sorted by relevance

123

/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1700 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1701 buf_planes->plane_info.mp[0].len = stride * scanline; in mm_stream_calc_offset_preview()
1702 buf_planes->plane_info.mp[0].offset_x = 0; in mm_stream_calc_offset_preview()
1703 buf_planes->plane_info.mp[0].offset_y = 0; in mm_stream_calc_offset_preview()
1704 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview()
1705 buf_planes->plane_info.mp[0].scanline = scanline; in mm_stream_calc_offset_preview()
1706 buf_planes->plane_info.mp[0].width = dim->width; in mm_stream_calc_offset_preview()
1707 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
1711 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1712 buf_planes->plane_info.mp[1].len = in mm_stream_calc_offset_preview()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c2051 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
2052 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline); in mm_stream_calc_offset_preview()
2053 buf_planes->plane_info.mp[0].offset_x = 0; in mm_stream_calc_offset_preview()
2054 buf_planes->plane_info.mp[0].offset_y = 0; in mm_stream_calc_offset_preview()
2055 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview()
2056 buf_planes->plane_info.mp[0].scanline = scanline; in mm_stream_calc_offset_preview()
2057 buf_planes->plane_info.mp[0].width = dim->width; in mm_stream_calc_offset_preview()
2058 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
2062 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
2063 buf_planes->plane_info.mp[1].len = in mm_stream_calc_offset_preview()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c2051 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
2052 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline); in mm_stream_calc_offset_preview()
2053 buf_planes->plane_info.mp[0].offset_x = 0; in mm_stream_calc_offset_preview()
2054 buf_planes->plane_info.mp[0].offset_y = 0; in mm_stream_calc_offset_preview()
2055 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview()
2056 buf_planes->plane_info.mp[0].scanline = scanline; in mm_stream_calc_offset_preview()
2057 buf_planes->plane_info.mp[0].width = dim->width; in mm_stream_calc_offset_preview()
2058 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
2062 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
2063 buf_planes->plane_info.mp[1].len = in mm_stream_calc_offset_preview()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c271 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; in decode_init()
272 p_params->dest_buf[0].offset.mp[1].len = in decode_init()
274 p_params->dest_buf[0].offset.mp[0].stride = CEILING16(p_input->width); in decode_init()
275 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init()
276 p_params->dest_buf[0].offset.mp[1].stride = CEILING16(p_input->width); in decode_init()
277 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); in decode_init()
Dmm_jpeg_test.c285 p_params->src_main_buf[i].offset.mp[0].len = (uint32_t)size; in encode_init()
286 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
287 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
288 p_params->src_main_buf[i].offset.mp[1].len = (uint32_t)(size >> 1); in encode_init()
296 p_params->src_thumb_buf[i].offset.mp[0].len = (uint32_t)size; in encode_init()
297 p_params->src_thumb_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
298 p_params->src_thumb_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
299 p_params->src_thumb_buf[i].offset.mp[1].len = (uint32_t)(size >> 1); in encode_init()
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c271 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; in decode_init()
272 p_params->dest_buf[0].offset.mp[1].len = in decode_init()
274 p_params->dest_buf[0].offset.mp[0].stride = CEILING16(p_input->width); in decode_init()
275 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init()
276 p_params->dest_buf[0].offset.mp[1].stride = CEILING16(p_input->width); in decode_init()
277 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); in decode_init()
Dmm_jpeg_test.c285 p_params->src_main_buf[i].offset.mp[0].len = (uint32_t)size; in encode_init()
286 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
287 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
288 p_params->src_main_buf[i].offset.mp[1].len = (uint32_t)(size >> 1); in encode_init()
296 p_params->src_thumb_buf[i].offset.mp[0].len = (uint32_t)size; in encode_init()
297 p_params->src_thumb_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
298 p_params->src_thumb_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
299 p_params->src_thumb_buf[i].offset.mp[1].len = (uint32_t)(size >> 1); in encode_init()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c270 p_params->dest_buf[0].offset.mp[0].len = size; in decode_init()
271 p_params->dest_buf[0].offset.mp[1].len = size * (cScale-1.0); in decode_init()
272 p_params->dest_buf[0].offset.mp[0].stride = CEILING16(p_input->width); in decode_init()
273 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init()
274 p_params->dest_buf[0].offset.mp[1].stride = CEILING16(p_input->width); in decode_init()
275 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); in decode_init()
Dmm_jpeg_test.c283 p_params->src_main_buf[i].offset.mp[0].len = size; in encode_init()
284 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
285 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
286 p_params->src_main_buf[i].offset.mp[1].len = size >> 1; in encode_init()
294 p_params->src_thumb_buf[i].offset.mp[0].len = size; in encode_init()
295 p_params->src_thumb_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
296 p_params->src_thumb_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
297 p_params->src_thumb_buf[i].offset.mp[1].len = size >> 1; in encode_init()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c159 rdi_len = buf_planes->plane_info.mp[0].len; in mm_app_add_rdi_stream()
161 buf_planes->plane_info.mp[0].stride, buf_planes->plane_info.mp[0].scanline, in mm_app_add_rdi_stream()
162 buf_planes->plane_info.mp[0].len, buf_planes->plane_info.frame_len); in mm_app_add_rdi_stream()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c158 rdi_len = buf_planes->plane_info.mp[0].len; in mm_app_add_rdi_stream()
160 buf_planes->plane_info.mp[0].stride, buf_planes->plane_info.mp[0].scanline, in mm_app_add_rdi_stream()
161 buf_planes->plane_info.mp[0].len, buf_planes->plane_info.frame_len); in mm_app_add_rdi_stream()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c159 rdi_len = buf_planes->plane_info.mp[0].len; in mm_app_add_rdi_stream()
161 buf_planes->plane_info.mp[0].stride, buf_planes->plane_info.mp[0].scanline, in mm_app_add_rdi_stream()
162 buf_planes->plane_info.mp[0].len, buf_planes->plane_info.frame_len); in mm_app_add_rdi_stream()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp686 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
687 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
688 uStride = streamInfo->buf_planes.plane_info.mp[1].stride; in sendPreviewCallback()
689 uScanline = streamInfo->buf_planes.plane_info.mp[1].scanline; in sendPreviewCallback()
690 vStride = streamInfo->buf_planes.plane_info.mp[2].stride; in sendPreviewCallback()
691 vScanline = streamInfo->buf_planes.plane_info.mp[2].scanline; in sendPreviewCallback()
697 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
698 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
699 uvStride = streamInfo->buf_planes.plane_info.mp[1].stride; in sendPreviewCallback()
700 uvScanline = streamInfo->buf_planes.plane_info.mp[1].scanline; in sendPreviewCallback()
[all …]
DQCameraStream.cpp1133 mFrameLenOffset.frame_len, mFrameLenOffset.mp[0].stride, in getBufs()
1134 mFrameLenOffset.mp[0].scanline, numBufAlloc); in getBufs()
1262 mFrameLenOffset.mp[0].stride, in allocateBuffers()
1263 mFrameLenOffset.mp[0].scanline, in allocateBuffers()
1404 mFrameLenOffset.frame_len,mFrameLenOffset.mp[0].stride, in allocateBatchBufs()
1405 mFrameLenOffset.mp[0].scanline,mNumPlaneBufs); in allocateBatchBufs()
/device/huawei/angler/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp686 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
687 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
688 uStride = streamInfo->buf_planes.plane_info.mp[1].stride; in sendPreviewCallback()
689 uScanline = streamInfo->buf_planes.plane_info.mp[1].scanline; in sendPreviewCallback()
690 vStride = streamInfo->buf_planes.plane_info.mp[2].stride; in sendPreviewCallback()
691 vScanline = streamInfo->buf_planes.plane_info.mp[2].scanline; in sendPreviewCallback()
697 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
698 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
699 uvStride = streamInfo->buf_planes.plane_info.mp[1].stride; in sendPreviewCallback()
700 uvScanline = streamInfo->buf_planes.plane_info.mp[1].scanline; in sendPreviewCallback()
[all …]
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Mem.cpp236 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
238 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
241 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
243 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
DQCamera3PostProc.cpp1249 int32_t temp = encodeParam.src_main_buf[0].offset.mp[0].stride; in encodeData()
1250 encodeParam.src_main_buf[0].offset.mp[0].stride = in encodeData()
1251 encodeParam.src_main_buf[0].offset.mp[0].scanline; in encodeData()
1252 encodeParam.src_main_buf[0].offset.mp[0].scanline = temp; in encodeData()
1254 temp = encodeParam.src_thumb_buf[0].offset.mp[0].stride; in encodeData()
1255 encodeParam.src_thumb_buf[0].offset.mp[0].stride = in encodeData()
1256 encodeParam.src_thumb_buf[0].offset.mp[0].scanline; in encodeData()
1257 encodeParam.src_thumb_buf[0].offset.mp[0].scanline = temp; in encodeData()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c413 frame_info.cbcrStartOffset[0] = p_src_buf->offset.mp[0].len; in mm_jpeg_session_config_main_buffer_offset()
414 frame_info.cbcrStartOffset[1] = p_src_buf->offset.mp[1].len; in mm_jpeg_session_config_main_buffer_offset()
415 frame_info.yOffset = p_src_buf->offset.mp[0].offset; in mm_jpeg_session_config_main_buffer_offset()
416 frame_info.cbcrOffset[0] = p_src_buf->offset.mp[1].offset; in mm_jpeg_session_config_main_buffer_offset()
417 frame_info.cbcrOffset[1] = p_src_buf->offset.mp[2].offset; in mm_jpeg_session_config_main_buffer_offset()
752 p_src_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
754 p_src_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
775 p_tmb_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
777 p_tmb_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
935 p_frame_info->cbcrStartOffset[0] = p_tmb_buf->offset.mp[0].len; in mm_jpeg_session_config_thumbnail()
[all …]
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraStream_Preview.cpp92 planes[i] = mFrameOffsetInfo.mp[i].len; in initBuffers()
107 mDisplayBuf[i].planes[0].data_offset = mFrameOffsetInfo.mp[0].offset; in initBuffers()
112 mDisplayBuf[i].planes[j].data_offset = mFrameOffsetInfo.mp[j].offset; in initBuffers()
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Mem.cpp237 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
239 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
242 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
244 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Mem.cpp237 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
239 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
242 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
244 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_app.c587 app_bufs->bufs[i].planes[0].length = frame_offset_info->mp[0].len; in mm_stream_alloc_bufs()
589 app_bufs->bufs[i].planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_stream_alloc_bufs()
592 app_bufs->bufs[i].planes[j].length = frame_offset_info->mp[j].len; in mm_stream_alloc_bufs()
594 app_bufs->bufs[i].planes[j].data_offset = frame_offset_info->mp[j].offset; in mm_stream_alloc_bufs()
Dmm_qcamera_video.c130 planes[i] = frame_offset_info->mp[i].len;
134 y_off = frame_offset_info->mp[0].offset;
135 cbcr_off = frame_offset_info->mp[1].offset;
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c426 frame_info.cbcrStartOffset[0] = p_src_buf->offset.mp[0].len; in mm_jpeg_session_config_main_buffer_offset()
427 frame_info.cbcrStartOffset[1] = p_src_buf->offset.mp[1].len; in mm_jpeg_session_config_main_buffer_offset()
428 frame_info.yOffset = p_src_buf->offset.mp[0].offset; in mm_jpeg_session_config_main_buffer_offset()
429 frame_info.cbcrOffset[0] = p_src_buf->offset.mp[1].offset; in mm_jpeg_session_config_main_buffer_offset()
430 frame_info.cbcrOffset[1] = p_src_buf->offset.mp[2].offset; in mm_jpeg_session_config_main_buffer_offset()
772 p_src_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
774 (OMX_U32)p_src_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
795 p_tmb_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
797 (OMX_U32)p_tmb_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
1043 p_frame_info->cbcrStartOffset[0] = p_tmb_buf->offset.mp[0].len; in mm_jpeg_session_config_thumbnail()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c426 frame_info.cbcrStartOffset[0] = p_src_buf->offset.mp[0].len; in mm_jpeg_session_config_main_buffer_offset()
427 frame_info.cbcrStartOffset[1] = p_src_buf->offset.mp[1].len; in mm_jpeg_session_config_main_buffer_offset()
428 frame_info.yOffset = p_src_buf->offset.mp[0].offset; in mm_jpeg_session_config_main_buffer_offset()
429 frame_info.cbcrOffset[0] = p_src_buf->offset.mp[1].offset; in mm_jpeg_session_config_main_buffer_offset()
430 frame_info.cbcrOffset[1] = p_src_buf->offset.mp[2].offset; in mm_jpeg_session_config_main_buffer_offset()
772 p_src_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
774 (OMX_U32)p_src_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
795 p_tmb_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
797 (OMX_U32)p_tmb_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
1043 p_frame_info->cbcrStartOffset[0] = p_tmb_buf->offset.mp[0].len; in mm_jpeg_session_config_thumbnail()
[all …]

123