From b44f17ecd4ca8300a5e8b659b0a1bb62cd29df93 Mon Sep 17 00:00:00 2001 From: Maheshwar Ajja Date: Mon, 21 Dec 2020 20:52:12 -0800 Subject: [PATCH] video: driver: add video encoder internal buffers Add video encoder internal buffer sizes to be used by video hardware to process input data and produce output. Change-Id: Icf58c748d5be2f81c7de69e914c526821a7effaf Signed-off-by: Maheshwar Ajja --- driver/variant/iris2/inc/hfi_buffer_iris2.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 driver/variant/iris2/inc/hfi_buffer_iris2.h diff --git a/driver/variant/iris2/inc/hfi_buffer_iris2.h b/driver/variant/iris2/inc/hfi_buffer_iris2.h new file mode 100644 index 0000000000..eabf036ffd --- /dev/null +++ b/driver/variant/iris2/inc/hfi_buffer_iris2.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2020, The Linux Foundation. All rights reserved. + */ + + +#define HFI_BUFFER_ARP_ENC (204800) +#define HFI_BUFFER_BIN_ENC (15 * 1000 * 1000) +#define HFI_BUFFER_LINE_ENC (200 * 1000) +#define HFI_BUFFER_COMV_ENC (1 * 1000 * 1000) +#define HFI_BUFFER_NON_COMV_ENC (500 * 1000) +#define HFI_BUFFER_DPB_ENC (3 * 1000 * 1000) +#define HFI_BUFFER_VPSS_ENC (2 * 1000 * 1000)