mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
293a9c09b8
Original commit message from CVS: * gst/audioconvert/audioconvert.c: Add docs to the integer pack functions and implement proper rounding. Before we had rounding towards negative infinity, i.e. always the smaller number was taken. Now we use natural rounding, i.e. rounding to the nearest integer and to the one with the largest absolute value for X.5. The old rounding introduced some minor distortions. Fixes #420079 * tests/check/elements/audioconvert.c: (GST_START_TEST): Fix one unit test that assumed the old rounding and added unit tests for checking signed/unsigned int16 <-> signed/unsigned int16 with depth 8, one for signed int16 <-> unsigned int16 and one for the new rounding from signed int32 to signed/unsigned int16. |
||
---|---|---|
.. | ||
adder | ||
app | ||
audioconvert | ||
audiorate | ||
audioresample | ||
audiotestsrc | ||
ffmpegcolorspace | ||
gdp | ||
playback | ||
subparse | ||
tcp | ||
typefind | ||
videorate | ||
videoscale | ||
videotestsrc | ||
volume | ||
Makefile.am |