[mythtv-commits] Ticket #2624: Modify US digital frequency tables to allow channels up to 159
MythTV
mythtv at cvs.mythtv.org
Fri Oct 27 23:13:28 UTC 2006
#2624: Modify US digital frequency tables to allow channels up to 159
----------------------------------------------+-----------------------------
Reporter: sphery <mtdean at thirdcontact.com> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.20
Severity: medium |
----------------------------------------------+-----------------------------
The attached patch modifies the US digital frequency tables (standard,
HRC, and IRC) to include channels up to 159. Currently, the HRC and IRC
tables stop at channel 125.
In making the change, I defined US_MAX_CHAN and EIA_542_FREQUENCY (an
equation to compute the appropriate center frequency based on the EIA-542
standard's definition--it requires a bandwidth, offset, and channel
number). This equation (with appropriate bandwidth and offset for
standard, HRC, or IRC) is valid for any channel over 99. Since
US_MAX_CHAN is never likely to be reduced (and reduction to below 100
doesn't make sense on a cable frequency table), this shouldn't be an
issue.
After this change, if we ever need to allow additional channels in the
future, we simply need to modify US_MAX_CHAN. In doing so, we'll update
all three standards' frequency tables.
I didn't modify channel 100's frequency (the band's starting channel) to
use the EIA_542_FREQUENCY define, although doing so work (and would be
easy).
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2624>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list