Searched refs:xres (Results 1 - 25 of 78) sorted by relevance

1234

/hardware/qcom/display/msm8226/libvirtual/
H A Dvirtual.cpp75 width = mVInfo.xres;
84 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres = 0;
109 extW = mVInfo.xres;
135 // to WFD's xres.
164 if((maxArea > (mVInfo.xres * mVInfo.yres))
174 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres;
176 uint32_t priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres;
182 bool isDRC = (extW > mVInfo.xres) && (extH > mVInfo.yres);
201 (int)mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres;
207 mVInfo.xres, mVInf
[all...]
/hardware/qcom/display/msm8084/libqdutils/
H A Ddisplay_config.h52 uint32_t xres; member in struct:qdutils::DisplayAttributes_t
/hardware/qcom/display/msm8084/libvirtual/
H A Dvirtual.cpp75 width = mVInfo.xres;
84 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres = 0;
109 extW = mVInfo.xres;
133 // to WFD's xres.
153 if((maxArea > (mVInfo.xres * mVInfo.yres))
163 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres;
165 uint32_t priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres;
189 mVInfo.xres, mVInfo.yres);
/hardware/qcom/display/msm8974/liboverlay/
H A DoverlayWriteback.cpp113 bool Writeback::configureDpyInfo(int xres, int yres) { argument
114 if(mXres != xres || mYres != yres) {
121 vinfo.xres = xres;
123 vinfo.xres_virtual = xres;
131 mXres = xres;
H A DoverlayWriteback.h64 bool configureDpyInfo(int xres, int yres);
/hardware/qcom/display/msm8226/libqdutils/
H A Ddisplay_config.h52 uint32_t xres; member in struct:qdutils::DisplayAttributes_t
/hardware/samsung_slsi/exynos5/gralloc/
H A Dframebuffer.cpp107 static void get_screen_res(const char *fbname, int32_t *xres, int32_t *yres, argument
134 *xres = (int32_t)_x;
148 *xres = 2560;
184 get_screen_res("fb0", &module->xres, &module->yres, &refreshRate);
188 float xdpi = (module->xres * 25.4f) / info.width;
192 "xres = %d px\n"
197 finfo.id, module->xres, module->yres, info.width, xdpi, info.height,
200 module->line_length = module->xres * 4;
260 const_cast<uint32_t&>(dev->width) = m->xres;
/hardware/samsung_slsi/exynos5/include/
H A Ds3c_lcd.h45 unsigned int xres; /* visible resolution*/ member in struct:__anon2722
/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayWriteback.cpp115 bool Writeback::configureDpyInfo(int xres, int yres) { argument
116 if(mXres != xres || mYres != yres) {
123 vinfo.xres = xres;
125 vinfo.xres_virtual = xres;
133 mXres = xres;
H A DoverlayWriteback.h64 bool configureDpyInfo(int xres, int yres);
/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayWriteback.cpp115 bool Writeback::configureDpyInfo(int xres, int yres) { argument
116 if(mXres != xres || mYres != yres) {
123 vinfo.xres = xres;
125 vinfo.xres_virtual = xres;
133 mXres = xres;
H A DoverlayWriteback.h64 bool configureDpyInfo(int xres, int yres);
/hardware/libhardware/modules/gralloc/
H A Dframebuffer.cpp123 0, 0, m->info.xres, m->info.yres,
128 0, 0, m->info.xres, m->info.yres,
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;
239 "xres = %d px\n"
249 info.xres,
348 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
/hardware/intel/img/psb_video/src/android/
H A Dpsb_HDMIExtMode.h84 VAStatus psb_HDMIExt_get_prop(psb_android_output_p output, unsigned short *xres, unsigned short *yres);
/hardware/qcom/display/msm8084/libgralloc/
H A Dframebuffer.cpp207 size_t size = roundUpToPageSize(info.yres * info.xres *
228 uint32_t line_length = (info.xres * info.bits_per_pixel / 8);
249 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f);
253 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width;
273 "xres = %d px\n"
283 info.xres,
334 module->fbFormat, info.xres, info.yres);
410 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
/hardware/qcom/display/msm8226/libgralloc/
H A Dframebuffer.cpp208 unsigned int size = roundUpToPageSize(info.yres * info.xres *
229 uint32_t line_length = (info.xres * info.bits_per_pixel / 8);
250 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f);
254 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width;
274 "xres = %d px\n"
284 info.xres,
335 module->fbFormat, info.xres, info.yres);
411 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
/hardware/qcom/display/msm8960/libgralloc/
H A Dframebuffer.cpp201 int size = roundUpToPageSize(info.yres * info.xres *
222 uint32_t line_length = (info.xres * info.bits_per_pixel / 8);
241 info.width = ((info.xres * 25.4f)/160.0f + 0.5f);
245 float xdpi = (info.xres * 25.4f) / info.width;
263 "xres = %d px\n"
273 info.xres,
321 module->fbFormat, info.xres, info.yres);
385 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
/hardware/qcom/display/msm8974/libgralloc/
H A Dframebuffer.cpp201 int size = roundUpToPageSize(info.yres * info.xres *
222 uint32_t line_length = (info.xres * info.bits_per_pixel / 8);
241 info.width = ((info.xres * 25.4f)/160.0f + 0.5f);
245 float xdpi = (info.xres * 25.4f) / info.width;
263 "xres = %d px\n"
273 info.xres,
321 module->fbFormat, info.xres, info.yres);
391 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_uevents.cpp141 IFBUpdate::getObject(ctx->dpyAttr[dpy].xres, dpy);
146 ctx->dpyAttr[dpy].xres, dpy);
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_utils.cpp78 bool isValidResolution(hwc_context_t *ctx, uint32_t xres, uint32_t yres) argument
80 return !((xres > qdutils::MAX_DISPLAY_DIM &&
82 (xres < MIN_DISPLAY_XRES || yres < MIN_DISPLAY_YRES));
95 int xres = atoi(property); local
97 if (isValidResolution(ctx,xres,yres) &&
98 xres != xres_orig && yres != yres_orig) {
99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = xres;
127 info.width = (int)(((float)info.xres * 25.4f)/160.0f + 0.5f);
131 float xdpi = ((float)info.xres * 25.
[all...]
/hardware/intel/img/psb_video/src/x11/
H A Dpsb_ctexture.c389 unsigned int xres, yres, xoffset, yoffset, overscanmode, pannelfitting; local
392 psb_xrandr_extvideo_prop(&xres, &yres, &xoffset, &yoffset, &center, &subtitle, &overscanmode, &pannelfitting);
394 xres = extend_display_width - xoffset;
398 ret = psb_extend_dri_init(ctx, xoffset, yoffset, xres, yres);
406 srcx, srcy, srcw, srch, xoffset, yoffset, xres, yres, texture_priv->extend_current_blt_buffer);
410 xres, yres, 1, local
416 xres, yres, 0, local
/hardware/qcom/display/msm8084/libexternal/
H A Dexternal.cpp264 info.xres = mode->active_h;
505 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres,
524 mode->video_format, mVInfo.xres, mVInfo.yres,
582 ALOGD("ExtDisplay setting xres = %d, yres = %d", width, height);
585 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width;
590 int priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres;
598 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = priW;
601 // dimension to hdmi's xres
603 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = priH;
/hardware/qcom/display/msm8226/libexternal/
H A Dexternal.cpp264 info.xres = mode->active_h;
505 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres,
524 mode->video_format, mVInfo.xres, mVInfo.yres,
582 ALOGD("ExtDisplay setting xres = %d, yres = %d", width, height);
585 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width;
590 int priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres;
603 // dimension to hdmi's xres
615 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres =
627 (int)mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres;
/hardware/ti/omap4xxx/hwc/
H A Dhwc.c93 __u32 xres; /* external screen resolution */ member in struct:omap4_hwc_ext
531 * and height for a screen of xres/yres and physical size of width/height.
584 ext->xres, ext->yres, ext->width, ext->height,
588 m_translate(ext->m, ext->xres >> 1, ext->yres >> 1);
800 __u32 xres, __u32 yres, __u32 refresh,
804 __u32 area = xres * yres;
809 int upscale = (ext_xres >= xres * 99 / 100 && ext_yres >= yres * 99 / 100);
837 static int omap4_hwc_set_best_hdmi_mode(omap4_hwc_device_t *hwc_dev, __u32 xres, __u32 yres, argument
852 xres * yres == 0)
858 ext->xres
799 add_scaling_score(__u32 score, __u32 xres, __u32 yres, __u32 refresh, __u32 ext_xres, __u32 ext_yres, __u32 mode_xres, __u32 mode_yres, __u32 mode_refresh) argument
1140 __u32 xres = o->cfg.crop.w, yres = o->cfg.crop.h; local
1177 __u32 xres = WIDTH(ext->mirror_region); local
[all...]
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc_utils.cpp73 info.width = ((info.xres * 25.4f)/160.0f + 0.5f);
77 float xdpi = (info.xres * 25.4f) / info.width;
107 //xres, yres may not be 32 aligned
108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8);
109 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres;
147 IFBUpdate::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres,
168 MDPComp::getObject(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres,
274 float fbWidth = ctx->dpyAttr[dpy].xres;
740 int hw_w = ctx->dpyAttr[dpy].xres;
[all...]

Completed in 858 milliseconds

1234