Home
last modified time | relevance | path

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

12

/drivers/media/video/bt8xx/
Dbttv-vbi.c105 const struct bttv_tvnorm *tvnorm; in vbi_buffer_prepare() local
114 tvnorm = fh->vbi_fmt.tvnorm; in vbi_buffer_prepare()
128 - tvnorm->vbistart[0])); in vbi_buffer_prepare()
131 - tvnorm->vbistart[1])); in vbi_buffer_prepare()
187 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare()
188 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare()
240 static int try_fmt(struct v4l2_vbi_format *f, const struct bttv_tvnorm *tvnorm, in try_fmt() argument
252 min_start = tvnorm->vbistart[0]; in try_fmt()
254 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
255 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt()
[all …]
Dbttv-risc.c335 const struct bttv_tvnorm *tvnorm) in bttv_calc_geo_old() argument
340 int swidth = tvnorm->swidth; in bttv_calc_geo_old()
341 int totalwidth = tvnorm->totalwidth; in bttv_calc_geo_old()
342 int scaledtwidth = tvnorm->scaledtwidth; in bttv_calc_geo_old()
350 vdelay = tvnorm->vdelay; in bttv_calc_geo_old()
354 geo->hdelay = tvnorm->hdelayx1; in bttv_calc_geo_old()
357 sr = ((tvnorm->sheight >> (interleaved?0:1))*512)/height - 512; in bttv_calc_geo_old()
360 ((tvnorm->sheight>>4)&0x30) | ((vdelay>>2)&0xc0); in bttv_calc_geo_old()
364 geo->sheight = tvnorm->sheight; in bttv_calc_geo_old()
365 geo->vtotal = tvnorm->vtotal; in bttv_calc_geo_old()
[all …]
Dbttvp.h138 int tvnorm; member
157 int tvnorm; member
169 const struct bttv_tvnorm *tvnorm; member
381 int tvnorm,hue,contrast,bright,saturation; member
Dbttv-driver.c914 const struct bttv_tvnorm *tvnorm; in disclaim_video_lines() local
917 tvnorm = &bttv_tvnorms[btv->tvnorm]; in disclaim_video_lines()
918 btv->crop_start = tvnorm->cropcap.bounds.top in disclaim_video_lines()
919 + tvnorm->cropcap.bounds.height; in disclaim_video_lines()
1040 int table_idx = bttv_tvnorms[btv->tvnorm].sram; in bt848A_set_timing()
1041 int fsc = bttv_tvnorms[btv->tvnorm].Fsc; in bt848A_set_timing()
1290 const struct bttv_tvnorm *tvnorm; in set_tvnorm() local
1296 tvnorm = &bttv_tvnorms[norm]; in set_tvnorm()
1298 if (btv->tvnorm < 0 || in set_tvnorm()
1299 btv->tvnorm >= BTTV_TVNORMS || in set_tvnorm()
[all …]
/drivers/media/video/cx88/
Dcx88-core.c689 unsigned int swidth = norm_swidth(core->tvnorm); in cx88_set_scale()
690 unsigned int sheight = norm_maxh(core->tvnorm); in cx88_set_scale()
696 v4l2_norm_to_name(core->tvnorm)); in cx88_set_scale()
701 value = (width * norm_hdelay(core->tvnorm)) / swidth; in cx88_set_scale()
717 cx_write(MO_VDELAY_EVEN, norm_vdelay(core->tvnorm)); in cx88_set_scale()
718 cx_write(MO_VDELAY_ODD, norm_vdelay(core->tvnorm)); in cx88_set_scale()
719 dprintk(1,"set_scale: vdelay 0x%04x\n", norm_vdelay(core->tvnorm)); in cx88_set_scale()
733 if (core->tvnorm & V4L2_STD_SECAM) { in cx88_set_scale()
830 v4l2_std_id norm = core->tvnorm; in set_tvaudio()
862 core->name, v4l2_norm_to_name(core->tvnorm)); in set_tvaudio()
[all …]
Dcx88-vbi.c35 if (dev->core->tvnorm & V4L2_STD_525_60) { in cx8800_vbi_fmt()
41 } else if (dev->core->tvnorm & V4L2_STD_625_50) { in cx8800_vbi_fmt()
Dcx88-video.c338 core->tvnorm & V4L2_STD_SECAM) in cx8800_ctrl_query()
591 if (fh->width < 48 || fh->width > norm_maxw(core->tvnorm) || in buffer_prepare()
592 fh->height < 32 || fh->height > norm_maxh(core->tvnorm)) in buffer_prepare()
1019 if (core->tvnorm & V4L2_STD_SECAM) { in cx88_set_control()
1031 if (core->tvnorm & V4L2_STD_SECAM && value) in cx88_set_control()
1095 maxw = norm_maxw(core->tvnorm); in vidioc_try_fmt_vid_cap()
1096 maxh = norm_maxh(core->tvnorm); in vidioc_try_fmt_vid_cap()
1862 core->tvnorm = cx8800_video_template.current_norm; in cx8800_initdev()
1950 cx88_set_tvnorm(core,core->tvnorm); in cx8800_initdev()
Dcx88-blackbird.c526 dev->params.is_50hz = (dev->core->tvnorm & V4L2_STD_625_50) != 0; in blackbird_codec_settings()
1331 cx8802_mpeg_template.current_norm = core->tvnorm; in cx8802_blackbird_probe()
1333 if (core->tvnorm & V4L2_STD_525_60) { in cx8802_blackbird_probe()
1350 cx88_set_tvnorm(core,core->tvnorm); in cx8802_blackbird_probe()
Dcx88.h344 v4l2_std_id tvnorm; member
/drivers/media/video/saa7134/
Dsaa7134-tvaudio.c260 if (dev->tvnorm->id == V4L2_STD_NTSC) { in tvaudio_setmode()
352 if (dev->tvnorm->id & scan->std) { in tvaudio_checkcarrier()
512 if (!(dev->tvnorm->id & mainscan[i].std)) in tvaudio_thread()
547 dev->tvnorm->name, carrier/1000, carrier%1000, in tvaudio_thread()
571 if (dev->tvnorm->id != UNSET && in tvaudio_thread()
572 !(dev->tvnorm->id & tvaudio[i].std)) in tvaudio_thread()
803 if (dev->tvnorm->id & (V4L2_STD_B | V4L2_STD_GH)) in tvaudio_thread_ddep()
805 if (dev->tvnorm->id & V4L2_STD_PAL_I) in tvaudio_thread_ddep()
807 if (dev->tvnorm->id & V4L2_STD_DK) in tvaudio_thread_ddep()
809 if (dev->tvnorm->id & V4L2_STD_MN) in tvaudio_thread_ddep()
[all …]
Dsaa7134-vbi.c54 struct saa7134_tvnorm *norm = dev->tvnorm; in task_init()
124 struct saa7134_tvnorm *norm = dev->tvnorm; in buffer_prepare()
174 lines = dev->tvnorm->vbi_v_stop_0 - dev->tvnorm->vbi_v_start_0 +1; in buffer_setup()
Dsaa7134-video.c546 dev->tvnorm = norm; in set_tvnorm()
569 set_tvnorm(dev, dev->tvnorm); in video_mux()
578 struct saa7134_tvnorm *norm = dev->tvnorm; in saa7134_set_decoder()
630 saa7134_i2c_call_clients(dev, VIDIOC_S_STD, &dev->tvnorm->id); in saa7134_set_tvnorm_hw()
633 saa7134_i2c_call_saa6752(dev, VIDIOC_S_STD, &dev->tvnorm->id); in saa7134_set_tvnorm_hw()
1529 struct saa7134_tvnorm *norm = dev->tvnorm; in saa7134_try_get_set_fmt_vbi_cap()
1884 *id = dev->tvnorm->id; in saa7134_g_std()
1901 if (dev->tvnorm->id & V4L2_STD_525_60) { in saa7134_cropcap()
1905 if (dev->tvnorm->id & V4L2_STD_625_50) { in saa7134_cropcap()
Dsaa7134-empress.c436 *id = dev->tvnorm->id; in empress_g_std()
Dsaa7134.h538 struct saa7134_tvnorm *tvnorm; /* video */ member
/drivers/media/video/zoran/
Dzoran_card.c402 static struct tvnorm f50sqpixel = { 944, 768, 83, 880, 625, 576, 16 };
403 static struct tvnorm f60sqpixel = { 780, 640, 51, 716, 525, 480, 12 };
404 static struct tvnorm f50ccir601 = { 864, 720, 75, 804, 625, 576, 18 };
405 static struct tvnorm f60ccir601 = { 858, 720, 57, 788, 525, 480, 16 };
407 static struct tvnorm f50ccir601_lml33 = { 864, 720, 75+34, 804, 625, 576, 18 };
408 static struct tvnorm f60ccir601_lml33 = { 858, 720, 57+34, 788, 525, 480, 16 };
411 static struct tvnorm f50sqpixel_dc10 = { 944, 768, 0, 880, 625, 576, 0 };
412 static struct tvnorm f60sqpixel_dc10 = { 780, 640, 0, 716, 525, 480, 12 };
417 static struct tvnorm f50ccir601_lm33r10 = { 864, 720, 74+54, 804, 625, 576, 18 };
418 static struct tvnorm f60ccir601_lm33r10 = { 858, 720, 56+54, 788, 525, 480, 16 };
[all …]
Dvideocodec.h247 struct tvnorm { struct
288 struct tvnorm * norm,
Dzoran.h360 struct tvnorm *tvn[3]; /* supported TV norms */
397 struct tvnorm *timing;
Dzr36016.c319 struct tvnorm *norm, in zr36016_set_video()
Dzr36050.c608 struct tvnorm *norm, in zr36050_set_video()
Dzoran_device.c340 struct tvnorm *tvn; in zr36057_set_vfe()
740 struct tvnorm *tvn; in zr36057_set_jpg()
/drivers/media/common/tuners/
Dtda9887.c46 struct tvnorm { struct
135 static struct tvnorm tvnorms[] = {
243 static struct tvnorm radio_stereo = {
255 static struct tvnorm radio_mono = {
402 struct tvnorm *norm = NULL; in tda9887_set_tvnorm()
/drivers/media/video/cx23885/
Dcx23885-video.c304 dev->tvnorm = norm; in cx23885_set_tvnorm()
537 if (fh->width < 48 || fh->width > norm_maxw(dev->tvnorm) || in buffer_prepare()
538 fh->height < 32 || fh->height > norm_maxh(dev->tvnorm)) in buffer_prepare()
576 if (dev->tvnorm & V4L2_STD_NTSC) { in buffer_prepare()
952 maxw = norm_maxw(dev->tvnorm); in vidioc_try_fmt_vid_cap()
953 maxh = norm_maxh(dev->tvnorm); in vidioc_try_fmt_vid_cap()
1517 dev->tvnorm = cx23885_video_template.current_norm; in cx23885_video_register()
1546 cx23885_set_tvnorm(dev, dev->tvnorm); in cx23885_video_register()
Dcx23885-vbi.c51 if (dev->tvnorm & V4L2_STD_525_60) { in cx23885_vbi_fmt()
57 } else if (dev->tvnorm & V4L2_STD_625_50) { in cx23885_vbi_fmt()
Dcx23885.h313 v4l2_std_id tvnorm; member
/drivers/staging/go7007/
Dsaa7134-go7007.c397 *std = dev->tvnorm->id; in saa7134_go7007_send_command()

12