From c9bb65b673fb62ba5dace005699901c91e90abab Mon Sep 17 00:00:00 2001 From: dlin2 Date: Wed, 28 Mar 2018 09:23:53 +0800 Subject: [PATCH] Add 'fast_intra_mode' in VAEncMiscParameterFEIFrameControlHEVC to do fast intra prediction Signed-off-by: dlin2 --- va/va_fei_hevc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/va/va_fei_hevc.h b/va/va_fei_hevc.h index e7c19eadb..4032ee7a9 100644 --- a/va/va_fei_hevc.h +++ b/va/va_fei_hevc.h @@ -165,7 +165,10 @@ typedef struct _VAEncMiscParameterFEIFrameControlHEVC uint32_t search_window : 8; /** \brief number of internal MV predictors for IME searches */ uint32_t max_num_ime_search_center : 3; - uint32_t reserved2 : 5; + /** \brief fast intra prediction enabling bit. It is used as a trade-off between speed and quality. + * The flag will be ignored if it's unsupported in the driver*/ + uint32_t fast_intra_mode : 1; + uint32_t reserved2 : 4; /** \brief specifies number of splits that encoder could be run concurrently * 1: level 1, default value