/hardware/qcom/display/msm8226/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() 164 if((maxArea > (mVInfo.xres * mVInfo.yres)) in setDownScaleMode() 174 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() 176 uint32_t priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes() 182 bool isDRC = (extW > mVInfo.xres) && (extH > mVInfo.yres); in setAttributes() 201 (int)mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() 207 mVInfo.xres, mVInfo.yres); in setAttributes()
|
/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/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/qcom/display/msm8994/liboverlay/ |
D | overlayWriteback.cpp | 119 bool Writeback::configureDpyInfo(int xres, int yres) { in configureDpyInfo() argument 120 if(mXres != xres || mYres != yres) { in configureDpyInfo() 127 vinfo.xres = xres; in configureDpyInfo() 129 vinfo.xres_virtual = xres; in configureDpyInfo() 137 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/msm8909/liboverlay/ |
D | overlayWriteback.cpp | 119 bool Writeback::configureDpyInfo(int xres, int yres) { in configureDpyInfo() argument 120 if(mXres != xres || mYres != yres) { in configureDpyInfo() 127 vinfo.xres = xres; in configureDpyInfo() 129 vinfo.xres_virtual = xres; in configureDpyInfo() 137 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 | 200 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 221 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 240 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 244 float xdpi = (info.xres * 25.4f) / info.width; in mapFrameBufferLocked() 272 info.xres, in mapFrameBufferLocked() 319 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 383 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8996/libqdutils/ |
D | display_config.h | 81 uint32_t xres; member 86 DisplayAttributes() : vsync_period(0), xres(0), yres(0), xdpi(0.0f), in DisplayAttributes()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | framebuffer.cpp | 203 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 224 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 245 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 249 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width; in mapFrameBufferLocked() 279 info.xres, in mapFrameBufferLocked() 356 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 432 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | framebuffer.cpp | 208 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 229 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 250 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 254 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width; in mapFrameBufferLocked() 284 info.xres, in mapFrameBufferLocked() 335 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 411 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | framebuffer.cpp | 211 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 232 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 253 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 257 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width; in mapFrameBufferLocked() 287 info.xres, in mapFrameBufferLocked() 364 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 440 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | framebuffer.cpp | 203 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 224 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 245 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 249 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width; in mapFrameBufferLocked() 279 info.xres, in mapFrameBufferLocked() 356 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 432 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/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/qcom/display/msm8226/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() 615 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = in setAttributes() 627 (int)mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres; 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/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/qcom/display/msm8084/libqdutils/ |
D | display_config.h | 52 uint32_t xres; member
|
/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() 596 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution() 615 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution() 691 mHwcContext->dpyAttr[mExtDpyNum].xres = mVInfo.xres; in setDpyWfdAttr() 704 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/msm8994/libqdutils/ |
D | display_config.h | 74 uint32_t xres; member
|
/hardware/qcom/display/msm8909/libqdutils/ |
D | display_config.h | 68 uint32_t xres; member
|