Home
last modified time | relevance | path

Searched refs:expbuf (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dvidioc-expbuf.rst72 struct v4l2_exportbuffer expbuf;
74 memset(&expbuf, 0, sizeof(expbuf));
75 expbuf.type = bt;
76 expbuf.index = index;
77 if (ioctl(v4lfd, VIDIOC_EXPBUF, &expbuf) == -1) {
82 *dmafd = expbuf.fd;
95 struct v4l2_exportbuffer expbuf;
97 memset(&expbuf, 0, sizeof(expbuf));
98 expbuf.type = bt;
99 expbuf.index = index;
[all …]
H A Duser-func.rst33 vidioc-expbuf
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/
H A Ddmx-expbuf.rst63 struct dmx_exportbuffer expbuf;
65 memset(&expbuf, 0, sizeof(expbuf));
66 expbuf.type = bt;
67 expbuf.index = index;
68 if (ioctl(v4lfd, DMX_EXPBUF, &expbuf) == -1) {
73 *dmafd = expbuf.fd;
H A Ddmx_fcalls.rst29 dmx-expbuf
/OK3568_Linux_fs/external/mpp/utils/
H A Dcamera_source.c242 struct v4l2_exportbuffer expbuf = (struct v4l2_exportbuffer) {0} ; in camera_source_init() local
244 expbuf.type = type; in camera_source_init()
245 expbuf.index = i; in camera_source_init()
246 expbuf.flags = O_CLOEXEC; in camera_source_init()
247 if (camera_source_ioctl(ctx->fd, VIDIOC_EXPBUF, &expbuf) < 0) { in camera_source_init()
251 mpp_log("get dma buf(%d)-fd: %d\n", i, expbuf.fd); in camera_source_init()
255 info.fd = expbuf.fd; in camera_source_init()
260 ctx->fbuf[i].export_fd = expbuf.fd; in camera_source_init()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rk_stream/rkvi_demo/
H A Drkvi_demo_isp.c_part109 struct v4l2_exportbuffer expbuf;
110 xcam_mem_clear (expbuf);
111 expbuf.type = g_buf_type;
112 expbuf.index = n_buffers;
113 expbuf.flags = O_CLOEXEC;
114 if (xioctl(g_ispfd, VIDIOC_EXPBUF, &expbuf) < 0) {
117 printf("%s: get dma buf(%d)-fd: %d\n",g_sns_name, n_buffers, expbuf.fd);
119 tmp_buffers[n_buffers].export_fd = expbuf.fd;
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/
H A Dv4l2_device.cpp913 struct v4l2_exportbuffer expbuf; in prepare() local
914 xcam_mem_clear (expbuf); in prepare()
915 expbuf.type = _buf_type; in prepare()
916 expbuf.index = index; in prepare()
917 expbuf.flags = O_CLOEXEC; in prepare()
918 if (io_control (VIDIOC_EXPBUF, &expbuf) < 0) { in prepare()
922 XCAM_LOG_INFO ("device(%s) get dma buf(%d)-fd: %d", XCAM_STR (_name), index, expbuf.fd); in prepare()
924 expbuf_fd = expbuf.fd; in prepare()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/
H A Drkisp_demo.cpp1560 struct v4l2_exportbuffer expbuf; local
1561 xcam_mem_clear (expbuf);
1562 expbuf.type = ctx->buf_type;
1563 expbuf.index = ctx->n_buffers;
1564 expbuf.flags = O_CLOEXEC;
1565 if (xioctl(fd_tmp, VIDIOC_EXPBUF, &expbuf) < 0) {
1568 DBG("%s: get dma buf(%d)-fd: %d\n", get_sensor_name(ctx), ctx->n_buffers, expbuf.fd);
1570 tmp_buffers[ctx->n_buffers].export_fd = expbuf.fd;
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/
H A Drdist-6.1.5-cleanup.patch1911 - register char *ep = expbuf;
1912 + char *ep = expbuf;
1923 - register char *p2 = expbuf;
1925 + char *p2 = expbuf;
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c2783 DEFINE_V4L_STUB_FUNC(expbuf)