media: uapi: Move parsed VP8 pixel format out of staging
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 4 Mar 2021 14:07:51 +0000 (15:07 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Mar 2021 08:50:38 +0000 (09:50 +0100)
Since we are ready to stabilize the VP8 stateless API,
move the parsed VP8 pixel format.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/userspace-api/media/v4l/pixfmt-compressed.rst
include/media/vp8-ctrls.h
include/uapi/linux/videodev2.h

index 7341c9b4516b7111ab09f85ac3d0014bf777227a..0232d0808519699a86cf2dd1ac9cb706aef7de2d 100644 (file)
@@ -164,11 +164,6 @@ Compressed Formats
        of macroblocks to decode a full corresponding frame to the matching
        capture buffer.
 
-       .. note::
-
-          This format is not yet part of the public kernel API and it
-          is expected to change.
-
     * .. _V4L2-PIX-FMT-VP9:
 
       - ``V4L2_PIX_FMT_VP9``
index ab46d775788bc041b52975f55b15d1acc9302f61..50c92c5ed0ebece4db19f0d88f1b4fe4736ee212 100644 (file)
@@ -13,8 +13,6 @@
 
 #include <linux/types.h>
 
-#define V4L2_PIX_FMT_VP8_FRAME v4l2_fourcc('V', 'P', '8', 'F')
-
 #define V4L2_CID_MPEG_VIDEO_VP8_FRAME (V4L2_CID_CODEC_BASE + 2000)
 #define V4L2_CTRL_TYPE_VP8_FRAME 0x301
 
index 79dbde3bcf8d18512b5cfae74de22e982366b074..a1d903c6f9f0ce71fae5d1934ab102f2cb76e237 100644 (file)
@@ -694,6 +694,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_VP8_FRAME v4l2_fourcc('V', 'P', '8', 'F') /* VP8 parsed frame */
 #define V4L2_PIX_FMT_VP9      v4l2_fourcc('V', 'P', '9', '0') /* VP9 */
 #define V4L2_PIX_FMT_HEVC     v4l2_fourcc('H', 'E', 'V', 'C') /* HEVC aka H.265 */
 #define V4L2_PIX_FMT_FWHT     v4l2_fourcc('F', 'W', 'H', 'T') /* Fast Walsh Hadamard Transform (vicodec) */