Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_external.cpp247 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()
Dhwc_display.cpp1335 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/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_external.cpp251 static const uint32_t standard_fps[] = {23976, 24000, 25000, 29970, 30000, 50000, 59940, 60000}; in RoundToStandardFPS() local
260 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS()
263 if (standard_fps[i] > frame_rate) { in RoundToStandardFPS()
265 if ((standard_fps[i] - frame_rate) > (frame_rate - standard_fps[i-1])) { in RoundToStandardFPS()
276 return standard_fps[count - 1]; in RoundToStandardFPS()
Dhwc_display.cpp1480 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/msm8909/sdm/libs/hwc/
Dhwc_display_external.cpp251 static const uint32_t standard_fps[] = {23976, 24000, 25000, 29970, 30000, 50000, 59940, 60000}; in RoundToStandardFPS() local
260 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS()
263 if (standard_fps[i] > frame_rate) { in RoundToStandardFPS()
265 if ((standard_fps[i] - frame_rate) > (frame_rate - standard_fps[i-1])) { in RoundToStandardFPS()
276 return standard_fps[count - 1]; in RoundToStandardFPS()
Dhwc_display.cpp1480 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/
Dhwc_layers.cpp593 static const uint32_t standard_fps[4] = {24, 30, 48, 60}; in RoundToStandardFPS() local
596 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS()
598 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
601 return standard_fps[i]; in RoundToStandardFPS()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.cpp729 static const uint32_t standard_fps[4] = {24, 30, 48, 60}; in RoundToStandardFPS() local
732 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS()
734 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
737 return standard_fps[i]; in RoundToStandardFPS()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.cpp787 static const uint32_t standard_fps[4] = {24, 30, 48, 60}; in RoundToStandardFPS() local
790 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS()
792 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
795 return standard_fps[i]; in RoundToStandardFPS()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp785 static const uint32_t standard_fps[4] = {24, 30, 48, 60}; in RoundToStandardFPS() local
788 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS()
790 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
793 return standard_fps[i]; in RoundToStandardFPS()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_layers.cpp950 static const uint32_t standard_fps[4] = {24, 30, 48, 60}; in RoundToStandardFPS() local
953 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS()
955 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
958 return standard_fps[i]; in RoundToStandardFPS()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_layers.cpp966 static const uint32_t standard_fps[4] = {24, 30, 48, 60}; in RoundToStandardFPS() local
969 int count = INT(sizeof(standard_fps) / sizeof(standard_fps[0])); in RoundToStandardFPS()
971 if ((standard_fps[i] - frame_rate) < 2) { in RoundToStandardFPS()
974 return standard_fps[i]; in RoundToStandardFPS()