Home
last modified time | relevance | path

Searched refs:crop_data (Results 1 – 7 of 7) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.cpp4865 IF_META_AVAILABLE(cam_crop_data_t, crop_data, CAM_INTF_META_CROP_DATA, meta) { in overrideMetadata()
4866 if (MAX_NUM_STREAMS > crop_data->num_of_streams) { in overrideMetadata()
4867 for (int j = 0; j < crop_data->num_of_streams; j++) { in overrideMetadata()
4868 if (crop_data->crop_info[j].stream_id == in overrideMetadata()
4873 crop_data->crop_info[crop_data->num_of_streams].crop = in overrideMetadata()
4874 crop_data->crop_info[j].crop; in overrideMetadata()
4875 crop_data->crop_info[crop_data->num_of_streams].roi_map = in overrideMetadata()
4876 crop_data->crop_info[j].roi_map; in overrideMetadata()
4877 crop_data->crop_info[crop_data->num_of_streams].stream_id = in overrideMetadata()
4879 crop_data->num_of_streams++; in overrideMetadata()
[all …]
DQCamera3HWI.cpp8031 IF_META_AVAILABLE(cam_crop_data_t, crop_data, CAM_INTF_META_CROP_DATA, metadata) { in translateFromHalMetadata()
8032 uint8_t cnt = crop_data->num_of_streams; in translateFromHalMetadata()
8052 if (crop_data->crop_info[i].stream_id == reproc_stream_id) { in translateFromHalMetadata()
8062 crop[0] = crop_data->crop_info[i].crop.left; in translateFromHalMetadata()
8063 crop[1] = crop_data->crop_info[i].crop.top; in translateFromHalMetadata()
8064 crop[2] = crop_data->crop_info[i].crop.width; in translateFromHalMetadata()
8065 crop[3] = crop_data->crop_info[i].crop.height; in translateFromHalMetadata()
8067 roi_map.add(crop_data->crop_info[i].roi_map.left); in translateFromHalMetadata()
8068 roi_map.add(crop_data->crop_info[i].roi_map.top); in translateFromHalMetadata()
8069 roi_map.add(crop_data->crop_info[i].roi_map.width); in translateFromHalMetadata()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraStateMachine.h178 cam_crop_data_t crop_data; member
DQCamera2HWICallbacks.cpp2078 IF_META_AVAILABLE(cam_crop_data_t, crop_data, CAM_INTF_META_CROP_DATA, pMetaData) { in updateMetadata()
2081 crop_data->ignore_crop = 1; // CPP ignores the crop in this special zone in updateMetadata()
2083 crop_data->margins.widthMargins = 0.0f; in updateMetadata()
2084 crop_data->margins.heightMargins = 0.0f; in updateMetadata()
2086 crop_data->ignore_crop = 0; in updateMetadata()
2088 crop_data->margins = m_pFovControl->getFrameMargins(mMasterCamera); in updateMetadata()
2302 IF_META_AVAILABLE(cam_crop_data_t, crop_data, CAM_INTF_META_CROP_DATA, pMetaData) { in metadata_stream_cb_routine()
2303 if (crop_data->num_of_streams > MAX_NUM_STREAMS) { in metadata_stream_cb_routine()
2305 crop_data->num_of_streams); in metadata_stream_cb_routine()
2313 payload->crop_data = *crop_data; in metadata_stream_cb_routine()
DQCameraStateMachine.cpp1625 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPreviewingState()
1816 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPrepareSnapshotState()
2221 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPicTakingState()
2701 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtRecordingState()
3087 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtVideoPicTakingState()
3602 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPreviewPicTakingState()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c2875 cam_crop_data_t crop_data = *p_crop_data; in mm_channel_handle_metadata() local
2888 for (i=0; i<crop_data.num_of_streams; i++) { in mm_channel_handle_metadata()
2889 if (snapshot_stream_id == crop_data.crop_info[i].stream_id) { in mm_channel_handle_metadata()
2890 if (!crop_data.crop_info[i].crop.left && in mm_channel_handle_metadata()
2891 !crop_data.crop_info[i].crop.top) { in mm_channel_handle_metadata()
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dcam_types.h1948 cam_crop_data_t crop_data; /* crop data */ member