video-frame: Avoid using tile width
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 16 Nov 2022 20:17:24 +0000 (15:17 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 18 Nov 2022 22:59:29 +0000 (22:59 +0000)
commite60a94c27d7fdca725b50ce37cf2f829265d8f33
tree616033faa2ae2f175af995303e134acaead71b08
parent5980fb76e71cb543994dbee9e438b3d31e47a0b4
video-frame: Avoid using tile width

The tile width in pixel is not always available. Notably for
8L128 10bit format, the tile is 8x128 bytes, and the pixel
format is fully packed. That means that the tile contains at
least 6 pixels per line, but it also hold some bits of the
pixel from the same line on the previous or next tile.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3424>
subprojects/gst-plugins-base/gst-libs/gst/video/video-frame.c