/hardware/libhardware/modules/gralloc/ |
D | framebuffer.cpp | 219 int refreshRate = refreshQuotient > 0 ? (int)(1000000000000000LLU / refreshQuotient) : 0; local 221 if (refreshRate == 0) { 223 refreshRate = 60*1000; // 60 Hz 235 float fps = refreshRate / 1000.0f;
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | display_config.h | 106 int configureDynRefreshRate(uint32_t op, uint32_t refreshRate);
|
D | display_config.cpp | 155 int configureDynRefreshRate(uint32_t op, uint32_t refreshRate) { in configureDynRefreshRate() argument 160 inParcel.writeInt32(refreshRate); in configureDynRefreshRate()
|
/hardware/qcom/display/msm8909/libqdutils/ |
D | display_config.h | 100 int configureDynRefreshRate(uint32_t op, uint32_t refreshRate);
|
D | display_config.cpp | 155 int configureDynRefreshRate(uint32_t op, uint32_t refreshRate) { in configureDynRefreshRate() argument 160 inParcel.writeInt32(refreshRate); in configureDynRefreshRate()
|
/hardware/qcom/display/msm8996/libqdutils/ |
D | display_config.h | 119 int configureDynRefreshRate(uint32_t op, uint32_t refreshRate);
|
D | display_config.cpp | 165 int configureDynRefreshRate(uint32_t op, uint32_t refreshRate) { in configureDynRefreshRate() argument 170 inParcel.writeInt32(refreshRate); in configureDynRefreshRate()
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
D | hwc_utils.cpp | 254 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].refreshRate = (uint32_t)fps; in openFramebufferDevice() 527 uint32_t defaultRefreshRate = ctx->dpyAttr[dpy].refreshRate; in getRefreshRate() 554 uint32_t roundOff(uint32_t refreshRate) { in roundOff() argument 556 uint32_t rate = refreshRate; in roundOff() 558 if(abs(stdRefreshRates[i] - refreshRate) < 2) { in roundOff() 569 void setRefreshRate(hwc_context_t* ctx, int dpy, uint32_t refreshRate) { in setRefreshRate() argument 571 if(!ctx || refreshRate == ctx->dpyAttr[dpy].dynRefreshRate) in setRefreshRate() 581 snprintf(str, sizeof(str), "%d", refreshRate); in setRefreshRate() 585 __FUNCTION__, refreshRate, strerror(errno)); in setRefreshRate() 587 ctx->dpyAttr[dpy].dynRefreshRate = refreshRate; in setRefreshRate() [all …]
|
D | hwc_qclient.cpp | 269 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate() 273 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate()
|
D | hwc_utils.h | 91 uint32_t refreshRate; member 342 uint32_t roundOff(uint32_t refreshRate); 344 void setRefreshRate(hwc_context_t *ctx, int dpy, uint32_t refreshRate);
|
D | hwc_mdpcomp.cpp | 1924 uint32_t refreshRate = ctx->dpyAttr[mDpy].refreshRate; in setDynRefreshRate() local 1928 refreshRate = mdpHw.getMinFpsSupported(); in setDynRefreshRate() 1933 refreshRate = ctx->listStats[mDpy].refreshRateRequest; in setDynRefreshRate() 1935 setRefreshRate(ctx, mDpy, refreshRate); in setDynRefreshRate() 1977 setRefreshRate(ctx, mDpy, ctx->dpyAttr[mDpy].refreshRate); in prepare() 1994 setRefreshRate(ctx, mDpy, ctx->dpyAttr[mDpy].refreshRate); in prepare()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 230 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].refreshRate = (uint32_t)fps; in openFramebufferDevice() 487 uint32_t roundOff(uint32_t refreshRate) { in roundOff() argument 489 uint32_t rate = refreshRate; in roundOff() 491 if(abs(stdRefreshRates[i] - refreshRate) < 2) { in roundOff() 502 void setRefreshRate(hwc_context_t* ctx, int dpy, uint32_t refreshRate) { in setRefreshRate() argument 504 if(!ctx || refreshRate == ctx->dpyAttr[dpy].dynRefreshRate) in setRefreshRate() 514 snprintf(str, sizeof(str), "%d", refreshRate); in setRefreshRate() 518 __FUNCTION__, refreshRate, strerror(errno)); in setRefreshRate() 520 ctx->dpyAttr[dpy].dynRefreshRate = refreshRate; in setRefreshRate() 522 __FUNCTION__, refreshRate); in setRefreshRate() [all …]
|
D | hwc_utils.h | 85 uint32_t refreshRate; member 363 uint32_t roundOff(uint32_t refreshRate); 365 void setRefreshRate(hwc_context_t *ctx, int dpy, uint32_t refreshRate);
|
D | hwc_qclient.cpp | 286 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate() 290 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate()
|
D | hwc_mdpcomp.cpp | 1971 uint32_t refreshRate = ctx->dpyAttr[mDpy].refreshRate; in setDynRefreshRate() local 1975 refreshRate = mdpHw.getMinFpsSupported(); in setDynRefreshRate() 1979 refreshRate = ctx->listStats[mDpy].refreshRateRequest; in setDynRefreshRate() 1981 setRefreshRate(ctx, mDpy, refreshRate); in setDynRefreshRate() 2023 setRefreshRate(ctx, mDpy, ctx->dpyAttr[mDpy].refreshRate); in prepare() 2040 setRefreshRate(ctx, mDpy, ctx->dpyAttr[mDpy].refreshRate); in prepare()
|