Searched refs:standard_fps (Results 1 – 7 of 7) sorted by relevance
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display_external.cpp | 247 static const uint32_t standard_fps[] = {23976, 24000, 25000, 29970, 30000, 50000, 59940, 60000}; in RoundToStandardFPS() local 251 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS() 254 if (standard_fps[i] > frame_rate) { in RoundToStandardFPS() 256 if ((standard_fps[i] - frame_rate) > (frame_rate - standard_fps[i-1])) { in RoundToStandardFPS() 267 return standard_fps[count - 1]; in RoundToStandardFPS()
|
D | hwc_display.cpp | 1335 static const uint32_t standard_fps[4] = {30, 24, 48, 60}; in RoundToStandardFPS() local 1338 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS() 1340 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS() 1343 return standard_fps[i]; in RoundToStandardFPS()
|
/hardware/qcom/display/sdm845/sdm/libs/hwc/ |
D | hwc_display_external.cpp | 250 static const uint32_t standard_fps[] = {23976, 24000, 25000, 29970, 30000, 50000, 59940, 60000}; in RoundToStandardFPS() local 259 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS() 262 if (standard_fps[i] > frame_rate) { in RoundToStandardFPS() 264 if ((standard_fps[i] - frame_rate) > (frame_rate - standard_fps[i-1])) { in RoundToStandardFPS() 275 return standard_fps[count - 1]; in RoundToStandardFPS()
|
D | hwc_display.cpp | 1480 static const uint32_t standard_fps[4] = {30, 24, 48, 60}; in RoundToStandardFPS() local 1483 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS() 1485 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS() 1488 return standard_fps[i]; in RoundToStandardFPS()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_layers.cpp | 548 static const uint32_t standard_fps[4] = {24, 30, 48, 60}; in RoundToStandardFPS() local 551 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS() 553 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS() 556 return standard_fps[i]; in RoundToStandardFPS()
|
/hardware/qcom/display/sdm845/sdm/libs/hwc2/ |
D | hwc_layers.cpp | 691 static const uint32_t standard_fps[4] = {24, 30, 48, 60}; in SetLayerBuffer() local 694 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in SetLayerBuffer() 696 if ((standard_fps[i] - frame_rate) < 2) { in SetLayerBuffer() 699 return standard_fps[i]; in SetLayerBuffer()
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_layers.cpp | 759 static const uint32_t standard_fps[4] = {24, 30, 48, 60}; in RoundToStandardFPS() local 762 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS() 764 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS() 767 return standard_fps[i]; in RoundToStandardFPS()
|