mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-09 19:10:15 +08:00
[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:
@@ -29,6 +29,7 @@
|
|||||||
#include "hal_h265e_api_v2.h"
|
#include "hal_h265e_api_v2.h"
|
||||||
#include "hal_h265e_vepu541.h"
|
#include "hal_h265e_vepu541.h"
|
||||||
#include "hal_h265e_vepu580.h"
|
#include "hal_h265e_vepu580.h"
|
||||||
|
#include "hal_h265e_vepu540c.h"
|
||||||
|
|
||||||
typedef struct HalH265eV2Ctx_t {
|
typedef struct HalH265eV2Ctx_t {
|
||||||
const MppEncHalApi *api;
|
const MppEncHalApi *api;
|
||||||
@@ -52,6 +53,9 @@ static MPP_RET hal_h265ev2_init(void *hal, MppEncHalCfg *cfg)
|
|||||||
case HWID_VEPU58X : {
|
case HWID_VEPU58X : {
|
||||||
api = &hal_h265e_vepu580;
|
api = &hal_h265e_vepu580;
|
||||||
} break;
|
} break;
|
||||||
|
case HWID_VEPU540C : {
|
||||||
|
api = &hal_h265e_vepu540c;
|
||||||
|
} break;
|
||||||
default : {
|
default : {
|
||||||
api = &hal_h265e_vepu541;
|
api = &hal_h265e_vepu541;
|
||||||
} break;
|
} break;
|
||||||
|
@@ -13,6 +13,7 @@ set(HAL_H265E_HDR
|
|||||||
set(HAL_H265E_SRC
|
set(HAL_H265E_SRC
|
||||||
hal_h265e_vepu541.c
|
hal_h265e_vepu541.c
|
||||||
hal_h265e_vepu580.c
|
hal_h265e_vepu580.c
|
||||||
|
hal_h265e_vepu540c.c
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(hal_h265e_vepu541 STATIC
|
add_library(hal_h265e_vepu541 STATIC
|
||||||
|
1605
mpp/hal/rkenc/h265e/hal_h265e_vepu540c.c
Normal file
1605
mpp/hal/rkenc/h265e/hal_h265e_vepu540c.c
Normal file
File diff suppressed because it is too large
Load Diff
24
mpp/hal/rkenc/h265e/hal_h265e_vepu540c.h
Normal file
24
mpp/hal/rkenc/h265e/hal_h265e_vepu540c.h
Normal 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__ */
|
1159
mpp/hal/rkenc/h265e/hal_h265e_vepu540c_reg.h
Normal file
1159
mpp/hal/rkenc/h265e/hal_h265e_vepu540c_reg.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user