Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_preview.c672 cam_dimension_t max_analysis_dim = in mm_app_get_analysis_stream_dim() local
676 if (preview_dim->width > max_analysis_dim.width || in mm_app_get_analysis_stream_dim()
677 preview_dim->height > max_analysis_dim.height) { in mm_app_get_analysis_stream_dim()
680 max_ratio = (double)max_analysis_dim.width / (double)max_analysis_dim.height; in mm_app_get_analysis_stream_dim()
684 analysis_dim.width = max_analysis_dim.width; in mm_app_get_analysis_stream_dim()
685 analysis_dim.height = (int32_t)((double)max_analysis_dim.width / requested_ratio); in mm_app_get_analysis_stream_dim()
687 analysis_dim.height = max_analysis_dim.height; in mm_app_get_analysis_stream_dim()
688 analysis_dim.width = (int32_t)((double)max_analysis_dim.height * requested_ratio); in mm_app_get_analysis_stream_dim()