[vlc-devel] Dynamic range compressor patch

Ron Wright logiconcepts819 at gmail.com
Fri Jun 25 22:55:56 CEST 2010


I have made many drastic changes in the compressor.c file and some minor
changes in the UI code.  Here are some of the changes:

1. Made the filter structure, RMS envelope structure, and attack lookup
table contiguous in memory so that only one memory allocation and one memory
deallocation is needed.
2. Reorganized the functions so that they don't appear out of place.
3. Removed two wasteful members (amplitude and gain reduction) from the
filter structure (this is probably used to implement output meters in
certain LADSPA frontends).
4. The release of the mutex lock in the DoWork function now occurs
immediately after retrieving the shared values.
5. Replaced the logic in the callback functions with clipping functions.
6. Removed useless casts.
7. Changed default values.

Attached are the updated compressor core and UI patches.


Ronald Wright
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100625/927e84ae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc-compressor-core.patch
Type: application/octet-stream
Size: 23624 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100625/927e84ae/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc-compressor-ui.patch
Type: application/octet-stream
Size: 7903 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100625/927e84ae/attachment-0001.obj>

More information about the vlc-devel mailing list