Commit graph

118 commits

Author SHA1 Message Date
Ahmet Inan
5860ded471 use revised value K0 for SRGB 2021-04-16 17:53:43 +02:00
Ahmet Inan
c609ba488f rearranged and fixed alsa init code 2015-02-23 13:30:16 +01:00
Ahmet Inan
b7bb471c4f updated image links 2015-01-20 20:03:21 +01:00
Ahmet Inan
8c9d4cda16 fixed compilation for some distributions 2015-01-19 11:20:01 +01:00
Ahmet Inan
b0ad979240 normalize phasor after each step
okay, i never had run robot36 for a long time so never had any issues
with it. but when letting it run for a few hours, the magnitude of that
phasor has drifted too far.
2014-11-26 13:06:29 +01:00
Ahmet Inan
d8eeba3aed do lerp of Y' in linear space. 2014-11-10 10:15:28 +01:00
Ahmet Inan
ea1f5b74b9 set min rate dir to 0 2014-09-01 15:27:20 +02:00
Ahmet Inan
d1ed93501d set min rate to 8000 to work around pulseaudio ignorance
pulseaudio ignores our request no to do any rate conversion.
so we need to set the min rate to 8000hz so we wont get 1hz :S
2014-08-26 16:17:53 +02:00
Ahmet Inan
93c8bad3c6 renamed linear_srgb to srgb and srgb_linear to linear 2014-01-28 09:17:06 +01:00
Ahmet Inan
6997edfba7 removed unused y_pixel_x and uv_pixel_x 2013-12-15 14:50:01 +01:00
Ahmet Inan
8b7c2d150c do avg and lerp in linear rgb space 2013-12-15 14:41:51 +01:00
Ahmet Inan
8448764aae added linear_srgb and srgb_linear 2013-12-15 14:28:08 +01:00
Ahmet Inan
025333c0dc Revert "avg over U and V and not RGB"
This reverts commit 064ecf9e53.
linear interpolation is better done in linear RGB space ..
lets revert this so we can do it the right way.
2013-12-15 14:08:04 +01:00
Ahmet Inan
064ecf9e53 avg over U and V and not RGB 2013-12-10 09:08:57 +01:00
Ahmet Inan
d4e22d5397 remade smpte.ppm again: sharp edges this time. 2013-09-02 16:42:26 +02:00
Ahmet Inan
07b0b039df replace -ffast-math with explicit optimizations
gcc usualy does the right thing with -ffast-math but
better be sure and enable only the safe optimizations.
2013-02-28 10:47:12 +01:00
Ahmet Inan
a612a31619 forgot to rename back 2012-10-23 17:26:02 +02:00
Ahmet Inan
6195ab5fb2 replaced some float timing code with int 2012-10-23 17:20:01 +02:00
Ahmet Inan
acde6a9a70 replaced float timing with int 2012-10-23 16:54:38 +02:00
Ahmet Inan
f5d5f2bc8e replaced some float timing code with int 2012-10-23 16:25:32 +02:00
Ahmet Inan
00b5d5305e cleanup 2012-10-23 15:54:17 +02:00
Ahmet Inan
0da40f391e make lerp more stable 2012-10-22 19:38:51 +02:00
Ahmet Inan
90e9fb5d9b single precision floats are not enough for timing 2012-10-01 18:38:16 +02:00
Ahmet Inan
2298df8ac3 decimate only per default 2012-10-01 18:20:35 +02:00
Ahmet Inan
2c00f21ae3 removed extra white space 2012-09-30 18:53:37 +02:00
Ahmet Inan
16760754ae show control frequency in debug picture 2012-09-29 15:16:58 +02:00
Ahmet Inan
4001ff6714 show sync pulse at its position, in red. smaller debug image. 2012-09-29 15:16:46 +02:00
Ahmet Inan
e3bd6a483a oops: return pointer to last element, not to next 2012-09-18 23:07:06 +02:00
Ahmet Inan
9ae9159578 added taplen/L also to history length 2012-09-17 19:04:29 +02:00
Ahmet Inan
72f990f3d4 also minimize delay in decode.c, added comment in debug.c 2012-09-17 18:39:57 +02:00
Ahmet Inan
3646956cbd minimize delay when synchronizing both signals 2012-09-17 18:34:11 +02:00
Ahmet Inan
32661eb5ab Merge branch 'master' into ddc 2012-09-17 15:34:53 +02:00
Ahmet Inan
ed55c26a4a also clamp weaker signal in decode.c 2012-09-17 15:33:12 +02:00
Ahmet Inan
176c781738 clamp weaker demodulated signal of both 2012-09-17 15:30:24 +02:00
Ahmet Inan
4021631af6 oops: we also need M samples of history for ddc 2012-09-15 16:50:20 +02:00
Ahmet Inan
cb5abfecd0 oops, off by one error in circular buffer 2012-09-15 16:22:50 +02:00
Ahmet Inan
25adda3d8c scale coefficients by interpolation factor 2012-09-15 07:18:44 +02:00
Ahmet Inan
13420ca857 redesigned ddc, replaced delay lines with common buffer 2012-09-14 22:05:41 +02:00
Ahmet Inan
1dc17ba23b matched with leader tone code from decode.c 2012-09-11 13:42:51 +02:00
Ahmet Inan
2f96e24d37 matched seperator code from decode.c 2012-09-04 13:30:15 +02:00
Ahmet Inan
614fccad24 improved horizontal sync falling edge detection 2012-08-16 21:37:17 +02:00
Ahmet Inan
63d30a73ac use single precision constants by default 2012-08-01 10:52:31 +02:00
Ahmet Inan
7bc72d4acf dont hide structs behind typedefs 2012-06-01 23:41:04 +02:00
Ahmet Inan
c377692be5 Merge branch 'master' of github.com:xdsopl/robot36 2012-05-11 20:11:09 +02:00
Ahmet Inan
c708ee45ad get smoothing factor from drate 2012-05-11 20:06:05 +02:00
Ahmet Inan
ecdc38a288 cleaned up code to make adding to the interfaces easier. 2012-03-02 10:19:02 +01:00
Ahmet Inan
55e9fe3d20 alsa fixes 2012-02-19 12:12:08 +01:00
Ahmet Inan
c380b14b28 simplified seperator code 2011-10-31 10:50:52 +01:00
Ahmet Inan
903a8492b3 added howto debug and example image links 2011-10-29 11:46:23 +02:00
Ahmet Inan
94bdc879ae Revert "lets see what github does with README.md and picture"
This reverts commit ef197077ff.

github gives precedence to README.md. dont like the idea of having
two README files
2011-10-29 11:05:56 +02:00