Searched refs:tvnorm (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/drivers/media/pci/bt8xx/
H A Dbttv-vbi.c179 static int try_fmt(struct v4l2_vbi_format *f, const struct bttv_tvnorm *tvnorm, argument
191 min_start = tvnorm->vbistart[0];
193 max_end = (tvnorm->cropcap.bounds.top
194 + tvnorm->cropcap.bounds.height) >> 1;
201 f->sampling_rate = tvnorm->Fsc;
206 f2_offset = tvnorm->vbistart[1] - tvnorm->vbistart[0];
232 f->start[0] = tvnorm->vbistart[0];
233 f->start[1] = tvnorm->vbistart[1];
249 const struct bttv_tvnorm *tvnorm; local
266 const struct bttv_tvnorm *tvnorm; local
308 const struct bttv_tvnorm *tvnorm; local
348 const struct bttv_tvnorm *tvnorm; local
[all...]
H A Dbttv-risc.c239 const struct bttv_tvnorm *tvnorm)
244 int swidth = tvnorm->swidth;
245 int totalwidth = tvnorm->totalwidth;
246 int scaledtwidth = tvnorm->scaledtwidth;
254 vdelay = tvnorm->vdelay;
258 geo->hdelay = tvnorm->hdelayx1;
261 sr = ((tvnorm->sheight >> (interleaved?0:1))*512)/height - 512;
264 ((tvnorm->sheight>>4)&0x30) | ((vdelay>>2)&0xc0);
268 geo->sheight = tvnorm->sheight;
269 geo->vtotal = tvnorm
237 bttv_calc_geo_old(struct bttv *btv, struct bttv_geometry *geo, int width, int height, int interleaved, const struct bttv_tvnorm *tvnorm) argument
281 bttv_calc_geo(struct bttv * btv, struct bttv_geometry * geo, unsigned int width, unsigned int height, int both_fields, const struct bttv_tvnorm * tvnorm, const struct v4l2_rect * crop) argument
517 const struct bttv_tvnorm *tvnorm = btv->vbi_fmt.tvnorm; local
663 const struct bttv_tvnorm *tvnorm = bttv_tvnorms + btv->tvnorm; local
[all...]
H A Dbttv-driver.c710 const struct bttv_tvnorm *tvnorm; local
713 tvnorm = &bttv_tvnorms[btv->tvnorm];
714 btv->crop_start = tvnorm->cropcap.bounds.top
715 + tvnorm->cropcap.bounds.height;
835 int table_idx = bttv_tvnorms[btv->tvnorm].sram;
836 int fsc = bttv_tvnorms[btv->tvnorm].Fsc;
1103 const struct bttv_tvnorm *tvnorm; local
1107 WARN_ON(btv->tvnorm >= BTTV_TVNORMS);
1109 tvnorm
[all...]
H A Dbttvp.h167 const struct bttv_tvnorm *tvnorm; member in struct:bttv_vbi_fmt
222 * stores 1024 + tvnorm->vbipack * 4 samples per line in the buffer. Note
223 * tvnorm->vbipack is <= 0xFF (limit of VBIPACK_LO + HI is 0x1FF DWORDs) and
377 unsigned int tvnorm; member in struct:bttv
/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-vbi.c46 if (dev->tvnorm & V4L2_STD_525_60) {
52 } else if (dev->tvnorm & V4L2_STD_625_50) {
121 if (dev->tvnorm & V4L2_STD_525_60)
137 if (dev->tvnorm & V4L2_STD_525_60)
H A Dcx23885-video.c118 if (dev->tvnorm == norm)
121 if (dev->tvnorm != norm) {
127 dev->tvnorm = norm;
372 if (dev->tvnorm & V4L2_STD_525_60)
563 maxh = norm_maxh(dev->tvnorm);
673 bool is_50hz = dev->tvnorm & V4L2_STD_625_50;
698 sel->r.height = norm_maxh(dev->tvnorm);
711 *id = dev->tvnorm;
1020 .std = dev->tvnorm,
1055 call_all(dev, video, s_std, dev->tvnorm);
[all...]
H A Dcx23885.h398 v4l2_std_id tvnorm; member in struct:cx23885_dev
/linux-master/drivers/media/pci/cx88/
H A Dcx88-vbi.c32 if (dev->core->tvnorm & V4L2_STD_525_60) {
40 } else if (dev->core->tvnorm & V4L2_STD_625_50) {
122 if (dev->core->tvnorm & V4L2_STD_525_60)
138 if (dev->core->tvnorm & V4L2_STD_525_60)
H A Dcx88-core.c685 unsigned int swidth = norm_swidth(core->tvnorm);
686 unsigned int sheight = norm_maxh(core->tvnorm);
692 v4l2_norm_to_name(core->tvnorm));
697 value = (width * norm_hdelay(core->tvnorm)) / swidth;
713 cx_write(MO_VDELAY_EVEN, norm_vdelay(core->tvnorm));
714 cx_write(MO_VDELAY_ODD, norm_vdelay(core->tvnorm));
715 dprintk(1, "set_scale: vdelay 0x%04x\n", norm_vdelay(core->tvnorm));
729 if (core->tvnorm & V4L2_STD_SECAM) {
831 v4l2_std_id norm = core->tvnorm;
865 v4l2_norm_to_name(core->tvnorm));
[all...]
H A Dcx88-blackbird.c546 dev->core->tvnorm & V4L2_STD_625_50);
841 maxw = norm_maxw(core->tvnorm);
842 maxh = norm_maxh(core->tvnorm);
1013 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvnorm) argument
1018 *tvnorm = core->tvnorm;
1189 cx88_set_tvnorm(core, core->tvnorm);
H A Dcx88-video.c621 if (core->tvnorm & V4L2_STD_SECAM) {
737 maxw = norm_maxw(core->tvnorm);
738 maxh = norm_maxh(core->tvnorm);
826 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvnorm) argument
831 *tvnorm = core->tvnorm;
/linux-master/drivers/media/pci/zoran/
H A Dvideocodec.h221 struct tvnorm { struct
259 int (*set_video)(struct videocodec *codec, const struct tvnorm *norm,
H 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 };
347 static const struct tvnorm f60ccir601_lm33r1
[all...]
H A Dzoran.h180 const struct tvnorm *tvn[3]; /* supported TV norms */
219 const struct tvnorm *timing;
H A Dzr36016.c213 static int zr36016_set_video(struct videocodec *codec, const struct tvnorm *norm,
H A Dzoran_device.c228 const struct tvnorm *tvn;
420 const struct tvnorm *tvn;
/linux-master/drivers/media/pci/saa7134/
H A Dsaa7134-vbi.c42 struct saa7134_tvnorm *norm = dev->tvnorm;
136 dev->vbi_vlen = dev->tvnorm->vbi_v_stop_0 - dev->tvnorm->vbi_v_start_0 + 1;
H A Dsaa7134-tvaudio.c245 if (dev->tvnorm->id == V4L2_STD_NTSC) {
321 if (!(dev->tvnorm->id & scan->std)) {
500 if (!(dev->tvnorm->id & mainscan[i].std))
535 dev->tvnorm->name, carrier/1000, carrier%1000,
559 if (dev->tvnorm->id != UNSET &&
560 !(dev->tvnorm->id & tvaudio[i].std))
794 if (dev->tvnorm->id & (V4L2_STD_B | V4L2_STD_GH))
796 if (dev->tvnorm->id & V4L2_STD_PAL_I)
798 if (dev->tvnorm->id & V4L2_STD_DK)
800 if (dev->tvnorm
[all...]
H A Dsaa7134-video.c364 dev->tvnorm = norm;
388 set_tvnorm(dev, dev->tvnorm);
397 struct saa7134_tvnorm *norm = dev->tvnorm;
455 saa_call_all(dev, video, s_std, dev->tvnorm->id);
458 saa_call_empress(dev, video, s_std, dev->tvnorm->id);
1020 struct saa7134_tvnorm *norm = dev->tvnorm;
1254 *id = dev->tvnorm->id;
1296 if (dev->tvnorm->id & V4L2_STD_525_60) {
1300 if (dev->tvnorm->id & V4L2_STD_625_50) {
/linux-master/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;
422 tuner_dbg("Unsupported tvnorm entry - audio muted\n");
558 overwriting any changes made by the tvnorm. This means that it
560 these values in case of changes in the tvnorm.
/linux-master/drivers/media/pci/cx25821/
H A Dcx25821-video.c170 if (dev->tvnorm & V4L2_STD_625_50)
346 maxh = (dev->tvnorm & V4L2_STD_625_50) ? 576 : 480;
440 *tvnorms = chan->dev->tvnorm;
450 if (dev->tvnorm == tvnorms)
453 dev->tvnorm = tvnorms;
455 chan->height = (dev->tvnorm & V4L2_STD_625_50) ? 576 : 480;
544 f->fmt.pix.height = (dev->tvnorm & V4L2_STD_625_50) ? 576 : 480;
673 dev->tvnorm = V4L2_STD_NTSC_M;
712 if (dev->tvnorm & V4L2_STD_625_50)
H A Dcx25821.h251 v4l2_std_id tvnorm; member in struct:cx25821_dev
H A Dcx25821-medusa-video.c388 if (dev->tvnorm & V4L2_STD_PAL_BG || dev->tvnorm & V4L2_STD_PAL_DK)
/linux-master/drivers/media/pci/tw68/
H A Dtw68-video.c213 if (norm != dev->tvnorm) {
216 dev->tvnorm = norm;
253 const struct tw68_tvnorm *norm = dev->tvnorm;
263 " tvnorm h_delay=%d, h_start=%d, h_stop=%d, v_delay=%d, v_start=%d, v_stop=%d\n",
291 v4l2_norm_to_name(dev->tvnorm->id));
604 maxh = (dev->tvnorm->id & V4L2_STD_525_60) ? 480 : 576;
756 *id = dev->tvnorm->id;
904 tw_andorb(TW68_SDT, 0x07, dev->tvnorm->format);
H A Dtw68.h160 const struct tw68_tvnorm *tvnorm; /* video */ member in struct:tw68_dev

Completed in 337 milliseconds

12