Home
last modified time | relevance | path

Searched refs:yres (Results 1 – 25 of 77) sorted by relevance

1234

/hardware/libhardware/modules/gralloc/
Dframebuffer.cpp123 0, 0, m->info.xres, m->info.yres, in fb_post()
128 0, 0, m->info.xres, m->info.yres, in fb_post()
131 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
184 info.yres_virtual = info.yres * NUM_BUFFERS;
195 info.yres_virtual = info.yres;
199 if (info.yres_virtual < info.yres * 2) {
201 info.yres_virtual = info.yres;
204 info.yres_virtual, info.yres*2);
212 uint64_t( info.upper_margin + info.lower_margin + info.yres )
230 info.height = ((info.yres * 25.4f)/160.0f + 0.5f);
[all …]
/hardware/qcom/display/msm8084/libvirtual/
Dvirtual.cpp76 height = mVInfo.yres; in getAttributes()
85 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres = 0; in teardown()
110 extH = mVInfo.yres; in initResolution()
153 if((maxArea > (mVInfo.xres * mVInfo.yres)) in setDownScaleMode()
164 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes()
166 uint32_t priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
189 mVInfo.xres, mVInfo.yres); in setAttributes()
/hardware/qcom/display/msm8226/libvirtual/
Dvirtual.cpp77 height = mVInfo.yres; in getAttributes()
86 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres = 0; in teardown()
111 extH = mVInfo.yres; in initResolution()
165 if((maxArea > (mVInfo.xres * mVInfo.yres)) in setDownScaleMode()
176 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes()
178 uint32_t priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
201 mVInfo.xres, mVInfo.yres); in setAttributes()
/hardware/samsung_slsi/exynos5/gralloc/
Dframebuffer.cpp107 static void get_screen_res(const char *fbname, int32_t *xres, int32_t *yres, in get_screen_res() argument
135 *yres = (int32_t)_y; in get_screen_res()
149 *yres = 1600; in get_screen_res()
184 get_screen_res("fb0", &module->xres, &module->yres, &refreshRate); in init_fb()
189 float ydpi = (module->yres * 25.4f) / info.height; in init_fb()
197 finfo.id, module->xres, module->yres, info.width, xdpi, info.height, in init_fb()
261 const_cast<uint32_t&>(dev->height) = m->yres; in fb_device_open()
/hardware/qcom/display/msm8974/liboverlay/
DoverlayWriteback.cpp113 bool Writeback::configureDpyInfo(int xres, int yres) { in configureDpyInfo() argument
114 if(mXres != xres || mYres != yres) { in configureDpyInfo()
122 vinfo.yres = yres; in configureDpyInfo()
124 vinfo.yres_virtual = yres; in configureDpyInfo()
132 mYres = yres; in configureDpyInfo()
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp201 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
232 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
242 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
246 float ydpi = (info.yres * 25.4f) / info.height; in mapFrameBufferLocked()
274 info.yres, in mapFrameBufferLocked()
313 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
316 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
321 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
386 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
Dgpu.cpp192 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
203 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked()
218 m->info.yres); in gralloc_alloc_framebuffer_locked()
310 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8974/libgralloc/
Dframebuffer.cpp201 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
232 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
242 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
246 float ydpi = (info.yres * 25.4f) / info.height; in mapFrameBufferLocked()
274 info.yres, in mapFrameBufferLocked()
313 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
316 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
321 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
392 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
Dgpu.cpp198 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
209 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked()
224 m->info.yres); in gralloc_alloc_framebuffer_locked()
325 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/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()
124 vinfo.yres = yres; in configureDpyInfo()
126 vinfo.yres_virtual = yres; in configureDpyInfo()
134 mYres = yres; 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()
124 vinfo.yres = yres; in configureDpyInfo()
126 vinfo.yres_virtual = yres; in configureDpyInfo()
134 mYres = yres; in configureDpyInfo()
/hardware/qcom/display/msm8084/libgralloc/
Dframebuffer.cpp207 size_t size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
238 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
250 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
254 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
284 info.yres, in mapFrameBufferLocked()
326 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
329 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
334 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
411 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
Dgpu.cpp205 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
216 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked()
231 m->info.yres); in gralloc_alloc_framebuffer_locked()
323 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8226/libgralloc/
Dframebuffer.cpp205 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
236 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
248 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
252 float ydpi = (info.yres * 25.4f) / info.height; in mapFrameBufferLocked()
281 info.yres, in mapFrameBufferLocked()
324 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
327 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
332 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
410 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
Dgpu.cpp202 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
213 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked()
228 m->info.yres); in gralloc_alloc_framebuffer_locked()
319 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8084/libexternal/
Dexternal.cpp265 info.yres = mode->active_v; in setDisplayTiming()
505 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution()
524 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution()
586 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setAttributes()
591 int priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
599 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = priH; in setAttributes()
604 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = priW; in setAttributes()
/hardware/ti/omap4xxx/hwc/
Dhwc.c94 __u32 yres; 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()
859 ext->yres = d.dis.timings.y_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/msm8226/libhwcomposer/
Dhwc_utils.cpp79 bool isValidResolution(hwc_context_t *ctx, uint32_t xres, uint32_t yres) in isValidResolution() argument
83 (xres < MIN_DISPLAY_XRES || yres < MIN_DISPLAY_YRES)); in isValidResolution()
97 int yres = atoi(yptr + 1); in changeResolution() local
98 if (isValidResolution(ctx,xres,yres) && in changeResolution()
99 xres != xres_orig && yres != yres_orig) { in changeResolution()
101 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = yres; in changeResolution()
129 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice()
133 float ydpi = (info.yres * 25.4f) / info.height; in openFramebufferDevice()
165 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice()
171 changeResolution(ctx, info.xres, info.yres); in openFramebufferDevice()
[all …]
/hardware/qcom/display/msm8226/libexternal/
Dexternal.cpp266 info.yres = mode->active_v; in setDisplayTiming()
506 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution()
525 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution()
587 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setAttributes()
592 int priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
618 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = in setAttributes()
/hardware/intel/img/psb_video/src/x11/
Dpsb_ctexture.c389 unsigned int xres, yres, xoffset, yoffset, overscanmode, pannelfitting; in psb_putsurface_ctexture() local
392 …psb_xrandr_extvideo_prop(&xres, &yres, &xoffset, &yoffset, &center, &subtitle, &overscanmode, &pan… in psb_putsurface_ctexture()
395 yres = extend_display_height - yoffset; 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/
Dhwc.c102 __u32 yres; 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()
1057 ext->yres = d.dis.timings.y_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/
Dexternal.cpp330 info.yres = active_v; in set_info()
597 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution()
616 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution()
693 mHwcContext->dpyAttr[mExtDpyNum].yres = mVInfo.yres; in setDpyWfdAttr()
706 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setDpyHdmiAttr()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp78 bool isValidResolution(hwc_context_t *ctx, uint32_t xres, uint32_t yres) in isValidResolution() argument
82 (xres < MIN_DISPLAY_XRES || yres < MIN_DISPLAY_YRES)); in isValidResolution()
96 int yres = atoi(yptr + 1); in changeResolution() local
97 if (isValidResolution(ctx,xres,yres) && in changeResolution()
98 xres != xres_orig && yres != yres_orig) { in changeResolution()
100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = yres; in changeResolution()
128 info.height = (int)(((float)info.yres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice()
132 float ydpi = ((float)info.yres * 25.4f) / (float)info.height; in openFramebufferDevice()
164 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice()
171 changeResolution(ctx, info.xres, info.yres); in openFramebufferDevice()
[all …]
/hardware/qcom/display/msm8974/libexternal/
Dexternal.cpp367 info.yres = mode->active_v; in setDisplayTiming()
610 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution()
629 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution()
706 mHwcContext->dpyAttr[mExtDpyNum].yres = mVInfo.yres; in setDpyWfdAttr()
719 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setDpyHdmiAttr()
/hardware/qcom/display/msm8226/libqdutils/
Ddisplay_config.h53 uint32_t yres; member

1234