mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
utils: Add round down 128 macro for completeness
This commit is contained in:
parent
59bb1f58bb
commit
62932b17d7
1 changed files with 8 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue