/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-vbi-cap.c | 33 bool is_60hz = dev->std_cap & V4L2_STD_525_60; in vivid_sliced_vbi_cap_fill() local 35 vivid_vbi_gen_sliced(vbi_gen, is_60hz, seqnr); in vivid_sliced_vbi_cap_fill() 37 if (!is_60hz) { in vivid_sliced_vbi_cap_fill() 62 } else if (dev->loop_video && is_60hz) { in vivid_sliced_vbi_cap_fill() 80 bool is_60hz = dev->std_cap & V4L2_STD_525_60; in vivid_g_fmt_vbi_cap() local 86 vbi->start[0] = is_60hz ? V4L2_VBI_ITU_525_F1_START + 9 : V4L2_VBI_ITU_625_F1_START + 5; in vivid_g_fmt_vbi_cap() 87 vbi->start[1] = is_60hz ? V4L2_VBI_ITU_525_F2_START + 9 : V4L2_VBI_ITU_625_F2_START + 5; in vivid_g_fmt_vbi_cap() 88 vbi->count[0] = vbi->count[1] = is_60hz ? 12 : 18; in vivid_g_fmt_vbi_cap() 143 bool is_60hz = dev->std_cap & V4L2_STD_525_60; in vbi_cap_queue_setup() local 146 1440 * 2 * (is_60hz ? 12 : 18); in vbi_cap_queue_setup() [all …]
|
D | vivid-vbi-out.c | 35 bool is_60hz = dev->std_out & V4L2_STD_525_60; in vbi_out_queue_setup() local 38 1440 * 2 * (is_60hz ? 12 : 18); in vbi_out_queue_setup() 55 bool is_60hz = dev->std_out & V4L2_STD_525_60; in vbi_out_buf_prepare() local 58 1440 * 2 * (is_60hz ? 12 : 18); in vbi_out_buf_prepare() 143 bool is_60hz = dev->std_out & V4L2_STD_525_60; in vidioc_g_fmt_vbi_out() local 152 vbi->start[0] = is_60hz ? V4L2_VBI_ITU_525_F1_START + 9 : V4L2_VBI_ITU_625_F1_START + 5; in vidioc_g_fmt_vbi_out() 153 vbi->start[1] = is_60hz ? V4L2_VBI_ITU_525_F2_START + 9 : V4L2_VBI_ITU_625_F2_START + 5; in vidioc_g_fmt_vbi_out() 154 vbi->count[0] = vbi->count[1] = is_60hz ? 12 : 18; in vidioc_g_fmt_vbi_out() 192 bool is_60hz = dev->std_out & V4L2_STD_525_60; in vidioc_try_fmt_sliced_vbi_out() local 198 service_set &= is_60hz ? V4L2_SLICED_CAPTION_525 : in vidioc_try_fmt_sliced_vbi_out()
|
D | vivid-vbi-gen.h | 29 bool is_60hz, unsigned seqnr);
|
D | vivid-vbi-gen.c | 259 bool is_60hz, unsigned seqnr) in vivid_vbi_gen_sliced() argument 267 if (!is_60hz) { in vivid_vbi_gen_sliced()
|
D | vivid-tpg.c | 1680 bool is_60hz; member 1750 (params->is_60hz ? V4L2_FIELD_TOP : V4L2_FIELD_BOTTOM); in tpg_fill_params_extras() 1764 if (params->is_tv && !params->is_60hz && in tpg_fill_plane_extras() 1958 } else if (params->is_60hz) { in tpg_fill_plane_pattern() 2011 params.is_60hz = std & V4L2_STD_525_60; in tpg_fill_plane_buffer()
|
D | vivid-kthread-cap.c | 422 bool is_60hz = is_tv && (dev->std_cap & V4L2_STD_525_60); in vivid_fillbuff() local 450 buf->vb.v4l2_buf.field = ((dev->vid_cap_seq_count & 1) ^ is_60hz) ? in vivid_fillbuff()
|
/linux-4.1.27/drivers/media/i2c/ |
D | tw2804.c | 266 bool is_60hz = norm & V4L2_STD_525_60; in tw2804_s_std() local 268 0x01, is_60hz ? 0xc4 : 0x84, in tw2804_s_std() 269 0x09, is_60hz ? 0x07 : 0x04, in tw2804_s_std() 270 0x0a, is_60hz ? 0xf0 : 0x20, in tw2804_s_std() 271 0x0b, is_60hz ? 0x07 : 0x04, in tw2804_s_std() 272 0x0c, is_60hz ? 0xf0 : 0x20, in tw2804_s_std() 273 0x0d, is_60hz ? 0x40 : 0x4a, in tw2804_s_std() 274 0x16, is_60hz ? 0x00 : 0x40, in tw2804_s_std() 275 0x17, is_60hz ? 0x00 : 0x40, in tw2804_s_std() 276 0x20, is_60hz ? 0x07 : 0x0f, in tw2804_s_std() [all …]
|
D | tw9906.c | 100 bool is_60hz = norm & V4L2_STD_525_60; in tw9906_s_std() local 116 write_regs(sd, is_60hz ? config_60hz : config_50hz); in tw9906_s_std() 145 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9906_log_status() local 147 v4l2_info(sd, "Standard: %d Hz\n", is_60hz ? 60 : 50); in tw9906_log_status()
|
D | tw9903.c | 129 bool is_60hz = norm & V4L2_STD_525_60; in tw9903_s_std() local 145 write_regs(sd, is_60hz ? config_60hz : config_50hz); in tw9903_s_std() 175 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9903_log_status() local 177 v4l2_info(sd, "Standard: %d Hz\n", is_60hz ? 60 : 50); in tw9903_log_status()
|
/linux-4.1.27/drivers/media/pci/cx25821/ |
D | cx25821-video-upstream.c | 119 || (line < (NTSC_FIELD_HEIGHT - 1)) || !(out->is_60hz)) { in cx25821_update_riscprogram() 154 || (line < (NTSC_FIELD_HEIGHT - 1)) || !(out->is_60hz)) in cx25821_risc_field_upstream() 191 if (out->is_60hz) { in cx25821_risc_buffer_upstream() 315 if (out->is_60hz) in cx25821_write_frame() 438 if (out->is_60hz) { in cx25821_video_upstream_irq() 530 value |= out->is_60hz ? 0 : 0x10; in cx25821_set_pixelengine() 540 if (out->is_60hz) in cx25821_set_pixelengine() 623 out->is_60hz = dev->tvnorm & V4L2_STD_525_60; in cx25821_vidupstream_init() 634 out->_lines_count = out->is_60hz ? 480 : 576; in cx25821_vidupstream_init() 638 data_frame_size = out->is_60hz ? NTSC_DATA_BUF_SZ : PAL_DATA_BUF_SZ; in cx25821_vidupstream_init() [all …]
|
D | cx25821.h | 205 int is_60hz; member
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-streams.c | 560 if (cx->is_60hz) { in cx18_vbi_setup() 601 lines = cx->is_60hz ? (21 - 4 + 1) * 2 : (23 - 2 + 1) * 2; in cx18_vbi_setup() 609 : (cx->is_60hz ? vbi_hblank_samples_60Hz in cx18_vbi_setup() 763 s->mdl_size = (s->cx->is_60hz ? 12 : 18) in cx18_stream_configure_mdls() 771 s->mdl_size = s->cx->is_60hz in cx18_stream_configure_mdls()
|
D | cx18-controls.c | 82 if (cx->is_60hz) in cx18_s_stream_vbi_fmt()
|
D | cx18-vbi.c | 148 u32 line_size = cx->is_60hz ? vbi_hblank_samples_60Hz in compress_sliced_buf()
|
D | cx18-driver.h | 587 u8 is_60hz; member
|
D | cx18-ioctl.c | 600 cx->is_60hz = (std & V4L2_STD_525_60) ? 1 : 0; in cx18_s_std() 601 cx->is_50hz = !cx->is_60hz; in cx18_s_std()
|
D | cx18-driver.c | 1079 cx->is_60hz = 1; in cx18_probe() 1083 cx2341x_handler_set_50hz(&cx->cxhdl, !cx->is_60hz); in cx18_probe()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-controls.c | 54 if (itv->is_60hz) in ivtv_s_stream_vbi_fmt()
|
D | ivtv-streams.c | 386 lines = itv->is_60hz ? 24 : 38; in ivtv_vbi_setup() 387 if (itv->is_60hz && (itv->hw_flags & IVTV_HW_CX25840)) in ivtv_vbi_setup() 456 if (itv->is_60hz) { in ivtv_vbi_setup()
|
D | ivtv-ioctl.c | 333 if (itv->is_60hz) { in ivtv_g_fmt_sliced_vbi_out() 1112 itv->is_60hz = (std & V4L2_STD_525_60) ? 1 : 0; in ivtv_s_std_enc() 1113 itv->is_50hz = !itv->is_60hz; in ivtv_s_std_enc() 1122 itv->vbi.sliced_decoder_line_size = itv->is_60hz ? 272 : 284; in ivtv_s_std_enc() 1247 if (itv->is_60hz) { in ivtv_g_sliced_vbi_cap()
|
D | ivtv-driver.c | 1159 itv->is_60hz = 1; in ivtv_probe() 1190 vbi_buf_size = itv->vbi.raw_size * (itv->is_60hz ? 24 : 36) / 2; in ivtv_probe()
|
D | ivtv-driver.h | 651 u8 is_60hz /* 1 if the current capture standard is 60 Hz */; member
|