/hardware/qcom/display/msm8960/libqdutils/ |
D | mdp_version.cpp | 44 int fb_fd = open("/dev/graphics/fb0", O_RDWR); in MDPVersion() local 53 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &fb_finfo) < 0) { in MDPVersion() 78 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) { in MDPVersion() 97 close(fb_fd); in MDPVersion()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 234 static int fb_fd = -1; variable 3312 void *fb_buf = mmap (NULL, finfo.smem_len,PROT_READ|PROT_WRITE, MAP_SHARED, fb_fd, 0); in drawBG() 3317 close(fb_fd); in drawBG() 3333 if (ioctl(fb_fd, FBIOPAN_DISPLAY, &vinfo) < 0) in drawBG() 3399 vid_buf_front_id = ioctl(fb_fd, MSMFB_OVERLAY_SET, overlayp); in overlay_set() 3449 if (ioctl(fb_fd, MSMFB_OVERLAY_PLAY, (void*)&ov_front)) in overlay_fb() 3461 if (ioctl(fb_fd, MSMFB_OVERLAY_UNSET, &vid_buf_front_id)) in overlay_unset() 3487 if (fb_fd < 0) in render_fb() 3544 e->dst.memory_id = fb_fd; in render_fb() 3612 if (ioctl(fb_fd, MSMFB_BLIT, &img)) { in render_fb() [all …]
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 52 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); in openFramebufferDevice() local 54 if (ioctl(fb_fd, FBIOGET_VSCREENINFO, &info) == -1) in openFramebufferDevice() 72 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) { in openFramebufferDevice() 84 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) == -1) in openFramebufferDevice() 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice() 100 if(ioctl(fb_fd, FBIOBLANK,FB_BLANK_UNBLANK) < 0) { in openFramebufferDevice() 859 int fb_fd = ctx->dpyAttr[dpy].fd; in setupBasePipe() local 875 if (ioctl(fb_fd, MSMFB_OVERLAY_SET, &ovInfo) < 0) { in setupBasePipe() 882 if (ioctl(fb_fd, MSMFB_OVERLAY_PLAY, &ovData) < 0) { in setupBasePipe()
|
D | hwc_mdpcomp.cpp | 172 int fb_fd = ctx->dpyAttr[dpy].fd; in setupBasePipe() local 188 if (ioctl(fb_fd, MSMFB_OVERLAY_SET, &ovInfo) < 0) { in setupBasePipe() 195 if (ioctl(fb_fd, MSMFB_OVERLAY_PLAY, &ovData) < 0) { in setupBasePipe()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 361 static int fb_fd = -1; variable 3715 void *fb_buf = mmap (NULL, finfo.smem_len,PROT_READ|PROT_WRITE, MAP_SHARED, fb_fd, 0); in drawBG() 3719 close(fb_fd); in drawBG() 3734 if (ioctl(fb_fd, FBIOPAN_DISPLAY, &vinfo) < 0) { in drawBG() 3747 ret = ioctl(fb_fd, MSMFB_OVERLAY_VSYNC_CTRL, &vsync_en); in overlay_vsync_ctrl() 3855 vid_buf_front_id = ioctl(fb_fd, MSMFB_OVERLAY_SET, overlayp); in overlay_set() 3902 if (ioctl(fb_fd, MSMFB_OVERLAY_PLAY, (void*)&ov_front)) { in overlay_fb() 3907 if (ioctl(fb_fd, FBIOPAN_DISPLAY, &vinfo) < 0) { in overlay_fb() 3918 if (ioctl(fb_fd, MSMFB_OVERLAY_UNSET, &vid_buf_front_id)) { in overlay_unset() 3943 if (fb_fd < 0) { in render_fb() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 174 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); in openFramebufferDevice() local 175 if(fb_fd < 0) { in openFramebufferDevice() 180 if (ioctl(fb_fd, FBIOGET_VSCREENINFO, &info) == -1) { in openFramebufferDevice() 183 close(fb_fd); in openFramebufferDevice() 202 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) { in openFramebufferDevice() 205 close(fb_fd); in openFramebufferDevice() 216 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in openFramebufferDevice() 219 close(fb_fd); in openFramebufferDevice() 223 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice() 240 if(ioctl(fb_fd, FBIOBLANK,FB_BLANK_UNBLANK) < 0) { in openFramebufferDevice() [all …]
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 111 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); in openFramebufferDevice() local 112 if(fb_fd < 0) { in openFramebufferDevice() 117 if (ioctl(fb_fd, FBIOGET_VSCREENINFO, &info) == -1) { in openFramebufferDevice() 120 close(fb_fd); in openFramebufferDevice() 139 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) { in openFramebufferDevice() 142 close(fb_fd); in openFramebufferDevice() 153 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in openFramebufferDevice() 156 close(fb_fd); in openFramebufferDevice() 160 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice() 174 if(ioctl(fb_fd, FBIOBLANK,FB_BLANK_UNBLANK) < 0) { in openFramebufferDevice()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 118 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); in openFramebufferDevice() local 119 if(fb_fd < 0) { in openFramebufferDevice() 124 if (ioctl(fb_fd, FBIOGET_VSCREENINFO, &info) == -1) { in openFramebufferDevice() 127 close(fb_fd); in openFramebufferDevice() 146 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) { in openFramebufferDevice() 149 close(fb_fd); in openFramebufferDevice() 160 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in openFramebufferDevice() 163 close(fb_fd); in openFramebufferDevice() 167 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice() 181 if(ioctl(fb_fd, FBIOBLANK,FB_BLANK_UNBLANK) < 0) { in openFramebufferDevice()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 223 int fb_fd; member
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_video.c | 286 if ( 0 < pme->fb_fd ) { in mm_app_preview_notify_cb()
|