Home
last modified time | relevance | path

Searched refs:fbWidth (Results 1 – 11 of 11) 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()
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()
Dhwc_utils.cpp564 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 …]
Dhwc_copybit.cpp96 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local
98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp388 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 …]
Dhwc_virtual.cpp102 int fbWidth = 0, fbHeight = 0; in prepare() local
103 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare()
104 ctx->dpyAttr[dpy].xres = fbWidth; in prepare()
Dhwc_copybit.cpp96 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local
98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp403 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 …]
Dhwc_virtual.cpp113 int fbWidth = 0, fbHeight = 0; in prepare() local
114 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare()
115 ctx->dpyAttr[dpy].xres = fbWidth; in prepare()
Dhwc_copybit.cpp96 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local
98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp325 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()
Dhwc_copybit.cpp100 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local
102 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()