/hardware/qcom/display/msm8084/libvirtual/ |
D | virtual.cpp | 75 width = mVInfo.xres; in getAttributes() 84 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres = 0; in teardown() 109 extW = mVInfo.xres; in initResolution() 153 if((maxArea > (mVInfo.xres * mVInfo.yres)) in setDownScaleMode() 163 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() 165 uint32_t priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes() 189 mVInfo.xres, mVInfo.yres); in setAttributes()
|
/hardware/qcom/display/msm8226/libvirtual/ |
D | virtual.cpp | 76 width = mVInfo.xres; in getAttributes() 85 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres = 0; in teardown() 110 extW = mVInfo.xres; in initResolution() 165 if((maxArea > (mVInfo.xres * mVInfo.yres)) in setDownScaleMode() 175 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() 177 uint32_t priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes() 201 mVInfo.xres, mVInfo.yres); in setAttributes()
|
/hardware/samsung_slsi/exynos5/gralloc/ |
D | framebuffer.cpp | 107 static void get_screen_res(const char *fbname, int32_t *xres, int32_t *yres, in get_screen_res() argument 134 *xres = (int32_t)_x; in get_screen_res() 148 *xres = 2560; in get_screen_res() 184 get_screen_res("fb0", &module->xres, &module->yres, &refreshRate); in init_fb() 188 float xdpi = (module->xres * 25.4f) / info.width; in init_fb() 197 finfo.id, module->xres, module->yres, info.width, xdpi, info.height, in init_fb() 200 module->line_length = module->xres * 4; in init_fb() 260 const_cast<uint32_t&>(dev->width) = m->xres; in fb_device_open()
|
/hardware/qcom/display/msm8974/liboverlay/ |
D | overlayWriteback.cpp | 113 bool Writeback::configureDpyInfo(int xres, int yres) { in configureDpyInfo() argument 114 if(mXres != xres || mYres != yres) { in configureDpyInfo() 121 vinfo.xres = xres; in configureDpyInfo() 123 vinfo.xres_virtual = xres; in configureDpyInfo() 131 mXres = xres; in configureDpyInfo()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayWriteback.cpp | 115 bool Writeback::configureDpyInfo(int xres, int yres) { in configureDpyInfo() argument 116 if(mXres != xres || mYres != yres) { in configureDpyInfo() 123 vinfo.xres = xres; in configureDpyInfo() 125 vinfo.xres_virtual = xres; in configureDpyInfo() 133 mXres = xres; in configureDpyInfo()
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayWriteback.cpp | 115 bool Writeback::configureDpyInfo(int xres, int yres) { in configureDpyInfo() argument 116 if(mXres != xres || mYres != yres) { in configureDpyInfo() 123 vinfo.xres = xres; in configureDpyInfo() 125 vinfo.xres_virtual = xres; in configureDpyInfo() 133 mXres = xres; in configureDpyInfo()
|
/hardware/libhardware/modules/gralloc/ |
D | framebuffer.cpp | 123 0, 0, m->info.xres, m->info.yres, in fb_post() 128 0, 0, m->info.xres, m->info.yres, in fb_post() 213 * ( info.left_margin + info.right_margin + info.xres ) 229 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); 233 float xdpi = (info.xres * 25.4f) / info.width; 249 info.xres, 348 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | framebuffer.cpp | 201 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 222 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 241 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 245 float xdpi = (info.xres * 25.4f) / info.width; in mapFrameBufferLocked() 273 info.xres, in mapFrameBufferLocked() 321 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 385 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8974/libgralloc/ |
D | framebuffer.cpp | 201 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 222 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 241 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 245 float xdpi = (info.xres * 25.4f) / info.width; in mapFrameBufferLocked() 273 info.xres, in mapFrameBufferLocked() 321 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 391 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | framebuffer.cpp | 207 size_t size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 228 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 249 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 253 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width; in mapFrameBufferLocked() 283 info.xres, in mapFrameBufferLocked() 334 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 410 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | framebuffer.cpp | 205 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 226 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 247 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 251 float xdpi = (info.xres * 25.4f) / info.width; in mapFrameBufferLocked() 280 info.xres, in mapFrameBufferLocked() 332 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 409 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 79 bool isValidResolution(hwc_context_t *ctx, uint32_t xres, uint32_t yres) in isValidResolution() argument 81 return !((xres > qdutils::MAX_DISPLAY_DIM && in isValidResolution() 83 (xres < MIN_DISPLAY_XRES || yres < MIN_DISPLAY_YRES)); in isValidResolution() 96 int xres = atoi(property); in changeResolution() local 98 if (isValidResolution(ctx,xres,yres) && in changeResolution() 99 xres != xres_orig && yres != yres_orig) { in changeResolution() 100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = xres; in changeResolution() 128 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice() 132 float xdpi = (info.xres * 25.4f) / info.width; in openFramebufferDevice() 163 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice() [all …]
|
/hardware/qcom/display/msm8084/libexternal/ |
D | external.cpp | 264 info.xres = mode->active_h; in setDisplayTiming() 505 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution() 524 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution() 585 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width; in setAttributes() 590 int priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes() 598 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = priW; in setAttributes() 603 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = priH; in setAttributes()
|
/hardware/ti/omap4xxx/hwc/ |
D | hwc.c | 93 __u32 xres; /* external screen resolution */ member 584 ext->xres, ext->yres, ext->width, ext->height, in set_ext_matrix() 588 m_translate(ext->m, ext->xres >> 1, ext->yres >> 1); in set_ext_matrix() 800 __u32 xres, __u32 yres, __u32 refresh, in add_scaling_score() argument 804 __u32 area = xres * yres; in add_scaling_score() 809 int upscale = (ext_xres >= xres * 99 / 100 && ext_yres >= yres * 99 / 100); in add_scaling_score() 837 static int omap4_hwc_set_best_hdmi_mode(omap4_hwc_device_t *hwc_dev, __u32 xres, __u32 yres, in omap4_hwc_set_best_hdmi_mode() argument 852 xres * yres == 0) in omap4_hwc_set_best_hdmi_mode() 858 ext->xres = d.dis.timings.x_res; in omap4_hwc_set_best_hdmi_mode() 862 if (!ext->xres || !ext->yres) { in omap4_hwc_set_best_hdmi_mode() [all …]
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 78 bool isValidResolution(hwc_context_t *ctx, uint32_t xres, uint32_t yres) in isValidResolution() argument 80 return !((xres > qdutils::MAX_DISPLAY_DIM && in isValidResolution() 82 (xres < MIN_DISPLAY_XRES || yres < MIN_DISPLAY_YRES)); in isValidResolution() 95 int xres = atoi(property); in changeResolution() local 97 if (isValidResolution(ctx,xres,yres) && in changeResolution() 98 xres != xres_orig && yres != yres_orig) { in changeResolution() 99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = xres; in changeResolution() 127 info.width = (int)(((float)info.xres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice() 131 float xdpi = ((float)info.xres * 25.4f) / (float)info.width; in openFramebufferDevice() 162 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice() [all …]
|
/hardware/qcom/display/msm8226/libexternal/ |
D | external.cpp | 265 info.xres = mode->active_h; in setDisplayTiming() 506 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution() 525 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution() 586 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width; in setAttributes() 591 int priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes() 616 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = in setAttributes()
|
/hardware/intel/img/psb_video/src/x11/ |
D | psb_ctexture.c | 389 unsigned int xres, yres, xoffset, yoffset, overscanmode, pannelfitting; in psb_putsurface_ctexture() local 392 …psb_xrandr_extvideo_prop(&xres, &yres, &xoffset, &yoffset, ¢er, &subtitle, &overscanmode, &pan… in psb_putsurface_ctexture() 394 xres = extend_display_width - xoffset; in psb_putsurface_ctexture() 398 ret = psb_extend_dri_init(ctx, xoffset, yoffset, xres, yres); in psb_putsurface_ctexture() 406 … srcx, srcy, srcw, srch, xoffset, yoffset, xres, yres, texture_priv->extend_current_blt_buffer); in psb_putsurface_ctexture() 410 xres, yres, 1, in psb_putsurface_ctexture() 416 xres, yres, 0, in psb_putsurface_ctexture()
|
/hardware/ti/omap4-aah/hwc/ |
D | hwc.c | 101 __u32 xres; /* external screen resolution */ member 773 ext->xres, ext->yres, ext->width, ext->height, in set_ext_matrix() 777 m_translate(ext->m, ext->xres >> 1, ext->yres >> 1); in set_ext_matrix() 995 __u32 xres, __u32 yres, __u32 refresh, in add_scaling_score() argument 999 __u32 area = xres * yres; in add_scaling_score() 1004 int upscale = (ext_xres >= xres * 99 / 100 && ext_yres >= yres * 99 / 100); in add_scaling_score() 1032 static int omap4_hwc_set_best_hdmi_mode(omap4_hwc_device_t *hwc_dev, __u32 xres, __u32 yres, in omap4_hwc_set_best_hdmi_mode() argument 1050 xres * yres == 0) in omap4_hwc_set_best_hdmi_mode() 1056 ext->xres = d.dis.timings.x_res; in omap4_hwc_set_best_hdmi_mode() 1060 if (!ext->xres || !ext->yres) { in omap4_hwc_set_best_hdmi_mode() [all …]
|
/hardware/qcom/display/msm8960/libexternal/ |
D | external.cpp | 329 info.xres = active_h; in set_info() 597 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution() 616 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution() 692 mHwcContext->dpyAttr[mExtDpyNum].xres = mVInfo.xres; in setDpyWfdAttr() 705 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width; in setDpyHdmiAttr()
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
D | hwc_utils.cpp | 73 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice() 77 float xdpi = (info.xres * 25.4f) / info.width; in openFramebufferDevice() 108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice() 109 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; in openFramebufferDevice() 147 IFBUpdate::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres, in initContext() 168 MDPComp::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres, in initContext() 274 float fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() 740 int hw_w = ctx->dpyAttr[dpy].xres; in trimLayer() 981 int hw_w = ctx->dpyAttr[dpy].xres; in configureHighRes() 1107 int lSplit = ctx->dpyAttr[dpy].xres / 2; in getLeftSplit() [all …]
|
/hardware/qcom/display/msm8974/libexternal/ |
D | external.cpp | 366 info.xres = mode->active_h; in setDisplayTiming() 610 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution() 629 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution() 705 mHwcContext->dpyAttr[mExtDpyNum].xres = mVInfo.xres; in setDpyWfdAttr() 718 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width; in setDpyHdmiAttr()
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | display_config.h | 52 uint32_t xres; member
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | display_config.h | 52 uint32_t xres; member
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 60 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice() 64 float xdpi = (info.xres * 25.4f) / info.width; in openFramebufferDevice() 92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice() 93 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; in openFramebufferDevice() 213 IFBUpdate::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres, in initContext() 234 MDPComp::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres, in initContext() 326 float fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() 780 int hw_w = ctx->dpyAttr[dpy].xres; in trimLayer() 857 int fb_width = ctx->dpyAttr[dpy].xres; in setupBasePipe() 1024 int hw_w = ctx->dpyAttr[dpy].xres; in configureHighRes()
|
D | hwc_uevents.cpp | 141 IFBUpdate::getObject(ctx->dpyAttr[dpy].xres, dpy); in handle_uevent() 146 ctx->dpyAttr[dpy].xres, dpy); in handle_uevent()
|