gallium: add parameters for encoder format conversion (EFC) support

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15196>
This commit is contained in:
Thong Thai
2022-02-28 15:22:23 -05:00
committed by Marge Bot
parent adea096029
commit 73153746d5
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -91,6 +91,7 @@ enum pipe_video_cap
PIPE_VIDEO_CAP_STACKED_FRAMES = 9,
PIPE_VIDEO_CAP_MAX_MACROBLOCKS = 10,
PIPE_VIDEO_CAP_MAX_TEMPORAL_LAYERS = 11,
PIPE_VIDEO_CAP_EFC_SUPPORTED = 12
};
enum pipe_video_entrypoint
+2
View File
@@ -136,6 +136,8 @@ struct pipe_picture_desc
enum pipe_video_entrypoint entry_point;
bool protected_playback;
uint8_t *decrypt_key;
enum pipe_format input_format;
enum pipe_format output_format;
};
struct pipe_quant_matrix