1. 11 Jul, 2018 1 commit
  2. 11 Oct, 2017 1 commit
  3. 22 Sep, 2017 1 commit
    • Mathieu Duponchelle's avatar
      [API]: gst_audio_channel_mixer_new_with_matrix · 877d6fae
      Mathieu Duponchelle authored
      + Refactor previous constructor to call on that new constructor
      
      + Reimplement is_passthrough to strictly check whether the matrix
        is an identity matrix, comparing channel-masks was incorrect:
        the mixer may be remixing from a list of positions to the same
        list of positions, but ordered differently, and reciprocally,
        the mixer may be remixing from a list of positions to another
        list of positions identically ordered
      
      + Remove unused tmp field, must have been a refactoring leftover
      
      https://bugzilla.gnome.org/show_bug.cgi?id=785471
      877d6fae
  4. 12 Jan, 2016 2 commits
  5. 08 Jan, 2016 1 commit
  6. 26 Dec, 2015 1 commit
  7. 14 Dec, 2015 1 commit
  8. 06 Nov, 2015 6 commits
  9. 30 Oct, 2015 1 commit
  10. 28 Oct, 2015 1 commit
  11. 23 Oct, 2015 1 commit
    • Wim Taymans's avatar
      audioconvert: use pack/unpack functions · 2b626a5a
      Wim Taymans authored
      Rework the converter to use the pack/unpack functions
      Because the unpack functions can only unpack to 1 format, add a separate
      conversion step for doubles when the unpack function produces int.
      Do conversion to S32 in the quantize function directly.
      Tweak the conversion factor for doing float->int conversion slightly to
      get the full range of negative samples, use clamp to make sure we don't
      exceed our int range on the positive axis (see also #755301)
      2b626a5a
  12. 15 Apr, 2015 1 commit
  13. 01 Apr, 2015 1 commit
  14. 18 Feb, 2014 1 commit
  15. 03 Nov, 2012 1 commit
  16. 29 Sep, 2012 1 commit
  17. 05 Jan, 2012 1 commit
  18. 02 Jan, 2012 1 commit
  19. 24 Aug, 2011 1 commit
  20. 20 Aug, 2011 1 commit
  21. 18 Aug, 2011 1 commit
    • Wim Taymans's avatar
      audio: rework audio caps. · dae84881
      Wim Taymans authored
      Rework the audio caps similar to the video caps. Remove
      width/depth/endianness/signed fields and replace with a simple string
      format and media type audio/x-raw.
      Create a GstAudioInfo and some helper methods to parse caps.
      Remove duplicate code from the ringbuffer and replace with audio info.
      Use AudioInfo in the base audio filter class.
      Port elements to new API.
      dae84881
  22. 09 Oct, 2009 3 commits
  23. 08 Jul, 2009 1 commit
  24. 29 May, 2008 2 commits
    • Sebastian Dröge's avatar
      gst/audioconvert/gstchannelmix.c: If mixing left or right to center (or the... · b86a5d43
      Sebastian Dröge authored
      gst/audioconvert/gstchannelmix.c: If mixing left or right to center (or the other way around) only take the complete ...
      
      Original commit message from CVS:
      * gst/audioconvert/gstchannelmix.c:
      (gst_channel_mix_fill_one_other):
      If mixing left or right to center (or the other way around) only take
      the complete value if we don't already have the original position in
      the source.
      b86a5d43
    • Sebastian Dröge's avatar
      gst-libs/gst/audio/multichannel.c: Allow rear center together with rear... · 45ef6b5e
      Sebastian Dröge authored
      gst-libs/gst/audio/multichannel.c: Allow rear center together with rear left/right and other previously conflicting c...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/multichannel.c:
      (gst_audio_check_channel_positions),
      (gst_audio_set_structure_channel_positions_list),
      (gst_audio_fixate_channel_positions):
      Allow rear center together with rear left/right and other previously
      conflicting channel positions. The reason why they weren't allowed
      was the channel mixing implementation in audioconvert.
      Also take this into account when fixing channel layouts.
      Allow setting channel positions for 1/2 channels when using
      gst_audio_set_structure_channel_position().
      * gst/audioconvert/gstchannelmix.c:
      (gst_channel_mix_fill_compatible), (gst_channel_mix_detect_pos),
      (gst_channel_mix_fill_one_other), (gst_channel_mix_fill_others),
      (gst_channel_mix_fill_special), (gst_channel_mix_fill_matrix):
      Major rewrite of the channel mixing.
      We now allow previously	conflicting channel positions to appear
      together (rear center and rear left/right for example).
      Fixes bug #533817.
      Rework the way channels are mixed together to take more possible
      channel positions into account, properly mix from/to side channels
      and don't assume that either center, left&right or nothing of a
      specific position is available anymore.
      * tests/check/elements/audioconvert.c: (GST_START_TEST):
      Adjust unit tests with non-standard 1/2 channel layouts to the more
      correct new behaviour.
      Add a unit test for 5.1->Stereo downmixing.
      45ef6b5e
  25. 21 May, 2008 3 commits
  26. 06 May, 2008 1 commit
    • Tim-Philipp Müller's avatar
      gst/audioconvert/: Add support for more than 8 channels and NONE channel... · fd54092a
      Tim-Philipp Müller authored
      gst/audioconvert/: Add support for more than 8 channels and NONE channel layouts. For more than 8 channels no channel...
      
      Original commit message from CVS:
      Based on a patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
      * gst/audioconvert/audioconvert.c: (audio_convert_prepare_context):
      * gst/audioconvert/audioconvert.h:
      * gst/audioconvert/gstaudioconvert.c:
      (gst_audio_convert_parse_caps),
      (structure_has_fixed_channel_positions),
      (gst_audio_convert_transform_caps):
      * gst/audioconvert/gstchannelmix.c: (gst_channel_mix_fill_matrix):
      Add support for more than 8 channels and NONE channel layouts. For
      more than 8 channels no channel conversion is supported yet, only
      format conversions are supported. Fixes bug #398033.
      * tests/check/elements/audioconvert.c: (verify_convert),
      (GST_START_TEST), (audioconvert_suite):
      Add some unit tests by Tim for checking the NONE channel layouts
      and more than 8 channels and add some more unit tests for channel
      conversions.
      fd54092a
  27. 22 Feb, 2007 1 commit
    • Stefan Kost's avatar
      Add float as an intermediate format, as well as float mixing. Enable test that... · 00d7c52d
      Stefan Kost authored
      Add float as an intermediate format, as well as float mixing. Enable test that was failing before. Fixes #339837
      
      Original commit message from CVS:
      * gst/audioconvert/audioconvert.c: (float), (double), (float_hq),
      (double_hq), (audio_convert_get_func_index),
      (audio_convert_prepare_context), (audio_convert_convert):
      * gst/audioconvert/audioconvert.h:
      * gst/audioconvert/gstchannelmix.c: (gst_channel_mix_setup_matrix),
      (gst_channel_mix_mix_int), (gst_channel_mix_mix_float):
      * gst/audioconvert/gstchannelmix.h:
      * tests/check/elements/audioconvert.c: (GST_START_TEST):
      Add float as an intermediate format, as well as float mixing. Enable
      test that was failing before. Fixes #339837
      00d7c52d
  28. 18 Jan, 2007 1 commit
  29. 14 May, 2006 1 commit
    • Michael Smith's avatar
      gst/audioconvert/gstchannelmix.c: Fix #341696: crash when mixing L+R+C to mono or stereo. · 400ade1e
      Michael Smith authored
      Original commit message from CVS:
      * gst/audioconvert/gstchannelmix.c: (gst_channel_mix_fill_others):
      Fix #341696: crash when mixing L+R+C to mono or stereo.
      * tests/check/Makefile.am:
      * tests/check/elements/audioconvert.c: (set_channel_positions),
      (get_float_mc_caps), (get_int_mc_caps), (GST_START_TEST),
      (audioconvert_suite):
      Add test for the above, including some generic framework bits for
      testing multichannel things.
      400ade1e