Searched refs:refreshRate (Results 1 – 7 of 7) sorted by relevance
/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/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 230 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].refreshRate = (uint32_t)fps; in openFramebufferDevice() 485 uint32_t roundOff(uint32_t refreshRate) { in roundOff() argument 487 uint32_t rate = refreshRate; in roundOff() 489 if(abs(stdRefreshRates[i] - refreshRate) < 2) { in roundOff() 500 void setRefreshRate(hwc_context_t* ctx, int dpy, uint32_t refreshRate) { in setRefreshRate() argument 502 if(!ctx || refreshRate == ctx->dpyAttr[dpy].dynRefreshRate) in setRefreshRate() 512 snprintf(str, sizeof(str), "%d", refreshRate); in setRefreshRate() 516 __FUNCTION__, refreshRate, strerror(errno)); in setRefreshRate() 518 ctx->dpyAttr[dpy].dynRefreshRate = refreshRate; in setRefreshRate() 520 __FUNCTION__, refreshRate); in setRefreshRate() [all …]
|
D | hwc_utils.h | 85 uint32_t refreshRate; member 361 uint32_t roundOff(uint32_t refreshRate); 363 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()
|