Searched refs:vinfo (Results 1 – 5 of 5) sorted by relevance
/hardware/qcom/display/liboverlay/ |
D | mdpWrapper.h | 52 bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo); 55 bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo); 97 void dump(const char* const s, const fb_var_screeninfo& vinfo); 110 inline bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo) { in getVScreenInfo() argument 111 if (ioctl(fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in getVScreenInfo() 119 inline bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo) { in setVScreenInfo() argument 120 if (ioctl(fd, FBIOPUT_VSCREENINFO, &vinfo) < 0) { in setVScreenInfo() 264 inline void dump(const char* const s, const fb_var_screeninfo& vinfo) { in dump() argument 266 s, vinfo.xres, vinfo.yres); in dump()
|
D | overlayMdp.cpp | 178 fb_var_screeninfo vinfo; in getScreenInfo() local 179 if (!mdp_wrapper::getVScreenInfo(mFd.getFD(), vinfo)) { in getScreenInfo() 182 info.mFBWidth = vinfo.xres; in getScreenInfo() 183 info.mFBHeight = vinfo.yres; in getScreenInfo() 184 info.mFBbpp = vinfo.bits_per_pixel; in getScreenInfo()
|
D | overlayUtils.cpp | 110 fb_var_screeninfo vinfo; in FrameBufferInfo() local 111 if (!mdp_wrapper::getVScreenInfo(mFd.getFD(), vinfo)) { in FrameBufferInfo() 135 mFBWidth = vinfo.xres; in FrameBufferInfo() 136 mFBHeight = vinfo.yres; in FrameBufferInfo()
|
/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/ |
D | mm_qcamera_display.c | 64 struct fb_var_screeninfo vinfo; variable 191 e->dst.width = vinfo.xres; in test_app_camframe_callback() 192 e->dst.height = vinfo.yres; in test_app_camframe_callback() 289 if (ioctl(fb_fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in camframe_fb_thread() 299 vinfo.activate = FB_ACTIVATE_VBL; in camframe_fb_thread() 316 result = ioctl(fb_fd, FBIOPAN_DISPLAY, &vinfo); in camframe_fb_thread() 473 e->dst.width = vinfo.xres; in v4l2_render() 474 e->dst.height = vinfo.yres; in v4l2_render() 533 e->dst.width = vinfo.xres; in mm_app_dl_render() 534 e->dst.height = vinfo.yres; in mm_app_dl_render()
|
/hardware/qcom/media/mm-video/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 237 static struct fb_var_screeninfo vinfo; variable 3323 vinfo.yoffset = 0; in drawBG() 3326 for (i=0; i < vinfo.xres * vinfo.yres; i++) in drawBG() 3335 if (ioctl(fb_fd, FBIOPAN_DISPLAY, &vinfo) < 0) in drawBG() 3365 if(width >= vinfo.xres) in overlay_set() 3368 overlayp->dst_rect.w = vinfo.xres; in overlay_set() 3372 overlayp->dst_rect.x = (vinfo.xres - width)/2; in overlay_set() 3376 if(height >= vinfo.yres) in overlay_set() 3380 if (overlayp->dst_rect.h < vinfo.yres) in overlay_set() 3381 overlayp->dst_rect.y = (vinfo.yres - overlayp->dst_rect.h)/2; in overlay_set() [all …]
|