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: cec-follower: create digital ATSC channels
Author:  Jiunn Chang <c0d1n61...@gmail.com>
Date:    Sun Oct 13 23:17:17 2019 -0500

This table will allow proper testing of digital tuner control features.
There are three channels per TSID/program number combination along with
channel data for the following digital ATSC broadcast systems:
  - ATSC-SAT
  - ATSC-T

Signed-off-by: Jiunn Chang <c0d1n61...@gmail.com>
[hverkuil-ci...@xs4all.nl: dropped the middle [1] index]
Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 utils/cec-follower/cec-tuner.cpp | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=8d6f69e1d654ce2d77f4927c0124880ab5e25dad
diff --git a/utils/cec-follower/cec-tuner.cpp b/utils/cec-follower/cec-tuner.cpp
index e9ec9be9a151..e3ffc04e40e3 100644
--- a/utils/cec-follower/cec-tuner.cpp
+++ b/utils/cec-follower/cec-tuner.cpp
@@ -58,6 +58,45 @@ static const struct service_info 
digital_arib_data[2][NUM_DIGITAL_CHANS] =
 };
 
 /*
+ * This table contains the digital television channels for ATSC.  There
+ * are a total of three channels that are identified by digital IDs or by
+ * channel.
+ *
+ * CEC 17 of the 1.4 specification lists the available digital identification
+ * methods, IDs, and channel data.
+ *
+ * Digital channel data for atsc-sat is from:
+ *
+ * https://sichbopvr.com/frequency-tables/28-50E
+ *
+ * No public data was found for atsc-sat so data is just copied.
+ *
+ * Digital channel data for atsc-t is from:
+ *
+ * https://sichbopvr.com/frequency-tables/United%20States/Illinois/Caseyville
+ *
+ * ATSC does not use ONIDs and SID will be used as the program number.  All 
ATSC
+ * channel number formats are 2 part.
+ */
+static const struct service_info digital_atsc_data[2][NUM_DIGITAL_CHANS] =
+{
+       // satellite, atsc-sat
+       {
+               // tsid, onid, sid, fmt, major, minor
+               { 2065, 0, 50316, 2, 3, 50316 },
+               { 2090, 0, 50882, 2, 3, 50882 },
+               { 2122, 0, 55295, 2, 3, 55295 }
+       },
+       // terrestrial, atsc-t
+       {
+               // tsid, onid, sid, fmt, major, minor
+               { 1675, 0, 1, 2, 4, 1 },
+               { 1675, 0, 2, 2, 4, 2 },
+               { 1675, 0, 3, 2, 4, 3 }
+       }
+};
+
+/*
  * This table contains analog television channel frequencies in KHz.  There are
  * a total of three frequencies per analog broadcast type and broadcast system.
  *

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to