From 3a0d1f9fdc66c613453f374114b0d112ea723635 Mon Sep 17 00:00:00 2001 From: Daniel Almeida Date: Mon, 5 Dec 2022 14:17:54 -0300 Subject: [PATCH] gallium: pipe: add PIPE_DEFAULT_DECODER_FEEDBACK_TIMEOUT_NS Add PIPE_DEFAULT_DECODER_FEEDBACK_TIMEOUT_NS as a way to control how much to wait for decoders if this is supported. Signed-off-by: Daniel Almeida Reviewed-by: Leo Liu Reviewed-by: Boyuan Zhang Part-of: --- src/gallium/include/pipe/p_video_state.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index 784d8462b9e..271c1e8f756 100644 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -44,6 +44,7 @@ extern "C" { #define PIPE_DEFAULT_FRAME_RATE_DEN 1 #define PIPE_DEFAULT_FRAME_RATE_NUM 30 #define PIPE_H2645_EXTENDED_SAR 255 +#define PIPE_DEFAULT_DECODER_FEEDBACK_TIMEOUT_NS 100000000 /* * see table 6-12 in the spec