projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59bb1f5
)
utils: Add round down 128 macro for completeness
author
Wim Taymans
<wtaymans@redhat.com>
Fri, 20 Dec 2013 13:41:06 +0000
(14:41 +0100)
committer
Wim Taymans
<wtaymans@redhat.com>
Fri, 20 Dec 2013 13:43:57 +0000
(14:43 +0100)
gst/gstutils.h
patch
|
blob
|
history
diff --git
a/gst/gstutils.h
b/gst/gstutils.h
index
dfa6f69
..
0dbaa00
100644
(file)
--- a/
gst/gstutils.h
+++ b/
gst/gstutils.h
@@
-866,6
+866,14
@@
GST_WRITE_DOUBLE_BE(guint8 *data, gdouble num)
* Rounds an integer value down to the next multiple of 64.
*/
#define GST_ROUND_DOWN_64(num) ((num)&(~63))
+/**
+ * GST_ROUND_DOWN_128:
+ * @num: integer value to round down
+ *
+ * Rounds an integer value down to the next multiple of 128.
+ * Since: 1.4
+ */
+#define GST_ROUND_DOWN_128(num) ((num)&(~127))
void gst_object_default_error (GstObject * source,
const GError * error,