Searched refs:requested_ratio (Results 1 – 1 of 1) sorted by relevance
678 double max_ratio, requested_ratio; in mm_app_get_analysis_stream_dim() local681 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()