Home
last modified time | relevance | path

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

12345

/hardware/qcom/display/msm8226/libvirtual/
Dvirtual.cpp76 height = mVInfo.yres; in getAttributes()
85 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres = 0; in teardown()
110 extH = mVInfo.yres; in initResolution()
164 if((maxArea > (mVInfo.xres * mVInfo.yres)) in setDownScaleMode()
175 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes()
177 uint32_t priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
182 bool isDRC = (extW > mVInfo.xres) && (extH > mVInfo.yres); in setAttributes()
203 (int)mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes()
207 mVInfo.xres, mVInfo.yres); in setAttributes()
/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/msm8909/liboverlay/
DoverlayWriteback.cpp119 bool Writeback::configureDpyInfo(int xres, int yres) { in configureDpyInfo() argument
120 if(mXres != xres || mYres != yres) { in configureDpyInfo()
128 vinfo.yres = yres; in configureDpyInfo()
130 vinfo.yres_virtual = yres; in configureDpyInfo()
138 mYres = yres; 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()
128 vinfo.yres = yres; in configureDpyInfo()
130 vinfo.yres_virtual = yres; in configureDpyInfo()
138 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/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/msm8960/libgralloc/
Dframebuffer.cpp200 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
231 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
241 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
245 float ydpi = (info.yres * 25.4f) / info.height; in mapFrameBufferLocked()
273 info.yres, in mapFrameBufferLocked()
311 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
314 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
319 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
384 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
/hardware/qcom/display/msm8994/libgralloc/
Dframebuffer.cpp211 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
242 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
254 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
258 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
288 info.yres, in mapFrameBufferLocked()
330 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
333 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
364 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
441 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
/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()
328 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8226/libgralloc/
Dframebuffer.cpp208 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
239 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
251 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
255 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
285 info.yres, in mapFrameBufferLocked()
327 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
330 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
335 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
412 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
Dgpu.cpp209 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
220 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked()
235 m->info.yres); in gralloc_alloc_framebuffer_locked()
331 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8996/libgralloc/
Dframebuffer.cpp203 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
234 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
246 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
250 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
280 info.yres, in mapFrameBufferLocked()
322 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
325 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
356 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
433 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
/hardware/qcom/display/msm8909/libgralloc/
Dframebuffer.cpp203 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
234 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
246 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
250 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
280 info.yres, in mapFrameBufferLocked()
322 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
325 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
356 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
433 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
/hardware/qcom/display/msm8996/libqdutils/
Ddisplay_config.h82 uint32_t yres; member
86 DisplayAttributes() : vsync_period(0), xres(0), yres(0), xdpi(0.0f), in DisplayAttributes()
/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/qcom/display/msm8226/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()
617 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = in setAttributes()
629 (int)mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres; 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/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/qcom/display/msm8084/libqdutils/
Ddisplay_config.h53 uint32_t yres; member
/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/msm8226/libqdutils/
Ddisplay_config.h53 uint32_t yres; member
/hardware/qcom/display/msm8960/libexternal/
Dexternal.cpp330 info.yres = active_v; in set_info()
596 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution()
615 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution()
692 mHwcContext->dpyAttr[mExtDpyNum].yres = mVInfo.yres; in setDpyWfdAttr()
705 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 …]

12345