Home
last modified time | relevance | path

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

12

/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c2499 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
2500 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline); in mm_stream_calc_offset_preview()
2501 buf_planes->plane_info.mp[0].offset_x = 0; in mm_stream_calc_offset_preview()
2502 buf_planes->plane_info.mp[0].offset_y = 0; in mm_stream_calc_offset_preview()
2503 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview()
2504 buf_planes->plane_info.mp[0].scanline = scanline; in mm_stream_calc_offset_preview()
2505 buf_planes->plane_info.mp[0].width = dim->width; in mm_stream_calc_offset_preview()
2506 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
2510 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
2511 buf_planes->plane_info.mp[1].len = in mm_stream_calc_offset_preview()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c2639 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
2640 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline); in mm_stream_calc_offset_preview()
2641 buf_planes->plane_info.mp[0].offset_x = 0; in mm_stream_calc_offset_preview()
2642 buf_planes->plane_info.mp[0].offset_y = 0; in mm_stream_calc_offset_preview()
2643 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview()
2644 buf_planes->plane_info.mp[0].scanline = scanline; in mm_stream_calc_offset_preview()
2645 buf_planes->plane_info.mp[0].width = dim->width; in mm_stream_calc_offset_preview()
2646 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
2650 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
2651 buf_planes->plane_info.mp[1].len = in mm_stream_calc_offset_preview()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c279 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; in decode_init()
280 p_params->dest_buf[0].offset.mp[1].len = in decode_init()
282 p_params->dest_buf[0].offset.mp[0].stride = CEILING16(p_input->width); in decode_init()
283 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init()
284 p_params->dest_buf[0].offset.mp[1].stride = CEILING16(p_input->width); in decode_init()
285 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); in decode_init()
Dmm_jpeg_test.c353 p_params->src_main_buf[i].offset.mp[0].len = (uint32_t)size; in encode_init()
354 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
355 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
356 p_params->src_main_buf[i].offset.mp[1].len = (uint32_t)(size >> 1); in encode_init()
364 p_params->src_thumb_buf[i].offset.mp[0].len = (uint32_t)size; in encode_init()
365 p_params->src_thumb_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
366 p_params->src_thumb_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
367 p_params->src_thumb_buf[i].offset.mp[1].len = (uint32_t)(size >> 1); in encode_init()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c279 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; in decode_init()
280 p_params->dest_buf[0].offset.mp[1].len = in decode_init()
282 p_params->dest_buf[0].offset.mp[0].stride = CEILING16(p_input->width); in decode_init()
283 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init()
284 p_params->dest_buf[0].offset.mp[1].stride = CEILING16(p_input->width); in decode_init()
285 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); in decode_init()
Dmm_jpeg_test.c353 p_params->src_main_buf[i].offset.mp[0].len = (uint32_t)size; in encode_init()
354 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
355 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
356 p_params->src_main_buf[i].offset.mp[1].len = (uint32_t)(size >> 1); in encode_init()
364 p_params->src_thumb_buf[i].offset.mp[0].len = (uint32_t)size; in encode_init()
365 p_params->src_thumb_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
366 p_params->src_thumb_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
367 p_params->src_thumb_buf[i].offset.mp[1].len = (uint32_t)(size >> 1); in encode_init()
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp525 unsigned char *uvBuf = yBuf + offset.mp[0].len; in TsMakeupProcess_Snapshot()
531 inMakeupData.yStride = offset.mp[0].stride; in TsMakeupProcess_Snapshot()
532 inMakeupData.uvStride = offset.mp[1].stride; in TsMakeupProcess_Snapshot()
583 unsigned char *uvBuf = tempOriBuf + offset.mp[0].len; in TsMakeupProcess()
596 inMakeupData.yStride = offset.mp[0].stride; in TsMakeupProcess()
597 inMakeupData.uvStride = offset.mp[1].stride; in TsMakeupProcess()
601 outMakeupData.uvBuf = tmpBuf + offset.mp[0].len; // VU buffer pointer in TsMakeupProcess()
602 outMakeupData.yStride = offset.mp[0].stride; in TsMakeupProcess()
603 outMakeupData.uvStride = offset.mp[1].stride; in TsMakeupProcess()
996 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
[all …]
DQCameraStream.cpp1286 mFrameLenOffset.frame_len, mFrameLenOffset.mp[0].stride, in getBufs()
1287 mFrameLenOffset.mp[0].scanline, numBufAlloc); in getBufs()
1534 mFrameLenOffset.mp[0].stride, in allocateBuffers()
1535 mFrameLenOffset.mp[0].scanline, in allocateBuffers()
1750 mFrameLenOffset.frame_len,mFrameLenOffset.mp[0].stride, in allocateBatchBufs()
1751 mFrameLenOffset.mp[0].scanline,mNumPlaneBufs); in allocateBatchBufs()
DQCameraMem.cpp287 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
289 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
292 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
294 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp531 unsigned char *uvBuf = yBuf + offset.mp[0].len; in TsMakeupProcess_Snapshot()
537 inMakeupData.yStride = offset.mp[0].stride; in TsMakeupProcess_Snapshot()
538 inMakeupData.uvStride = offset.mp[1].stride; in TsMakeupProcess_Snapshot()
589 unsigned char *uvBuf = tempOriBuf + offset.mp[0].len; in TsMakeupProcess()
602 inMakeupData.yStride = offset.mp[0].stride; in TsMakeupProcess()
603 inMakeupData.uvStride = offset.mp[1].stride; in TsMakeupProcess()
607 outMakeupData.uvBuf = tmpBuf + offset.mp[0].len; // VU buffer pointer in TsMakeupProcess()
608 outMakeupData.yStride = offset.mp[0].stride; in TsMakeupProcess()
609 outMakeupData.uvStride = offset.mp[1].stride; in TsMakeupProcess()
1025 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
[all …]
DQCameraStream.cpp1389 mFrameLenOffset.frame_len, mFrameLenOffset.mp[0].stride, in getBufs()
1390 mFrameLenOffset.mp[0].scanline, numBufAlloc); in getBufs()
1636 mFrameLenOffset.mp[0].stride, in allocateBuffers()
1637 mFrameLenOffset.mp[0].scanline, in allocateBuffers()
1852 mFrameLenOffset.frame_len,mFrameLenOffset.mp[0].stride, in allocateBatchBufs()
1853 mFrameLenOffset.mp[0].scanline,mNumPlaneBufs); in allocateBatchBufs()
DQCameraMem.cpp286 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
288 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
291 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
293 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3PostProc.cpp1301 int32_t temp = encodeParam.src_main_buf[0].offset.mp[0].stride; in encodeFWKData()
1302 encodeParam.src_main_buf[0].offset.mp[0].stride = in encodeFWKData()
1303 encodeParam.src_main_buf[0].offset.mp[0].scanline; in encodeFWKData()
1304 encodeParam.src_main_buf[0].offset.mp[0].scanline = temp; in encodeFWKData()
1306 temp = encodeParam.src_thumb_buf[0].offset.mp[0].stride; in encodeFWKData()
1307 encodeParam.src_thumb_buf[0].offset.mp[0].stride = in encodeFWKData()
1308 encodeParam.src_thumb_buf[0].offset.mp[0].scanline; in encodeFWKData()
1309 encodeParam.src_thumb_buf[0].offset.mp[0].scanline = temp; in encodeFWKData()
1320 encodeParam.src_main_buf[0].offset.mp[0].stride, in encodeFWKData()
1321 encodeParam.src_main_buf[0].offset.mp[0].scanline, in encodeFWKData()
[all …]
DQCamera3Mem.cpp242 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
244 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
247 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
249 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
DQCamera3Channel.cpp568 uint32_t index = offset.mp[i].offset; in dumpYUV()
570 index += offset.mp[i-1].len; in dumpYUV()
572 for (int j = 0; j < offset.mp[i].height; j++) { in dumpYUV()
575 (size_t)offset.mp[i].width); in dumpYUV()
576 index += (uint32_t)offset.mp[i].stride; in dumpYUV()
2238 frame->frame_idx, offset.mp[0].stride, offset.mp[0].scanline); in dumpRawSnapshot()
2286 y * (uint32_t)offset.mp[0].stride_in_bytes / 8; in convertLegacyToRaw16()
2329 y * (uint32_t)offset.mp[0].stride_in_bytes; in convertMipiToRaw16()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c185 rdi_len = buf_planes->plane_info.mp[0].len; in mm_app_add_rdi_stream()
187 buf_planes->plane_info.mp[0].stride, buf_planes->plane_info.mp[0].scanline, in mm_app_add_rdi_stream()
188 buf_planes->plane_info.mp[0].len, buf_planes->plane_info.frame_len); in mm_app_add_rdi_stream()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c183 rdi_len = buf_planes->plane_info.mp[0].len; in mm_app_add_rdi_stream()
185 buf_planes->plane_info.mp[0].stride, buf_planes->plane_info.mp[0].scanline, in mm_app_add_rdi_stream()
186 buf_planes->plane_info.mp[0].len, buf_planes->plane_info.frame_len); in mm_app_add_rdi_stream()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c520 frame_info.cbcrStartOffset[0] = p_src_buf->offset.mp[0].len; in mm_jpeg_session_config_main_buffer_offset()
521 frame_info.cbcrStartOffset[1] = p_src_buf->offset.mp[1].len; in mm_jpeg_session_config_main_buffer_offset()
523 frame_info.yOffset = p_src_buf->offset.mp[0].offset; in mm_jpeg_session_config_main_buffer_offset()
524 frame_info.cbcrOffset[0] = p_src_buf->offset.mp[1].offset; in mm_jpeg_session_config_main_buffer_offset()
525 frame_info.cbcrOffset[1] = p_src_buf->offset.mp[2].offset; in mm_jpeg_session_config_main_buffer_offset()
1006 p_src_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
1008 (OMX_U32)p_src_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
1015 p_src_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
1017 (OMX_U32)p_src_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
1051 p_tmb_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
[all …]
Dmm_jpegdec.c315 p_src_buf->offset.mp[0].stride; in mm_jpegdec_session_config_ports()
317 (OMX_U32)p_src_buf->offset.mp[0].scanline; in mm_jpegdec_session_config_ports()
584 p_params->dest_buf[p_jobparams->dst_index].offset.mp[0].scanline; in mm_jpegdec_session_decode()
586 p_params->dest_buf[p_jobparams->dst_index].offset.mp[0].stride; in mm_jpegdec_session_decode()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3Mem.cpp243 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
245 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
248 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
250 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
DQCamera3PostProc.cpp1448 int32_t temp = encodeParam.src_main_buf[0].offset.mp[0].stride; in encodeData()
1449 encodeParam.src_main_buf[0].offset.mp[0].stride = in encodeData()
1450 encodeParam.src_main_buf[0].offset.mp[0].scanline; in encodeData()
1451 encodeParam.src_main_buf[0].offset.mp[0].scanline = temp; in encodeData()
1453 temp = encodeParam.src_thumb_buf[0].offset.mp[0].stride; in encodeData()
1454 encodeParam.src_thumb_buf[0].offset.mp[0].stride = in encodeData()
1455 encodeParam.src_thumb_buf[0].offset.mp[0].scanline; in encodeData()
1456 encodeParam.src_thumb_buf[0].offset.mp[0].scanline = temp; in encodeData()
1471 encodeParam.src_main_buf[0].offset.mp[0].stride, in encodeData()
1472 encodeParam.src_main_buf[0].offset.mp[0].scanline, in encodeData()
[all …]
DQCamera3Channel.cpp558 uint32_t index = offset.mp[i].offset; in dumpYUV()
560 index += offset.mp[i-1].len; in dumpYUV()
562 for (int j = 0; j < offset.mp[i].height; j++) { in dumpYUV()
565 (size_t)offset.mp[i].width); in dumpYUV()
566 index += (uint32_t)offset.mp[i].stride; in dumpYUV()
2200 frame->frame_idx, offset.mp[0].stride, offset.mp[0].scanline); in dumpRawSnapshot()
2247 y * (uint32_t)offset.mp[0].stride_in_bytes / 8; in convertLegacyToRaw16()
2290 y * (uint32_t)offset.mp[0].stride_in_bytes; in convertMipiToRaw16()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c443 frame_info.cbcrStartOffset[0] = p_src_buf->offset.mp[0].len; in mm_jpeg_session_config_main_buffer_offset()
444 frame_info.cbcrStartOffset[1] = p_src_buf->offset.mp[1].len; in mm_jpeg_session_config_main_buffer_offset()
445 frame_info.yOffset = p_src_buf->offset.mp[0].offset; in mm_jpeg_session_config_main_buffer_offset()
446 frame_info.cbcrOffset[0] = p_src_buf->offset.mp[1].offset; in mm_jpeg_session_config_main_buffer_offset()
447 frame_info.cbcrOffset[1] = p_src_buf->offset.mp[2].offset; in mm_jpeg_session_config_main_buffer_offset()
887 p_src_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
889 (OMX_U32)p_src_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
910 p_tmb_buf->offset.mp[0].stride; in mm_jpeg_session_config_ports()
912 (OMX_U32)p_tmb_buf->offset.mp[0].scanline; in mm_jpeg_session_config_ports()
1173 p_frame_info->cbcrStartOffset[0] = p_tmb_buf->offset.mp[0].len; in mm_jpeg_session_config_thumbnail()
[all …]
Dmm_jpegdec.c315 p_src_buf->offset.mp[0].stride; in mm_jpegdec_session_config_ports()
317 (OMX_U32)p_src_buf->offset.mp[0].scanline; in mm_jpegdec_session_config_ports()
584 p_params->dest_buf[p_jobparams->dst_index].offset.mp[0].scanline; in mm_jpegdec_session_decode()
586 p_params->dest_buf[p_jobparams->dst_index].offset.mp[0].stride; in mm_jpegdec_session_decode()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/x86inc/
Dx86inc.asm389 %xdefine %1mp r %+ %%i %+ mp
530 %define r%1mp dword r%1m

12