Commit Graph

39 Commits

Author SHA1 Message Date
Philip Heron 83cb0e139b Fix bad reed-solomon pad value when using non-256 byte packets 2023-04-14 14:56:00 +01:00
Philip Heron 69944cb29a Add option to override packet length from the standard 256 bytes 2023-03-04 13:10:13 +00:00
Sven Steudte 592a76c1c0 Added exception for corrupt marker data 2021-09-20 19:13:11 +02:00
Philip Heron 2b79a2f651 Remove test on JPEG Component ID as they appear to be arbitrary 2020-07-05 12:43:10 +01:00
Philip Heron 035f920f5c Add some packet sanity checks 2018-07-04 10:41:03 +01:00
Philip Heron 3310c6f0c3 Further image corruption fixes. 2018-06-27 20:06:01 +01:00
Philip Heron 94db83a707 Fix bug where decoder state was not correctly reset on packets with no MCU offset 2018-06-27 08:52:46 +01:00
Philip Heron 5c7dde620c Fix image corruption bug where the DC levels where not being reset correctly on decoding 2018-06-27 08:45:07 +01:00
Philip Heron 0851b24b7c Fix warning about repeated const 2018-06-27 08:39:31 +01:00
Philip Heron 82f383cd77 Add support for single channel greyscale JPEGs 2018-06-13 16:01:43 +01:00
Philip Heron 6ff1a1073a Additional changes for quality setting. 2016-06-30 10:11:20 +01:00
Philip Heron 6ac66a047f Use quality level range 0-7 for the encoder, rather than the -4-3 as used in the packet header. 2016-06-25 00:12:46 +01:00
Philip Heron b7128b16be Add a quality option to SSDV. Provides 8 quality levels, -4 to 3. 2016-06-16 23:29:30 +01:00
Philip Heron e6a3cfbe42 Bypass the FEC if the packet has a valid CRC 2016-04-04 00:28:25 +01:00
Philip Heron fc3f3f2dff Fix copyright headers. 2016-04-03 23:27:54 +01:00
Philip Heron 421a9be721 The decoder now auto detects packets without FEC.
Add a verbose option to print data about each packet.
2015-10-20 09:59:48 +01:00
Philip Heron 0c847e515d Add an EOI (End of Image / Last Packet) flag to the encoder.
Trim callsign correctly if longer than 6 characters.
Add a verbose mode for the decoder.
2015-10-20 00:15:15 +01:00
Philip Heron 278004fb0c Make the non-FEC packets 256 bytes long, same length as normal packets.
Non-FEC packets now have a packet type of 0x67.
2014-08-28 20:13:46 +01:00
Philip Heron 22d912f7de Add an option to encode/decode without FEC 2014-08-27 23:49:25 +01:00
Philip Heron b9e100a3e2 Silence compiler warning 2012-09-16 13:53:48 +01:00
Philip Heron 662629e501 Increase CRC size to 32-bits. This breaks backwards compatibility. 2012-09-16 12:32:53 +01:00
Philip Heron d3bc9dca2d Use integer-only rounding division, and add compiler optimisation. 2012-03-05 20:22:42 +00:00
Philip Heron fe8a1a642c Byte-align the first MCU of each packet 2012-03-04 09:43:52 +00:00
Philip Heron 723c6bc426 Rework memory management in ssdv.c 2012-03-03 22:43:23 +00:00
Philip Heron b1b314cdfc Check for too many MCU blocks in source image 2012-02-27 21:37:10 +00:00
Philip Heron 87c302a878 Round to nearest integer when quantising coefficients. Fixes poor image quality. 2012-02-26 23:51:15 +00:00
Philip Heron 4be6245766 Return empty string, not NULL 2012-02-25 20:15:25 +00:00
Philip Heron 3b87eca6bf Add a callsign field to the header - breaks backwards compatibility 2012-02-25 20:06:15 +00:00
Philip Heron 2df18c50a1 Add support for multiple subsampling formats. Not backwards compatible! 2012-02-25 00:25:25 +00:00
Philip Heron 59bffac801 Add support for JPEGs with reset markers 2012-02-21 22:07:14 +00:00
Philip Heron a59b41add0 Cosmetic fix 2012-02-18 08:34:49 +00:00
Philip Heron fe7ff49074 Only reset the MCU DC values for the first MCU on each packet 2012-01-29 18:56:17 +00:00
Philip Heron ca837206d5 Add more rules to make sure image is valid 2011-06-24 23:24:12 +01:00
Philip Heron 2c90f35f92 First attempt at handling non-standard DQT tables in source image 2011-06-24 22:01:08 +01:00
Philip Heron abd4181863 Don't crash on a marker error, it's rude 2011-06-24 21:01:29 +01:00
Philip Heron ad3f14c3c0 Be strict with the component sampling factors 2011-06-24 21:00:05 +01:00
Philip Heron be051b1ae2 Fix issue where exact huffman code matches were missed 2011-06-24 20:56:32 +01:00
Philip Heron 0ca7961545 Update readme and licensing 2011-05-31 09:00:51 +01:00
Philip Heron 50eeaf77e5 Initial check-in 2011-05-30 23:37:33 +01:00