Home
last modified time | relevance | path

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

12

/hardware/libhardware/modules/gralloc/
Dframebuffer.cpp116 0, 0, m->info.xres, m->info.yres, in fb_post()
121 0, 0, m->info.xres, m->info.yres, in fb_post()
124 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
177 info.yres_virtual = info.yres * NUM_BUFFERS; in mapFrameBufferLocked()
182 info.yres_virtual = info.yres; in mapFrameBufferLocked()
187 if (info.yres_virtual < info.yres * 2) { in mapFrameBufferLocked()
189 info.yres_virtual = info.yres; in mapFrameBufferLocked()
192 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
200 uint64_t( info.upper_margin + info.lower_margin + info.yres ) in mapFrameBufferLocked()
218 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
[all …]
Dgralloc.cpp122 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
256 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_free()
/hardware/samsung_slsi/exynos5/gralloc/
Dframebuffer.cpp108 static void get_screen_res(const char *fbname, int32_t *xres, int32_t *yres, in get_screen_res() argument
136 *yres = (int32_t)_y; in get_screen_res()
150 *yres = 1600; in get_screen_res()
185 get_screen_res("fb0", &module->xres, &module->yres, &refreshRate); in init_fb()
190 float ydpi = (module->yres * 25.4f) / info.height; in init_fb()
198 finfo.id, module->xres, module->yres, info.width, xdpi, info.height, in init_fb()
262 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()
DoverlayWriteback.h64 bool configureDpyInfo(int xres, int yres);
/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/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/msm8x26/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/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/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/msm8x26/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/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/samsung_slsi/exynos5/include/
Ds3c_lcd.h46 unsigned int yres; member
Dgralloc_priv.h49 int yres; member
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp61 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice()
65 float ydpi = (info.yres * 25.4f) / info.height; in openFramebufferDevice()
94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice()
327 float fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition()
774 int hw_h = ctx->dpyAttr[dpy].yres; in trimLayer()
851 int fb_height = ctx->dpyAttr[dpy].yres; in setupBasePipe()
1018 int hw_h = ctx->dpyAttr[dpy].yres; in configureHighRes()
/hardware/qcom/display/msm8x26/libhwcomposer/
Dhwc_utils.cpp61 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice()
65 float ydpi = (info.yres * 25.4f) / info.height; in openFramebufferDevice()
94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice()
288 float fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition()
735 int hw_h = ctx->dpyAttr[dpy].yres; in trimLayer()
811 int fb_height = ctx->dpyAttr[dpy].yres; in setupBasePipe()
964 int hw_h = ctx->dpyAttr[dpy].yres; in configureHighRes()
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp122 int32_t yres; member
769 layer.displayFrame.top > pdev->yres || in exynos5_is_offscreen()
917 fb_rect.bottom = pdev->yres - 1; in exynos5_prepare_fimd()
918 pixels_left = MAX_PIXELS - pdev->xres * pdev->yres; in exynos5_prepare_fimd()
1348 if (displayFrame.bottom > pdev->yres) { in exynos5_config_handle()
1349 int crop = displayFrame.bottom - pdev->yres; in exynos5_config_handle()
1378 cfg.h = pdev->yres; in exynos5_config_overlay()
1950 return pdev->yres; in exynos5_fimd_attribute()
2009 static void get_screen_res(const char *fbname, int32_t *xres, int32_t *yres, in get_screen_res() argument
2037 *yres = (int32_t)_y; in get_screen_res()
[all …]
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.cpp74 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice()
78 float ydpi = (info.yres * 25.4f) / info.height; in openFramebufferDevice()
110 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice()
275 float fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition()
741 int hw_h = ctx->dpyAttr[dpy].yres; in trimLayer()
982 int hw_h = ctx->dpyAttr[dpy].yres; in configureHighRes()
Dhwc.cpp223 ctx->dpyAttr[dpy].yres = fbHeight; in hwc_prepare_virtual()
645 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
647 ctx->dpyAttr[disp].yres); in hwc_getDisplayAttributes()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp3328 for (i=0; i < vinfo.xres * vinfo.yres; i++) in drawBG()
3378 if(height >= vinfo.yres) in overlay_set()
3382 if (overlayp->dst_rect.h < vinfo.yres) in overlay_set()
3383 overlayp->dst_rect.y = (vinfo.yres - overlayp->dst_rect.h)/2; in overlay_set()
3387 overlayp->dst_rect.y = (vinfo.yres - height)/2; in overlay_set()
3545 e->dst.height = vinfo.yres; in render_fb()
3566 destH = vinfo.yres/2; in render_fb()
3571 destH = vinfo.yres/2; in render_fb()
3575 desty = vinfo.yres/2; in render_fb()
3577 destH = vinfo.yres/2; in render_fb()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp3527 for (i=0; i < vinfo.xres * vinfo.yres; i++) { in drawBG()
3587 if (height >= vinfo.yres) { in overlay_set()
3590 if (overlayp->dst_rect.h < vinfo.yres) in overlay_set()
3591 overlayp->dst_rect.y = (vinfo.yres - overlayp->dst_rect.h)/2; in overlay_set()
3593 overlayp->dst_rect.h = vinfo.yres; in overlay_set()
3595 overlayp->dst_rect.y = (vinfo.yres - height)/2; in overlay_set()
3795 e->dst.height = vinfo.yres; in render_fb()
3814 destH = vinfo.yres/2; in render_fb()
3820 destH = vinfo.yres/2; in render_fb()
3825 desty = vinfo.yres/2; in render_fb()
[all …]
/hardware/ti/omap4xxx/kernel-headers/linux/
Domapfb.h224 __u16 yres; member

12