Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_preview.c678 double max_ratio, requested_ratio; in mm_app_get_analysis_stream_dim() local
681 requested_ratio = (double)preview_dim->width / (double)preview_dim->height; in mm_app_get_analysis_stream_dim()
683 if (max_ratio < requested_ratio) { 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()
688 analysis_dim.width = (int32_t)((double)max_analysis_dim.height * requested_ratio); in mm_app_get_analysis_stream_dim()