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

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

#ifndef _REGS_MFC_V12_H
#define _REGS_MFC_V12_H

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

/* MFCv12 Context buffer sizes */
#define MFC_CTX_BUF_SIZE_V12
#define MFC_H264_DEC_CTX_BUF_SIZE_V12
#define MFC_OTHER_DEC_CTX_BUF_SIZE_V12
#define MFC_H264_ENC_CTX_BUF_SIZE_V12
#define MFC_HEVC_ENC_CTX_BUF_SIZE_V12
#define MFC_OTHER_ENC_CTX_BUF_SIZE_V12

/* MFCv12 variant defines */
#define MAX_FW_SIZE_V12
#define MAX_CPB_SIZE_V12
#define MFC_VERSION_V12
#define MFC_NUM_PORTS_V12
#define S5P_FIMV_CODEC_VP9_ENC
#define MFC_CHROMA_PAD_BYTES_V12
#define S5P_FIMV_D_ALIGN_PLANE_SIZE_V12

/* Encoder buffer size for MFCv12 */
#define ENC_V120_BASE_SIZE(x, y)

#define ENC_V120_H264_ME_SIZE(x, y)

#define ENC_V120_MPEG4_ME_SIZE(x, y)

#define ENC_V120_VP8_ME_SIZE(x, y)

#define ENC_V120_HEVC_ME_SIZE(x, y)

#endif /*_REGS_MFC_V12_H*/