Searched refs:topCutRatio (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 476 static inline void calc_cut(float& leftCutRatio, float& topCutRatio, in calc_cut() argument 482 swap(topCutRatio, bottomCutRatio); in calc_cut() 487 leftCutRatio = topCutRatio; in calc_cut() 488 topCutRatio = rightCutRatio; in calc_cut() 576 float leftCutRatio = 0.0f, rightCutRatio = 0.0f, topCutRatio = 0.0f, in calculate_crop_rects() local 590 topCutRatio = (float)(sci_t - dst_t) / (float)dst_h; in calculate_crop_rects() 599 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects() 601 crop_t += crop_h * topCutRatio; in calculate_crop_rects()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 954 static void calc_cut(double& leftCutRatio, double& topCutRatio, in calc_cut() argument 960 swap(topCutRatio, bottomCutRatio); in calc_cut() 965 leftCutRatio = topCutRatio; in calc_cut() 966 topCutRatio = rightCutRatio; in calc_cut() 1066 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local 1080 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; in calculate_crop_rects() 1089 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects() 1091 crop_t += (int)round((double)crop_h * topCutRatio); in calculate_crop_rects()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 914 static void calc_cut(double& leftCutRatio, double& topCutRatio, in calc_cut() argument 920 swap(topCutRatio, bottomCutRatio); in calc_cut() 925 leftCutRatio = topCutRatio; in calc_cut() 926 topCutRatio = rightCutRatio; in calc_cut() 1053 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local 1067 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; in calculate_crop_rects() 1076 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects() 1078 crop_t += (int)round((double)crop_h * topCutRatio); in calculate_crop_rects()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 1129 static void calc_cut(double& leftCutRatio, double& topCutRatio, in calc_cut() argument 1135 swap(topCutRatio, bottomCutRatio); in calc_cut() 1140 leftCutRatio = topCutRatio; in calc_cut() 1141 topCutRatio = rightCutRatio; in calc_cut() 1271 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, in calculate_crop_rects() local 1285 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; in calculate_crop_rects() 1294 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects() 1296 crop_t += (int)round((double)crop_h * topCutRatio); in calculate_crop_rects()
|