Commit Graph

19 Commits

Author SHA1 Message Date
christos 1f73a688da remove unused variable 2013-10-17 21:23:05 +00:00
jmcneill 707c764851 add dtv_math.h 2011-08-09 10:53:09 +00:00
jmcneill fb95eabd74 modify the dtv device api so hardware drivers can be loaded independently
of the dtv module
2011-08-09 01:42:24 +00:00
apb 217d9c2a09 Reinstate #include <dev/dtv/dtvif.h> which was incorrectly
removed in the previous commit.
2011-07-16 22:41:59 +00:00
apb 76108b75b1 Instead of returning an integer between 0 and 31 (scaled by 1<<24), use
(0.5 + x/2 - 1/x) as an approximation to log2(x) for x from 1 to 2, and
scale the input to fit this range.  Now the error is always less than
0.2%.

Also add an test program, hidden behind #ifdef TEST_DTV_MATH, to print
a table of expected and actual results, and the errors.
2011-07-16 22:30:26 +00:00
jmcneill f3fc71ee2e add sys/types.h 2011-07-16 16:13:13 +00:00
jmcneill e1214af8f3 Fix a locking problem with the demux, and while here do a bit of
housekeeping and documentation.
2011-07-16 12:20:01 +00:00
jmcneill ee71f9a61a add dtv_intlog10 implementation, from apb@ 2011-07-15 20:27:41 +00:00
jmcneill 0546d04822 sections can't be > 4KB 2011-07-14 01:37:09 +00:00
jmcneill 3d6d4778fc fe_sec_voltage_t: add SEC_VOLTAGE_OFF 2011-07-13 23:16:55 +00:00
jmcneill ea2206438c add missing mutex_destroy on detach 2011-07-13 22:51:10 +00:00
jmcneill 677961ab6e dtv_demux_write: make sure to unlock muted in all error paths 2011-07-13 22:50:24 +00:00
jmcneill d3ea21c055 add section filter support 2011-07-13 22:43:04 +00:00
jmcneill 15c24b250f - use separate locks for ingress and egress queues
- increase ts block and buffer sizes
2011-07-12 00:57:19 +00:00
jmcneill 04ce1b4880 add DMX_PES_foo -> DMX_PES_foo0 aliases for dmx_pes_type_t types 2011-07-10 15:50:48 +00:00
jmcneill 5d80814a14 use %zu to print size_t 2011-07-09 21:08:40 +00:00
jmcneill 0d860fd316 allow this to be compiled into the kernel 2011-07-09 19:24:10 +00:00
jmcneill 1bfce4c367 don't kmem_alloc with IPL_VM mutex locked, spotted by rmind 2011-07-09 17:55:20 +00:00
jmcneill ef3e32e573 add digital TV framework which implements a subset of Linux DVB APIs 2011-07-09 14:46:56 +00:00