linux/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr_v6.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr_v6.h
 *
 * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
 * Contains declarations of hw related functions.
 *
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com/
 */

#ifndef S5P_MFC_OPR_V6_H_
#define S5P_MFC_OPR_V6_H_

#include "s5p_mfc_common.h"
#include "s5p_mfc_opr.h"

#define MFC_CTRL_MODE_CUSTOM

#define MB_WIDTH(x_size)
#define MB_HEIGHT(y_size)
#define S5P_MFC_DEC_MV_SIZE(x, y, offset)
#define S5P_MFC_LCU_WIDTH(x_size)
#define S5P_MFC_LCU_HEIGHT(y_size)

#define s5p_mfc_dec_hevc_mv_size(x, y)

/* Definition */
#define ENC_MULTI_SLICE_MB_MAX
#define ENC_MULTI_SLICE_BIT_MIN
#define ENC_INTRA_REFRESH_MB_MAX
#define ENC_VBV_BUF_SIZE_MAX
#define ENC_H264_LOOP_FILTER_AB_MIN
#define ENC_H264_LOOP_FILTER_AB_MAX
#define ENC_H264_RC_FRAME_RATE_MAX
#define ENC_H263_RC_FRAME_RATE_MAX
#define ENC_H264_PROFILE_MAX
#define ENC_H264_LEVEL_MAX
#define ENC_MPEG4_VOP_TIME_RES_MAX
#define FRAME_DELTA_H264_H263
#define LOOSE_CBR_MAX
#define TIGHT_CBR_MAX
#define ENC_HEVC_RC_FRAME_RATE_MAX
#define ENC_HEVC_QP_INDEX_MIN
#define ENC_HEVC_QP_INDEX_MAX
#define ENC_HEVC_LOOP_FILTER_MIN
#define ENC_HEVC_LOOP_FILTER_MAX
#define ENC_HEVC_LEVEL_MAX

#define FRAME_DELTA_DEFAULT

const struct s5p_mfc_hw_ops *s5p_mfc_init_hw_ops_v6(void);
const struct s5p_mfc_regs *s5p_mfc_init_regs_v6_plus(struct s5p_mfc_dev *dev);
#endif /* S5P_MFC_OPR_V6_H_ */