Home
last modified time | relevance | path

Searched refs:fb_fd (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_display.c66 int fb_fd = 0; variable
143 result = ioctl(fb_fd, MSMFB_OVERLAY_SET, overlayp); in overlay_set_params()
195 e->dst.memory_id = fb_fd; in test_app_camframe_callback()
242 result = ioctl(fb_fd, MSMFB_BLIT, &yuv.list); in test_app_camframe_callback()
277 fb_fd = open(ANDROID_FB0, O_RDWR); in camframe_fb_thread()
278 CDBG("%s:android dl '%s', fd=%d\n", __func__, ANDROID_FB0, fb_fd); in camframe_fb_thread()
280 fb_fd = open(LE_FB0, O_RDWR); in camframe_fb_thread()
281 CDBG("%s:LE_FB0 dl, '%s', fd=%d\n", __func__, LE_FB0, fb_fd); in camframe_fb_thread()
283 if (fb_fd < 0) { in camframe_fb_thread()
289 if (ioctl(fb_fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { in camframe_fb_thread()
[all …]
/hardware/qcom/display/libqdutils/
Dmdp_version.cpp39 int fb_fd = open("/dev/graphics/fb0", O_RDWR); in MDPVersion() local
43 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &fb_finfo) < 0) { in MDPVersion()
71 close(fb_fd); in MDPVersion()
/hardware/qcom/media/mm-video/vidc/vdec/test/
Domx_vdec_test.cpp236 static int fb_fd = -1; variable
3314 void *fb_buf = mmap (NULL, finfo.smem_len,PROT_READ|PROT_WRITE, MAP_SHARED, fb_fd, 0); in drawBG()
3319 close(fb_fd); in drawBG()
3335 if (ioctl(fb_fd, FBIOPAN_DISPLAY, &vinfo) < 0) in drawBG()
3401 vid_buf_front_id = ioctl(fb_fd, MSMFB_OVERLAY_SET, overlayp); in overlay_set()
3451 if (ioctl(fb_fd, MSMFB_OVERLAY_PLAY, (void*)&ov_front)) in overlay_fb()
3463 if (ioctl(fb_fd, MSMFB_OVERLAY_UNSET, &vid_buf_front_id)) in overlay_unset()
3489 if (fb_fd < 0) in render_fb()
3546 e->dst.memory_id = fb_fd; in render_fb()
3614 if (ioctl(fb_fd, MSMFB_BLIT, &img)) { in render_fb()
[all …]
/hardware/ti/omap4xxx/hwc/
Dhwc.c131 int fb_fd; /* file descriptor for /dev/fb0 */ member
1455 ret = ioctl(hwc_dev->fb_fd, FBIOBLANK, FB_BLANK_POWERDOWN); in omap4_hwc_reset_screen()
1459 ret = ioctl(hwc_dev->fb_fd, FBIOBLANK, FB_BLANK_UNBLANK); in omap4_hwc_reset_screen()
1689 if (hwc_dev->fb_fd >= 0) in omap4_hwc_device_close()
1690 close(hwc_dev->fb_fd); in omap4_hwc_device_close()
1948 err = ioctl(hwc_dev->fb_fd, OMAPFB_ENABLEVSYNC, &val); in omap4_hwc_event_control()
2023 hwc_dev->fb_fd = open("/dev/graphics/fb0", O_RDWR); in omap4_hwc_device_open()
2024 if (hwc_dev->fb_fd < 0) { in omap4_hwc_device_open()
2031 if (ioctl(hwc_dev->fb_fd, FBIOGET_FSCREENINFO, &fix)) { in omap4_hwc_device_open()
2038 hwc_dev->img_mem_ptr = mmap(NULL, fix.smem_len, PROT_WRITE, MAP_SHARED, hwc_dev->fb_fd, 0); in omap4_hwc_device_open()
[all …]
/hardware/qcom/display/libhwcomposer/
Dhwc_mdpcomp.cpp518 int fb_fd = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd; in setupBasePipe() local
534 if (ioctl(fb_fd, MSMFB_OVERLAY_SET, &ovInfo) < 0) { in setupBasePipe()
541 if (ioctl(fb_fd, MSMFB_OVERLAY_PLAY, &ovData) < 0) { in setupBasePipe()
/hardware/qcom/camera/
DQualcommCameraHardware.cpp1332 static int fb_fd = -1; variable
2246 fb_fd = open("/dev/graphics/fb0", O_RDWR); in startCamera()
2247 if (fb_fd < 0) { in startCamera()
5098 if(fb_fd >= 0) { in release()
5099 close(fb_fd); in release()
5100 fb_fd = -1; in release()
6687 result = ioctl(fb_fd, MSMFB_BLIT, &zoomImage.list); in native_zoom_image()