Home
last modified time | relevance | path

Searched refs:vinfo (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/display/msm8084/liboverlay/
DoverlayWriteback.cpp117 fb_var_screeninfo vinfo; in configureDpyInfo() local
118 memset(&vinfo, 0, sizeof(fb_var_screeninfo)); in configureDpyInfo()
119 if(!mdp_wrapper::getVScreenInfo(mFd.getFD(), vinfo)) { in configureDpyInfo()
123 vinfo.xres = xres; in configureDpyInfo()
124 vinfo.yres = yres; in configureDpyInfo()
125 vinfo.xres_virtual = xres; in configureDpyInfo()
126 vinfo.yres_virtual = yres; in configureDpyInfo()
127 vinfo.xoffset = 0; in configureDpyInfo()
128 vinfo.yoffset = 0; in configureDpyInfo()
129 if(!mdp_wrapper::setVScreenInfo(mFd.getFD(), vinfo)) { in configureDpyInfo()
DmdpWrapper.h54 bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo);
57 bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo);
120 void dump(const char* const s, const fb_var_screeninfo& vinfo);
133 inline bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo) { in getVScreenInfo() argument
134 if (ioctl(fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in getVScreenInfo()
142 inline bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo) { in setVScreenInfo() argument
143 if (ioctl(fd, FBIOPUT_VSCREENINFO, &vinfo) < 0) { in setVScreenInfo()
360 inline void dump(const char* const s, const fb_var_screeninfo& vinfo) { in dump() argument
362 s, vinfo.xres, vinfo.yres); in dump()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayWriteback.cpp121 fb_var_screeninfo vinfo; in configureDpyInfo() local
122 memset(&vinfo, 0, sizeof(fb_var_screeninfo)); in configureDpyInfo()
123 if(!mdp_wrapper::getVScreenInfo(mFd.getFD(), vinfo)) { in configureDpyInfo()
127 vinfo.xres = xres; in configureDpyInfo()
128 vinfo.yres = yres; in configureDpyInfo()
129 vinfo.xres_virtual = xres; in configureDpyInfo()
130 vinfo.yres_virtual = yres; in configureDpyInfo()
131 vinfo.xoffset = 0; in configureDpyInfo()
132 vinfo.yoffset = 0; in configureDpyInfo()
133 if(!mdp_wrapper::setVScreenInfo(mFd.getFD(), vinfo)) { in configureDpyInfo()
DmdpWrapper.h60 bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo);
63 bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo);
119 void dump(const char* const s, const fb_var_screeninfo& vinfo);
133 inline bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo) { in getVScreenInfo() argument
135 if (ioctl(fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in getVScreenInfo()
143 inline bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo) { in setVScreenInfo() argument
145 if (ioctl(fd, FBIOPUT_VSCREENINFO, &vinfo) < 0) { in setVScreenInfo()
379 inline void dump(const char* const s, const fb_var_screeninfo& vinfo) { in dump() argument
381 s, vinfo.xres, vinfo.yres); in dump()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayWriteback.cpp117 fb_var_screeninfo vinfo; in configureDpyInfo() local
118 memset(&vinfo, 0, sizeof(fb_var_screeninfo)); in configureDpyInfo()
119 if(!mdp_wrapper::getVScreenInfo(mFd.getFD(), vinfo)) { in configureDpyInfo()
123 vinfo.xres = xres; in configureDpyInfo()
124 vinfo.yres = yres; in configureDpyInfo()
125 vinfo.xres_virtual = xres; in configureDpyInfo()
126 vinfo.yres_virtual = yres; in configureDpyInfo()
127 vinfo.xoffset = 0; in configureDpyInfo()
128 vinfo.yoffset = 0; in configureDpyInfo()
129 if(!mdp_wrapper::setVScreenInfo(mFd.getFD(), vinfo)) { in configureDpyInfo()
DmdpWrapper.h57 bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo);
60 bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo);
117 void dump(const char* const s, const fb_var_screeninfo& vinfo);
131 inline bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo) { in getVScreenInfo() argument
133 if (ioctl(fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in getVScreenInfo()
141 inline bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo) { in setVScreenInfo() argument
143 if (ioctl(fd, FBIOPUT_VSCREENINFO, &vinfo) < 0) { in setVScreenInfo()
355 inline void dump(const char* const s, const fb_var_screeninfo& vinfo) { in dump() argument
357 s, vinfo.xres, vinfo.yres); in dump()
/hardware/qcom/display/msm8960/liboverlay/
DmdpWrapper.h52 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()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp235 static struct fb_var_screeninfo vinfo; variable
3321 vinfo.yoffset = 0; in drawBG()
3324 for (i=0; i < vinfo.xres * vinfo.yres; i++) in drawBG()
3333 if (ioctl(fb_fd, FBIOPAN_DISPLAY, &vinfo) < 0) in drawBG()
3363 if(width >= vinfo.xres) in overlay_set()
3366 overlayp->dst_rect.w = vinfo.xres; in overlay_set()
3370 overlayp->dst_rect.x = (vinfo.xres - width)/2; in overlay_set()
3374 if(height >= vinfo.yres) in overlay_set()
3378 if (overlayp->dst_rect.h < vinfo.yres) in overlay_set()
3379 overlayp->dst_rect.y = (vinfo.yres - overlayp->dst_rect.h)/2; in overlay_set()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_preview.c1462 rc = ioctl(test_obj->fb_fd, FBIOGET_VSCREENINFO, &test_obj->vinfo); in mm_app_initialize_fb()
1471 if ( ( 0 == test_obj->vinfo.yres_virtual ) || in mm_app_initialize_fb()
1472 ( 0 == test_obj->vinfo.yres ) || in mm_app_initialize_fb()
1473 ( test_obj->vinfo.yres > test_obj->vinfo.yres_virtual ) ) { in mm_app_initialize_fb()
1475 test_obj->vinfo.yres_virtual, in mm_app_initialize_fb()
1476 test_obj->vinfo.yres); in mm_app_initialize_fb()
1481 if ( ( 0 == test_obj->vinfo.xres_virtual ) || in mm_app_initialize_fb()
1482 ( 0 == test_obj->vinfo.xres ) || in mm_app_initialize_fb()
1483 ( test_obj->vinfo.xres > test_obj->vinfo.xres_virtual ) ) { in mm_app_initialize_fb()
1485 test_obj->vinfo.xres_virtual, in mm_app_initialize_fb()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp362 static struct fb_var_screeninfo vinfo; variable
3723 vinfo.yoffset = 0; in drawBG()
3726 for (i=0; i < vinfo.xres * vinfo.yres; i++) { in drawBG()
3734 if (ioctl(fb_fd, FBIOPAN_DISPLAY, &vinfo) < 0) { in drawBG()
3778 if (width >= (int)vinfo.xres) { in overlay_set()
3780 overlayp->dst_rect.w = vinfo.xres; in overlay_set()
3782 overlayp->dst_rect.x = (vinfo.xres - width)/2; in overlay_set()
3786 if (height >= (int)vinfo.yres) { in overlay_set()
3789 if (overlayp->dst_rect.h < vinfo.yres) in overlay_set()
3790 overlayp->dst_rect.y = (vinfo.yres - overlayp->dst_rect.h)/2; in overlay_set()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h224 struct fb_var_screeninfo vinfo; member
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dwifi_hal.cpp3176 struct nl80211_vendor_cmd_info *vinfo; in handleResponse() local
3177 if (nla_len(nl) != sizeof(*vinfo)) { in handleResponse()
3181 vinfo = (struct nl80211_vendor_cmd_info *)nla_data(nl); in handleResponse()
3182 if (vinfo->vendor_id == OUI_QCA) { in handleResponse()
3183 mVendorCmds[i] = vinfo->subcmd; in handleResponse()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dwifi_hal.cpp3294 struct nl80211_vendor_cmd_info *vinfo; in handleResponse() local
3295 if (nla_len(nl) != sizeof(*vinfo)) { in handleResponse()
3299 vinfo = (struct nl80211_vendor_cmd_info *)nla_data(nl); in handleResponse()
3300 if (vinfo->vendor_id == OUI_QCA) { in handleResponse()
3301 mVendorCmds[i] = vinfo->subcmd; in handleResponse()