Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraCommon.cpp250 cam_dimension_t cur_dim) in getMatchingDimension() argument
252 cam_dimension_t expected_dim = cur_dim; in getMatchingDimension()
256 cur_ratio = (double)cur_dim.width / (double)cur_dim.height; in getMatchingDimension()
260 expected_dim.height = (int32_t)((double)cur_dim.width / expected_ratio); in getMatchingDimension()
262 expected_dim.width = (int32_t)((double)cur_dim.height * expected_ratio); in getMatchingDimension()
DQCameraCommon.h55 cam_dimension_t cur_dim);