Home
last modified time | relevance | path

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

/linux/drivers/media/pci/bt8xx/
H A Dbttv-risc.c239 const struct bttv_tvnorm *tvnorm) in bttv_calc_geo_old() argument
244 int swidth = tvnorm->swidth; in bttv_calc_geo_old()
245 int totalwidth = tvnorm->totalwidth; in bttv_calc_geo_old()
246 int scaledtwidth = tvnorm->scaledtwidth; in bttv_calc_geo_old()
254 vdelay = tvnorm->vdelay; in bttv_calc_geo_old()
258 geo->hdelay = tvnorm->hdelayx1; in bttv_calc_geo_old()
261 sr = ((tvnorm->sheight >> (interleaved?0:1))*512)/height - 512; in bttv_calc_geo_old()
264 ((tvnorm->sheight>>4)&0x30) | ((vdelay>>2)&0xc0); in bttv_calc_geo_old()
268 geo->sheight = tvnorm->sheight; in bttv_calc_geo_old()
269 geo->vtotal = tvnorm->vtotal; in bttv_calc_geo_old()
[all …]
H A Dbttv-driver.c710 const struct bttv_tvnorm *tvnorm; in disclaim_video_lines() local
713 tvnorm = &bttv_tvnorms[btv->tvnorm]; in disclaim_video_lines()
714 btv->crop_start = tvnorm->cropcap.bounds.top in disclaim_video_lines()
715 + tvnorm->cropcap.bounds.height; in disclaim_video_lines()
835 int table_idx = bttv_tvnorms[btv->tvnorm].sram; in bt848A_set_timing()
836 int fsc = bttv_tvnorms[btv->tvnorm].Fsc; in bt848A_set_timing()
1103 const struct bttv_tvnorm *tvnorm; in set_tvnorm() local
1107 WARN_ON(btv->tvnorm >= BTTV_TVNORMS); in set_tvnorm()
1109 tvnorm = &bttv_tvnorms[norm]; in set_tvnorm()
1111 if (memcmp(&bttv_tvnorms[btv->tvnorm].cropcap, &tvnorm->cropcap, in set_tvnorm()
[all …]
H A Dbttvp.h167 const struct bttv_tvnorm *tvnorm; member
377 unsigned int tvnorm; member
H A Dbttv-cards.c4096 if (bttv_tvnorms[btv->tvnorm].v4l2_id & V4L2_STD_MN) in bttv_tda9880_setnorm()
/linux/drivers/media/pci/cx88/
H 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()
715 dprintk(1, "set_scale: vdelay 0x%04x\n", 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()
[all …]
H A Dcx88-video.c619 if (core->tvnorm & V4L2_STD_SECAM) { in cx8800_s_vid_ctrl()
735 maxw = norm_maxw(core->tvnorm); in vidioc_try_fmt_vid_cap()
736 maxh = norm_maxh(core->tvnorm); in vidioc_try_fmt_vid_cap()
824 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvnorm) in vidioc_g_std() argument
829 *tvnorm = core->tvnorm; in vidioc_g_std()
H A Dcx88.h377 v4l2_std_id tvnorm; member
H A Dcx88-cards.c3724 core->tvnorm = 0; in cx88_core_create()
/linux/drivers/media/pci/saa7134/
H 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 …]
H 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()
H A Dsaa7134.h618 struct saa7134_tvnorm *tvnorm; /* video */ member
/linux/drivers/media/tuners/
H 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/drivers/media/pci/zoran/
H A Dvideocodec.h221 struct tvnorm { struct
259 int (*set_video)(struct videocodec *codec, const struct tvnorm *norm,
H A Dzr36016.c213 static int zr36016_set_video(struct videocodec *codec, const struct tvnorm *norm, in zr36016_set_video()
H A Dzoran_device.c228 const struct tvnorm *tvn; in zr36057_set_vfe()
420 const struct tvnorm *tvn; in zr36057_set_jpg()
H A Dzr36050.c543 static int zr36050_set_video(struct videocodec *codec, const struct tvnorm *norm, in zr36050_set_video()
H A Dzr36060.c483 static int zr36060_set_video(struct videocodec *codec, const struct tvnorm *norm, in zr36060_set_video()
/linux/drivers/media/pci/cx25821/
H A Dcx25821-medusa-video.c388 if (dev->tvnorm & V4L2_STD_PAL_BG || dev->tvnorm & V4L2_STD_PAL_DK) in medusa_set_videostandard()
H A Dcx25821.h251 v4l2_std_id tvnorm; member
/linux/drivers/media/pci/ngene/
H A Dngene.h674 int tvnorm; member