diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-22 22:20:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-22 22:20:22 -0400 |
commit | ad792f4f46e12bae58298fc64f5139b99664a773 (patch) | |
tree | 3d20c3a0840b00deb95fe62fdff1bc6e59eb37fe /include | |
parent | 3650b0a304663d98a63c68f9020eb1ded477989e (diff) | |
parent | f40aa808bad19a079a0e122e326d6970df141afb (diff) |
Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (37 commits)
V4L/DVB (6382): saa7134: fix NULL dereference at suspend time for cards without IR receiver
V4L/DVB (6380): ivtvfb: Removal of the 'osd_compat' module option
V4L/DVB (6379): patch which improves GotView Saa7135 remote control
V4L/DVB (6378b): Updates info about the removal of V4L1 at feature-removal-schedule.txt
V4L/DVB (6378a): Removal of VIDIOC_[G|S]_MPEGCOMP from feature-removal-schedule.txt
V4L/DVB (6378): DiB0700-device: Using 1.10 firmware
V4L/DVB (6357): pvrusb2: Improve encoder chip health tracking
V4L/DVB (6356): "while (!ca->wakeup)" breaks the CAM initialisation
V4L/DVB (6352): ir-kbd-i2c: Missing break statement
V4L/DVB (6350): V4L: possible leak in em28xx_init_isoc
V4L/DVB (6348): ivtv: undo video mute when closing the radio
V4L/DVB (6347): ivtv: fix video mute when radio is used
V4L/DVB (6346): ivtvfb: YUV output size fix when ivtvfb is not loaded
V4L/DVB (6345): ivtvfb: YUV handling of an image which is not visible in the display area
V4L/DVB (6343): ivtvfb: check return value of unregister_framebuffer
V4L/DVB (6342): ivtv: fix circular locking (bug 9037)
V4L/DVB (6341): ivtv: fix resizing MPEG1 streams
V4L/DVB (6340): ivtvfb: screen mode change sometimes goes wrong
V4L/DVB (6339): ivtv: set the video color to black instead of green when capturing from the radio
V4L/DVB (6338): ivtv: fix incorrect EBUSY return
...
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/videodev.h | 42 | ||||
-rw-r--r-- | include/linux/videodev2.h | 92 | ||||
-rw-r--r-- | include/media/v4l2-dev.h | 5 |
3 files changed, 0 insertions, 139 deletions
diff --git a/include/linux/videodev.h b/include/linux/videodev.h index 8dba97a291f6..52e3d5fd5be4 100644 --- a/include/linux/videodev.h +++ b/include/linux/videodev.h | |||
@@ -294,48 +294,6 @@ struct video_code | |||
294 | #define VID_PLAY_RESET 13 | 294 | #define VID_PLAY_RESET 13 |
295 | #define VID_PLAY_END_MARK 14 | 295 | #define VID_PLAY_END_MARK 14 |
296 | 296 | ||
297 | |||
298 | |||
299 | #define VID_HARDWARE_BT848 1 | ||
300 | #define VID_HARDWARE_QCAM_BW 2 | ||
301 | #define VID_HARDWARE_PMS 3 | ||
302 | #define VID_HARDWARE_QCAM_C 4 | ||
303 | #define VID_HARDWARE_PSEUDO 5 | ||
304 | #define VID_HARDWARE_SAA5249 6 | ||
305 | #define VID_HARDWARE_AZTECH 7 | ||
306 | #define VID_HARDWARE_SF16MI 8 | ||
307 | #define VID_HARDWARE_RTRACK 9 | ||
308 | #define VID_HARDWARE_ZOLTRIX 10 | ||
309 | #define VID_HARDWARE_SAA7146 11 | ||
310 | #define VID_HARDWARE_VIDEUM 12 /* Reserved for Winnov videum */ | ||
311 | #define VID_HARDWARE_RTRACK2 13 | ||
312 | #define VID_HARDWARE_PERMEDIA2 14 /* Reserved for Permedia2 */ | ||
313 | #define VID_HARDWARE_RIVA128 15 /* Reserved for RIVA 128 */ | ||
314 | #define VID_HARDWARE_PLANB 16 /* PowerMac motherboard video-in */ | ||
315 | #define VID_HARDWARE_BROADWAY 17 /* Broadway project */ | ||
316 | #define VID_HARDWARE_GEMTEK 18 | ||
317 | #define VID_HARDWARE_TYPHOON 19 | ||
318 | #define VID_HARDWARE_VINO 20 /* SGI Indy Vino */ | ||
319 | #define VID_HARDWARE_CADET 21 /* Cadet radio */ | ||
320 | #define VID_HARDWARE_TRUST 22 /* Trust FM Radio */ | ||
321 | #define VID_HARDWARE_TERRATEC 23 /* TerraTec ActiveRadio */ | ||
322 | #define VID_HARDWARE_CPIA 24 | ||
323 | #define VID_HARDWARE_ZR36120 25 /* Zoran ZR36120/ZR36125 */ | ||
324 | #define VID_HARDWARE_ZR36067 26 /* Zoran ZR36067/36060 */ | ||
325 | #define VID_HARDWARE_OV511 27 | ||
326 | #define VID_HARDWARE_ZR356700 28 /* Zoran 36700 series */ | ||
327 | #define VID_HARDWARE_W9966 29 | ||
328 | #define VID_HARDWARE_SE401 30 /* SE401 USB webcams */ | ||
329 | #define VID_HARDWARE_PWC 31 /* Philips webcams */ | ||
330 | #define VID_HARDWARE_MEYE 32 /* Sony Vaio MotionEye cameras */ | ||
331 | #define VID_HARDWARE_CPIA2 33 | ||
332 | #define VID_HARDWARE_VICAM 34 | ||
333 | #define VID_HARDWARE_SF16FMR2 35 | ||
334 | #define VID_HARDWARE_W9968CF 36 | ||
335 | #define VID_HARDWARE_SAA7114H 37 | ||
336 | #define VID_HARDWARE_SN9C102 38 | ||
337 | #define VID_HARDWARE_ARV 39 | ||
338 | |||
339 | #endif /* CONFIG_VIDEO_V4L1_COMPAT */ | 297 | #endif /* CONFIG_VIDEO_V4L1_COMPAT */ |
340 | 298 | ||
341 | #endif /* __LINUX_VIDEODEV_H */ | 299 | #endif /* __LINUX_VIDEODEV_H */ |
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 1f503e94eff1..439474f24e34 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -441,94 +441,6 @@ struct v4l2_timecode | |||
441 | #define V4L2_TC_USERBITS_8BITCHARS 0x0008 | 441 | #define V4L2_TC_USERBITS_8BITCHARS 0x0008 |
442 | /* The above is based on SMPTE timecodes */ | 442 | /* The above is based on SMPTE timecodes */ |
443 | 443 | ||
444 | #ifdef __KERNEL__ | ||
445 | /* | ||
446 | * M P E G C O M P R E S S I O N P A R A M E T E R S | ||
447 | * | ||
448 | * ### WARNING: This experimental MPEG compression API is obsolete. | ||
449 | * ### It is replaced by the MPEG controls API. | ||
450 | * ### This old API will disappear in the near future! | ||
451 | * | ||
452 | */ | ||
453 | enum v4l2_bitrate_mode { | ||
454 | V4L2_BITRATE_NONE = 0, /* not specified */ | ||
455 | V4L2_BITRATE_CBR, /* constant bitrate */ | ||
456 | V4L2_BITRATE_VBR, /* variable bitrate */ | ||
457 | }; | ||
458 | struct v4l2_bitrate { | ||
459 | /* rates are specified in kbit/sec */ | ||
460 | enum v4l2_bitrate_mode mode; | ||
461 | __u32 min; | ||
462 | __u32 target; /* use this one for CBR */ | ||
463 | __u32 max; | ||
464 | }; | ||
465 | |||
466 | enum v4l2_mpeg_streamtype { | ||
467 | V4L2_MPEG_SS_1, /* MPEG-1 system stream */ | ||
468 | V4L2_MPEG_PS_2, /* MPEG-2 program stream */ | ||
469 | V4L2_MPEG_TS_2, /* MPEG-2 transport stream */ | ||
470 | V4L2_MPEG_PS_DVD, /* MPEG-2 program stream with DVD header fixups */ | ||
471 | }; | ||
472 | enum v4l2_mpeg_audiotype { | ||
473 | V4L2_MPEG_AU_2_I, /* MPEG-2 layer 1 */ | ||
474 | V4L2_MPEG_AU_2_II, /* MPEG-2 layer 2 */ | ||
475 | V4L2_MPEG_AU_2_III, /* MPEG-2 layer 3 */ | ||
476 | V4L2_MPEG_AC3, /* AC3 */ | ||
477 | V4L2_MPEG_LPCM, /* LPCM */ | ||
478 | }; | ||
479 | enum v4l2_mpeg_videotype { | ||
480 | V4L2_MPEG_VI_1, /* MPEG-1 */ | ||
481 | V4L2_MPEG_VI_2, /* MPEG-2 */ | ||
482 | }; | ||
483 | enum v4l2_mpeg_aspectratio { | ||
484 | V4L2_MPEG_ASPECT_SQUARE = 1, /* square pixel */ | ||
485 | V4L2_MPEG_ASPECT_4_3 = 2, /* 4 : 3 */ | ||
486 | V4L2_MPEG_ASPECT_16_9 = 3, /* 16 : 9 */ | ||
487 | V4L2_MPEG_ASPECT_1_221 = 4, /* 1 : 2,21 */ | ||
488 | }; | ||
489 | |||
490 | struct v4l2_mpeg_compression { | ||
491 | /* general */ | ||
492 | enum v4l2_mpeg_streamtype st_type; | ||
493 | struct v4l2_bitrate st_bitrate; | ||
494 | |||
495 | /* transport streams */ | ||
496 | __u16 ts_pid_pmt; | ||
497 | __u16 ts_pid_audio; | ||
498 | __u16 ts_pid_video; | ||
499 | __u16 ts_pid_pcr; | ||
500 | |||
501 | /* program stream */ | ||
502 | __u16 ps_size; | ||
503 | __u16 reserved_1; /* align */ | ||
504 | |||
505 | /* audio */ | ||
506 | enum v4l2_mpeg_audiotype au_type; | ||
507 | struct v4l2_bitrate au_bitrate; | ||
508 | __u32 au_sample_rate; | ||
509 | __u8 au_pesid; | ||
510 | __u8 reserved_2[3]; /* align */ | ||
511 | |||
512 | /* video */ | ||
513 | enum v4l2_mpeg_videotype vi_type; | ||
514 | enum v4l2_mpeg_aspectratio vi_aspect_ratio; | ||
515 | struct v4l2_bitrate vi_bitrate; | ||
516 | __u32 vi_frame_rate; | ||
517 | __u16 vi_frames_per_gop; | ||
518 | __u16 vi_bframes_count; | ||
519 | __u8 vi_pesid; | ||
520 | __u8 reserved_3[3]; /* align */ | ||
521 | |||
522 | /* misc flags */ | ||
523 | __u32 closed_gops:1; | ||
524 | __u32 pulldown:1; | ||
525 | __u32 reserved_4:30; /* align */ | ||
526 | |||
527 | /* I don't expect the above being perfect yet ;) */ | ||
528 | __u32 reserved_5[8]; | ||
529 | }; | ||
530 | #endif | ||
531 | |||
532 | struct v4l2_jpegcompression | 444 | struct v4l2_jpegcompression |
533 | { | 445 | { |
534 | int quality; | 446 | int quality; |
@@ -1420,10 +1332,6 @@ struct v4l2_chip_ident { | |||
1420 | #define VIDIOC_ENUM_FMT _IOWR ('V', 2, struct v4l2_fmtdesc) | 1332 | #define VIDIOC_ENUM_FMT _IOWR ('V', 2, struct v4l2_fmtdesc) |
1421 | #define VIDIOC_G_FMT _IOWR ('V', 4, struct v4l2_format) | 1333 | #define VIDIOC_G_FMT _IOWR ('V', 4, struct v4l2_format) |
1422 | #define VIDIOC_S_FMT _IOWR ('V', 5, struct v4l2_format) | 1334 | #define VIDIOC_S_FMT _IOWR ('V', 5, struct v4l2_format) |
1423 | #ifdef __KERNEL__ | ||
1424 | #define VIDIOC_G_MPEGCOMP _IOR ('V', 6, struct v4l2_mpeg_compression) | ||
1425 | #define VIDIOC_S_MPEGCOMP _IOW ('V', 7, struct v4l2_mpeg_compression) | ||
1426 | #endif | ||
1427 | #define VIDIOC_REQBUFS _IOWR ('V', 8, struct v4l2_requestbuffers) | 1335 | #define VIDIOC_REQBUFS _IOWR ('V', 8, struct v4l2_requestbuffers) |
1428 | #define VIDIOC_QUERYBUF _IOWR ('V', 9, struct v4l2_buffer) | 1336 | #define VIDIOC_QUERYBUF _IOWR ('V', 9, struct v4l2_buffer) |
1429 | #define VIDIOC_G_FBUF _IOR ('V', 10, struct v4l2_framebuffer) | 1337 | #define VIDIOC_G_FBUF _IOR ('V', 10, struct v4l2_framebuffer) |
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index e75d5e6c4cea..c544c6f90893 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h | |||
@@ -94,7 +94,6 @@ struct video_device | |||
94 | char name[32]; | 94 | char name[32]; |
95 | int type; /* v4l1 */ | 95 | int type; /* v4l1 */ |
96 | int type2; /* v4l2 */ | 96 | int type2; /* v4l2 */ |
97 | int hardware; | ||
98 | int minor; | 97 | int minor; |
99 | 98 | ||
100 | int debug; /* Activates debug level*/ | 99 | int debug; /* Activates debug level*/ |
@@ -272,10 +271,6 @@ struct video_device | |||
272 | int (*vidioc_s_crop) (struct file *file, void *fh, | 271 | int (*vidioc_s_crop) (struct file *file, void *fh, |
273 | struct v4l2_crop *a); | 272 | struct v4l2_crop *a); |
274 | /* Compression ioctls */ | 273 | /* Compression ioctls */ |
275 | int (*vidioc_g_mpegcomp) (struct file *file, void *fh, | ||
276 | struct v4l2_mpeg_compression *a); | ||
277 | int (*vidioc_s_mpegcomp) (struct file *file, void *fh, | ||
278 | struct v4l2_mpeg_compression *a); | ||
279 | int (*vidioc_g_jpegcomp) (struct file *file, void *fh, | 274 | int (*vidioc_g_jpegcomp) (struct file *file, void *fh, |
280 | struct v4l2_jpegcompression *a); | 275 | struct v4l2_jpegcompression *a); |
281 | int (*vidioc_s_jpegcomp) (struct file *file, void *fh, | 276 | int (*vidioc_s_jpegcomp) (struct file *file, void *fh, |