linux/drivers/media/platform/samsung/s5p-mfc/regs-mfc-v10.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 *
 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
 *     http://www.samsung.com/
 *
 * Register definition file for Samsung MFC V10.x Interface (FIMV) driver
 *
 */

#ifndef _REGS_MFC_V10_H
#define _REGS_MFC_V10_H

#include <linux/sizes.h>
#include "regs-mfc-v8.h"

/* MFCv10 register definitions*/
#define S5P_FIMV_MFC_CLOCK_OFF_V10
#define S5P_FIMV_MFC_STATE_V10
#define S5P_FIMV_D_STATIC_BUFFER_ADDR_V10
#define S5P_FIMV_D_STATIC_BUFFER_SIZE_V10
#define S5P_FIMV_E_NUM_T_LAYER_V10
#define S5P_FIMV_E_HIERARCHICAL_QP_LAYER0_V10
#define S5P_FIMV_E_HIERARCHICAL_QP_LAYER1_V10
#define S5P_FIMV_E_HIERARCHICAL_QP_LAYER2_V10
#define S5P_FIMV_E_HIERARCHICAL_QP_LAYER3_V10
#define S5P_FIMV_E_HIERARCHICAL_QP_LAYER4_V10
#define S5P_FIMV_E_HIERARCHICAL_QP_LAYER5_V10
#define S5P_FIMV_E_HIERARCHICAL_QP_LAYER6_V10
#define S5P_FIMV_E_HIERARCHICAL_BIT_RATE_LAYER0_V10
#define S5P_FIMV_E_HIERARCHICAL_BIT_RATE_LAYER1_V10
#define S5P_FIMV_E_HIERARCHICAL_BIT_RATE_LAYER2_V10
#define S5P_FIMV_E_HIERARCHICAL_BIT_RATE_LAYER3_V10
#define S5P_FIMV_E_HIERARCHICAL_BIT_RATE_LAYER4_V10
#define S5P_FIMV_E_HIERARCHICAL_BIT_RATE_LAYER5_V10
#define S5P_FIMV_E_HIERARCHICAL_BIT_RATE_LAYER6_V10
#define S5P_FIMV_E_HEVC_OPTIONS_V10
#define S5P_FIMV_E_HEVC_REFRESH_PERIOD_V10
#define S5P_FIMV_E_HEVC_CHROMA_QP_OFFSET_V10
#define S5P_FIMV_E_HEVC_LF_BETA_OFFSET_DIV2_V10
#define S5P_FIMV_E_HEVC_LF_TC_OFFSET_DIV2_V10
#define S5P_FIMV_E_HEVC_NAL_CONTROL_V10

/* MFCv10 Context buffer sizes */
#define MFC_CTX_BUF_SIZE_V10
#define MFC_H264_DEC_CTX_BUF_SIZE_V10
#define MFC_OTHER_DEC_CTX_BUF_SIZE_V10
#define MFC_H264_ENC_CTX_BUF_SIZE_V10
#define MFC_HEVC_ENC_CTX_BUF_SIZE_V10
#define MFC_OTHER_ENC_CTX_BUF_SIZE_V10

/* MFCv10 variant defines */
#define MAX_FW_SIZE_V10
#define MAX_CPB_SIZE_V10
#define MFC_VERSION_V10
#define MFC_NUM_PORTS_V10

/* MFCv10 codec defines*/
#define S5P_FIMV_CODEC_HEVC_DEC
#define S5P_FIMV_CODEC_VP9_DEC
#define S5P_FIMV_CODEC_HEVC_ENC

/* Decoder buffer size for MFC v10 */
#define DEC_VP9_STATIC_BUFFER_SIZE

/* Encoder buffer size for MFC v10.0 */
#define ENC_V100_BASE_SIZE(x, y)

#define ENC_V100_H264_ME_SIZE(x, y)

#define ENC_V100_MPEG4_ME_SIZE(x, y)

#define ENC_V100_VP8_ME_SIZE(x, y)

#define ENC_V100_HEVC_ME_SIZE(x, y)

#endif /*_REGS_MFC_V10_H*/