Commit graph

62 commits

Author SHA1 Message Date
Ahmet İnan
2ffaf6b3f6 free resources on EOF and set init = 0 in decode method 2011-10-26 20:39:47 +02:00
Ahmet İnan
6646caec89 tested aspell on README, works good. 2011-10-25 23:41:22 +02:00
Ahmet İnan
ab7d041f64 made readme bigger 2011-10-25 23:38:59 +02:00
Ahmet İnan
c9cbf07687 moved demodulation code into own method 2011-10-25 21:20:17 +02:00
Ahmet İnan
0b7d1d67fb made sdl window persistent between close and open of img 2011-10-24 14:03:47 +02:00
Ahmet İnan
8856852830 not using screen->pixels anymore but own buffer and copying to it.
also do rgb->bgra mapping while copying
2011-10-23 22:13:10 +02:00
Ahmet İnan
90ab05d11d exit programme when ESC, q or ctrl-c when using sdl 2011-10-23 21:54:32 +02:00
Ahmet İnan
ab4d9f4dc1 Merge branch 'sdl' 2011-10-23 21:46:15 +02:00
Ahmet İnan
467714923c update sdl window via thread 2011-10-23 21:45:24 +02:00
Ahmet İnan
2fd7f3360e img must be initialized to 0 2011-10-23 20:59:56 +02:00
Ahmet İnan
34b6e8247b added experimental sdl output support 2011-10-23 20:54:33 +02:00
Ahmet İnan
3b27180505 Merge branch 'wav'
Conflicts:
	.gitignore
2011-10-23 10:57:20 +02:00
Ahmet İnan
6022e2becb removed width and height 2011-10-23 10:52:55 +02:00
Ahmet İnan
5fb57072af removed even more seperator correction code 2011-10-23 02:17:40 +02:00
Ahmet İnan
73951903e8 removed missing_sync and seperator correction messages 2011-10-23 01:55:33 +02:00
Ahmet İnan
353ed53fd3 removed unneeded timer for seperator and moved code around 2011-10-23 01:16:30 +02:00
Ahmet İnan
8c9e5a5e7f cleaned up 2011-10-23 00:52:51 +02:00
Ahmet İnan
e579163306 moved decode code into own method 2011-10-22 23:50:13 +02:00
Ahmet İnan
c7122665fa moved calibration header and vis code detection into own methods 2011-10-22 22:18:11 +02:00
Ahmet İnan
a513ee6849 remade this image from:
http://en.wikipedia.org/wiki/File:SMPTE_Color_Bars.svg
2011-10-03 18:43:45 +02:00
Ahmet İnan
d2e809f823 did some code reuse, added write support in img, used it in decode and
debug
2011-10-03 18:28:43 +02:00
Ahmet İnan
d947867831 put ppm code into own file with img interface 2011-10-03 17:48:50 +02:00
Ahmet İnan
4cec401930 now we can read any ppm header 2011-10-03 12:55:25 +02:00
Ahmet Inan
e73d00a09b added 16000hz test, changed downsampling to at least 2 * pixel freq 2011-09-26 15:26:48 +02:00
Ahmet Inan
bf05c488aa now able to enable / disable interpolation / decimation 2011-09-26 13:24:23 +02:00
Ahmet Inan
39b7fa3b8e need wavs for fun 2011-09-26 12:58:38 +02:00
Ahmet Inan
08fe970feb forgot to add these to previous patch 2011-09-26 12:54:37 +02:00
Ahmet Inan
58773a6dd5 added debug code 2011-09-26 11:52:58 +02:00
Ahmet Inan
36df64979f rearanged downsampling to reduce code size 2011-09-22 16:22:46 +02:00
Ahmet Inan
c9e5dd604b moved massive code block into smaller methods 2011-09-14 16:16:23 +02:00
Ahmet İnan
0ae2f47dc1 cleaned up 2011-09-10 19:17:12 +02:00
Ahmet Inan
efe2099405 some files are just stupid 2011-09-09 11:50:58 +02:00
Ahmet Inan
3ad05589aa now alsa playback is also limited by seconds 2011-09-09 11:32:36 +02:00
Ahmet Inan
3f194c5f09 cleaned up interface 2011-09-09 11:18:29 +02:00
Ahmet Inan
2ceabe4081 changed frames to seconds 2011-09-09 11:03:34 +02:00
Ahmet İnan
1da9331bb1 removed xrun message 2011-09-08 23:24:18 +02:00
Ahmet İnan
bd35f9f580 let buffers drain before close 2011-09-08 23:00:59 +02:00
Ahmet İnan
eeac53ac6a now encode uses the new pcm api 2011-09-08 22:41:49 +02:00
Ahmet İnan
bca74fb55f cleaned up, specify frames on open_pcm_write 2011-09-08 22:05:38 +02:00
Ahmet Inan
9ff748c42e yea great 2011-09-08 18:31:46 +02:00
Ahmet Inan
79c6add9fa interesting 2011-09-08 18:29:46 +02:00
Ahmet Inan
de4eaeac84 dont need this 2011-09-08 18:26:54 +02:00
Ahmet Inan
514ddea9f7 added support for write to alsa devices and wav files 2011-09-08 18:14:44 +02:00
Ahmet Inan
5458a53aec readme 2011-09-08 16:34:46 +02:00
Ahmet Inan
58d1cb6681 changed license to CC0 2011-09-08 16:16:27 +02:00
Ahmet Inan
c462e0764a moved helper functions into utils.h, cleaned up 2011-09-08 14:55:58 +02:00
Ahmet Inan
bee90c3feb renamed limit to clamp 2011-09-08 14:43:23 +02:00
Ahmet Inan
5fe8cca16f cleaned up 2011-09-08 14:36:03 +02:00
Ahmet Inan
b97d1bda33 moved yuv into seperate files 2011-09-08 14:31:11 +02:00
Ahmet Inan
60233b8fa7 cleaned up 2011-09-08 14:18:50 +02:00