va: H265: Add odd bit depth and chroma depth in get_rtformat.
authorHe Junyan <junyan.he@intel.com>
Thu, 22 Jul 2021 02:44:27 +0000 (10:44 +0800)
committerHe Junyan <junyan.he@intel.com>
Thu, 22 Jul 2021 06:18:11 +0000 (14:18 +0800)
commit0c8d41b8b0aa94548287731760b69249777e988d
tree4c97f3dc44fa0f77d56d549b1d9945f65e50bc41
parent130205629f94c26ebb155f50c643bdb9664e2051
va: H265: Add odd bit depth and chroma depth in get_rtformat.

In H265, the stream may have odd bit depth such as 9 or 11. And
the bit depth of luma and chroma may differ. For example, the
stream with luma depth of 8 and chroma depth of 9 should use the
10 bit rtformat as the decoded picture format.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2420>
sys/va/gstvah265dec.c