Skip to content

v4l-utils: dvb: add streaming support

Hans Verkuil linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9dvbv5: streaming support using videobuf2 for DVR and auto-scanlib/include/libdvbv5/dvb-dev.h lib/include/libdvbv5/dvb-vb2.h lib/libdvbv5/dvb-scan.c +3 more+599 -130 replies
2/9dvbv5: use proper dvb_v5 namespacelib/include/libdvbv5/dvb-vb2.h lib/libdvbv5/dvb-scan.c lib/libdvbv5/dvb-vb2.c +1 more+64 -620 replies
3/9dvb-vb2: add dvb_v5_stream_alloc/freelib/include/libdvbv5/dvb-vb2.h lib/libdvbv5/dvb-vb2.c+55 -160 replies
4/9libdvbv5: prepare for vb2 stream contextlib/include/libdvbv5/dvb-fe.h lib/libdvbv5/dvb-fe-priv.h lib/libdvbv5/dvb-scan.c +1 more+65 -720 replies
5/9dvbv5-scan: add -R streaming optionutils/dvb/dvbv5-scan.c+13 -00 replies
6/9libdvbv5/dvb-v5-std.c: add DTV_BANDWIDTH_HZ where possiblelib/libdvbv5/dvb-v5-std.c+7 -02 replies
7/9libdvbv5/dvb-scan: always requeue after dvb_parse_sectionlib/libdvbv5/dvb-scan.c+6 -80 replies
8/9libdvbv5/dvb-scan: flush any pending bufs after dvb_dmx_stoplib/libdvbv5/dvb-scan.c+9 -00 replies
9/9test-media: add initial vidtv streaming testcontrib/test/test-media+50 -00 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchSeung-Woo KimInki Dae
1/9A-b A-b
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] v4l-utils: dvb: add streaming support

This series picks up where Satendra left it back in 2017.

The original patch added support for streaming I/O in dvbv5-zap and dvbv5-scan, but it was incomplete, especially for dvbv5-scan.

The patches on top fix a number of issues, mainly relating to dvbv5-scan, allowing that utility to also use the streaming I/O if the -R option was specified. Various bugs were addressed and finally a test was added to test-media.

This was used to test the kernel patches that drop the wait_prepare/finish callbacks:

https://patchwork.linuxtv.org/project/linux-media/list/?series=15715

The media CI test of the kernel patches + these v4l-utils patches is here:

https://gitlab.freedesktop.org/linux-media/users/hverkuil/-/pipelines/1443147

Regards,

Hans

Hans Verkuil (8):
dvbv5: use proper dvb_v5 namespace
dvb-vb2: add dvb_v5_stream_alloc/free
libdvbv5: prepare for vb2 stream context
dvbv5-scan: add -R streaming option libdvbv5/dvb-v5-std.c: add DTV_BANDWIDTH_HZ where possible libdvbv5/dvb-scan: always requeue after dvb_parse_section libdvbv5/dvb-scan: flush any pending bufs after dvb_dmx_stop
test-media: add initial vidtv streaming test

Satendra Singh Thakur (1):
dvbv5: streaming support using videobuf2 for DVR and auto-scan

 contrib/test/test-media        |  50 +++++
 lib/include/libdvbv5/dvb-dev.h |   8 +
 lib/include/libdvbv5/dvb-fe.h  |   5 +
 lib/include/libdvbv5/dvb-vb2.h | 161 +++++++++++++++
 lib/libdvbv5/dvb-fe-priv.h     |   2 +-
 lib/libdvbv5/dvb-scan.c        | 112 +++++++++--
 lib/libdvbv5/dvb-v5-std.c      |   7 +
 lib/libdvbv5/dvb-vb2.c         | 349 +++++++++++++++++++++++++++++++++
 lib/libdvbv5/meson.build       |   2 +
 utils/dvb/dvbv5-scan.c         |  13 ++
 utils/dvb/dvbv5-zap.c          |  30 ++-
 11 files changed, 718 insertions(+), 21 deletions(-)
 create mode 100644 lib/include/libdvbv5/dvb-vb2.h
 create mode 100644 lib/libdvbv5/dvb-vb2.c
Signature · 1 line
2.47.2