Home
last modified time | relevance | path

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

12

/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/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1664 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1665 buf_planes->plane_info.mp[0].len = stride * scanline; in mm_stream_calc_offset_preview()
1666 buf_planes->plane_info.mp[0].offset_x = 0; in mm_stream_calc_offset_preview()
1667 buf_planes->plane_info.mp[0].offset_y = 0; in mm_stream_calc_offset_preview()
1668 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview()
1669 buf_planes->plane_info.mp[0].scanline = scanline; in mm_stream_calc_offset_preview()
1673 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1674 buf_planes->plane_info.mp[1].len = in mm_stream_calc_offset_preview()
1676 buf_planes->plane_info.mp[1].offset_x = 0; in mm_stream_calc_offset_preview()
1677 buf_planes->plane_info.mp[1].offset_y = 0; in mm_stream_calc_offset_preview()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1671 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1672 buf_planes->plane_info.mp[0].len = stride * scanline; in mm_stream_calc_offset_preview()
1673 buf_planes->plane_info.mp[0].offset_x = 0; in mm_stream_calc_offset_preview()
1674 buf_planes->plane_info.mp[0].offset_y = 0; in mm_stream_calc_offset_preview()
1675 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview()
1676 buf_planes->plane_info.mp[0].scanline = scanline; in mm_stream_calc_offset_preview()
1680 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1681 buf_planes->plane_info.mp[1].len = in mm_stream_calc_offset_preview()
1683 buf_planes->plane_info.mp[1].offset_x = 0; in mm_stream_calc_offset_preview()
1684 buf_planes->plane_info.mp[1].offset_y = 0; in mm_stream_calc_offset_preview()
[all …]
/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/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c151 rdi_len = buf_planes->plane_info.mp[0].len; in mm_app_add_rdi_stream()
153 buf_planes->plane_info.mp[0].stride, buf_planes->plane_info.mp[0].scanline, in mm_app_add_rdi_stream()
154 buf_planes->plane_info.mp[0].len, buf_planes->plane_info.frame_len); in mm_app_add_rdi_stream()
Dmm_qcamera_app.c299 app_bufs[i].buf.planes[0].length = frame_offset_info->mp[0].len; in mm_app_alloc_bufs()
301 app_bufs[i].buf.planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_app_alloc_bufs()
304 app_bufs[i].buf.planes[j].length = frame_offset_info->mp[j].len; in mm_app_alloc_bufs()
306 app_bufs[i].buf.planes[j].data_offset = frame_offset_info->mp[j].offset; in mm_app_alloc_bufs()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c151 rdi_len = buf_planes->plane_info.mp[0].len; in mm_app_add_rdi_stream()
153 buf_planes->plane_info.mp[0].stride, buf_planes->plane_info.mp[0].scanline, in mm_app_add_rdi_stream()
154 buf_planes->plane_info.mp[0].len, buf_planes->plane_info.frame_len); in mm_app_add_rdi_stream()
Dmm_qcamera_app.c299 app_bufs[i].buf.planes[0].length = frame_offset_info->mp[0].len; in mm_app_alloc_bufs()
301 app_bufs[i].buf.planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_app_alloc_bufs()
304 app_bufs[i].buf.planes[j].length = frame_offset_info->mp[j].len; in mm_app_alloc_bufs()
306 app_bufs[i].buf.planes[j].data_offset = frame_offset_info->mp[j].offset; in mm_app_alloc_bufs()
/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/hammerhead/camera/QCamera2/HAL3/
DQCamera3Mem.cpp208 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
210 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
213 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
215 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Mem.cpp205 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
207 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
210 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
212 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c565 frame_info.cbcrStartOffset[0] = p_src_buf->offset.mp[0].len; in mm_jpeg_session_config_main_buffer_offset()
566 frame_info.cbcrStartOffset[1] = p_src_buf->offset.mp[1].len; in mm_jpeg_session_config_main_buffer_offset()
567 frame_info.yOffset = p_src_buf->offset.mp[0].offset; in mm_jpeg_session_config_main_buffer_offset()
568 frame_info.cbcrOffset[0] = p_src_buf->offset.mp[1].offset; in mm_jpeg_session_config_main_buffer_offset()
569 frame_info.cbcrOffset[1] = p_src_buf->offset.mp[2].offset; in mm_jpeg_session_config_main_buffer_offset()
728 p_src_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
730 p_src_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
751 p_tmb_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
753 p_tmb_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
998 p_frame_info->cbcrStartOffset[0] = p_tmb_buf->offset.mp[0].len; in mm_jpeg_session_config_thumbnail()
[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/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c549 frame_info.cbcrStartOffset[0] = p_src_buf->offset.mp[0].len; in mm_jpeg_session_config_main_buffer_offset()
550 frame_info.cbcrStartOffset[1] = p_src_buf->offset.mp[1].len; in mm_jpeg_session_config_main_buffer_offset()
551 frame_info.yOffset = p_src_buf->offset.mp[0].offset; in mm_jpeg_session_config_main_buffer_offset()
552 frame_info.cbcrOffset[0] = p_src_buf->offset.mp[1].offset; in mm_jpeg_session_config_main_buffer_offset()
553 frame_info.cbcrOffset[1] = p_src_buf->offset.mp[2].offset; in mm_jpeg_session_config_main_buffer_offset()
712 p_src_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
714 p_src_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
897 p_frame_info->cbcrStartOffset[0] = p_tmb_buf->offset.mp[0].len; in mm_jpeg_session_config_thumbnail()
898 p_frame_info->cbcrStartOffset[1] = p_tmb_buf->offset.mp[1].len; in mm_jpeg_session_config_thumbnail()
899 p_frame_info->yOffset = p_tmb_buf->offset.mp[0].offset; 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()
DQCameraHWI.cpp229 frame_offset_info->mp[0].len, in getBuf()
230 frame_offset_info->mp[1].len, in getBuf()
/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/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c222 p_params->src_main_buf[0].offset.mp[0].len = size; in encode_init()
223 p_params->src_main_buf[0].offset.mp[1].len = size >> 1; in encode_init()
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c220 p_params->src_main_buf[0].offset.mp[0].len = size; in encode_init()
221 p_params->src_main_buf[0].offset.mp[1].len = size >> 1; in encode_init()
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraMem.cpp214 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
216 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
219 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
221 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
/device/asus/flo/camera/QCamera2/HAL/
DQCameraMem.cpp214 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
216 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
219 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
221 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()

12