Home
last modified time | relevance | path

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

/linux/include/media/drv-intf/
H A Dcx2341x.h181 int cx2341x_handler_init(struct cx2341x_handler *cxhdl,
183 void cx2341x_handler_set_50hz(struct cx2341x_handler *cxhdl, int is_50hz);
184 int cx2341x_handler_setup(struct cx2341x_handler *cxhdl);
185 void cx2341x_handler_set_busy(struct cx2341x_handler *cxhdl, int busy);
/linux/drivers/media/pci/cx18/
H A Dcx18-driver.c734 cx->cxhdl.port = CX2341X_PORT_MEMORY; in cx18_init_struct1()
735 cx->cxhdl.capabilities = CX2341X_CAP_HAS_TS | CX2341X_CAP_HAS_SLICED_VBI; in cx18_init_struct1()
736 cx->cxhdl.ops = &cx18_cxhdl_ops; in cx18_init_struct1()
737 cx->cxhdl.func = cx18_api_func; in cx18_init_struct1()
738 cx->cxhdl.priv = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_init_struct1()
739 ret = cx2341x_handler_init(&cx->cxhdl, 50); in cx18_init_struct1()
742 cx->v4l2_dev.ctrl_handler = &cx->cxhdl.hdl; in cx18_init_struct1()
744 cx->temporal_strength = cx->cxhdl.video_temporal_filter->cur.val; in cx18_init_struct1()
745 cx->spatial_strength = cx->cxhdl.video_spatial_filter->cur.val; in cx18_init_struct1()
746 cx->filter_mode = cx->cxhdl.video_spatial_filter_mode->cur.val | in cx18_init_struct1()
[all …]
H A Dcx18-ioctl.c60 pixfmt->width = cx->cxhdl.width; in cx18_g_fmt_vid_cap()
61 pixfmt->height = cx->cxhdl.height; in cx18_g_fmt_vid_cap()
139 if (cx->cxhdl.width == w && cx->cxhdl.height == h && in cx18_s_fmt_vid_cap()
150 format.format.width = cx->cxhdl.width = w; in cx18_s_fmt_vid_cap()
151 format.format.height = cx->cxhdl.height = h; in cx18_s_fmt_vid_cap()
621 cx2341x_handler_set_50hz(&cx->cxhdl, cx->is_50hz); in cx18_do_s_std()
622 cx->cxhdl.width = 720; in cx18_do_s_std()
623 cx->cxhdl.height = cx->is_50hz ? 576 : 480; in cx18_do_s_std()
630 cx->cxhdl.height * 720 * 3 / 2; in cx18_do_s_std()
634 cx->cxhdl.height * 720 * 2; in cx18_do_s_std()
[all …]
/linux/drivers/media/pci/ivtv/
H A Divtv-driver.c721 itv->cxhdl.port = CX2341X_PORT_MEMORY; in ivtv_init_struct1()
722 itv->cxhdl.capabilities = CX2341X_CAP_HAS_SLICED_VBI; in ivtv_init_struct1()
979 retval = cx2341x_handler_init(&itv->cxhdl, 50); in ivtv_probe()
982 itv->v4l2_dev.ctrl_handler = &itv->cxhdl.hdl; in ivtv_probe()
983 itv->cxhdl.ops = &ivtv_cxhdl_ops; in ivtv_probe()
984 itv->cxhdl.priv = itv; in ivtv_probe()
985 itv->cxhdl.func = ivtv_api_func; in ivtv_probe()
1114 cx2341x_handler_set_50hz(&itv->cxhdl, itv->is_50hz); in ivtv_probe()
1234 v4l2_ctrl_handler_free(&itv->cxhdl.hdl); in ivtv_probe()
1333 cx2341x_handler_setup(&itv->cxhdl); in ivtv_init_on_first_open()
[all …]
H A Divtv-ioctl.c147 data[3] = v4l2_ctrl_g_ctrl(itv->cxhdl.video_b_frames); in ivtv_set_speed()
337 pixfmt->width = itv->cxhdl.width; in ivtv_g_fmt_vid_cap()
338 pixfmt->height = itv->cxhdl.height; in ivtv_g_fmt_vid_cap()
581 if (itv->cxhdl.width == w && itv->cxhdl.height == h) in ivtv_s_fmt_vid_cap()
587 itv->cxhdl.width = w; in ivtv_s_fmt_vid_cap()
588 itv->cxhdl.height = h; in ivtv_s_fmt_vid_cap()
589 if (v4l2_ctrl_g_ctrl(itv->cxhdl.video_encoding) == V4L2_MPEG_VIDEO_ENCODING_MPEG_1) in ivtv_s_fmt_vid_cap()
1110 cx2341x_handler_set_50hz(&itv->cxhdl, itv->is_50hz); in ivtv_s_std_enc()
1111 itv->cxhdl.width = 720; in ivtv_s_std_enc()
1112 itv->cxhdl.height = itv->is_50hz ? 576 : 480; in ivtv_s_std_enc()
[all …]
/linux/drivers/media/pci/cx88/
H A Dcx88.h560 struct cx2341x_handler cxhdl; member