/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 93 cam_dimension_t *dim, 97 cam_dimension_t *dim, 102 cam_dimension_t *dim, 106 cam_dimension_t *dim, 110 cam_dimension_t *dim, 112 int32_t mm_stream_calc_offset_metadata(cam_dimension_t *dim, 2677 cam_dimension_t *dim, in mm_stream_calc_offset_preview() argument 2705 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview() 2706 scanline = PAD_TO_SIZE(dim->height, height_padding); in mm_stream_calc_offset_preview() 2714 buf_planes->plane_info.mp[0].width = dim->width; in mm_stream_calc_offset_preview() [all …]
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayCtrl.cpp | 44 bool Ctrl::setPosition(const utils::Dim& dim) in setPosition() argument 46 if(!dim.check(mInfo.mFBWidth, mInfo.mFBHeight)) { in setPosition() 48 dim.dump(); in setPosition() 52 if(!mMdp.setPosition(dim, mInfo.mFBWidth, mInfo.mFBHeight)) { in setPosition()
|
D | overlayCtrlData.h | 67 void setPosition(const utils::Dim& dim); 161 inline void Ctrl::setPosition(const utils::Dim& dim) in setPosition() argument 163 mMdp.setPosition(dim); in setPosition()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayCtrl.cpp | 44 bool Ctrl::setPosition(const utils::Dim& dim) in setPosition() argument 46 if(!dim.check(mInfo.mFBWidth, mInfo.mFBHeight)) { in setPosition() 48 dim.dump(); in setPosition() 52 if(!mMdp.setPosition(dim, mInfo.mFBWidth, mInfo.mFBHeight)) { in setPosition()
|
D | overlayCtrlData.h | 65 void setPosition(const utils::Dim& dim); 133 inline void Ctrl::setPosition(const utils::Dim& dim) in setPosition() argument 135 mMdp->setPosition(dim); in setPosition()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Channel.cpp | 505 void QCamera3Channel::dumpYUV(mm_camera_buf_def_t *frame, cam_dimension_t dim, in dumpYUV() argument 535 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 539 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 543 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 547 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 551 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 555 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 850 cam_dimension_t dim; in streamCbRoutine() local 853 memset(&dim, 0, sizeof(dim)); in streamCbRoutine() 870 stream->getFrameDimension(dim); in streamCbRoutine() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_unit_test.c | 176 mm_camera_lib_snapshot_params dim; in mm_app_tc_start_stop_video_preview() local 177 memset(&dim, 0, sizeof(mm_camera_lib_snapshot_params)); in mm_app_tc_start_stop_video_preview() 190 rc = mm_app_start_record_preview(&test_obj, &dim); in mm_app_tc_start_stop_video_preview() 226 mm_camera_lib_snapshot_params dim; in mm_app_tc_start_stop_video_record() local 227 memset(&dim, 0, sizeof(mm_camera_lib_snapshot_params)); in mm_app_tc_start_stop_video_record() 239 rc = mm_app_start_record_preview(&test_obj, &dim); in mm_app_tc_start_stop_video_record() 303 mm_camera_lib_snapshot_params dim; in mm_app_tc_start_stop_live_snapshot() local 304 memset(&dim, 0, sizeof(mm_camera_lib_snapshot_params)); in mm_app_tc_start_stop_live_snapshot() 316 rc = mm_app_start_record_preview(&test_obj, &dim); in mm_app_tc_start_stop_live_snapshot()
|
D | mm_qcamera_video.c | 379 stream->s_config.stream_info->dim.width = preview_dim.width; in mm_app_add_video_preview_stream() 380 stream->s_config.stream_info->dim.height = preview_dim.height; in mm_app_add_video_preview_stream() 434 stream->s_config.stream_info->dim.width = DEFAULT_SNAPSHOT_WIDTH; in mm_app_add_video_snapshot_stream() 435 stream->s_config.stream_info->dim.height = DEFAULT_SNAPSHOT_HEIGHT; in mm_app_add_video_snapshot_stream() 437 stream->s_config.stream_info->dim.width = test_obj->buffer_width; in mm_app_add_video_snapshot_stream() 438 stream->s_config.stream_info->dim.height = test_obj->buffer_height; in mm_app_add_video_snapshot_stream() 522 stream->s_config.stream_info->dim.width = DEFAULT_PREVIEW_WIDTH; in mm_app_add_video_stream() 523 stream->s_config.stream_info->dim.height = DEFAULT_PREVIEW_HEIGHT; in mm_app_add_video_stream() 566 mm_camera_lib_snapshot_params *dim) in mm_app_start_record_preview() argument 578 if (dim != NULL) { in mm_app_start_record_preview() [all …]
|
D | mm_qcamera_preview.c | 653 stream->s_config.stream_info->dim.width = sizeof(metadata_buffer_t); in mm_app_add_metadata_stream() 654 stream->s_config.stream_info->dim.height = 1; in mm_app_add_metadata_stream() 751 stream->s_config.stream_info->dim = analysis_dim; in mm_app_add_analysis_stream() 819 stream->s_config.stream_info->dim.width = preview_dim.width; in mm_app_add_ZSL_preview_stream() 820 stream->s_config.stream_info->dim.height = preview_dim.height; in mm_app_add_ZSL_preview_stream() 922 stream->s_config.stream_info->dim.width = preview_dim.width; in mm_app_add_preview_stream() 923 stream->s_config.stream_info->dim.height = preview_dim.height; in mm_app_add_preview_stream() 1000 stream->s_config.stream_info->dim.width = DEFAULT_SNAPSHOT_WIDTH; in mm_app_add_raw_stream() 1001 stream->s_config.stream_info->dim.height = DEFAULT_SNAPSHOT_HEIGHT; in mm_app_add_raw_stream() 1003 stream->s_config.stream_info->dim.width = (int32_t)test_obj->buffer_width; in mm_app_add_raw_stream() [all …]
|
D | mm_qcamera_socket.c | 795 cam_dimension_t dim; in eztune_proc() local 798 dim.width = DEFAULT_PREVIEW_WIDTH; in eztune_proc() 799 dim.height = DEFAULT_PREVIEW_HEIGHT; in eztune_proc() 801 LOGD("preview dimension info: w(%d), h(%d)\n", dim.width, dim.height); in eztune_proc() 807 dim, (char **)&lib_handle->tsctrl.proto->send_buf, in eztune_proc()
|
D | mm_qcamera_rdi.c | 175 stream->s_config.stream_info->dim.width = cam_cap->raw_dim[0].width; in mm_app_add_rdi_stream() 176 stream->s_config.stream_info->dim.height = cam_cap->raw_dim[0].height; in mm_app_add_rdi_stream() 234 stream->s_config.stream_info->dim.width = DEFAULT_SNAPSHOT_WIDTH; in mm_app_add_rdi_snapshot_stream() 235 stream->s_config.stream_info->dim.height = DEFAULT_SNAPSHOT_HEIGHT; in mm_app_add_rdi_snapshot_stream()
|
D | mm_qcamera_snapshot.c | 105 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData() 106 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData() 109 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData() 249 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; in createEncodingSession() 250 encode_param.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in createEncodingSession() 599 stream->s_config.stream_info->dim.width = DEFAULT_PREVIEW_WIDTH; in mm_app_add_postview_stream() 600 stream->s_config.stream_info->dim.height = DEFAULT_PREVIEW_HEIGHT; in mm_app_add_postview_stream()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
D | mm_camera_interface.h | 986 cam_dimension_t *dim, 991 cam_dimension_t *dim, 996 cam_dimension_t *dim, 1001 cam_dimension_t *dim, 1006 cam_dimension_t *dim, 1009 int32_t mm_stream_calc_offset_metadata(cam_dimension_t *dim, 1018 cam_dimension_t *dim,
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 527 cam_dimension_t dim; in TsMakeupProcess_Snapshot() local 528 pStream->getFrameDimension(dim); in TsMakeupProcess_Snapshot() 533 inMakeupData.frameWidth = dim.width; in TsMakeupProcess_Snapshot() 534 inMakeupData.frameHeight = dim.height; in TsMakeupProcess_Snapshot() 581 cam_dimension_t dim; in TsMakeupProcess() local 583 pStream->getFrameDimension(dim); in TsMakeupProcess() 598 inMakeupData.frameWidth = dim.width; // NV21 Frame width > 0 in TsMakeupProcess() 599 inMakeupData.frameHeight = dim.height; // NV21 Frame height > 0 in TsMakeupProcess() 604 outMakeupData.frameWidth = dim.width; // NV21 Frame width > 0 in TsMakeupProcess() 605 outMakeupData.frameHeight = dim.height; // NV21 Frame height > 0 in TsMakeupProcess() [all …]
|
D | QCameraStream.cpp | 853 cam_dimension_t dim = streamInfo->dim; in calcOffset() local 859 dim.width = streamInfo->dim.height; in calcOffset() 860 dim.height = streamInfo->dim.width; in calcOffset() 868 &dim, in calcOffset() 874 &dim, in calcOffset() 880 &dim, in calcOffset() 891 &dim, &streamInfo->buf_planes); in calcOffset() 895 &dim, in calcOffset() 901 &dim, in calcOffset() 906 rc = mm_stream_calc_offset_metadata(&dim, in calcOffset() [all …]
|
D | QCameraChannel.cpp | 1231 param.getThumbnailSize(&(streamInfo->dim.width), in addReprocStreamsFromSource() 1232 &(streamInfo->dim.height)); in addReprocStreamsFromSource() 1234 pStream->getFrameDimension(streamInfo->dim); in addReprocStreamsFromSource() 1240 streamInfo->dim); in addReprocStreamsFromSource() 1246 rc = pStream->getFrameDimension(streamInfo->dim); in addReprocStreamsFromSource() 1248 param.getStreamDimension(CAM_STREAM_TYPE_SNAPSHOT,streamInfo->dim); in addReprocStreamsFromSource() 1251 rc = pStream->getFrameDimension(streamInfo->dim); in addReprocStreamsFromSource() 1285 streamInfo->pp_config, streamInfo->dim); in addReprocStreamsFromSource() 1340 streamInfo->dim.width = in addReprocStreamsFromSource() 1342 streamInfo->dim.height = in addReprocStreamsFromSource() [all …]
|
D | QCameraParameters.h | 659 cam_dimension_t &dim); 666 cam_dimension_t &dim, uint32_t cam_type = MM_CAMERA_TYPE_MAIN); 752 int32_t getMaxPicSize(cam_dimension_t &dim) { dim = m_maxPicSize; return NO_ERROR; }; in getMaxPicSize() argument 1066 int32_t setRawSize(cam_dimension_t &dim); 1067 int32_t setMaxPicSize(cam_dimension_t &dim) { m_maxPicSize = dim; return NO_ERROR; }; in setMaxPicSize() argument 1081 void getLiveSnapshotSize(cam_dimension_t &dim); 1082 int32_t getRawSize(cam_dimension_t &dim) {dim = m_rawSize; return NO_ERROR;}; in getRawSize() argument
|
D | QCameraParametersIntf.h | 89 cam_dimension_t &dim); 98 cam_dimension_t &dim, uint32_t cam_type = MM_CAMERA_TYPE_MAIN); 180 int32_t getMaxPicSize(cam_dimension_t &dim);
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayCtrlData.h | 65 void setPosition(const utils::Dim& dim); 133 inline void Ctrl::setPosition(const utils::Dim& dim) in setPosition() argument 135 mMdp->setPosition(dim); in setPosition()
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayCtrlData.h | 65 void setPosition(const utils::Dim& dim); 133 inline void Ctrl::setPosition(const utils::Dim& dim) in setPosition() argument 135 mMdp->setPosition(dim); in setPosition()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg.c | 1383 mm_jpeg_dim_t *dim = &p_jobparams->main_dim; in mm_jpeg_session_config_main_crop() local 1385 if ((dim->crop.width == 0) || (dim->crop.height == 0)) { in mm_jpeg_session_config_main_crop() 1386 dim->crop.width = dim->src_dim.width; in mm_jpeg_session_config_main_crop() 1387 dim->crop.height = dim->src_dim.height; in mm_jpeg_session_config_main_crop() 1390 if ((dim->crop.width + dim->crop.left > dim->src_dim.width) || in mm_jpeg_session_config_main_crop() 1391 (dim->crop.height + dim->crop.top > dim->src_dim.height)) { in mm_jpeg_session_config_main_crop() 1393 dim->crop.width + dim->crop.left, in mm_jpeg_session_config_main_crop() 1394 dim->crop.height + dim->crop.top, in mm_jpeg_session_config_main_crop() 1395 dim->src_dim.width, in mm_jpeg_session_config_main_crop() 1396 dim->src_dim.height); in mm_jpeg_session_config_main_crop() [all …]
|
/hardware/qcom/display/msm8994/liboverlay/pipes/ |
D | overlayGenPipe.h | 54 void setPosition(const utils::Dim& dim);
|
/hardware/qcom/display/msm8226/liboverlay/pipes/ |
D | overlayGenPipe.h | 54 void setPosition(const utils::Dim& dim);
|
/hardware/qcom/display/msm8960/liboverlay/pipes/ |
D | overlayGenPipe.h | 55 void setPosition(const utils::Dim& dim);
|
/hardware/qcom/display/msm8084/liboverlay/pipes/ |
D | overlayGenPipe.h | 54 void setPosition(const utils::Dim& dim);
|