Searched defs:topCutRatio (Results 1 - 1 of 1) sorted by relevance
/hardware/qcom/display/libhwcomposer/ |
H A D | hwc_utils.cpp | 466 static inline void calc_cut(float& leftCutRatio, float& topCutRatio, argument 472 swap(topCutRatio, bottomCutRatio); 477 leftCutRatio = topCutRatio; 478 topCutRatio = rightCutRatio; 568 float leftCutRatio = 0.0f, rightCutRatio = 0.0f, topCutRatio = 0.0f, local 582 topCutRatio = (float)(sci_t - dst_t) / (float)dst_h; 591 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); 593 crop_t += crop_h * topCutRatio;
|
Completed in 6 milliseconds