/hardware/qcom/display/msm8909/libhwcomposer/ |
D | hwc_virtual.cpp | 81 int fbWidth = 0, fbHeight = 0; in prepare() local 82 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare() 83 ctx->dpyAttr[dpy].xres = fbWidth; in prepare() 226 int fbWidth = ctx->dpyAttr[dpy].xres; in setMDPScalingMode() local 228 if((getWidth(ohnd) != fbWidth) || (getHeight(ohnd) != fbHeight)) { in setMDPScalingMode() 234 __FUNCTION__, fbWidth, fbHeight, in setMDPScalingMode()
|
D | hwc_utils.cpp | 631 uint32_t fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() local 636 ctx->mHDMIDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition() 644 swap(fbWidth, fbHeight); in getActionSafePosition() 648 float asW = (float)fbWidth; in getActionSafePosition() 652 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition() 654 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition() 658 xRatio = (float)x/(float)fbWidth; in getActionSafePosition() 660 wRatio = (float)w/(float)fbWidth; in getActionSafePosition() 683 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition() local 688 float width = fbWidth; in getAspectRatioPosition() [all …]
|
D | hwc_copybit.cpp | 145 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local 147 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_virtual.cpp | 81 int fbWidth = 0, fbHeight = 0; in prepare() local 82 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare() 83 ctx->dpyAttr[dpy].xres = fbWidth; in prepare() 225 int fbWidth = ctx->dpyAttr[dpy].xres; in setMDPScalingMode() local 228 getBufferSizeAndDimensions(fbWidth, fbHeight, ohnd->format, alW, alH); in setMDPScalingMode()
|
D | hwc_utils.cpp | 564 uint32_t fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() local 569 ctx->mHDMIDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition() 577 swap(fbWidth, fbHeight); in getActionSafePosition() 581 float asW = (float)fbWidth; in getActionSafePosition() 585 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition() 587 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition() 591 xRatio = (float)x/(float)fbWidth; in getActionSafePosition() 593 wRatio = (float)w/(float)fbWidth; in getActionSafePosition() 616 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition() local 621 float width = fbWidth; in getAspectRatioPosition() [all …]
|
D | hwc_copybit.cpp | 96 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local 98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 403 int fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() local 408 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition() 416 swap(fbWidth, fbHeight); in getActionSafePosition() 420 float asW = (float)fbWidth; in getActionSafePosition() 424 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition() 426 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition() 430 xRatio = (float)x/(float)fbWidth; in getActionSafePosition() 432 wRatio = (float)w/(float)fbWidth; in getActionSafePosition() 455 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition() local 460 float width = fbWidth; in getAspectRatioPosition() [all …]
|
D | hwc_virtual.cpp | 113 int fbWidth = 0, fbHeight = 0; in prepare() local 114 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare() 115 ctx->dpyAttr[dpy].xres = fbWidth; in prepare()
|
D | hwc_copybit.cpp | 96 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local 98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 388 int fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() local 393 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition() 401 swap(fbWidth, fbHeight); in getActionSafePosition() 405 float asW = (float)fbWidth; in getActionSafePosition() 409 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition() 411 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition() 415 xRatio = (float)x/(float)fbWidth; in getActionSafePosition() 417 wRatio = (float)w/(float)fbWidth; in getActionSafePosition() 468 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition() local 473 float width = fbWidth; in getAspectRatioPosition() [all …]
|
D | hwc_virtual.cpp | 102 int fbWidth = 0, fbHeight = 0; in prepare() local 103 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare() 104 ctx->dpyAttr[dpy].xres = fbWidth; in prepare()
|
D | hwc_copybit.cpp | 96 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local 98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 325 float fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() local 330 float asW = fbWidth; in getActionSafePosition() 340 asW = fbWidth * (1.0f - asWidthRatio / 100.0f); in getActionSafePosition() 342 asX = (fbWidth - asW) / 2; in getActionSafePosition() 346 xRatio = (float)x/fbWidth; in getActionSafePosition() 348 wRatio = (float)w/fbWidth; in getActionSafePosition()
|
D | hwc_copybit.cpp | 100 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local 102 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
|