Searched refs:cxhdl (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-streams.c | 117 szimage = cx->cxhdl.height * 720 * 3 / 2; in cx18_queue_setup() 119 szimage = cx->cxhdl.height * 720 * 2; in cx18_queue_setup() 164 size = cx->cxhdl.height * 720 * 3 / 2; in cx18_buf_prepare() 166 size = cx->cxhdl.height * 720 * 2; in cx18_buf_prepare() 278 s->vb_bytes_per_frame = cx->cxhdl.height * 720 * 3 / 2; in cx18_stream_init() 748 s->mdl_size = 720 * s->cx->cxhdl.height * 3 / 2; in cx18_stream_configure_mdls() 750 s->mdl_size = 720 * s->cx->cxhdl.height * 2; in cx18_stream_configure_mdls() 797 cx->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_start_v4l2_encode_stream() 887 cx->cxhdl.priv = s; in cx18_start_v4l2_encode_stream() 888 cx2341x_handler_setup(&cx->cxhdl); in cx18_start_v4l2_encode_stream() [all …]
|
| H A D | cx18-driver.c | 734 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 D | cx18-ioctl.c | 60 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 …]
|
| H A D | cx18-fileops.c | 152 new_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_dualwatch() 164 if (v4l2_ctrl_s_ctrl(cx->cxhdl.audio_mode, new_stereo_mode)) in cx18_dualwatch() 704 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute) | in cx18_v4l2_close() 705 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute_yuv) << 8))); in cx18_v4l2_close()
|
| /linux/include/media/drv-intf/ |
| H A D | cx2341x.h | 181 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/ivtv/ |
| H A D | ivtv-driver.c | 721 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 D | ivtv-ioctl.c | 147 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 …]
|
| H A D | ivtv-fileops.c | 147 new_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_dualwatch() 158 if (v4l2_ctrl_s_ctrl(itv->cxhdl.audio_mode, new_stereo_mode)) in ivtv_dualwatch() 907 v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute) | in ivtv_v4l2_close() 908 (v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute_yuv) << 8)); in ivtv_v4l2_close()
|
| /linux/drivers/media/pci/cx88/ |
| H A D | cx88.h | 560 struct cx2341x_handler cxhdl; member
|