summaryrefslogtreecommitdiffstats
path: root/src/mot-encoder.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix out-of-bounds read at higher PAD lengthStefan Pöschel2015-04-141-1/+3
| | | | | | | If the MOT payload was smaller than the available space within the PAD of the first data group (e.g. MOT header), nonetheless the whole available space was filled up. Thereby an out-of-bounds read occured, outputting garbage to the unused remaining PAD space.
* Fix corrupt Slideshow at 23 byte PADStefan Pöschel2015-04-141-1/+1
| | | | | Due to a bug, at 23 byte PAD size, 13 instead of 12 bytes of data were output in the first data group. This lead to invalid CRC at the receiver.
* Fix continuity index at MOT data groupStefan Pöschel2015-04-131-6/+13
|
* Short X-PAD support (only DLS)Stefan Pöschel2015-04-121-9/+18
| | | | | | | Adds support for short X-PAD (having constant size of 4 bytes) to the MOT encoder. ATM this covers only DLS. Maybe in the future the support is extended to the Slideshow - although such low bandwith is inconvenient for the transmission of slides with usual size.
* Fix MOT encoder debug regressionStefan Pöschel2015-04-121-2/+2
|
* DLS refactoringStefan Pöschel2015-04-121-229/+102
| | | | | This should fix DLS at lower PAD sizes, where the DLS data group of a DL segment is distributed over more than one PAD.
* mot-encoder: don't keep DLS input file openMatthias P. Braendli2015-04-121-6/+4
|
* (Re)Create DLS data groups only if neededStefan Pöschel2015-04-101-3/+10
|
* Fix 128 char DLS null byte out-of-bounds writeStefan Pöschel2015-04-101-1/+1
|
* Fix trailing \n removalStefan Pöschel2015-04-101-1/+1
|
* Undo indent changesStefan Pöschel2015-04-101-2/+2
|
* Fix printf warningsStefan Pöschel2015-04-101-2/+2
|
* mot-encoder: Add option to signal charsetMatthias P. Braendli2014-12-061-18/+70
|
* mot-encoder: add support for PNG slidesMatthias P. Braendli2014-11-271-9/+64
|
* mot-encoder: refactor databaseMatthias P. Braendli2014-11-271-13/+11
|
* Bugfix on debugging information.Luigi Yucheng LIU2014-08-281-1/+1
| | | | Fixes bug that do call database.disp () without being in debug mode.
* Corrections, improvements and style updatesMatthias P. Braendli2014-08-271-213/+224
| | | | | | | | | | | | Change the way the database is done (use a deque, save fidx in the fingerprint, remove cursors, distinguish between history size and max fidx value) Rename -f to -R and update explanation Order slide tranmission by fidx Correct types in fingerprint_t Move some fingerprint logic into fingerprint_t Add additional sleep if DLS disabled and no slide available Fix intentation and code style
* Disable DEBUG by defaultMatthias P. Braendli2014-08-271-1/+1
|
* Update fidx managementLuigi Yucheng LIU2014-08-271-80/+129
|
* Add file broadcasting modeLuigi Yucheng LIU2014-08-271-56/+96
|
* Add certain commentsLuigi Yucheng LIU2014-08-271-3/+3
|
* New fidx management based on slide footprintLuigi Yucheng LIU2014-08-271-28/+98
| | | | footprint = file name + file size + last modification time
* Syntax error correctionLuigi Yucheng LIU2014-08-271-10/+11
|
* Update mot-encoder.cppLuigi Yucheng LIU2014-08-271-4/+9
|
* Update mot-encoder.cppLuigi Yucheng LIU2014-08-271-2/+4
|
* Improved management of Slideshow TIDLuigi Yucheng LIU2014-08-271-3/+17
| | | | | A slide receives a new TID only when it is completely new, re-transmitted images retain their TID. Une diapositive recoit un nouveau TID seulement quand elle est complètement nouvelle, les images re-transmises conservent leur TID.
* Update mot-encoder.cppluigi-liu2014-08-231-2/+3
| | | | | 1. apply the default sleepdelay between each slide 2. confine maximum DLS length to the specification. 3. avoid increasing constantly Transport ID
* Correct signedness of mot headerMatthias P. Braendli2014-07-251-2/+2
|
* mot-encoder: fix transmission of DLS when slides are enabledMatthias P. Braendli2014-07-251-1/+9
|
* mot-encoder: send DLS between slides to update more oftenMatthias P. Braendli2014-07-211-4/+7
|
* mot-encoder: avoid useless recompression of JPEGsMatthias P. Braendli2014-07-211-56/+135
| | | | | If the input file is JPEG, the right resolution, and not too big, use it directly
* Add size limit for slides, automatic quality settingMatthias P. Braendli2014-07-201-9/+26
|
* Prepare v0.5.0v0.5.0Matthias P. Braendli2014-07-081-13/+31
|
* Include config.hMatthias P. Braendli2014-07-071-0/+1
|
* mot-encoder: only close directory if slideshow is activeMatthias P. Braendli2014-07-061-2/+4
|
* mot-encoder remove unused variablesMatthias P. Braendli2014-07-031-3/+1
|
* mot-encoder Remove trailing line breaks from DLSMatthias P. Braendli2014-07-031-0/+11
|
* mot-encoder improve console outputMatthias P. Braendli2014-07-031-13/+13
|
* mot-encoder sorts slides in alphabetical orderMatthias P. Braendli2014-07-031-2/+13
|
* mot-encoder can encode slideshow- or DLS-onlyMatthias P. Braendli2014-07-031-57/+71
|
* mot-encoder: add --sleep optionMatthias P. Braendli2014-06-201-6/+10
|
* mot-encoder: always encode DLS, add --erase optionMatthias P. Braendli2014-06-201-27/+87
|
* Add check for readdir for DT_UNKNOWNMatthias P. Braendli2014-06-201-2/+2
|
* Make mot-encoder C++, removes memory leaksMatthias P. Braendli2014-06-161-0/+816