diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-05 14:55:59 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-05 14:55:59 -0400 |
| commit | 27c053aa8d18d1fa7b83041e36bad20bcdf55514 (patch) | |
| tree | c59dce17a248dd8f4757eca3823032334c626dcd /Documentation/DocBook | |
| parent | a09e9a7a4b907f2dfa9bdb2b98a1828ab4b340b2 (diff) | |
| parent | f66b2a1c7f2ae3fb0d5b67d07ab4f5055fd3cf16 (diff) | |
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media updates from Mauro Carvalho Chehab:
"This series contains:
- Exynos s5p-mfc driver got support for VP8 encoder
- Some SoC drivers gained support for asynchronous registration
(needed for DT)
- The RC subsystem gained support for RC activity LED;
- New drivers added: a video decoder(adv7842), a video encoder
(adv7511), a new GSPCA driver (stk1135) and support for Renesas
R-Car (vsp1)
- the first SDR kernel driver: mirics msi3101. Due to some troubles
with the driver, and because the API is still under discussion, it
will be merged at staging for 3.12. Need to rework on it
- usual new boards additions, fixes, cleanups and driver
improvements"
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (242 commits)
[media] cx88: Fix regression: CX88_AUDIO_WM8775 can't be 0
[media] exynos4-is: Fix entity unregistration on error path
[media] exynos-gsc: Register v4l2 device
[media] exynos4-is: Fix fimc-lite bayer formats
[media] em28xx: fix assignment of the eeprom data
[media] hdpvr: fix iteration over uninitialized lists in hdpvr_probe()
[media] usbtv: Throw corrupted frames away
[media] usbtv: Fix deinterlacing
[media] v4l2: added missing mutex.h include to v4l2-ctrls.h
[media] DocBook: upgrade media_api DocBook version to 4.2
[media] ml86v7667: fix compile warning: 'ret' set but not used
[media] s5p-g2d: Fix registration failure
[media] media: coda: Fix DT driver data pointer for i.MX27
[media] s5p-mfc: Fix input/output format reporting
[media] v4l: vsp1: Fix mutex double lock at streamon time
[media] v4l: vsp1: Add support for RT clock
[media] v4l: vsp1: Initialize media device bus_info field
[media] davinci: vpif_capture: fix error return code in vpif_probe()
[media] davinci: vpif_display: fix error return code in vpif_probe()
[media] MAINTAINERS: add entries for adv7511 and adv7842
...
Diffstat (limited to 'Documentation/DocBook')
| -rw-r--r-- | Documentation/DocBook/media/v4l/controls.xml | 168 | ||||
| -rw-r--r-- | Documentation/DocBook/media/v4l/lirc_device_interface.xml | 4 | ||||
| -rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt-nv16m.xml | 171 | ||||
| -rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt.xml | 7 | ||||
| -rw-r--r-- | Documentation/DocBook/media/v4l/subdev-formats.xml | 611 | ||||
| -rw-r--r-- | Documentation/DocBook/media/v4l/vidioc-create-bufs.xml | 41 | ||||
| -rw-r--r-- | Documentation/DocBook/media/v4l/vidioc-g-dv-timings.xml | 6 | ||||
| -rw-r--r-- | Documentation/DocBook/media/v4l/vidioc-g-jpegcomp.xml | 4 | ||||
| -rw-r--r-- | Documentation/DocBook/media_api.tmpl | 6 |
9 files changed, 623 insertions, 395 deletions
diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml index c2fc9ec1417e..7a3b49b3cc3b 100644 --- a/Documentation/DocBook/media/v4l/controls.xml +++ b/Documentation/DocBook/media/v4l/controls.xml | |||
| @@ -722,17 +722,22 @@ for more details.</para> | |||
| 722 | </section> | 722 | </section> |
| 723 | 723 | ||
| 724 | <section id="mpeg-controls"> | 724 | <section id="mpeg-controls"> |
| 725 | <title>MPEG Control Reference</title> | 725 | <title>Codec Control Reference</title> |
| 726 | 726 | ||
| 727 | <para>Below all controls within the MPEG control class are | 727 | <para>Below all controls within the Codec control class are |
| 728 | described. First the generic controls, then controls specific for | 728 | described. First the generic controls, then controls specific for |
| 729 | certain hardware.</para> | 729 | certain hardware.</para> |
| 730 | 730 | ||
| 731 | <para>Note: These controls are applicable to all codecs and | ||
| 732 | not just MPEG. The defines are prefixed with V4L2_CID_MPEG/V4L2_MPEG | ||
| 733 | as the controls were originally made for MPEG codecs and later | ||
| 734 | extended to cover all encoding formats.</para> | ||
| 735 | |||
| 731 | <section> | 736 | <section> |
| 732 | <title>Generic MPEG Controls</title> | 737 | <title>Generic Codec Controls</title> |
| 733 | 738 | ||
| 734 | <table pgwide="1" frame="none" id="mpeg-control-id"> | 739 | <table pgwide="1" frame="none" id="mpeg-control-id"> |
| 735 | <title>MPEG Control IDs</title> | 740 | <title>Codec Control IDs</title> |
| 736 | <tgroup cols="4"> | 741 | <tgroup cols="4"> |
| 737 | <colspec colname="c1" colwidth="1*" /> | 742 | <colspec colname="c1" colwidth="1*" /> |
| 738 | <colspec colname="c2" colwidth="6*" /> | 743 | <colspec colname="c2" colwidth="6*" /> |
| @@ -752,7 +757,7 @@ certain hardware.</para> | |||
| 752 | <row> | 757 | <row> |
| 753 | <entry spanname="id"><constant>V4L2_CID_MPEG_CLASS</constant> </entry> | 758 | <entry spanname="id"><constant>V4L2_CID_MPEG_CLASS</constant> </entry> |
| 754 | <entry>class</entry> | 759 | <entry>class</entry> |
| 755 | </row><row><entry spanname="descr">The MPEG class | 760 | </row><row><entry spanname="descr">The Codec class |
| 756 | descriptor. Calling &VIDIOC-QUERYCTRL; for this control will return a | 761 | descriptor. Calling &VIDIOC-QUERYCTRL; for this control will return a |
| 757 | description of this control class. This description can be used as the | 762 | description of this control class. This description can be used as the |
| 758 | caption of a Tab page in a GUI, for example.</entry> | 763 | caption of a Tab page in a GUI, for example.</entry> |
| @@ -3009,6 +3014,159 @@ in by the application. 0 = do not insert, 1 = insert packets.</entry> | |||
| 3009 | </tgroup> | 3014 | </tgroup> |
| 3010 | </table> | 3015 | </table> |
| 3011 | </section> | 3016 | </section> |
| 3017 | |||
| 3018 | <section> | ||
| 3019 | <title>VPX Control Reference</title> | ||
| 3020 | |||
| 3021 | <para>The VPX controls include controls for encoding parameters | ||
| 3022 | of VPx video codec.</para> | ||
| 3023 | |||
| 3024 | <table pgwide="1" frame="none" id="vpx-control-id"> | ||
| 3025 | <title>VPX Control IDs</title> | ||
| 3026 | |||
| 3027 | <tgroup cols="4"> | ||
| 3028 | <colspec colname="c1" colwidth="1*" /> | ||
| 3029 | <colspec colname="c2" colwidth="6*" /> | ||
| 3030 | <colspec colname="c3" colwidth="2*" /> | ||
| 3031 | <colspec colname="c4" colwidth="6*" /> | ||
| 3032 | <spanspec namest="c1" nameend="c2" spanname="id" /> | ||
| 3033 | <spanspec namest="c2" nameend="c4" spanname="descr" /> | ||
| 3034 | <thead> | ||
| 3035 | <row> | ||
| 3036 | <entry spanname="id" align="left">ID</entry> | ||
| 3037 | <entry align="left">Type</entry> | ||
| 3038 | </row><row rowsep="1"><entry spanname="descr" align="left">Description</entry> | ||
| 3039 | </row> | ||
| 3040 | </thead> | ||
| 3041 | <tbody valign="top"> | ||
| 3042 | <row><entry></entry></row> | ||
| 3043 | |||
| 3044 | <row><entry></entry></row> | ||
| 3045 | <row id="v4l2-vpx-num-partitions"> | ||
| 3046 | <entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_VPX_NUM_PARTITIONS</constant></entry> | ||
| 3047 | <entry>enum v4l2_vp8_num_partitions</entry> | ||
| 3048 | </row> | ||
| 3049 | <row><entry spanname="descr">The number of token partitions to use in VP8 encoder. | ||
| 3050 | Possible values are:</entry> | ||
| 3051 | </row> | ||
| 3052 | <row> | ||
| 3053 | <entrytbl spanname="descr" cols="2"> | ||
| 3054 | <tbody valign="top"> | ||
| 3055 | <row> | ||
| 3056 | <entry><constant>V4L2_CID_MPEG_VIDEO_VPX_1_PARTITION</constant></entry> | ||
| 3057 | <entry>1 coefficient partition</entry> | ||
| 3058 | </row> | ||
| 3059 | <row> | ||
| 3060 | <entry><constant>V4L2_CID_MPEG_VIDEO_VPX_2_PARTITIONS</constant></entry> | ||
| 3061 | <entry>2 coefficient partitions</entry> | ||
| 3062 | </row> | ||
| 3063 | <row> | ||
| 3064 | <entry><constant>V4L2_CID_MPEG_VIDEO_VPX_4_PARTITIONS</constant></entry> | ||
| 3065 | <entry>4 coefficient partitions</entry> | ||
| 3066 | </row> | ||
| 3067 | <row> | ||
| 3068 | <entry><constant>V4L2_CID_MPEG_VIDEO_VPX_8_PARTITIONS</constant></entry> | ||
| 3069 | <entry>8 coefficient partitions</entry> | ||
| 3070 | </row> | ||
| 3071 | </tbody> | ||
| 3072 | </entrytbl> | ||
| 3073 | </row> | ||
| 3074 | |||
| 3075 | <row><entry></entry></row> | ||
| 3076 | <row> | ||
| 3077 | <entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_VPX_IMD_DISABLE_4X4</constant></entry> | ||
| 3078 | <entry>boolean</entry> | ||
| 3079 | </row> | ||
| 3080 | <row><entry spanname="descr">Setting this prevents intra 4x4 mode in the intra mode decision.</entry> | ||
| 3081 | </row> | ||
| 3082 | |||
| 3083 | <row><entry></entry></row> | ||
| 3084 | <row id="v4l2-vpx-num-ref-frames"> | ||
| 3085 | <entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_VPX_NUM_REF_FRAMES</constant></entry> | ||
| 3086 | <entry>enum v4l2_vp8_num_ref_frames</entry> | ||
| 3087 | </row> | ||
| 3088 | <row><entry spanname="descr">The number of reference pictures for encoding P frames. | ||
| 3089 | Possible values are:</entry> | ||
| 3090 | </row> | ||
| 3091 | <row> | ||
| 3092 | <entrytbl spanname="descr" cols="2"> | ||
| 3093 | <tbody valign="top"> | ||
| 3094 | <row> | ||
| 3095 | <entry><constant>V4L2_CID_MPEG_VIDEO_VPX_1_REF_FRAME</constant></entry> | ||
| 3096 | <entry>Last encoded frame will be searched</entry> | ||
| 3097 | </row> | ||
| 3098 | <row> | ||
| 3099 | <entry><constant>V4L2_CID_MPEG_VIDEO_VPX_2_REF_FRAME</constant></entry> | ||
| 3100 | <entry>Two frames will be searched among the last encoded frame, the golden frame | ||
| 3101 | and the alternate reference (altref) frame. The encoder implementation will decide which two are chosen.</entry> | ||
| 3102 | </row> | ||
| 3103 | <row> | ||
| 3104 | <entry><constant>V4L2_CID_MPEG_VIDEO_VPX_3_REF_FRAME</constant></entry> | ||
| 3105 | <entry>The last encoded frame, the golden frame and the altref frame will be searched.</entry> | ||
| 3106 | </row> | ||
| 3107 | </tbody> | ||
| 3108 | </entrytbl> | ||
| 3109 | </row> | ||
| 3110 | |||
| 3111 | <row><entry></entry></row> | ||
| 3112 | <row> | ||
| 3113 | <entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_VPX_FILTER_LEVEL</constant></entry> | ||
| 3114 | <entry>integer</entry> | ||
| 3115 | </row> | ||
| 3116 | |||
