Stéphane Cerveau a6f82ba590 utils: improve gst_util_ceil_log2
According to the following comparison of algorithms, the value
for 0 and 1 was giving an incorrect result.

https://gist.github.com/ceyusa/6061b33ac109a68bcd222f6919968c9a

More information here:
https://github.com/rofrol/codeforces/blob/master/ceil_log2.c

Use a different algorithm which offers better result and keep the
performance.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7429>
2024-11-15 16:52:29 +00:00
..
2024-09-26 19:26:18 +03:00
2024-10-25 08:58:29 +00:00
2024-10-25 08:58:29 +00:00
2022-11-09 16:03:58 +00:00
2022-12-20 14:03:35 +00:00
2024-10-25 08:58:29 +00:00
2023-01-24 15:25:05 +00:00
2024-09-26 19:26:18 +03:00
2024-10-25 08:58:29 +00:00
2024-10-03 11:47:45 +02:00
2024-10-25 08:58:29 +00:00
2024-02-20 19:16:54 +00:00
2024-02-20 19:16:54 +00:00
2024-10-25 08:58:29 +00:00
2022-10-22 22:06:13 +09:00
2023-01-24 15:25:05 +00:00
2024-10-25 08:58:29 +00:00
2024-10-25 08:58:29 +00:00
2024-10-25 08:58:29 +00:00
2024-10-25 08:58:29 +00:00
2023-06-22 23:24:58 +00:00
2024-10-25 08:58:29 +00:00
2024-09-26 19:26:18 +03:00
2024-07-30 00:06:50 +00:00
2024-11-15 16:52:29 +00:00
2024-10-01 22:17:51 +00:00