1. 05 Apr, 2017 1 commit
  2. 27 Jan, 2017 1 commit
  3. 25 May, 2015 1 commit
    • Jan Schmidt's avatar
      gstvalue: Add GstFlagSet type · f9e5178d
      Jan Schmidt authored
      GstFlagSet is a new type designed for negotiating sets
      of boolean capabilities flags, consisting of a 32-bit
      flags bitfield and 32-bit mask field. The mask field
      indicates which of the flags bits an element needs to have
      as specific values, and which it doesn't care about.
      
      This allows efficient negotiation of arrays of boolean
      capabilities.
      
      The standard serialisation format is FLAGS:MASK, with
      flags and mask fields expressed in hexadecimal, however
      GstFlagSet has a gst_register_flagset() function, which
      associates a new GstFlagSet derived type with an existing
      GFlags gtype. When serializing a GstFlagSet with an
      associated set of GFlags, it also serializes a human-readable
      form of the flags for easier debugging.
      
      It is possible to parse a GFlags style serialisation of a
      flagset, without the hex portion on the front. ie,
      +flag1/flag2/flag3+flag4, to indicate that
      flag1 & flag4 must be set, and flag2/flag3 must be unset,
      and any other flags are don't-care.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=746373
      f9e5178d
  4. 26 Feb, 2015 1 commit
  5. 21 Jun, 2014 1 commit
  6. 19 Jun, 2014 1 commit
  7. 03 Jun, 2014 1 commit
  8. 07 Dec, 2013 1 commit
  9. 05 Jun, 2013 1 commit
    • Edward Hervey's avatar
      gstvalue: Add _append_and_take_value() public variants · 2e1db58e
      Edward Hervey authored
      API: gst_value_array_append_and_take_value
      API: gst_value_list_append_and_take_value
      
      We were already using this internally, this makes it public for code
      which frequently appends values which are expensive to copy (like
      structures, arrays, caps, ...).
      
      Avoids copies of the values for users. The passed GValue will also
      be 0-memset'ed for re-use.
      
      New users can replace this kind of code:
      gst_value_*_append_value(mycontainer, &myvalue);
      g_value_unset(&myvalue);
      
      by:
      
      gst_value_*_append_and_take_value(mycontainer, &myvalue);
      
      https://bugzilla.gnome.org/show_bug.cgi?id=701632
      2e1db58e
  10. 31 Mar, 2013 1 commit
  11. 20 Nov, 2012 1 commit
  12. 12 Nov, 2012 1 commit
  13. 03 Nov, 2012 1 commit
  14. 10 Jul, 2012 1 commit
  15. 08 Mar, 2012 1 commit
    • Tim-Philipp Müller's avatar
      value: remove gst_value_register_{subtract,union,intersect}_func() API · 3e8d6d60
      Tim-Philipp Müller authored
      There isn't really any need to provide public API for that. It's not
      used anywhere in practice, and we aim to provide an API that works
      for GstCaps, not some kind of generic set manipulation API based on
      GValue. Making this private also makes it easier to optimise this
      later. We can always put it back if someone actually needs it.
      3e8d6d60
  16. 24 Jan, 2012 1 commit
  17. 12 Jan, 2012 1 commit
  18. 05 Jan, 2012 1 commit
  19. 03 Jan, 2012 1 commit
  20. 26 Nov, 2011 1 commit
  21. 11 Nov, 2011 1 commit
    • Wim Taymans's avatar
      .h: fix header files · 4a7c3b92
      Wim Taymans authored
      Ensure correct indentation and :retab.
      Make sure all structures have padding
      Fix up some old ABI additions.
      4a7c3b92
  22. 22 Aug, 2011 1 commit
  23. 14 Jun, 2011 1 commit
  24. 09 Jun, 2011 1 commit
  25. 02 Jun, 2011 1 commit
  26. 02 Jan, 2011 1 commit
  27. 07 Dec, 2010 1 commit
  28. 16 Oct, 2010 1 commit
  29. 01 Sep, 2010 1 commit
    • Philippe Normand's avatar
      gstvalue: Add new GstInt64Range type · b2e6379b
      Philippe Normand authored
      new GstInt64Range to store gint64 ranges.
      
      API: GST_TYPE_INT64_RANGE
      API: gst_value_set_int64_range
      API: gst_value_get_int64_range_min
      API: gst_value_get_int64_range_max
      
      Fixes bug #627826.
      b2e6379b
  30. 26 Jul, 2010 1 commit
  31. 25 Nov, 2009 1 commit
  32. 05 Nov, 2009 1 commit
  33. 15 May, 2009 1 commit
  34. 12 Dec, 2007 1 commit
  35. 02 Nov, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/: Move declaration of private _gst_foo_initialize() functions into our... · 4e121ae1
      Tim-Philipp Müller authored
      gst/: Move declaration of private _gst_foo_initialize() functions into our private header file where they should have...
      
      Original commit message from CVS:
      * gst/gst_private.h:
      * gst/gstbuffer.h:
      * gst/gstevent.h:
      * gst/gstformat.h:
      * gst/gstmessage.h:
      * gst/gstplugin.h:
      * gst/gstquery.h:
      * gst/gsttaglist.h:
      * gst/gstvalue.h:
      Move declaration of private _gst_foo_initialize() functions into
      our private header file where they should have been all along.
      4e121ae1
  36. 22 Oct, 2007 1 commit
    • Edgard Gusmão Lima's avatar
      Added GstStructure to gst_value_table and its related functions. · 0e3a0fdf
      Edgard Gusmão Lima authored
      Original commit message from CVS:
      
      * gst/gstcaps.c: (gst_caps_to_string),
      (gst_caps_from_string_inplace):
      * gst/gststructure.c: (gst_structure_get_abbrs),
      (gst_structure_to_string), (gst_structure_from_string):
      * gst/gstvalue.c: (gst_value_set_structure),
      (gst_value_get_structure), (gst_value_serialize_structure),
      (gst_value_deserialize_structure), (_gst_value_initialize):
      * gst/gstvalue.h:
      * tests/check/gst/gststructure.c: (GST_START_TEST),
      (gst_structure_suite):
      * tests/check/gst/gstvalue.c: (GST_START_TEST):
      Added GstStructure to gst_value_table and its related functions.
      Changed gst_structure_to_string to print ';' in the end.
      Changed gst_caps_to_string to not print ';' beteween its
      fields (structures) anymore and remove the lastes ';' from latest
      structure. Now it is possible to have nested structures.
      In addition, backward compatibilty is assured by accepting '\0' as
      end delimiter. Fixes: #487969.
      API: add gst_value_set_structure()
      API: add gst_value_get_structure()
      0e3a0fdf
  37. 20 Aug, 2006 2 commits
    • Stefan Kost's avatar
      gst/gstvalue.*: Use these optimizations only internaly. · 6ab83451
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstvalue.c:
      * gst/gstvalue.h:
      Use these optimizations only internaly.
      6ab83451
    • Stefan Kost's avatar
      gst/gstvalue.*: Saves the expensive lookup of the compare function in many cases (#345444) · fe851cf2
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstvalue.c: (gst_value_compare_list),
      (gst_value_compare_fraction_range),
      (gst_value_intersect_fraction_fraction_range),
      (gst_value_intersect_fraction_range_fraction_range),
      (gst_value_subtract_fraction_fraction_range),
      (gst_value_subtract_fraction_range_fraction_range),
      (gst_value_get_compare_func), (gst_value_compare),
      (gst_value_compare_with_func):
      * gst/gstvalue.h:
      Saves the expensive lookup of the compare function in many cases
      (#345444)
      fe851cf2
  38. 14 Aug, 2006 1 commit
  39. 27 Nov, 2005 1 commit