Commit graph

50 commits

Author SHA1 Message Date
Ahmet Inan 8421a984e7 let decoders decide about vpos 2015-01-01 19:24:55 +01:00
Ahmet Inan 63e949332d do correct sync extrapolation 2015-01-01 18:57:01 +01:00
Ahmet Inan a69b4089f5 WIP: replaced linear with much more flexible circular buffer 2015-01-01 17:06:48 +01:00
Ahmet Inan fbffdf3d6d reduced "grey" area to help with noise immunity 2014-12-17 17:02:20 +01:00
Ahmet Inan 3d6f915b75 improved calibration header detection
"gray" area doesn't work very well with the calibration detection code
2014-12-13 20:31:06 +01:00
Ahmet Inan 8b3dbb08b9 only correct line after 5 mismatches when in sync mode 2014-12-11 19:19:51 +01:00
Ahmet Inan 5fa1a6cff6 increment vpos in decoders 2014-12-11 18:17:34 +01:00
Ahmet Inan e79484e1ca introduced free_running state variable 2014-12-11 17:14:20 +01:00
Ahmet Inan 9137d729d8 only correct line number if were free running 2014-12-11 15:35:37 +01:00
Ahmet Inan e4d0264d95 made value_blur nicer to use and took care of edges 2014-12-11 14:17:24 +01:00
Ahmet Inan 40eb37a40d better move whole line in scottie decoder 2014-12-10 23:42:50 +01:00
Ahmet Inan 56e75346d2 WIP: added correct scottie decoder 2014-12-10 23:39:08 +01:00
Ahmet Inan 88a13d9a9b WIP: save image when finished 2014-12-10 13:29:59 +01:00
Ahmet Inan 5c85f130b1 added gaussian blur to help with noisy conditions
manual adjustment following soon.
2014-12-08 23:03:26 +01:00
Ahmet Inan 30a6d256ba made decoder.rs independent of new modes 2014-12-07 22:26:03 +01:00
Ahmet Inan 4e48eb185c added Wrasse SC2-180 Mode
definitively need to do something about to reduce the numbers of places needed to be changed to add a new mode ..
2014-12-07 20:38:16 +01:00
Ahmet Inan 32efb41613 added "gray" area between data and control signal to improve sync detection 2014-12-07 18:14:37 +01:00
Ahmet Inan eb7a494fe4 update rendering mode and activity title from decoder 2014-12-06 14:10:23 +01:00
Ahmet Inan 5c0dd886ab oops: fix double swap mistake of u & v and r & b
in robot36 v is on even lines and u is on odd lines
in robot72 v comes first, then u

still need to investigate why there is a discrepancy between renderscript rgba and java bitmap rgba
2014-12-05 15:53:13 +01:00
Ahmet Inan ca2568b9cc renamed mode to current_mode 2014-11-30 19:15:29 +01:00
Ahmet Inan 48fc69ba48 split constants, state, modes, scanline estimator and calibration detector 2014-11-30 18:58:19 +01:00
Ahmet Inan 941c80ac00 moved fmd code to fmd.rsh 2014-11-30 17:18:17 +01:00
Ahmet Inan e69c476a41 moved ddc to ddc.rsh, made filter order less flexible 2014-11-30 17:02:51 +01:00
Ahmet Inan 0dac8080d9 cleaned up ema code, introduced overloadable filter interface 2014-11-30 16:16:25 +01:00
Ahmet Inan 8b9c98a271 moved phasor code to phasor.rsh 2014-11-30 14:10:49 +01:00
Ahmet Inan a2397729a2 moved ema code to ema.rsh 2014-11-30 13:30:50 +01:00
Ahmet Inan 6acb09a85e moved complex number helpers to complex.rsh 2014-11-30 12:29:30 +01:00
Ahmet Inan abf3df9d34 added complex_t 2014-11-30 12:24:21 +01:00
Ahmet Inan a1d38fe1c6 moved calibration detector switch to own method 2014-11-28 23:22:30 +01:00
Ahmet Inan ce67fd49f4 added automatic mode selection from naive scanline time estimation 2014-11-28 23:08:16 +01:00
Ahmet Inan 969da36a12 moved global static inside method 2014-11-28 16:30:44 +01:00
Ahmet Inan e587dc150c to not miss it, always reset vis and bit counters on leader pulse 2014-11-28 08:16:23 +01:00
Ahmet Inan 287c35126a WIP: added vis code detection and automatic mode switching 2014-11-27 18:22:23 +01:00
Ahmet Inan adf7d56575 fix compiler warning about precedence .. 2014-11-27 15:16:36 +01:00
Ahmet Inan 27526d52ff let's not patch interleaved scan lines together ..
its complicated enough already and this way we can correct errors much easier
2014-11-26 16:09:41 +01:00
Ahmet Inan 09736151ad no need to clear scan line, as we are not skipping anymore 2014-11-26 15:29:32 +01:00
Ahmet Inan bc22e62258 be consistent: end of interval is not included 2014-11-26 15:00:50 +01:00
Ahmet Inan 627f1caf17 improved calibration detection to avoid false positives 2014-11-26 13:57:43 +01:00
Ahmet Inan 8ab76154e3 always reset even_hpos to 0 when done 2014-11-25 20:54:21 +01:00
Ahmet Inan 41657bcea6 do not depend on seperator counter if previous scan had a sync timeout 2014-11-25 20:38:07 +01:00
Ahmet Inan 7b054a0944 WIP: try to recover from missing syncs 2014-11-25 18:24:51 +01:00
Ahmet Inan 63989db011 ignore scan lines shorter than minimum_length 2014-11-25 15:37:58 +01:00
Ahmet Inan 08427fe508 stop further processing until vis is over 2014-11-25 09:33:04 +01:00
Ahmet Inan 87b2bff52c moved calibration detection code to own method 2014-11-25 09:20:07 +01:00
Ahmet Inan 9f156b5e4f made calibration header code more readable 2014-11-25 08:15:40 +01:00
Ahmet Inan 1cb1c7fe42 WIP: improving calibration header detection 2014-11-24 23:34:08 +01:00
Ahmet Inan 789ce9f8da added ema low pass to leader tone and relaxed leader length more 2014-11-24 22:44:17 +01:00
Ahmet Inan e9afd08451 fix naive calibration header logic 2014-11-24 20:10:10 +01:00
Ahmet Inan 273c97fb65 added naive calibration header detection 2014-11-24 18:11:06 +01:00
Ahmet Inan 2acdc4f030 Initial commit 2014-11-23 15:49:23 +01:00