Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraCommon.cpp252 cam_dimension_t expected_dim = cur_dim; in getMatchingDimension() local
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()
264 expected_dim.width &= ~0x1; in getMatchingDimension()
265 expected_dim.height &= ~0x1; in getMatchingDimension()
270 return expected_dim; in getMatchingDimension()