/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 85 cam_dimension_t *dim, 89 cam_dimension_t *dim, 93 cam_dimension_t *dim, 97 cam_dimension_t *dim, 101 cam_dimension_t *dim, 103 int32_t mm_stream_calc_offset_metadata(cam_dimension_t *dim, 2468 cam_dimension_t *dim, in mm_stream_calc_offset_preview() argument 2496 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview() 2497 scanline = PAD_TO_SIZE(dim->height, height_padding); in mm_stream_calc_offset_preview() 2505 buf_planes->plane_info.mp[0].width = dim->width; in mm_stream_calc_offset_preview() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 89 cam_dimension_t *dim, 93 cam_dimension_t *dim, 98 cam_dimension_t *dim, 102 cam_dimension_t *dim, 106 cam_dimension_t *dim, 108 int32_t mm_stream_calc_offset_metadata(cam_dimension_t *dim, 2608 cam_dimension_t *dim, in mm_stream_calc_offset_preview() argument 2636 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview() 2637 scanline = PAD_TO_SIZE(dim->height, height_padding); in mm_stream_calc_offset_preview() 2645 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 | 498 void QCamera3Channel::dumpYUV(mm_camera_buf_def_t *frame, cam_dimension_t dim, in dumpYUV() argument 531 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 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() 816 cam_dimension_t dim; in streamCbRoutine() local 819 memset(&dim, 0, sizeof(dim)); in streamCbRoutine() 836 stream->getFrameDimension(dim); in streamCbRoutine() [all …]
|
/hardware/qcom/camera/QCamera2/HAL3/ |
D | QCamera3Channel.cpp | 496 void QCamera3Channel::dumpYUV(mm_camera_buf_def_t *frame, cam_dimension_t dim, in dumpYUV() argument 529 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 533 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 537 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 541 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 545 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 798 cam_dimension_t dim; in streamCbRoutine() local 801 memset(&dim, 0, sizeof(dim)); in streamCbRoutine() 818 stream->getFrameDimension(dim); in streamCbRoutine() 821 dumpYUV(super_frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_PREVIEW); in streamCbRoutine() [all …]
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | ssd1306-oled.cxx | 116 lcd->dim(true); in main() 120 lcd->dim(false); in main()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_unit_test.c | 174 mm_camera_lib_snapshot_params dim; in mm_app_tc_start_stop_video_preview() local 175 memset(&dim, 0, sizeof(mm_camera_lib_snapshot_params)); in mm_app_tc_start_stop_video_preview() 188 rc = mm_app_start_record_preview(&test_obj, &dim); in mm_app_tc_start_stop_video_preview() 224 mm_camera_lib_snapshot_params dim; in mm_app_tc_start_stop_video_record() local 225 memset(&dim, 0, sizeof(mm_camera_lib_snapshot_params)); in mm_app_tc_start_stop_video_record() 237 rc = mm_app_start_record_preview(&test_obj, &dim); in mm_app_tc_start_stop_video_record() 301 mm_camera_lib_snapshot_params dim; in mm_app_tc_start_stop_live_snapshot() local 302 memset(&dim, 0, sizeof(mm_camera_lib_snapshot_params)); in mm_app_tc_start_stop_live_snapshot() 314 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 | 637 stream->s_config.stream_info->dim.width = sizeof(metadata_buffer_t); in mm_app_add_metadata_stream() 638 stream->s_config.stream_info->dim.height = 1; in mm_app_add_metadata_stream() 735 stream->s_config.stream_info->dim = analysis_dim; in mm_app_add_analysis_stream() 803 stream->s_config.stream_info->dim.width = preview_dim.width; in mm_app_add_ZSL_preview_stream() 804 stream->s_config.stream_info->dim.height = preview_dim.height; in mm_app_add_ZSL_preview_stream() 906 stream->s_config.stream_info->dim.width = preview_dim.width; in mm_app_add_preview_stream() 907 stream->s_config.stream_info->dim.height = preview_dim.height; in mm_app_add_preview_stream() 984 stream->s_config.stream_info->dim.width = DEFAULT_SNAPSHOT_WIDTH; in mm_app_add_raw_stream() 985 stream->s_config.stream_info->dim.height = DEFAULT_SNAPSHOT_HEIGHT; in mm_app_add_raw_stream() 987 stream->s_config.stream_info->dim.width = (int32_t)test_obj->buffer_width; in mm_app_add_raw_stream() [all …]
|
/hardware/qcom/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 895 cam_dimension_t *dim, 900 cam_dimension_t *dim, 904 cam_dimension_t *dim, 909 cam_dimension_t *dim, 914 cam_dimension_t *dim, 917 int32_t mm_stream_calc_offset_metadata(cam_dimension_t *dim, 926 cam_dimension_t *dim,
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
D | mm_camera_interface.h | 958 cam_dimension_t *dim, 963 cam_dimension_t *dim, 968 cam_dimension_t *dim, 973 cam_dimension_t *dim, 978 cam_dimension_t *dim, 981 int32_t mm_stream_calc_offset_metadata(cam_dimension_t *dim, 990 cam_dimension_t *dim,
|
/hardware/qcom/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 521 cam_dimension_t dim; in TsMakeupProcess_Snapshot() local 522 pStream->getFrameDimension(dim); in TsMakeupProcess_Snapshot() 527 inMakeupData.frameWidth = dim.width; in TsMakeupProcess_Snapshot() 528 inMakeupData.frameHeight = dim.height; in TsMakeupProcess_Snapshot() 575 cam_dimension_t dim; in TsMakeupProcess() local 577 pStream->getFrameDimension(dim); in TsMakeupProcess() 592 inMakeupData.frameWidth = dim.width; // NV21 Frame width > 0 in TsMakeupProcess() 593 inMakeupData.frameHeight = dim.height; // NV21 Frame height > 0 in TsMakeupProcess() 598 outMakeupData.frameWidth = dim.width; // NV21 Frame width > 0 in TsMakeupProcess() 599 outMakeupData.frameHeight = dim.height; // NV21 Frame height > 0 in TsMakeupProcess() [all …]
|
D | QCameraStream.cpp | 781 cam_dimension_t dim = streamInfo->dim; in calcOffset() local 787 dim.width = streamInfo->dim.height; in calcOffset() 788 dim.height = streamInfo->dim.width; in calcOffset() 796 &dim, in calcOffset() 802 &dim, in calcOffset() 807 &dim, in calcOffset() 818 &dim, &streamInfo->buf_planes); in calcOffset() 822 &dim, in calcOffset() 828 &dim, in calcOffset() 833 rc = mm_stream_calc_offset_metadata(&dim, in calcOffset() [all …]
|
/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 | 845 cam_dimension_t dim = streamInfo->dim; in calcOffset() local 851 dim.width = streamInfo->dim.height; in calcOffset() 852 dim.height = streamInfo->dim.width; in calcOffset() 860 &dim, in calcOffset() 866 &dim, in calcOffset() 872 &dim, in calcOffset() 883 &dim, &streamInfo->buf_planes); in calcOffset() 887 &dim, in calcOffset() 893 &dim, in calcOffset() 898 rc = mm_stream_calc_offset_metadata(&dim, in calcOffset() [all …]
|
D | QCameraChannel.cpp | 1206 param.getThumbnailSize(&(streamInfo->dim.width), in addReprocStreamsFromSource() 1207 &(streamInfo->dim.height)); in addReprocStreamsFromSource() 1209 pStream->getFrameDimension(streamInfo->dim); in addReprocStreamsFromSource() 1215 streamInfo->dim); in addReprocStreamsFromSource() 1221 rc = pStream->getFrameDimension(streamInfo->dim); in addReprocStreamsFromSource() 1223 param.getStreamDimension(CAM_STREAM_TYPE_SNAPSHOT,streamInfo->dim); in addReprocStreamsFromSource() 1226 rc = pStream->getFrameDimension(streamInfo->dim); in addReprocStreamsFromSource() 1260 streamInfo->pp_config, streamInfo->dim); in addReprocStreamsFromSource() 1315 streamInfo->dim.width = in addReprocStreamsFromSource() 1317 streamInfo->dim.height = in addReprocStreamsFromSource() [all …]
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg.c | 1206 mm_jpeg_dim_t *dim = &p_jobparams->main_dim; in mm_jpeg_session_config_main_crop() local 1208 if ((dim->crop.width == 0) || (dim->crop.height == 0)) { in mm_jpeg_session_config_main_crop() 1209 dim->crop.width = dim->src_dim.width; in mm_jpeg_session_config_main_crop() 1210 dim->crop.height = dim->src_dim.height; in mm_jpeg_session_config_main_crop() 1213 if ((dim->crop.width + dim->crop.left > dim->src_dim.width) || in mm_jpeg_session_config_main_crop() 1214 (dim->crop.height + dim->crop.top > dim->src_dim.height)) { in mm_jpeg_session_config_main_crop() 1216 dim->crop.width + dim->crop.left, in mm_jpeg_session_config_main_crop() 1217 dim->crop.height + dim->crop.top, in mm_jpeg_session_config_main_crop() 1218 dim->src_dim.width, in mm_jpeg_session_config_main_crop() 1219 dim->src_dim.height); in mm_jpeg_session_config_main_crop() [all …]
|
/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/display/msm8909/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/bsp/intel/peripheral/libupm/src/lcd/ |
D | ssd1306.h | 218 void dim(bool dim);
|
/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 …]
|