Home
last modified time | relevance | path

Searched refs:xres (Results 1 – 25 of 102) sorted by relevance

12345

/hardware/qcom/display/msm8226/libvirtual/
Dvirtual.cpp75 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/
Dvirtual.cpp75 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/liboverlay/
DoverlayWriteback.cpp115 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/
DoverlayWriteback.cpp115 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/
DoverlayWriteback.cpp119 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/
Dframebuffer.cpp101 0, 0, m->info.xres, m->info.yres, in fb_post()
106 0, 0, m->info.xres, m->info.yres, in fb_post()
191 * ( info.left_margin + info.right_margin + info.xres )
207 info.width = ((info.xres * 25.4f)/160.0f + 0.5f);
211 float xdpi = (info.xres * 25.4f) / info.width;
227 info.xres,
325 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp202 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/msm8996/libqdutils/
Ddisplay_config.h83 uint32_t xres; member
89 DisplayAttributes() : vsync_period(0), xres(0), yres(0), xdpi(0.0f), in DisplayAttributes()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dframebuffer.cpp207 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/msm8996/libgralloc/
Dframebuffer.cpp200 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/msm8084/libgralloc/
Dframebuffer.cpp209 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/msm8909/libgralloc/
Dframebuffer.cpp207 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/
Dframebuffer.cpp210 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/msm8994/libgralloc/
Dframebuffer.cpp213 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/qcom/display/msm8084/libexternal/
Dexternal.cpp264 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/
Dexternal.cpp264 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/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp78 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/msm8084/libqdutils/
Ddisplay_config.h52 uint32_t xres; member
/hardware/qcom/display/msm8226/libqdutils/
Ddisplay_config.h52 uint32_t xres; member
/hardware/qcom/display/msm8960/libexternal/
Dexternal.cpp329 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/msm8994/libqdutils/
Ddisplay_config.h74 uint32_t xres; member
/hardware/qcom/display/msm8994/libhdmi/
Dhdmi.cpp320 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/
Dhwc_utils.cpp79 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 …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp60 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()
Dhwc_uevents.cpp139 IFBUpdate::getObject(ctx->dpyAttr[dpy].xres, dpy); in handle_uevent()
144 ctx->dpyAttr[dpy].xres, dpy); in handle_uevent()

12345