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@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11850>
This commit is contained in:
Thong Thai
2021-07-13 11:55:00 -04:00
parent b45cddda18
commit a23beb9c43
+1
View File
@@ -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