Home
last modified time | relevance | path

Searched refs:fbHeight (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_virtual.cpp81 int fbWidth = 0, fbHeight = 0; in prepare() local
82 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare()
84 ctx->dpyAttr[dpy].yres = fbHeight; in prepare()
226 int fbHeight = ctx->dpyAttr[dpy].yres; in setMDPScalingMode() local
228 getBufferSizeAndDimensions(fbWidth, fbHeight, ohnd->format, alW, alH); in setMDPScalingMode()
Dhwc_copybit.cpp97 int fbHeight = ctx->dpyAttr[dpy].yres; in canUseCopybitForRGB() local
98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp389 int fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition() local
393 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
401 swap(fbWidth, fbHeight); in getActionSafePosition()
406 float asH = (float)fbHeight; in getActionSafePosition()
410 asH = ((float)fbHeight * (1.0f - (float)asHeightRatio / 100.0f)); in getActionSafePosition()
412 asY = ((float)fbHeight - asH) / 2; in getActionSafePosition()
416 yRatio = (float)y/(float)fbHeight; in getActionSafePosition()
418 hRatio = (float)h/(float)fbHeight; in getActionSafePosition()
469 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition() local
474 float height = fbHeight; in getAspectRatioPosition()
[all …]
Dhwc_virtual.cpp102 int fbWidth = 0, fbHeight = 0; in prepare() local
103 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare()
105 ctx->dpyAttr[dpy].yres = fbHeight; in prepare()
Dhwc_copybit.cpp97 int fbHeight = ctx->dpyAttr[dpy].yres; in canUseCopybitForRGB() local
98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp404 int fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition() local
408 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
416 swap(fbWidth, fbHeight); in getActionSafePosition()
421 float asH = (float)fbHeight; in getActionSafePosition()
425 asH = ((float)fbHeight * (1.0f - (float)asHeightRatio / 100.0f)); in getActionSafePosition()
427 asY = ((float)fbHeight - asH) / 2; in getActionSafePosition()
431 yRatio = (float)y/(float)fbHeight; in getActionSafePosition()
433 hRatio = (float)h/(float)fbHeight; in getActionSafePosition()
456 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition() local
461 float height = fbHeight; in getAspectRatioPosition()
[all …]
Dhwc_virtual.cpp113 int fbWidth = 0, fbHeight = 0; in prepare() local
114 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare()
116 ctx->dpyAttr[dpy].yres = fbHeight; in prepare()
Dhwc_copybit.cpp97 int fbHeight = ctx->dpyAttr[dpy].yres; in canUseCopybitForRGB() local
98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp326 float fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition() local
331 float asH= fbHeight; in getActionSafePosition()
341 asH = fbHeight * (1.0f - asHeightRatio / 100.0f); in getActionSafePosition()
343 asY = (fbHeight - asH) / 2; in getActionSafePosition()
347 yRatio = (float)y/fbHeight; in getActionSafePosition()
349 hRatio = (float)h/fbHeight; in getActionSafePosition()
Dhwc_copybit.cpp101 int fbHeight = ctx->dpyAttr[dpy].yres; in canUseCopybitForRGB() local
102 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()