[vepu540c_hevc]: support hal_vepu 540c hevc reg cfg

Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Change-Id: Ia23ceef6d1f79dad2195bcb78dad7cd9a8c9f63e
This commit is contained in:
sayon.chen
2021-12-13 13:54:08 +08:00
committed by Herman Chen
parent d899a2edc1
commit 9c03426786
5 changed files with 2793 additions and 0 deletions

View File

@@ -29,6 +29,7 @@
#include "hal_h265e_api_v2.h"
#include "hal_h265e_vepu541.h"
#include "hal_h265e_vepu580.h"
#include "hal_h265e_vepu540c.h"
typedef struct HalH265eV2Ctx_t {
const MppEncHalApi *api;
@@ -52,6 +53,9 @@ static MPP_RET hal_h265ev2_init(void *hal, MppEncHalCfg *cfg)
case HWID_VEPU58X : {
api = &hal_h265e_vepu580;
} break;
case HWID_VEPU540C : {
api = &hal_h265e_vepu540c;
} break;
default : {
api = &hal_h265e_vepu541;
} break;

View File

@@ -13,6 +13,7 @@ set(HAL_H265E_HDR
set(HAL_H265E_SRC
hal_h265e_vepu541.c
hal_h265e_vepu580.c
hal_h265e_vepu540c.c
)
add_library(hal_h265e_vepu541 STATIC

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,24 @@
/*
* Copyright 2022 Rockchip Electronics Co. LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __HAL_H265E_VEPU540C_H__
#define __HAL_H265E_VEPU540C_H__
#include "mpp_enc_hal.h"
extern const MppEncHalApi hal_h265e_vepu540c;
#endif /* __HAL_H265E_VEPU540C_H__ */

File diff suppressed because it is too large Load Diff