linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] Add V4L2_PIX_FMT_VP9
@ 2016-05-24 15:05 Wu-Cheng Li
  2016-05-24 15:05 ` [PATCH v1 1/3] videodev2.h: add V4L2_PIX_FMT_VP9 format Wu-Cheng Li
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wu-Cheng Li @ 2016-05-24 15:05 UTC (permalink / raw)
  To: mchehab, hverkuil, crope, ricardo.ribalda, p.zabel, wuchengli,
	shuahkh, hans.verkuil, renesas, guennadi.liakhovetski,
	sakari.ailus, posciak, djkurtz, tiffany.lin, pc.chen
  Cc: linux-media, linux-kernel

This patch series add V4L2_PIX_FMT_VP9 and the documentation.

Wu-Cheng Li (3):
  videodev2.h: add V4L2_PIX_FMT_VP9 format.
  v4l2-ioctl: add VP9 format description.
  V4L: add VP9 format documentation

 Documentation/DocBook/media/v4l/pixfmt.xml | 5 +++++
 drivers/media/v4l2-core/v4l2-ioctl.c       | 1 +
 include/uapi/linux/videodev2.h             | 1 +
 3 files changed, 7 insertions(+)

-- 
2.8.0.rc3.226.g39d4020

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v1 1/3] videodev2.h: add V4L2_PIX_FMT_VP9 format.
  2016-05-24 15:05 [PATCH v1 0/3] Add V4L2_PIX_FMT_VP9 Wu-Cheng Li
@ 2016-05-24 15:05 ` Wu-Cheng Li
  2016-05-24 15:05 ` [PATCH v1 2/3] v4l2-ioctl: add VP9 format description Wu-Cheng Li
  2016-05-24 15:05 ` [PATCH v1 3/3] V4L: add VP9 format documentation Wu-Cheng Li
  2 siblings, 0 replies; 4+ messages in thread
From: Wu-Cheng Li @ 2016-05-24 15:05 UTC (permalink / raw)
  To: mchehab, hverkuil, crope, ricardo.ribalda, p.zabel, wuchengli,
	shuahkh, hans.verkuil, renesas, guennadi.liakhovetski,
	sakari.ailus, posciak, djkurtz, tiffany.lin, pc.chen
  Cc: linux-media, linux-kernel

This adds VP9 video coding format, a successor to VP8.

