GIT PULL FOR 6.16] Enable 10bit and YCbCr 422 in RKVDEC H.264 decoder
Hey Hans & Mauro,
The following changes since commit f2151613e040973c868d28c8b00885dfab69eb75:
media: pci: mgb4: include linux/errno.h (2025-03-07 12:05:42 +0100)
are available in the Git repository at:
https://gitlab.freedesktop.org/linux-media/users/ndufresne.git tags/for-6.16-rkvdec-h264-high10-and-422
for you to fetch changes up to 619d9391efd5ed93f805734279034fa34f537347:
media: rkvdec: Fix frame size enumeration (2025-04-01 15:25:07 -0400)
----------------------------------------------------------------
Enable 10bit and YCbCr 422 in RKVDEC H.264 decoder
----------------------------------------------------------------
Alex Bee (1):
media: rkvdec: h264: Don't hardcode SPS/PPS parameters
Jonas Karlman (10):
media: v4l2-common: Add helpers to calculate bytesperline and sizeimage
media: v4l2: Add NV15 and NV20 pixel formats
media: rkvdec: h264: Use bytesperline and buffer height as virstride
media: rkvdec: Extract rkvdec_fill_decoded_pixfmt into helper
media: rkvdec: Move rkvdec_reset_decoded_fmt helper
media: rkvdec: Extract decoded format enumeration into helper
media: rkvdec: Add image format concept
media: rkvdec: Add get_image_fmt ops
media: rkvdec: h264: Support High 10 and 4:2:2 profiles
media: rkvdec: Fix frame size enumeration
Sebastian Fricke (1):
media: rkvdec: h264: Limit minimum profile to constrained baseline
Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/media/v4l2-core/v4l2-common.c | 80 +++++++++++++++++++++++++++++++++++++----------------------------------- drivers/media/v4l2-core/v4l2-ioctl.c | 2 ++ drivers/staging/media/rkvdec/rkvdec-h264.c | 64 ++++++++++++++++++++++++++++++++++++++-------------------- drivers/staging/media/rkvdec/rkvdec.c | 239 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------- drivers/staging/media/rkvdec/rkvdec.h | 18 ++++++++++++++++- include/uapi/linux/videodev2.h | 2 ++ 7 files changed, 410 insertions(+), 123 deletions(-)
Quoted 21 lines · Nicolas Dufresne
Hey Hans & Mauro,
The following changes since commit
f2151613e040973c868d28c8b00885dfab69eb75:media: pci: mgb4: include
linux/errno.h(2025-03-07 12:05:42 +0100)are available in the Git repository at:
https://gitlab.freedesktop.org/linux-media/users/ndufresne.git tags/for-6.16-rkvdec-h264-high10-and-422
for you to fetch changes up to
619d9391efd5ed93f805734279034fa34f537347:media: rkvdec: Fix frame size enumeration (2025-04-01 15:25:07 -0400)
----------------------------------------------------------------
Enable 10bit and YCbCr 422 in RKVDEC H.264 decoder----------------------------------------------------------------
Alex Bee (1):
media: rkvdec: h264: Don't hardcode SPS/PPS parameters
Quoted 9 lines
Jonas Karlman (10):
media: v4l2-common: Add helpers to calculate bytesperline and sizeimage
media: v4l2: Add NV15 and NV20 pixel formats
media: rkvdec: h264: Use bytesperline and buffer height as virstride
media: rkvdec: Extractrkvdec_fill_decoded_pixfmtinto helper
media: rkvdec: Moverkvdec_reset_decoded_fmthelper
media: rkvdec: Extract decoded format enumeration into helper
media: rkvdec: Add image format concept
media: rkvdec: Addget_image_fmtops
So this patch needs more work.
Quoted 1 line
media: rkvdec: h264: Support High 10 and 4:2:2 profiles
and this depends on the previous patch.
Quoted 4 lines
media: rkvdec: Fix frame size enumeration
Sebastian Fricke (1):
media: rkvdec: h264: Limit minimum profile to constrained baseline
I can take all other patches except those two. Would that work for you, Nicolas?
Regards,
Hans
Quoted 10 lines
Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/media/v4l2-core/v4l2-common.c | 80 +++++++++++++++++++++++++++++++++++++----------------------------------- drivers/media/v4l2-core/v4l2-ioctl.c | 2 ++ drivers/staging/media/rkvdec/rkvdec-h264.c | 64 ++++++++++++++++++++++++++++++++++++++-------------------- drivers/staging/media/rkvdec/rkvdec.c | 239 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------- drivers/staging/media/rkvdec/rkvdec.h | 18 ++++++++++++++++- include/uapi/linux/videodev2.h | 2 ++ 7 files changed, 410 insertions(+), 123 deletions(-)
Quoted 32 lines · Hans Verkuil
Quoted 21 lines · Nicolas Dufresne
Hey Hans & Mauro,
The following changes since commit
f2151613e040973c868d28c8b00885dfab69eb75:media: pci: mgb4: include
linux/errno.h(2025-03-07 12:05:42 +0100)are available in the Git repository at:
https://gitlab.freedesktop.org/linux-media/users/ndufresne.git tags/for-6.16-rkvdec-h264-high10-and-422
for you to fetch changes up to
619d9391efd5ed93f805734279034fa34f537347:media: rkvdec: Fix frame size enumeration (2025-04-01 15:25:07 -0400)
----------------------------------------------------------------
Enable 10bit and YCbCr 422 in RKVDEC H.264 decoder----------------------------------------------------------------
Alex Bee (1):
media: rkvdec: h264: Don't hardcode SPS/PPS parametersQuoted 9 lines
Jonas Karlman (10):
media: v4l2-common: Add helpers to calculate bytesperline and sizeimage
media: v4l2: Add NV15 and NV20 pixel formats
media: rkvdec: h264: Use bytesperline and buffer height as virstride
media: rkvdec: Extractrkvdec_fill_decoded_pixfmtinto helper
media: rkvdec: Moverkvdec_reset_decoded_fmthelper
media: rkvdec: Extract decoded format enumeration into helper
media: rkvdec: Add image format concept
media: rkvdec: Addget_image_fmtops
Quoted 10 lines
So this patch needs more work.
Quoted 1 line
media: rkvdec: h264: Support High 10 and 4:2:2 profiles
and this depends on the previous patch.
Quoted 4 lines
media: rkvdec: Fix frame size enumeration
Sebastian Fricke (1):
media: rkvdec: h264: Limit minimum profile to constrained baseline
Ah, this also depends on the change. I'll have to skip this one too.
Regards,
Hans
Quoted 19 lines
I can take all other patches except those two. Would that work for you, Nicolas?
Regards,
Hans
Quoted 10 lines
Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/media/v4l2-core/v4l2-common.c | 80 +++++++++++++++++++++++++++++++++++++----------------------------------- drivers/media/v4l2-core/v4l2-ioctl.c | 2 ++ drivers/staging/media/rkvdec/rkvdec-h264.c | 64 ++++++++++++++++++++++++++++++++++++++-------------------- drivers/staging/media/rkvdec/rkvdec.c | 239 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------- drivers/staging/media/rkvdec/rkvdec.h | 18 ++++++++++++++++- include/uapi/linux/videodev2.h | 2 ++ 7 files changed, 410 insertions(+), 123 deletions(-)
Le lundi 07 avril 2025 à 13:13 +0200, Hans Verkuil a écrit :
Quoted 37 lines · Hans Verkuil
Quoted 36 lines · Nicolas Dufresne
Quoted 21 lines
Hey Hans & Mauro,
The following changes since commit
f2151613e040973c868d28c8b00885dfab69eb75:media: pci: mgb4: include
linux/errno.h(2025-03-07 12:05:42 +0100)are available in the Git repository at:
https://gitlab.freedesktop.org/linux-media/users/ndufresne.git tags/for-6.16-rkvdec-h264-high10-and-422
for you to fetch changes up to
619d9391efd5ed93f805734279034fa34f537347:media: rkvdec: Fix frame size enumeration (2025-04-01 15:25:07 -0400)
----------------------------------------------------------------
Enable 10bit and YCbCr 422 in RKVDEC H.264 decoder----------------------------------------------------------------
Alex Bee (1):
media: rkvdec: h264: Don't hardcode SPS/PPS parametersQuoted 9 lines
Jonas Karlman (10):
media: v4l2-common: Add helpers to calculate bytesperline and sizeimage
media: v4l2: Add NV15 and NV20 pixel formats
media: rkvdec: h264: Use bytesperline and buffer height as virstride
media: rkvdec: Extractrkvdec_fill_decoded_pixfmtinto helper
media: rkvdec: Moverkvdec_reset_decoded_fmthelper
media: rkvdec: Extract decoded format enumeration into helper
media: rkvdec: Add image format concept
media: rkvdec: Addget_image_fmtopsSo this patch needs more work.
Quoted 1 line
media: rkvdec: h264: Support High 10 and 4:2:2 profiles
Quoted 8 lines
Quoted 6 lines
and this depends on the previous patch.
Quoted 4 lines
media: rkvdec: Fix frame size enumeration
Sebastian Fricke (1):
media: rkvdec: h264: Limit minimum profile to constrained baselineAh, this also depends on the change. I'll have to skip this one too.
Just let me know if you can't fix the merge conflict, it has no "semantic" dependency though, and is minor change that can be re-added later in any case.
Quoted 7 lines
Regards,
Hans
Quoted 2 lines
I can take all other patches except those two. Would that work for you, Nicolas?
Please have a look at my reply on the patch review. Though, yes, it would be helpful to take some of it, just let me know what applied cleanly, I'll make sure the rest is picked later. The NV15 format, will allow some Hantro change to happen, and will reduce the on-going rkvdec2 work (1).
Nicolas
(1) RKVDEC2 might endup being merged back into rkvdec since it duplicates quite a lot, if we do that, we'll unstage rkvdec first, so you'll have a chance to check for more things you don't like.
Quoted 17 lines
Quoted 17 lines
Regards,
Hans
Quoted 10 lines
Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/media/v4l2-core/v4l2-common.c | 80 +++++++++++++++++++++++++++++++++++++-----------------------------------
drivers/media/v4l2-core/v4l2-ioctl.c | 2 ++
drivers/staging/media/rkvdec/rkvdec-h264.c | 64 ++++++++++++++++++++++++++++++++++++++--------------------
drivers/staging/media/rkvdec/rkvdec.c | 239 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------- drivers/staging/media/rkvdec/rkvdec.h | 18 ++++++++++++++++-
include/uapi/linux/videodev2.h | 2 ++7 files changed, 410 insertions(+), 123 deletions(-)
Signature · 2 lines
Nicolas Dufresne Principal Engineer at Collabora