Searched refs:topCutRatio (Results 1 - 4 of 4) sorted by relevance
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_utils.cpp | 473 static inline void calc_cut(float& leftCutRatio, float& topCutRatio, argument 479 swap(topCutRatio, bottomCutRatio); 484 leftCutRatio = topCutRatio; 485 topCutRatio = rightCutRatio; 575 float leftCutRatio = 0.0f, rightCutRatio = 0.0f, topCutRatio = 0.0f, local 589 topCutRatio = (float)(sci_t - dst_t) / (float)dst_h; 598 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); 600 crop_t += crop_h * topCutRatio;
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
H A D | hwc_utils.cpp | 427 static void calc_cut(double& leftCutRatio, double& topCutRatio, argument 433 swap(topCutRatio, bottomCutRatio); 438 leftCutRatio = topCutRatio; 439 topCutRatio = rightCutRatio; 529 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, local 543 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; 552 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); 554 crop_t += crop_h * topCutRatio;
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_utils.cpp | 954 static void calc_cut(double& leftCutRatio, double& topCutRatio, argument 960 swap(topCutRatio, bottomCutRatio); 965 leftCutRatio = topCutRatio; 966 topCutRatio = rightCutRatio; 1066 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, local 1080 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; 1089 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); 1091 crop_t += (int)round((double)crop_h * topCutRatio);
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_utils.cpp | 935 static void calc_cut(double& leftCutRatio, double& topCutRatio, argument 941 swap(topCutRatio, bottomCutRatio); 946 leftCutRatio = topCutRatio; 947 topCutRatio = rightCutRatio; 1047 double leftCutRatio = 0.0, rightCutRatio = 0.0, topCutRatio = 0.0, local 1061 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; 1070 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); 1072 crop_t += (int)round((double)crop_h * topCutRatio);
|
Completed in 37 milliseconds