Home
last modified time | relevance | path

Searched refs:refreshRate (Results 1 – 7 of 7) sorted by relevance

/hardware/libhardware/modules/gralloc/
Dframebuffer.cpp219 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/
Ddisplay_config.h106 int configureDynRefreshRate(uint32_t op, uint32_t refreshRate);
Ddisplay_config.cpp155 int configureDynRefreshRate(uint32_t op, uint32_t refreshRate) { in configureDynRefreshRate() argument
160 inParcel.writeInt32(refreshRate); in configureDynRefreshRate()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp230 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 …]
Dhwc_utils.h85 uint32_t refreshRate; member
361 uint32_t roundOff(uint32_t refreshRate);
363 void setRefreshRate(hwc_context_t *ctx, int dpy, uint32_t refreshRate);
Dhwc_qclient.cpp286 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate()
290 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate()
Dhwc_mdpcomp.cpp1971 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()