-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'media/v4.6-1' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/mchehab/linux-media Pull media updates from Mauro Carvalho Chehab: - Added support for some new video formats - mn88473 DVB frontend driver got promoted from staging - several improvements at the VSP1 driver - several cleanups and improvements at the Media Controller - added Media Controller support to snd-usb-audio. Currently, enabled only for au0828-based V4L2/DVB boards - Several improvements at nuvoton-cir: it now supports wake up codes - Add media controller support to em28xx and saa7134 drivers - coda driver now accepts NXP distributed firmware files - Some legacy SoC camera drivers will be moving to staging, as they're outdated and nobody so far is willing to fix and convert them to use the current media framework - As usual, lots of cleanups, improvements and new board additions. * tag 'media/v4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (381 commits) media: au0828 disable tuner to demod link in au0828_media_device_register() [media] touptek: cast char types on %x printk [media] touptek: don't DMA at the stack [media] mceusb: use %*ph for small buffer dumps [media] v4l: exynos4-is: Drop unneeded check when setting up fimc-lite links [media] v4l: vsp1: Check if an entity is a subdev with the right function [media] hide unused functions for !MEDIA_CONTROLLER [media] em28xx: fix Terratec Grabby AC97 codec detection [media] media: add prefixes to interface types [media] media: rc: nuvoton: switch attribute wakeup_data to text [media] v4l2-ioctl: fix YUV422P pixel format description [media] media: fix null pointer dereference in v4l_vb2q_enable_media_source() [media] v4l2-mc.h: fix yet more compiler errors [media] staging/media: add missing TODO files [media] media.h: always start with 1 for the audio entities [media] sound/usb: Use meaninful names for goto labels [media] v4l2-mc.h: fix compiler warnings [media] media: au0828 audio mixer isn't connected to decoder [media] sound/usb: Use Media Controller API to share media resources [media] dw2102: add support for TeVii S662 ...
- Loading branch information
Showing
398 changed files
with
12,321 additions
and
4,923 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
What: /sys/class/rc/rcN/wakeup_data | ||
Date: Mar 2016 | ||
KernelVersion: 4.6 | ||
Contact: Mauro Carvalho Chehab <[email protected]> | ||
Description: | ||
Reading this file returns the stored CIR wakeup sequence. | ||
It starts with a pulse, followed by a space, pulse etc. | ||
All values are in microseconds. | ||
The same format can be used to store a wakeup sequence | ||
in the Nuvoton chip by writing to this file. | ||
|
||
Note: Some systems reset the stored wakeup sequence to a | ||
factory default on each boot. On such systems store the | ||
wakeup sequence in a file and set it on boot using e.g. | ||
a udev rule. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<refentry id="V4L2-PIX-FMT-Y12I"> | ||
<refmeta> | ||
<refentrytitle>V4L2_PIX_FMT_Y12I ('Y12I')</refentrytitle> | ||
&manvol; | ||
</refmeta> | ||
<refnamediv> | ||
<refname><constant>V4L2_PIX_FMT_Y12I</constant></refname> | ||
<refpurpose>Interleaved grey-scale image, e.g. from a stereo-pair</refpurpose> | ||
</refnamediv> | ||
<refsect1> | ||
<title>Description</title> | ||
|
||
<para>This is a grey-scale image with a depth of 12 bits per pixel, but with | ||
pixels from 2 sources interleaved and bit-packed. Each pixel is stored in a | ||
24-bit word in the little-endian order. On a little-endian machine these pixels | ||
can be deinterlaced using</para> | ||
|
||
<para> | ||
<programlisting> | ||
__u8 *buf; | ||
left0 = 0xfff & *(__u16 *)buf; | ||
right0 = *(__u16 *)(buf + 1) >> 4; | ||
</programlisting> | ||
</para> | ||
|
||
<example> | ||
<title><constant>V4L2_PIX_FMT_Y12I</constant> 2 pixel data stream taking 3 bytes</title> | ||
|
||
<formalpara> | ||
<title>Bit-packed representation</title> | ||
<para>pixels cross the byte boundary and have a ratio of 3 bytes for each | ||
interleaved pixel. | ||
<informaltable frame="all"> | ||
<tgroup cols="3" align="center"> | ||
<colspec align="left" colwidth="2*" /> | ||
<tbody valign="top"> | ||
<row> | ||
<entry>Y'<subscript>0left[7:0]</subscript></entry> | ||
<entry>Y'<subscript>0right[3:0]</subscript>Y'<subscript>0left[11:8]</subscript></entry> | ||
<entry>Y'<subscript>0right[11:4]</subscript></entry> | ||
</row> | ||
</tbody> | ||
</tgroup> | ||
</informaltable> | ||
</para> | ||
</formalpara> | ||
</example> | ||
</refsect1> | ||
</refentry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<refentry id="V4L2-PIX-FMT-Y8I"> | ||
<refmeta> | ||
<refentrytitle>V4L2_PIX_FMT_Y8I ('Y8I ')</refentrytitle> | ||
&manvol; | ||
</refmeta> | ||
<refnamediv> | ||
<refname><constant>V4L2_PIX_FMT_Y8I</constant></refname> | ||
<refpurpose>Interleaved grey-scale image, e.g. from a stereo-pair</refpurpose> | ||
</refnamediv> | ||
<refsect1> | ||
<title>Description</title> | ||
|
||
<para>This is a grey-scale image with a depth of 8 bits per pixel, but with | ||
pixels from 2 sources interleaved. Each pixel is stored in a 16-bit word. E.g. | ||
the R200 RealSense camera stores pixel from the left sensor in lower and from | ||
the right sensor in the higher 8 bits.</para> | ||
|
||
<example> | ||
<title><constant>V4L2_PIX_FMT_Y8I</constant> 4 × 4 | ||
pixel image</title> | ||
|
||
<formalpara> | ||
<title>Byte Order.</title> | ||
<para>Each cell is one byte. | ||
<informaltable frame="none"> | ||
<tgroup cols="9" align="center"> | ||
<colspec align="left" colwidth="2*" /> | ||
<tbody valign="top"> | ||
<row> | ||
<entry>start + 0:</entry> | ||
<entry>Y'<subscript>00left</subscript></entry> | ||
<entry>Y'<subscript>00right</subscript></entry> | ||
<entry>Y'<subscript>01left</subscript></entry> | ||
<entry>Y'<subscript>01right</subscript></entry> | ||
<entry>Y'<subscript>02left</subscript></entry> | ||
<entry>Y'<subscript>02right</subscript></entry> | ||
<entry>Y'<subscript>03left</subscript></entry> | ||
<entry>Y'<subscript>03right</subscript></entry> | ||
</row> | ||
<row> | ||
<entry>start + 8:</entry> | ||
<entry>Y'<subscript>10left</subscript></entry> | ||
<entry>Y'<subscript>10right</subscript></entry> | ||
<entry>Y'<subscript>11left</subscript></entry> | ||
<entry>Y'<subscript>11right</subscript></entry> | ||
<entry>Y'<subscript>12left</subscript></entry> | ||
<entry>Y'<subscript>12right</subscript></entry> | ||
<entry>Y'<subscript>13left</subscript></entry> | ||
<entry>Y'<subscript>13right</subscript></entry> | ||
</row> | ||
<row> | ||
<entry>start + 16:</entry> | ||
<entry>Y'<subscript>20left</subscript></entry> | ||
<entry>Y'<subscript>20right</subscript></entry> | ||
<entry>Y'<subscript>21left</subscript></entry> | ||
<entry>Y'<subscript>21right</subscript></entry> | ||
<entry>Y'<subscript>22left</subscript></entry> | ||
<entry>Y'<subscript>22right</subscript></entry> | ||
<entry>Y'<subscript>23left</subscript></entry> | ||
<entry>Y'<subscript>23right</subscript></entry> | ||
</row> | ||
<row> | ||
<entry>start + 24:</entry> | ||
<entry>Y'<subscript>30left</subscript></entry> | ||
<entry>Y'<subscript>30right</subscript></entry> | ||
<entry>Y'<subscript>31left</subscript></entry> | ||
<entry>Y'<subscript>31right</subscript></entry> | ||
<entry>Y'<subscript>32left</subscript></entry> | ||
<entry>Y'<subscript>32right</subscript></entry> | ||
<entry>Y'<subscript>33left</subscript></entry> | ||
<entry>Y'<subscript>33right</subscript></entry> | ||
</row> | ||
</tbody> | ||
</tgroup> | ||
</informaltable> | ||
</para> | ||
</formalpara> | ||
</example> | ||
</refsect1> | ||
</refentry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.