Home
last modified time | relevance | path

Searched refs:tvnorm (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.3-rc2/drivers/media/pci/bt8xx/
A Dbttv-vbi.c107 tvnorm = fh->vbi_fmt.tvnorm; in vbi_buffer_prepare()
260 f2_offset = tvnorm->vbistart[1] - tvnorm->vbistart[0]; in try_fmt()
309 tvnorm = &bttv_tvnorms[btv->tvnorm]; in bttv_try_fmt_vbi_cap()
332 tvnorm = &bttv_tvnorms[btv->tvnorm]; in bttv_s_fmt_vbi_cap()
339 tvnorm->vbistart[0]; in bttv_s_fmt_vbi_cap()
352 fh->vbi_fmt.tvnorm = tvnorm; in bttv_s_fmt_vbi_cap()
373 tvnorm = &bttv_tvnorms[fh->btv->tvnorm]; in bttv_g_fmt_vbi_cap()
375 if (tvnorm != fh->vbi_fmt.tvnorm) { in bttv_g_fmt_vbi_cap()
392 + tvnorm->vbistart[i] in bttv_g_fmt_vbi_cap()
401 - tvnorm->vbistart[0]; in bttv_g_fmt_vbi_cap()
[all …]
A Dbttv-risc.c343 vdelay = tvnorm->vdelay; in bttv_calc_geo_old()
389 both_fields, tvnorm); in bttv_calc_geo()
409 geo->vtotal = tvnorm->vtotal; in bttv_calc_geo()
698 const struct bttv_tvnorm *tvnorm = bttv_tvnorms + buf->tvnorm; in bttv_buffer_risc() local
712 tvnorm,&buf->crop); in bttv_buffer_risc()
766 tvnorm,&buf->crop); in bttv_buffer_risc()
775 tvnorm,&buf->crop); in bttv_buffer_risc()
784 tvnorm,&buf->crop); in bttv_buffer_risc()
807 tvnorm,&buf->crop); in bttv_buffer_risc()
837 bttv_calc_geo(btv,&buf->geo,tvnorm->swidth,tvnorm->sheight, in bttv_buffer_risc()
[all …]
A Dbttv-driver.c726 tvnorm = &bttv_tvnorms[btv->tvnorm]; in disclaim_video_lines()
1124 tvnorm = &bttv_tvnorms[norm]; in set_tvnorm()
1126 if (memcmp(&bttv_tvnorms[btv->tvnorm].cropcap, &tvnorm->cropcap, in set_tvnorm()
1137 btv->tvnorm = norm; in set_tvnorm()
1153 id = tvnorm->v4l2_id; in set_tvnorm()
1553 norm = btv->tvnorm; in bttv_prepare_buffer()
1563 norm = btv->tvnorm; in bttv_prepare_buffer()
1603 buf->tvnorm = norm; in bttv_prepare_buffer()
1782 set_input(btv, i, btv->tvnorm); in bttv_s_input()
2549 fh->ov.tvnorm = btv->tvnorm; in bttv_overlay()
[all …]
A Dbttvp.h150 unsigned int tvnorm; member
169 unsigned int tvnorm; member
181 const struct bttv_tvnorm *tvnorm; member
420 unsigned int tvnorm; member
/linux-6.3-rc2/drivers/media/pci/cx88/
A Dcx88-core.c685 unsigned int swidth = norm_swidth(core->tvnorm); in cx88_set_scale()
686 unsigned int sheight = norm_maxh(core->tvnorm); in cx88_set_scale()
692 v4l2_norm_to_name(core->tvnorm)); in cx88_set_scale()
697 value = (width * norm_hdelay(core->tvnorm)) / swidth; in cx88_set_scale()
713 cx_write(MO_VDELAY_EVEN, norm_vdelay(core->tvnorm)); in cx88_set_scale()
714 cx_write(MO_VDELAY_ODD, norm_vdelay(core->tvnorm)); in cx88_set_scale()
729 if (core->tvnorm & V4L2_STD_SECAM) { in cx88_set_scale()
831 v4l2_std_id norm = core->tvnorm; in set_tvaudio()
865 v4l2_norm_to_name(core->tvnorm)); in set_tvaudio()
892 if (norm == core->tvnorm) in cx88_set_tvnorm()
[all …]
A Dcx88-vbi.c32 if (dev->core->tvnorm & V4L2_STD_525_60) { in cx8800_vbi_fmt()
40 } else if (dev->core->tvnorm & V4L2_STD_625_50) { in cx8800_vbi_fmt()
122 if (dev->core->tvnorm & V4L2_STD_525_60) in queue_setup()
138 if (dev->core->tvnorm & V4L2_STD_525_60) in buffer_prepare()
A Dcx88-blackbird.c546 dev->core->tvnorm & V4L2_STD_625_50); in blackbird_codec_settings()
841 maxw = norm_maxw(core->tvnorm); in vidioc_try_fmt_vid_cap()
842 maxh = norm_maxh(core->tvnorm); in vidioc_try_fmt_vid_cap()
1013 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvnorm) in vidioc_g_std() argument
1018 *tvnorm = core->tvnorm; in vidioc_g_std()
1189 cx88_set_tvnorm(core, core->tvnorm); in cx8802_blackbird_probe()
A Dcx88-video.c621 if (core->tvnorm & V4L2_STD_SECAM) { in cx8800_s_vid_ctrl()
737 maxw = norm_maxw(core->tvnorm); in vidioc_try_fmt_vid_cap()
738 maxh = norm_maxh(core->tvnorm); in vidioc_try_fmt_vid_cap()
826 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvnorm) in vidioc_g_std() argument
831 *tvnorm = core->tvnorm; in vidioc_g_std()
/linux-6.3-rc2/drivers/media/pci/saa7134/
A Dsaa7134-tvaudio.c245 if (dev->tvnorm->id == V4L2_STD_NTSC) { in tvaudio_setmode()
321 if (!(dev->tvnorm->id & scan->std)) { in tvaudio_checkcarrier()
500 if (!(dev->tvnorm->id & mainscan[i].std)) in tvaudio_thread()
535 dev->tvnorm->name, carrier/1000, carrier%1000, in tvaudio_thread()
559 if (dev->tvnorm->id != UNSET && in tvaudio_thread()
560 !(dev->tvnorm->id & tvaudio[i].std)) in tvaudio_thread()
794 if (dev->tvnorm->id & (V4L2_STD_B | V4L2_STD_GH)) in tvaudio_thread_ddep()
796 if (dev->tvnorm->id & V4L2_STD_PAL_I) in tvaudio_thread_ddep()
798 if (dev->tvnorm->id & V4L2_STD_DK) in tvaudio_thread_ddep()
800 if (dev->tvnorm->id & V4L2_STD_MN) in tvaudio_thread_ddep()
[all …]
A Dsaa7134-vbi.c42 struct saa7134_tvnorm *norm = dev->tvnorm; in task_init()
136 dev->vbi_vlen = dev->tvnorm->vbi_v_stop_0 - dev->tvnorm->vbi_v_start_0 + 1; in queue_setup()
A Dsaa7134-video.c364 dev->tvnorm = norm; in set_tvnorm()
388 set_tvnorm(dev, dev->tvnorm); in video_mux()
397 struct saa7134_tvnorm *norm = dev->tvnorm; in saa7134_set_decoder()
455 saa_call_all(dev, video, s_std, dev->tvnorm->id); in saa7134_set_tvnorm_hw()
458 saa_call_empress(dev, video, s_std, dev->tvnorm->id); in saa7134_set_tvnorm_hw()
1228 struct saa7134_tvnorm *norm = dev->tvnorm; in saa7134_try_get_set_fmt_vbi_cap()
1559 *id = dev->tvnorm->id; in saa7134_g_std()
1602 if (dev->tvnorm->id & V4L2_STD_525_60) { in saa7134_g_pixelaspect()
1606 if (dev->tvnorm->id & V4L2_STD_625_50) { in saa7134_g_pixelaspect()
/linux-6.3-rc2/drivers/media/pci/cx23885/
A Dcx23885-vbi.c46 if (dev->tvnorm & V4L2_STD_525_60) { in cx23885_vbi_fmt()
52 } else if (dev->tvnorm & V4L2_STD_625_50) { in cx23885_vbi_fmt()
121 if (dev->tvnorm & V4L2_STD_525_60) in queue_setup()
137 if (dev->tvnorm & V4L2_STD_525_60) in buffer_prepare()
A Dcx23885-video.c118 if (dev->tvnorm == norm) in cx23885_set_tvnorm()
121 if (dev->tvnorm != norm) { in cx23885_set_tvnorm()
127 dev->tvnorm = norm; in cx23885_set_tvnorm()
371 if (dev->tvnorm & V4L2_STD_525_60) in buffer_prepare()
562 maxh = norm_maxh(dev->tvnorm); in vidioc_try_fmt_vid_cap()
697 sel->r.height = norm_maxh(dev->tvnorm); in vidioc_g_selection()
710 *id = dev->tvnorm; in vidioc_g_std()
1019 .std = dev->tvnorm, in cx23885_set_freq_via_ops()
1248 dev->tvnorm = V4L2_STD_NTSC_M; in cx23885_video_register()
1252 dev->height = norm_maxh(dev->tvnorm); in cx23885_video_register()
[all …]
/linux-6.3-rc2/drivers/media/tuners/
A Dtda9887.c48 struct tvnorm { struct
137 static struct tvnorm tvnorms[] = {
245 static struct tvnorm radio_stereo = {
257 static struct tvnorm radio_mono = {
404 struct tvnorm *norm = NULL; in tda9887_set_tvnorm()
/linux-6.3-rc2/drivers/media/pci/zoran/
A Dzoran_card.c330 static const struct tvnorm f50sqpixel = { 944, 768, 83, 880, 625, 576, 16 };
331 static const struct tvnorm f60sqpixel = { 780, 640, 51, 716, 525, 480, 12 };
332 static const struct tvnorm f50ccir601 = { 864, 720, 75, 804, 625, 576, 18 };
333 static const struct tvnorm f60ccir601 = { 858, 720, 57, 788, 525, 480, 16 };
335 static const struct tvnorm f50ccir601_lml33 = { 864, 720, 75 + 34, 804, 625, 576, 18 };
336 static const struct tvnorm f60ccir601_lml33 = { 858, 720, 57 + 34, 788, 525, 480, 16 };
339 static const struct tvnorm f50sqpixel_dc10 = { 944, 768, 0, 880, 625, 576, 0 };
340 static const struct tvnorm f60sqpixel_dc10 = { 780, 640, 0, 716, 525, 480, 12 };
346 static const struct tvnorm f50ccir601_lm33r10 = { 864, 720, 74 + 54, 804, 625, 576, 18 };
356 static const struct tvnorm f50ccir601_avs6eyes = { 864, 720, 74, 804, 625, 576, 18 };
[all …]
A Dvideocodec.h221 struct tvnorm { struct
259 int (*set_video)(struct videocodec *codec, const struct tvnorm *norm,
A Dzoran.h180 const struct tvnorm *tvn[3]; /* supported TV norms */
219 const struct tvnorm *timing;
A Dzr36016.c213 static int zr36016_set_video(struct videocodec *codec, const struct tvnorm *norm, in zr36016_set_video()
A Dzoran_device.c228 const struct tvnorm *tvn; in zr36057_set_vfe()
420 const struct tvnorm *tvn; in zr36057_set_jpg()
/linux-6.3-rc2/drivers/media/pci/cx25821/
A Dcx25821-video.c170 if (dev->tvnorm & V4L2_STD_625_50) in cx25821_buffer_prepare()
346 maxh = (dev->tvnorm & V4L2_STD_625_50) ? 576 : 480; in cx25821_vidioc_try_fmt_vid_cap()
440 *tvnorms = chan->dev->tvnorm; in cx25821_vidioc_g_std()
450 if (dev->tvnorm == tvnorms) in cx25821_vidioc_s_std()
453 dev->tvnorm = tvnorms; in cx25821_vidioc_s_std()
455 chan->height = (dev->tvnorm & V4L2_STD_625_50) ? 576 : 480; in cx25821_vidioc_s_std()
544 f->fmt.pix.height = (dev->tvnorm & V4L2_STD_625_50) ? 576 : 480; in cx25821_vidioc_try_fmt_vid_out()
673 dev->tvnorm = V4L2_STD_NTSC_M; in cx25821_video_register()
712 if (dev->tvnorm & V4L2_STD_625_50) in cx25821_video_register()
A Dcx25821-medusa-video.c388 if (dev->tvnorm & V4L2_STD_PAL_BG || dev->tvnorm & V4L2_STD_PAL_DK) in medusa_set_videostandard()
A Dcx25821.h251 v4l2_std_id tvnorm; member
/linux-6.3-rc2/drivers/media/pci/tw68/
A Dtw68-video.c213 if (norm != dev->tvnorm) { in set_tvnorm()
216 dev->tvnorm = norm; in set_tvnorm()
253 const struct tw68_tvnorm *norm = dev->tvnorm; in tw68_set_scale()
291 v4l2_norm_to_name(dev->tvnorm->id)); in tw68_set_scale()
601 maxh = (dev->tvnorm->id & V4L2_STD_525_60) ? 480 : 576; in tw68_try_fmt_vid_cap()
753 *id = dev->tvnorm->id; in tw68_g_std()
901 tw_andorb(TW68_SDT, 0x07, dev->tvnorm->format); in tw68_set_tvnorm_hw()
A Dtw68.h160 const struct tw68_tvnorm *tvnorm; /* video */ member
/linux-6.3-rc2/drivers/media/pci/cx18/
A Dcx18-streams.c126 buf->tvnorm != cx->std) { in cx18_prepare_buffer()
131 buf->tvnorm = cx->std; in cx18_prepare_buffer()
153 buf->tvnorm = cx->std; in cx18_prepare_buffer()

Completed in 107 milliseconds

12