tests: video: Add a unit test for stride extrapolation
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 18 Feb 2022 20:25:17 +0000 (15:25 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 20 Feb 2022 22:32:55 +0000 (22:32 +0000)
commitd87161b80e151093b4f22afdb70ae2d09ea792fa
tree462cb913dbc01052ab156237d22115e397d1bb17
parent8883809ef93f67cf84a237458ef9d4c710690eac
tests: video: Add a unit test for stride extrapolation

This is a minimal unit test the show that the stride extrapolation can work
with all pixel format we support. This minimal verify that the extrapolation
match the stride we set into GstVideoInfo with 320x240 for all the pixel
format we support. The tiles formats are skipped, since their stride is
set as two 16bit integers, and we also skip over palette planes.

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