Christian Schneider
1bf4d71edc
Cache for MP3 parsing
...
- Avoid parsing of MP3 streams that have been parsed before
- For example, improves speed for testfile from issue #37 (before: 90 s,
after: < 1 s)
2016-05-06 12:12:36 +02:00
Christian Schneider
e9f370479f
Slowdown fix for "big value pairs out of bounds"
...
- If there was a "big value pairs" error, ignore following streams with
the same position/length sum
- Fixes issue #37
2016-05-06 11:31:47 +02:00
Christian Schneider
e05f0e9e6e
Validate MP3 frames
...
- Some of the validation code from packMP3 is done in Precomp to speed
up the process and reduce false positives
- Fixes issues #35 and #19
2016-04-29 16:23:40 +02:00
Christian Schneider
cce57ccdc9
Fix Base64 recursion bug
...
- Allocate memory for Base64 line lengths dynamically instead of using a
global variable that got overwritten in recursion
- Fixes issue #36
2016-04-29 09:23:54 +02:00
Christian Schneider
5edc074b4d
JPG recompression ("-r") in memory for files up to 64 MB
...
- Related: Issue #14
2016-04-21 14:56:38 +02:00
Christian Schneider
a00e0ff5bd
Compress JPG files up to 64 MB in memory
...
- Related: Issue #14
2016-04-21 08:21:04 +02:00
Christian Schneider
fefc6a41ea
MP3 recompression ("-r") in memory for files up to 64 MB
...
- Helper functions renamed to fast_copy overrides
- Helper functions added to precomp.h
- Related: Issue #14
2016-04-19 06:22:48 +02:00
Christian Schneider
a75eb06711
Recompress MP3 files up to 64 MB in memory
...
- Added helper functions to copy data, file<->memory
- Related: Issue #14
2016-04-18 14:13:10 +02:00
Christian Schneider
c8dc5a0980
Parsing of unsupported MP3 streams improved
...
- For supported MP3 streams, all frame header information must be the
same for the whole stream.
- For unsupported MP3 streams, this has been removed and only the stream
type has to be the same. This will lead to some more false positives,
but give longer streams, so the log is not bloated with thousands small
false positives
2016-04-11 13:26:35 +02:00
Christian Schneider
5cf1063855
Information about unsupported MP3 formats in verbose mode
...
Solves issue #28
2016-04-02 12:25:40 +02:00
Christian Schneider
6e7f489439
Ignore compressed SWF version byte
...
Solves issue #31
2016-03-21 14:06:57 +01:00
Christian Schneider
93c1988ef3
No more tabs
...
Converted tabs to spaces to get a consistent code layout independent of
tab length
2016-03-19 09:13:54 +01:00
Christian Schneider
e818a6b0c8
Fix for MP3 slowdown
...
- Fixes issue #29
- Fixes wrong MP3/zlib lengths being written introduced by commit
491ebec
2016-03-17 10:35:48 +01:00
Christian Schneider
70e29b2f77
Header files
...
- Moved contrib declarations from precomp.cpp in header files in contrib
directories
- Moved Precomp declarations to precomp.h
- Renamed old precomp.h to precomp_dll.h
2016-03-05 16:15:19 +01:00
Christian Schneider
491ebece69
Helper functions for writing 16/24/32/64-bit values to fout
2016-02-14 11:46:09 +01:00
Christian Schneider
234b4d0a51
Merge remote-tracking branch 'refs/remotes/origin/master' into refactoring
2016-02-14 10:31:34 +01:00
Michael Reim
389a5c22b3
Define UNIX instead of LINUX in precomp to make the name more general
2016-02-13 10:48:56 +01:00
Christian Schneider
f5f2bbd8d4
Helper function for try_decompression functions
...
init_decompression_variables()
2016-01-26 12:54:24 +01:00
Christian Schneider
a21bf5dfdc
Comments
...
- Consistent comment case (lower case at the beginning)
- Some comments removed
- Some old commented code removed
2016-01-26 12:35:25 +01:00
Christian Schneider
ce52abaddf
Case of packJPG/packMP3
...
Always lower case
2016-01-25 15:15:50 +01:00
Christian Schneider
d48f1a86ef
Removed DEBUG_FILE flag
...
Possibility of a debug output in a file was used in early versions of
Precomp, not needed anymore.
2016-01-25 15:03:31 +01:00
Christian Schneider
ff680417db
Only allow MPEG-1, Layer III as first frame
...
This prevents passing the frames to packMP3 for each frame which slows
down the process for non-MPEG-1, Layer III MP3s
2016-01-22 07:43:26 +01:00
Christian Schneider
0bc525232a
Support for MP3 format
...
- adds MP3 support using PackMP3
- closes issue #18
2016-01-21 15:39:31 +01:00
Christian Schneider
2026f1f49f
MP3 parameter and internal preparation
...
- Decompression/recompression count
- Use flag
- Show in help
2016-01-17 16:49:34 +01:00
Christian Schneider
6f5dbd2694
PackMP3 version info
...
- Display PackMP3 version info together with PackJPG version info
- Changed URL to Matthias Stirner's homepage
2016-01-17 16:35:04 +01:00
Christian Schneider
a583b6f55a
Copyright message for development version
2016-01-15 07:43:17 +01:00
Christian Schneider
db7cd7f655
Version 0.4.4 release
...
Official Precomp v0.4.4 release
2016-01-14 15:02:38 +01:00
Christian Schneider
cd1aafef87
Updated PackJPG from version 2.5a to 2.5j
...
- See issue #13
- Adjusted readme files
- Removed unnecessary packJPGdll.h file
2016-01-14 14:42:08 +01:00
Christian Schneider
a9ddb2e978
Adjusted copyright message
2016-01-14 14:20:55 +01:00
Christian Schneider
0eab02a3fa
Show new size when using -n
...
Fix for debug mode
2016-01-14 12:07:44 +01:00
Christian Schneider
90654c9bdb
Show new size when using -n
...
Fixes issue #11
2016-01-14 11:57:58 +01:00
Christian Schneider
04c76d0b9d
Visual Studio 2012 solution
...
Added solution to build Precomp using Visual Studio 2012, see issue #12
2016-01-13 15:55:09 +01:00
Christian Schneider
0c3d924ada
Moving more files to contrib
...
- Moved files for GifLib, bZip2 and zLib to contrib
- Removed unused .c/.h files.
2016-01-07 12:22:18 +01:00
Christian Schneider
2c70814152
Initial commit of Precomp 0.4.4 source code
...
Including readme.txt, make scripts for Windows and Linux.
Readme.txt changed to reflect new license (Apache 2.0)
2016-01-06 12:10:58 +01:00