h264parse: use of ceil_log2 instead of bit_storage
authorStéphane Cerveau <scerveau@igalia.com>
Wed, 9 Oct 2024 17:46:17 +0000 (13:46 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 3 Dec 2024 16:37:47 +0000 (16:37 +0000)
commit6fd444b29c71701505502c328507562a6498e5a5
treeaa24300777dfe9edc116e84355a97db89c294fd7
parent63fc48d49e7b0b5610f6e76ef709283086d6a3ac
h264parse: use of ceil_log2 instead of bit_storage

According to the specification:
The length of the slice_group_id[ i ] syntax element is Ceil( Log2(
num_slice_groups_minus1 + 1 ) ) bits

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7905>
subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c