Home
last modified time | relevance | path

Searched refs:refreshRate (Results 1 – 15 of 15) 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/msm8909/libqdutils/
Ddisplay_config.h100 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/msm8996/libqdutils/
Ddisplay_config.h119 int configureDynRefreshRate(uint32_t op, uint32_t refreshRate);
Ddisplay_config.cpp165 int configureDynRefreshRate(uint32_t op, uint32_t refreshRate) { in configureDynRefreshRate() argument
170 inParcel.writeInt32(refreshRate); in configureDynRefreshRate()
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp254 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 …]
Dhwc_qclient.cpp269 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate()
273 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate()
Dhwc_utils.h91 uint32_t refreshRate; member
342 uint32_t roundOff(uint32_t refreshRate);
344 void setRefreshRate(hwc_context_t *ctx, int dpy, uint32_t refreshRate);
Dhwc_mdpcomp.cpp1924 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/
Dhwc_utils.cpp230 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 …]
Dhwc_utils.h85 uint32_t refreshRate; member
363 uint32_t roundOff(uint32_t refreshRate);
365 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()