[vepu540c_avc]: support hal_vepu540c avc reg cfg

Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Change-Id: I2bc9d85e777420cbc2f74126762d29a0d42a3ed0
This commit is contained in:
sayon.chen
2021-12-13 14:15:29 +08:00
committed by Herman Chen
parent 9c03426786
commit 1a0d6ed462
5 changed files with 2968 additions and 0 deletions

View File

@@ -32,6 +32,7 @@
#include "hal_h264e_vepu2_v2.h"
#include "hal_h264e_vepu541.h"
#include "hal_h264e_vepu580.h"
#include "hal_h264e_vepu540c.h"
typedef struct HalH264eCtx_t {
const MppEncHalApi *api;
@@ -57,6 +58,9 @@ static MPP_RET hal_h264e_init(void *hal, MppEncHalCfg *cfg)
case HWID_VEPU58X : {
api = &hal_h264e_vepu580;
} break;
case HWID_VEPU540C : {
api = &hal_h264e_vepu540c;
} break;
default : {
api = &hal_h264e_vepu541;
} break;

View File

@@ -14,6 +14,7 @@ set(HAL_H264E_HDR
set(HAL_H264E_SRC
hal_h264e_vepu541.c
hal_h264e_vepu580.c
hal_h264e_vepu540c.c
)
add_library(hal_h264e_rkv 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_H264E_VEPU540C_H__
#define __HAL_H264E_VEPU540C_H__
#include "mpp_enc_hal.h"
extern const MppEncHalApi hal_h264e_vepu540c;
#endif /* __HAL_H264E_VEPU540C_H__ */

File diff suppressed because it is too large Load Diff