summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-06audio-quantize: update docsWim Taymans2-2/+24
Update docs Add another flag for the quantizer
2015-11-06audioconvert: cleanups and add some docsWim Taymans5-58/+65
Add docs for the internal audioconvert object before moving it to the audio library. Remove get_sizes and implement the trivial logic in the element. Remove some unused orc functions
2015-11-06defs: update defsWim Taymans1-0/+6
2015-11-06audio: update orc filesWim Taymans2-0/+413
2015-11-06audioconvert: move audio quantize code to libsWim Taymans11-259/+354
Move the audio quantize code from audioconvert to the audio library. work on making an audio converter helper function similar to the video converter. Fold fastrandom directly into the quantizer, add some ORC code to optimize this later.
2015-11-05audio-channels: rename get_default_maskWim Taymans5-8/+11
Rename _get_default_mask() to _get_fallback_mask() to make it more clear that the function only provides a fallback if nothing else can be done. Also clarify this in the documentation. API: gst_audio_channel_get_fallback_mask()
2015-11-05volume: Do not try to get binding value array if we are not processing any ↵Thibault Saunier1-2/+2
sample In some conditions we might process empty buffers, calling gst_control_binding_get_value_array in that case will lead to the assertion: (lt-ges-launch-1.0:18859): GStreamer-CRITICAL **: gst_control_binding_get_value_array: assertion 'values' failed
2015-11-05audio-channels: make method to get default channel-maskWim Taymans5-141/+59
Add a new method to get the default channel-mask. Use the new method on audiodecoder and audioconvert. API: gst_audio_channel_get_default_mask()
2015-11-04tests: Add a test for video blending over transparent framesAndreas Frisch1-7/+60
And fix the test_overlay_blend test where we blend over a transparent frame and where expecting wrong results https://bugzilla.gnome.org/show_bug.cgi?id=681447
2015-11-04video: blend using OVER operationArnaud Vrac1-37/+65
Also support all premultiplied/non-premultiplied source/destination configurations https://bugzilla.gnome.org/show_bug.cgi?id=681447
2015-11-03oggdemux: Create full Opus caps with all fieldsSebastian Dröge1-1/+7
https://bugzilla.gnome.org/show_bug.cgi?id=757152
2015-11-03codec-utils: Add utilities for Opus caps and the OpusHead headerSebastian Dröge5-0/+544
https://bugzilla.gnome.org/show_bug.cgi?id=757152
2015-11-03oggmux: Use GstAudioClippingMeta for Opus for accurate end clippingSebastian Dröge1-14/+31
... instead of relying on the segment. For the clipping at the start we assume a proper value in the OpusHead, as generated by opusparse or opusenc. Transmuxing in general is not guaranteed to produce the correct values, or even have a OpusHead (e.g. when having RTP input). https://bugzilla.gnome.org/show_bug.cgi?id=757153
2015-11-03oggdemux: Add GstAudioClippingMeta for Opus for accurate start/end clippingSebastian Dröge4-0/+33
https://bugzilla.gnome.org/show_bug.cgi?id=757153
2015-11-03audio: Add GstAudioClippingMeta for specifying clipping on encoded audio buffersSebastian Dröge5-4/+168
https://bugzilla.gnome.org/show_bug.cgi?id=757153
2015-11-03oggdemux: Allow start clipping for OpusSebastian Dröge3-10/+3
The granulepos does not have the pre-skip subtracted while timestamps do, and the last granulepos will be shorter by the number of samples that should be dropped because of padding in the end. As such, extrapolating the granule of the beginning of the first frame will lead to a negative value, which is not a problem but intentional. https://bugzilla.gnome.org/show_bug.cgi?id=757153
2015-11-03audio: update disted orc backup filesTim-Philipp Müller2-290/+1102
2015-11-03audioclock: use GST_STIME_FORMAT for GstClockTimeDiffLuis de Bethencourt1-3/+3
GST_STIME_FORMAT is more appropriate for GstClockTimeDiff since it can handle negative values better. https://bugzilla.gnome.org/show_bug.cgi?id=757480
2015-11-03videodecoder: Print GstClockTimeDiff as a signed integer in debug logsLuis de Bethencourt1-2/+2
2015-11-03audio-format: add TRUNCATE_RANGE flagWim Taymans4-44/+107
Add a TRUNCATE_RANGE flag for unpack functions to fill the least significate bits with 0 (as did the old code). Also add functions that don't truncate. Use the TRUNC flag in audioconvert for backwards compatibility for now.
2015-11-03audiopack: improve pack functionsWim Taymans1-28/+8
Avoid shifts by using convh functions.
2015-11-03audioconvert: change multiplier for int<->float conversionWim Taymans2-8/+8
Use (1 << 31) as the multiplier for int<->float conversions. This makes sure that int->float conversions always end up with floats between [-1.0, 1.0]. For the conversion from float to int, this multiplier will give the complete int range after we perform clipping. Change the unit test to take this into consideration. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=755301
2015-11-02audiobasesink: use GST_STIME_ARGS for GstClockTimeDiffLuis de Bethencourt1-11/+12
No need to use G_GINT64_FORMAT for potentially negative values of GstClockTimeDiff. Since 1.6 these can be handled with GST_STIME_ARGS. Plus it creates more readable values in the logs. https://bugzilla.gnome.org/show_bug.cgi?id=757480
2015-11-02oggmux: Print GstClockTimeDiff as a signed integer in debug logsLuis de Bethencourt1-2/+2
2015-11-02oggdemux: Use GstClockTimeDiff and print signed integer in debug logsLuis de Bethencourt1-6/+6
Use GstClockTimeDiff and Clock macros to print signed integer time differences in the debug logs. https://bugzilla.gnome.org/show_bug.cgi?id=757480
2015-11-02examples: use GST_STIME_FORMAT for GstClockTimeDiffLuis de Bethencourt1-1/+1
GST_STIME_FORMAT is more appropriate for GstClockTimeDiff since it can handle negative values better. https://bugzilla.gnome.org/show_bug.cgi?id=757480
2015-11-02audio: Fix parameters to gst_buffer_get_audio_downmix_meta() in macroSebastian Dröge1-1/+1
2015-11-02audiotestsrc: increase freq limitWim Taymans1-5/+6
Raise the frequency limit and try to negotiate to a samplerate of 4*freq when larger then the default samplerate. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=754450
2015-11-02audiotestsrc: add support for unlimited number of channelsWim Taymans1-0/+8
Raise the channel limit and set the channel-mask for > 2 channels.
2015-11-02audiotestsrc: add support for all formatsWim Taymans2-14/+57
Use the pack functions to also support the other audio formats we have.
2015-11-02videodecoder: subtract time difference with GST_CLOCK_DIFFLuis de Bethencourt1-1/+2
To ensure the subtraction of two GstClockTime values (which are guint64) can be negative. Use GST_CLOCK_DIFF which returns a gint64. CID 1338049
2015-11-02encoding-profile: Do not force user to provide an encoding profile nameThibault Saunier1-3/+5
And use the profile called `default` if none provided.
2015-11-02encoding-target: Do not unconditionally break when searching for a targetThibault Saunier1-1/+3
Otherwise the loop is useless! Fixes CID 1338051
2015-11-02audioresample: Clip input buffers to the segment before handling themSebastian Dröge1-0/+23
https://bugzilla.gnome.org/show_bug.cgi?id=757068
2015-11-02audioconvert: Clip input buffers to the segment before handling themSebastian Dröge1-0/+23
https://bugzilla.gnome.org/show_bug.cgi?id=757068
2015-11-02audiofilter: Clip input buffers to the segment before handling themSebastian Dröge1-0/+24
https://bugzilla.gnome.org/show_bug.cgi?id=757068
2015-11-01audioconvert: update orc backup code to fix build without orcTim-Philipp Müller2-0/+278
2015-10-31multisocketsink: fix "client-removed" signal on 64-bit platforms and with ↵Csaba Toth1-1/+1
bindings The client-removed signal used G_INT_TYPE instead of G_SOCKET_TYPE in its definition leading to problems on platforms where the size of a pointer is larger than the size of an integer, It would also not work at all with dynamic language bindings. https://bugzilla.gnome.org/show_bug.cgi?id=757155
2015-10-30videotestsrc: fix handling of Bayer format 'gbrg'Joan Pau Beltran1-1/+1
Due to a typo, videotestsrc did not handle the Bayer format 'gbrg' properly and reported it as invalid, causing negotiation errors. https://bugzilla.gnome.org/show_bug.cgi?id=757264
2015-10-30audioconvert: rework audioconvertWim Taymans5-475/+432
Rewrite audioconvert to try to make it more clear what steps are executed during conversion. Add passthrough step that just does a memcpy when possible. Add ORC optimized dither and quantization functions. Implement noise-shaping on S32 samples only and allow for arbitrary noise shaping coefficients if we want this later.
2015-10-30channelmix: fix up API a littleWim Taymans2-8/+8
don't use gpointer * for something that should be gpointer.
2015-10-30audioquantize: make helper for add with saturationWim Taymans1-18/+11
2015-10-29videodecoder: Print another time difference as a signed integer instead of a ↵Sebastian Dröge1-2/+2
huge unsigned one
2015-10-29videodecoder: Print GstClockTimeDiff as a signed integer in debug logsSebastian Dröge1-2/+2
2015-10-28tools: gst-device-monitor: fix two memory leaksNirbheek Chauhan1-1/+2
The removed GList link needs to be freed too, and the G_OPTION_REMAINING arguments need to be freed.
2015-10-28encoding-target: Add a GST_ENCODING_TARGET_PATH envvar to find target filesThibault Saunier1-1/+21
2015-10-28encoding-target: Allow having encoding target without a category setThibault Saunier1-1/+6
There was already some code to handle that, but the support was not complete in those code paths.
2015-10-28encoding-target: Create directory before trying to save encoding targetsThibault Saunier1-2/+13
2015-10-28encoding-profile: Allow specifying the target category in the serialized ↵Thibault Saunier1-5/+6
encoding target
2015-10-28audioconvert: make the quantizer a reusable objectWim Taymans6-226/+239
Turn the quantizer into a reusable object.