[vlc-devel] Dynamic range compressor patch
Ron Wright
logiconcepts819 at gmail.com
Fri Jun 25 22:53:12 CEST 2010
Hello,
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. Added VLC copyright and $id$ tag to the banner.
2. 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.
3. Reorganized the functions so that they don't appear out of place.
4. Removed two wasteful members (amplitude and gain reduction) from the
filter structure (this is probably used to implement output meters in
certain LADSPA frontends).
5. The release of the mutex lock in the DoWork function now occurs
immediately after retrieving the shared values.
6. Replaced the logic in the callback functions with clipping functions.
7. Removed useless casts.
8. Changed default values.
Attached are the updated compressor core and UI patches.
Regards,
Ronald Wright
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100625/eb936dfe/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/eb936dfe/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/eb936dfe/attachment-0001.obj>
More information about the vlc-devel
mailing list