This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: v4l-utils: sync with latest media kernel
Author:  Hans Verkuil <[email protected]>
Date:    Thu Mar 11 17:47:00 2021 +0100

Also drop the 'grep -v V4L2_PIX_FMT_H264_SLICE' in sync-with-kernel.sh.
This is now part of the stable API, so allow this.

Signed-off-by: Hans Verkuil <[email protected]>

 contrib/freebsd/include/linux/v4l2-controls.h | 2 +-
 include/linux/v4l2-controls.h                 | 2 +-
 sync-with-kernel.sh                           | 2 +-
 utils/common/v4l2-pix-formats.h               | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=a6eab98a2a046f59514bcc33f549d22626d05b2e
diff --git a/contrib/freebsd/include/linux/v4l2-controls.h 
b/contrib/freebsd/include/linux/v4l2-controls.h
index 708a2faf64cf..40cf8b41934b 100644
--- a/contrib/freebsd/include/linux/v4l2-controls.h
+++ b/contrib/freebsd/include/linux/v4l2-controls.h
@@ -1327,7 +1327,7 @@ struct v4l2_ctrl_h264_sps {
  * struct v4l2_ctrl_h264_pps - H264 picture parameter set
  *
  * Except where noted, all the members on this picture parameter set
- * structure match the sequence parameter set syntax as specified
+ * structure match the picture parameter set syntax as specified
  * by the H264 specification.
  *
  * In particular, V4L2_H264_PPS_FLAG_SCALING_MATRIX_PRESENT flag
diff --git a/include/linux/v4l2-controls.h b/include/linux/v4l2-controls.h
index 708a2faf64cf..40cf8b41934b 100644
--- a/include/linux/v4l2-controls.h
+++ b/include/linux/v4l2-controls.h
@@ -1327,7 +1327,7 @@ struct v4l2_ctrl_h264_sps {
  * struct v4l2_ctrl_h264_pps - H264 picture parameter set
  *
  * Except where noted, all the members on this picture parameter set
- * structure match the sequence parameter set syntax as specified
+ * structure match the picture parameter set syntax as specified
  * by the H264 specification.
  *
  * In particular, V4L2_H264_PPS_FLAG_SCALING_MATRIX_PRESENT flag
diff --git a/sync-with-kernel.sh b/sync-with-kernel.sh
index c57f38bb6ef7..fa881949e042 100755
--- a/sync-with-kernel.sh
+++ b/sync-with-kernel.sh
@@ -50,7 +50,7 @@ patch -d ${TOPSRCDIR} --no-backup-if-mismatch -p1 
<${TOPSRCDIR}/utils/common/v4l
 cp -a ${KERNEL_DIR}/drivers/media/test-drivers/vicodec/codec-fwht.[ch] 
${TOPSRCDIR}/utils/common/
 cp -a ${KERNEL_DIR}/drivers/media/test-drivers/vicodec/codec-v4l2-fwht.[ch] 
${TOPSRCDIR}/utils/common/
 patch -d ${TOPSRCDIR} --no-backup-if-mismatch -p1 
<${TOPSRCDIR}/utils/common/codec-fwht.patch
-grep V4L2_.*_FMT.*descr ${KERNEL_DIR}/drivers/media/v4l2-core/v4l2-ioctl.c | 
grep -v V4L2_PIX_FMT_H264_SLICE | grep -v V4L2_PIX_FMT_VP8_FRAME | grep -v 
V4L2_PIX_FMT_HEVC_SLICE | perl -pe 's/.*V4L2_(.*)_FMT/\tcase V4L2_\1_FMT/; 
s/:.*descr = /: return /; s/;.*/;/;' 
>${TOPSRCDIR}/utils/common/v4l2-pix-formats.h
+grep V4L2_.*_FMT.*descr ${KERNEL_DIR}/drivers/media/v4l2-core/v4l2-ioctl.c | 
grep -v V4L2_PIX_FMT_VP8_FRAME | grep -v V4L2_PIX_FMT_HEVC_SLICE | perl -pe 
's/.*V4L2_(.*)_FMT/\tcase V4L2_\1_FMT/; s/:.*descr = /: return /; s/;.*/;/;' 
>${TOPSRCDIR}/utils/common/v4l2-pix-formats.h
 
 function keytable {
        SRCDIR=${TOPSRCDIR}/utils/keytable
diff --git a/utils/common/v4l2-pix-formats.h b/utils/common/v4l2-pix-formats.h
index c8f55eb94c33..4bf091ac59b7 100644
--- a/utils/common/v4l2-pix-formats.h
+++ b/utils/common/v4l2-pix-formats.h
@@ -173,6 +173,7 @@
        case V4L2_PIX_FMT_H264: return "H.264";
        case V4L2_PIX_FMT_H264_NO_SC: return "H.264 (No Start Codes)";
        case V4L2_PIX_FMT_H264_MVC: return "H.264 MVC";
+       case V4L2_PIX_FMT_H264_SLICE: return "H.264 Parsed Slice Data";
        case V4L2_PIX_FMT_H263: return "H.263";
        case V4L2_PIX_FMT_MPEG1: return "MPEG-1 ES";
        case V4L2_PIX_FMT_MPEG2: return "MPEG-2 ES";

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to