mbox series

[v2,0/6] media: vidtv: Add support for more MPEG PSI tables

Message ID 20201031150552.663598-1-dwlsalmeida@gmail.com (mailing list archive)
Headers show
Series media: vidtv: Add support for more MPEG PSI tables | expand

Message

Daniel Almeida Oct. 31, 2020, 3:05 p.m. UTC
From: Daniel W. S. Almeida <dwlsalmeida@gmail.com>

Implement support for more MPEG PSI tables (i.e. NIT & EIT).

While we're at it, fix a few minor mistakes in the PSI generator.

I initially sent this without a cover letter and as WIP but I have
now tidied it up and it's spotless. I tested the driver on a kernel
with KASAN & Kmemleak and tested the output on DVBInspector.

Daniel W. S. Almeida (6):
  media: vidtv: extract the initial CRC value to into a #define
  media: vidtv: psi: add a Network Information Table (NIT)
  media: vidtv: psi: Implement an Event Information Table (EIT)
  media: vidtv: psi: extract descriptor chaining code into a helper
  media: vidtv: Move s302m specific fields into encoder context
  media: vidtv: psi: fix missing assignments in while loops

 .../driver-api/media/drivers/vidtv.rst        |   8 +-
 .../media/test-drivers/vidtv/vidtv_bridge.c   |   4 +
 .../media/test-drivers/vidtv/vidtv_channel.c  | 130 +++-
 .../media/test-drivers/vidtv/vidtv_channel.h  |   3 +
 .../media/test-drivers/vidtv/vidtv_encoder.h  |   3 -
 drivers/media/test-drivers/vidtv/vidtv_mux.c  |  29 +
 drivers/media/test-drivers/vidtv/vidtv_mux.h  |  11 +
 drivers/media/test-drivers/vidtv/vidtv_psi.c  | 678 +++++++++++++++++-
 drivers/media/test-drivers/vidtv/vidtv_psi.h  | 240 ++++++-
 .../media/test-drivers/vidtv/vidtv_s302m.c    |  25 +-
 .../media/test-drivers/vidtv/vidtv_s302m.h    |   3 +
 11 files changed, 1083 insertions(+), 51 deletions(-)