video: driver: Add HFI and internal buffer changes for AV1 DRAP
Add changes for AV1 DRAP (Delayed Random Access Point) handling: 1) Add config in kalama database to control DRAP and the HFI property to set DRAP config. 2) Update buffer calculations: - When DRAP is disabled, COMV buffer must be allocated and PERSIST buffer must be allocated with total_ref_count = 0 - When DRAP is enabled, COMV buffer must not be allocated - it is part of PERSIST buffer. Persist buffer must be allocated with the max_width, max_height and total_ref_count configured for DRAP. Change-Id: I2d2e8fd3f63ea8f9fc2845acd0b4e16ba4776a6b Signed-off-by: Mihir Ganu <quic_mganu@quicinc.com>
Цей коміт міститься в:
@@ -540,6 +540,8 @@ enum hfi_nal_length_field_type {
|
||||
|
||||
#define HFI_PROP_OPB_ENABLE 0x03000184
|
||||
|
||||
#define HFI_PROP_AV1_DRAP_CONFIG 0x03000189
|
||||
|
||||
#define HFI_PROP_END 0x03FFFFFF
|
||||
|
||||
#define HFI_SESSION_ERROR_BEGIN 0x04000000
|
||||
@@ -556,6 +558,8 @@ enum hfi_nal_length_field_type {
|
||||
|
||||
#define HFI_ERROR_BUFFER_NOT_SET 0x04000006
|
||||
|
||||
#define HFI_ERROR_DRAP_CONFIG_EXCEED 0x04000007
|
||||
|
||||
#define HFI_SESSION_ERROR_END 0x04FFFFFF
|
||||
|
||||
#define HFI_SYSTEM_ERROR_BEGIN 0x05000000
|
||||
|
Посилання в новій задачі
Заблокувати користувача