h265bitwriter: Correct the all API to byte aligned.
authorHe Junyan <junyan.he@intel.com>
Thu, 27 Oct 2022 07:21:30 +0000 (15:21 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 27 Oct 2022 12:15:43 +0000 (12:15 +0000)
commit2408ca2f184c6ecffb4f5ee985cade1fafba0421
tree8195cc6a285b62cc106101642f2b2d24bacdf2ad
parentc294ba82e65fb9995e9072aa020bc93d95c4597e
h265bitwriter: Correct the all API to byte aligned.

In fact, all the h265 bit writer have byte aligned output. So we
change the API from bit size in unit to byte size, which is easy
to use.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3193>
subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265bitwriter.c
subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265bitwriter.h
subprojects/gst-plugins-bad/tests/check/libs/h265bitwriter.c