/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/libhardware/modules/gralloc/ |
D | framebuffer.cpp | 103 0, 0, m->info.xres, m->info.yres, in fb_post() 108 0, 0, m->info.xres, m->info.yres, in fb_post() 208 * ( info.left_margin + info.right_margin + info.xres ) 224 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); 228 float xdpi = (info.xres * 25.4f) / info.width; 244 info.xres, 343 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
|
/hardware/qcom/display/msm8996/libqdutils/ |
D | display_config.h | 83 uint32_t xres; member 89 DisplayAttributes() : vsync_period(0), xres(0), yres(0), xdpi(0.0f), in DisplayAttributes()
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | framebuffer.cpp | 202 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 223 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 242 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 246 float xdpi = (info.xres * 25.4f) / info.width; in mapFrameBufferLocked() 274 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/msm8909w_3100/libgralloc/ |
D | framebuffer.cpp | 207 unsigned int 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() 360 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 436 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | framebuffer.cpp | 210 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 231 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 252 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 256 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width; in mapFrameBufferLocked() 286 info.xres, in mapFrameBufferLocked() 337 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 413 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | framebuffer.cpp | 200 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 221 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 242 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 246 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width; in mapFrameBufferLocked() 276 info.xres, in mapFrameBufferLocked() 353 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 429 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | framebuffer.cpp | 207 unsigned int 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() 360 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 436 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | framebuffer.cpp | 209 size_t size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 230 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 251 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 255 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width; in mapFrameBufferLocked() 285 info.xres, in mapFrameBufferLocked() 336 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 412 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | framebuffer.cpp | 213 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked() 234 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() 255 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 259 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width; in mapFrameBufferLocked() 289 info.xres, in mapFrameBufferLocked() 366 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked() 442 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
|
/hardware/google/gchips/gralloc3/src/ |
D | framebuffer_device.cpp | 276 … (info.left_margin + info.right_margin + info.xres + info.vsync_len) * info.pixclock); in init_frame_buffer_locked() 292 info.width = ((info.xres * 25.4f) / 160.0f + 0.5f); in init_frame_buffer_locked() 296 float xdpi = (info.xres * 25.4f) / info.width; in init_frame_buffer_locked() 310 …fd, finfo.id, info.xres, info.yres, info.xres_virtual, info.yres_virtual, info.bits_per_pixel, inf… in init_frame_buffer_locked() 485 *stride = m->info.xres; in fb_alloc_framebuffer_locked() 497 return fb_alloc_from_ion_module(m, m->info.xres, m->info.yres, *byte_stride, in fb_alloc_framebuffer_locked() 526 m->finfo.line_length, m->info.xres, m->info.yres, m->fbdev_format); in fb_alloc_framebuffer_locked() 540 return fb_alloc_from_ion_module(m, m->info.xres, m->info.yres, *byte_stride, in fb_alloc_framebuffer_locked() 635 const_cast<uint32_t &>(dev->width) = m->info.xres; in framebuffer_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/msm8084/libqdutils/ |
D | display_config.h | 52 uint32_t xres; member
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | display_config.h | 52 uint32_t xres; member
|
/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/msm8994/libqdutils/ |
D | display_config.h | 74 uint32_t xres; member
|
/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/msm8960/libhwcomposer/ |
D | hwc_uevents.cpp | 139 IFBUpdate::getObject(ctx->dpyAttr[dpy].xres, dpy); in handle_uevent() 144 ctx->dpyAttr[dpy].xres, dpy); in handle_uevent()
|
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() 212 IFBUpdate::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres, in initContext() 233 MDPComp::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres, in initContext() 325 float fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() 781 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()
|
/hardware/qcom/display/msm8994/libhdmi/ |
D | hdmi.cpp | 320 info.xres = mode->active_h; in setDisplayTiming() 523 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in activateDisplay() 541 mode->video_format, mVInfo.xres, mVInfo.yres, in activateDisplay() 761 int HDMIDisplay::getAttrForConfig(int config, uint32_t& xres, in getAttrForConfig() argument 772 xres = gEDIDData[dataIndex].mWidth; in getAttrForConfig() 779 xres, yres, fps, refresh); in getAttrForConfig()
|
/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() 134 info.width = (int)(((float)info.xres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice() 138 float xdpi = ((float)info.xres * 25.4f) / (float)info.width; in openFramebufferDevice() 169 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice() 170 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; in openFramebufferDevice() 178 changeResolution(ctx, info.xres, info.yres, info.width, info.height); in openFramebufferDevice() 239 (int)ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in initContext() 403 int fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() [all …]
|