/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-controls.c | 19 static int cx18_s_stream_vbi_fmt(struct cx2341x_handler *cxhdl, u32 fmt) argument 21 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); 22 int type = cxhdl->stream_type->val; 75 static int cx18_s_video_encoding(struct cx2341x_handler *cxhdl, u32 val) argument 77 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); 85 fmt->width = cxhdl->width / (is_mpeg1 ? 2 : 1); 86 fmt->height = cxhdl->height; 92 static int cx18_s_audio_sampling_freq(struct cx2341x_handler *cxhdl, u3 argument 104 cx18_s_audio_mode(struct cx2341x_handler *cxhdl, u32 val) argument [all...] |
H A D | cx18-streams.c | 117 szimage = cx->cxhdl.height * 720 * 3 / 2; 119 szimage = cx->cxhdl.height * 720 * 2; 164 size = cx->cxhdl.height * 720 * 3 / 2; 166 size = cx->cxhdl.height * 720 * 2; 280 s->vb_bytes_per_frame = cx->cxhdl.height * 720 * 3 / 2; 750 s->mdl_size = 720 * s->cx->cxhdl.height * 3 / 2; 752 s->mdl_size = 720 * s->cx->cxhdl.height * 2; 799 cx->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); 889 cx->cxhdl.priv = s; 890 cx2341x_handler_setup(&cx->cxhdl); [all...] |
H A D | cx18-driver.c | 734 cx->cxhdl.port = CX2341X_PORT_MEMORY; 735 cx->cxhdl.capabilities = CX2341X_CAP_HAS_TS | CX2341X_CAP_HAS_SLICED_VBI; 736 cx->cxhdl.ops = &cx18_cxhdl_ops; 737 cx->cxhdl.func = cx18_api_func; 738 cx->cxhdl.priv = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; 739 ret = cx2341x_handler_init(&cx->cxhdl, 50); 742 cx->v4l2_dev.ctrl_handler = &cx->cxhdl.hdl; 744 cx->temporal_strength = cx->cxhdl.video_temporal_filter->cur.val; 745 cx->spatial_strength = cx->cxhdl.video_spatial_filter->cur.val; 746 cx->filter_mode = cx->cxhdl [all...] |
H A D | cx18-ioctl.c | 60 pixfmt->width = cx->cxhdl.width; 61 pixfmt->height = cx->cxhdl.height; 139 if (cx->cxhdl.width == w && cx->cxhdl.height == h && 150 format.format.width = cx->cxhdl.width = w; 151 format.format.height = cx->cxhdl.height = h; 618 cx2341x_handler_set_50hz(&cx->cxhdl, cx->is_50hz); 619 cx->cxhdl.width = 720; 620 cx->cxhdl.height = cx->is_50hz ? 576 : 480; 627 cx->cxhdl [all...] |
H A D | cx18-fileops.c | 152 new_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); 164 if (v4l2_ctrl_s_ctrl(cx->cxhdl.audio_mode, new_stereo_mode)) 704 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute) | 705 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute_yuv) << 8)));
|
H A D | cx18-driver.h | 586 struct cx2341x_handler cxhdl; member in struct:cx18
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-controls.c | 14 static int ivtv_s_stream_vbi_fmt(struct cx2341x_handler *cxhdl, u32 fmt) argument 16 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); 51 static int ivtv_s_video_encoding(struct cx2341x_handler *cxhdl, u32 val) argument 53 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); 60 format.format.width = cxhdl->width / (is_mpeg1 ? 2 : 1); 61 format.format.height = cxhdl->height; 67 static int ivtv_s_audio_sampling_freq(struct cx2341x_handler *cxhdl, u32 idx) argument 70 struct ivtv *itv = container_of(cxhdl, struc 79 ivtv_s_audio_mode(struct cx2341x_handler *cxhdl, u32 val) argument [all...] |
H A D | ivtv-streams.c | 511 itv->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); 599 cx2341x_handler_setup(&itv->cxhdl); 604 1 | (v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute_yuv) << 8)); 620 cx2341x_handler_set_busy(&itv->cxhdl, 1); 670 width = itv->cxhdl.width; 671 height = itv->cxhdl.height; 711 width, height, itv->cxhdl.audio_properties)) { 890 cx2341x_handler_set_busy(&itv->cxhdl, 0); 1013 cx2341x_handler_setup(&itv->cxhdl); 1014 cx2341x_handler_set_busy(&itv->cxhdl, [all...] |
H A D | ivtv-firmware.c | 239 data[1] = itv->cxhdl.width; /* YUV source width */ 240 data[2] = itv->cxhdl.height; 241 data[3] = itv->cxhdl.audio_properties; /* Audio settings to use,
|
H A D | ivtv-driver.c | 761 itv->cxhdl.port = CX2341X_PORT_MEMORY; 762 itv->cxhdl.capabilities = CX2341X_CAP_HAS_SLICED_VBI; 1024 retval = cx2341x_handler_init(&itv->cxhdl, 50); 1027 itv->v4l2_dev.ctrl_handler = &itv->cxhdl.hdl; 1028 itv->cxhdl.ops = &ivtv_cxhdl_ops; 1029 itv->cxhdl.priv = itv; 1030 itv->cxhdl.func = ivtv_api_func; 1158 cx2341x_handler_set_50hz(&itv->cxhdl, itv->is_50hz); 1278 v4l2_ctrl_handler_free(&itv->cxhdl.hdl); 1387 cx2341x_handler_setup(&itv->cxhdl); [all...] |
H A D | ivtv-ioctl.c | 147 data[3] = v4l2_ctrl_g_ctrl(itv->cxhdl.video_b_frames); 337 pixfmt->width = itv->cxhdl.width; 338 pixfmt->height = itv->cxhdl.height; 581 if (itv->cxhdl.width == w && itv->cxhdl.height == h) 587 itv->cxhdl.width = w; 588 itv->cxhdl.height = h; 589 if (v4l2_ctrl_g_ctrl(itv->cxhdl.video_encoding) == V4L2_MPEG_VIDEO_ENCODING_MPEG_1) 1098 cx2341x_handler_set_50hz(&itv->cxhdl, itv->is_50hz); 1099 itv->cxhdl [all...] |
H A D | ivtv-fileops.c | 146 new_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); 157 if (v4l2_ctrl_s_ctrl(itv->cxhdl.audio_mode, new_stereo_mode)) 895 v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute) | 896 (v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute_yuv) << 8));
|
H A D | ivtv-driver.h | 632 struct cx2341x_handler cxhdl; member in struct:ivtv
|
/linux-master/drivers/media/common/ |
H A D | cx2341x.c | 1574 int cx2341x_handler_init(struct cx2341x_handler *cxhdl, argument 1577 struct v4l2_ctrl_handler *hdl = &cxhdl->hdl; 1578 u32 caps = cxhdl->capabilities; 1583 cxhdl->width = 720; 1584 cxhdl->height = 480; 1590 cxhdl->stream_type = cx2341x_ctrl_new_menu(hdl, 1594 cxhdl->stream_vbi_fmt = cx2341x_ctrl_new_menu(hdl, 1598 cxhdl->audio_sampling_freq = cx2341x_ctrl_new_menu(hdl, 1602 cxhdl->audio_encoding = cx2341x_ctrl_new_menu(hdl, 1606 cxhdl 1735 cx2341x_handler_set_50hz(struct cx2341x_handler *cxhdl, int is_50hz) argument 1742 cx2341x_handler_setup(struct cx2341x_handler *cxhdl) argument 1766 cx2341x_handler_set_busy(struct cx2341x_handler *cxhdl, int busy) argument [all...] |
/linux-master/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-master/drivers/media/pci/cx88/ |
H A D | cx88-blackbird.c | 543 dev->cxhdl.width = core->width; 544 dev->cxhdl.height = core->height; 545 cx2341x_handler_set_50hz(&dev->cxhdl, 547 cx2341x_handler_setup(&dev->cxhdl); 635 cx2341x_handler_set_busy(&dev->cxhdl, 1); 651 cx2341x_handler_set_busy(&dev->cxhdl, 0); 921 v4l2_ctrl_handler_log_status(&dev->cxhdl.hdl, name); 1134 dev->mpeg_dev.ctrl_handler = &dev->cxhdl.hdl; 1171 dev->cxhdl.port = CX2341X_PORT_STREAMING; 1172 dev->cxhdl [all...] |
H A D | cx88.h | 560 struct cx2341x_handler cxhdl; member in struct:cx8802_dev
|
/linux-master/drivers/media/pci/cx23885/ |
H A D | cx23885-417.c | 1021 dev->cxhdl.width = dev->ts1.width; 1022 dev->cxhdl.height = dev->ts1.height; 1023 dev->cxhdl.is_50hz = 1026 cx2341x_handler_setup(&dev->cxhdl); 1404 v4l2_ctrl_handler_log_status(&dev->cxhdl.hdl, name); 1464 v4l2_ctrl_handler_free(&dev->cxhdl.hdl); 1512 dev->cxhdl.port = CX2341X_PORT_SERIAL; 1513 err = cx2341x_handler_init(&dev->cxhdl, 50); 1516 dev->cxhdl.priv = dev; 1517 dev->cxhdl [all...] |
H A D | cx23885.h | 436 struct cx2341x_handler cxhdl; member in struct:cx23885_dev
|
/linux-master/drivers/media/usb/cx231xx/ |
H A D | cx231xx-417.c | 1674 static int cx231xx_s_video_encoding(struct cx2341x_handler *cxhdl, u32 val) argument 1676 struct cx231xx *dev = container_of(cxhdl, struct cx231xx, mpeg_ctrl_handler); 1683 format.format.width = cxhdl->width / (is_mpeg1 ? 2 : 1); 1684 format.format.height = cxhdl->height; 1690 static int cx231xx_s_audio_sampling_freq(struct cx2341x_handler *cxhdl, u32 idx) argument 1693 struct cx231xx *dev = container_of(cxhdl, struct cx231xx, mpeg_ctrl_handler);
|