Mesa (main): gallium: add temporal layers cap enum

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 26 20:27:34 UTC 2021


Module: Mesa
Branch: main
Commit: a23beb9c4369bb6e258558427f22aa8a9a701c94
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a23beb9c4369bb6e258558427f22aa8a9a701c94

Author: Thong Thai <thong.thai at amd.com>
Date:   Tue Jul 13 11:55:00 2021 -0400

gallium: add temporal layers cap enum

Determine the number of temporal layers the encoder supports. Used for
encoding Scalable Video Coding (SVC) videos.

Signed-off-by: Thong Thai <thong.thai at amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11850>

---

 src/gallium/include/pipe/p_video_enums.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/include/pipe/p_video_enums.h b/src/gallium/include/pipe/p_video_enums.h
index e26f73fe1ce..02a3ff8714a 100644
--- a/src/gallium/include/pipe/p_video_enums.h
+++ b/src/gallium/include/pipe/p_video_enums.h
@@ -90,6 +90,7 @@ enum pipe_video_cap
    PIPE_VIDEO_CAP_MAX_LEVEL = 8,
    PIPE_VIDEO_CAP_STACKED_FRAMES = 9,
    PIPE_VIDEO_CAP_MAX_MACROBLOCKS = 10,
+   PIPE_VIDEO_CAP_MAX_TEMPORAL_LAYERS = 11,
 };
 
 enum pipe_video_entrypoint



More information about the mesa-commit mailing list