Signed-off-by: Wu-Cheng Li <wuchengli@chromium.org>
---
 include/uapi/linux/videodev2.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 8f95191..a95f940 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -594,6 +594,7 @@ struct v4l2_pix_format {
 #define V4L2_PIX_FMT_VC1_ANNEX_G v4l2_fourcc('V', 'C', '1', 'G') /* SMPTE 421M Annex G compliant stream */
 #define V4L2_PIX_FMT_VC1_ANNEX_L v4l2_fourcc('V', 'C', '1', 'L') /* SMPTE 421M Annex L compliant stream */
 #define V4L2_PIX_FMT_VP8      v4l2_fourcc('V', 'P', '8', '0') /* VP8 */
+#define V4L2_PIX_FMT_VP9      v4l2_fourcc('V', 'P', '9', '0') /* VP9 */
 
 /*  Vendor-specific formats   */
 #define V4L2_PIX_FMT_CPIA1    v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */
-- 
2.8.0.rc3.226.g39d4020

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v1 2/3] v4l2-ioctl: add VP9 format description.
  2016-05-24 15:05 [PATCH v1 0/3] Add V4L2_PIX_FMT_VP9 Wu-Cheng Li
  2016-05-24 15:05 ` [PATCH v1 1/3] videodev2.h: add V4L2_PIX_FMT_VP9 format Wu-Cheng Li
@ 2016-05-24 15:05 ` Wu-Cheng Li
  2016-05-24 15:05 ` [PATCH v1 3/3] V4L: add VP9 format documentation Wu-Cheng Li
  2 siblings, 0 replies; 4+ messages in thread
From: Wu-Cheng Li @ 2016-05-24 15:05 UTC (permalink / raw)
  To: mchehab, hverkuil, crope, ricardo.ribalda, p.zabel, wuchengli,
	shuahkh, hans.verkuil, renesas, guennadi.liakhovetski,
	sakari.ailus, posciak, djkurtz, tiffany.lin, pc.chen
  Cc: linux-media, linux-kernel

VP9 is a video coding format and a successor to VP8.

Signed-off-by: Wu-Cheng Li <wuchengli@chromium.org>
---
 drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c
index 28e5be2..8f3e631 100644
--- a/drivers/media/v4l2-core/v4l2-ioctl.c
+++ b/drivers/media/v4l2-core/v4l2-ioctl.c
@@ -1264,6 +1264,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt)
 		case V4L2_PIX_FMT_VC1_ANNEX_G:	descr = "VC-1 (SMPTE 412M Annex G)"; break;
 		case V4L2_PIX_FMT_VC1_ANNEX_L:	descr = "VC-1 (SMPTE 412M Annex L)"; break;
 		case V4L2_PIX_FMT_VP8:		descr = "VP8"; break;
+		case V4L2_PIX_FMT_VP9:		descr = "VP9"; break;
 		case V4L2_PIX_FMT_CPIA1:	descr = "GSPCA CPiA YUV"; break;
 		case V4L2_PIX_FMT_WNVA:		descr = "WNVA"; break;
 		case V4L2_PIX_FMT_SN9C10X:	descr = "GSPCA SN9C10X"; break;
-- 
2.8.0.rc3.226.g39d4020

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v1 3/3] V4L: add VP9 format documentation
  2016-05-24 15:05 [PATCH v1 0/3] Add V4L2_PIX_FMT_VP9 Wu-Cheng Li
  2016-05-24 15:05 ` [PATCH v1 1/3] videodev2.h: add V4L2_PIX_FMT_VP9 format Wu-Cheng Li
  2016-05-24 15:05 ` [PATCH v1 2/3] v4l2-ioctl: add VP9 format description Wu-Cheng Li
@ 2016-05-24 15:05 ` Wu-Cheng Li
  2 siblings, 0 replies; 4+ messages in thread
From: Wu-Cheng Li @ 2016-05-24 15:05 UTC (permalink / raw)
  To: mchehab, hverkuil, crope, ricardo.ribalda, p.zabel, wuchengli,
	shuahkh, hans.verkuil, renesas, guennadi.liakhovetski,
	sakari.ailus, posciak, djkurtz, tiffany.lin, pc.chen
  Cc: linux-media, linux-kernel

Add documentation for V4L2_PIX_FMT_VP9.

Signed-off-by: Wu-Cheng Li <wuchengli@chromium.org>
---
 Documentation/DocBook/media/v4l/pixfmt.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml b/Documentation/DocBook/media/v4l/pixfmt.xml
index 5a08aee..ab915c3 100644
--- a/Documentation/DocBook/media/v4l/pixfmt.xml
+++ b/Documentation/DocBook/media/v4l/pixfmt.xml
@@ -1735,6 +1735,11 @@ extended control <constant>V4L2_CID_MPEG_STREAM_TYPE</constant>, see
 		<entry>'VP80'</entry>
 		<entry>VP8 video elementary stream.</entry>
 	  </row>
+	  <row id="V4L2-PIX-FMT-VP9">
+		<entry><constant>V4L2_PIX_FMT_VP9</constant></entry>
+		<entry>'VP90'</entry>
+		<entry>VP9 video elementary stream.</entry>
+	  </row>
 	</tbody>
       </tgroup>
     </table>
-- 
2.8.0.rc3.226.g39d4020

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-24 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-24 15:05 [PATCH v1 0/3] Add V4L2_PIX_FMT_VP9 Wu-Cheng Li
2016-05-24 15:05 ` [PATCH v1 1/3] videodev2.h: add V4L2_PIX_FMT_VP9 format Wu-Cheng Li
2016-05-24 15:05 ` [PATCH v1 2/3] v4l2-ioctl: add VP9 format description Wu-Cheng Li
2016-05-24 15:05 ` [PATCH v1 3/3] V4L: add VP9 format documentation Wu-Cheng Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).