mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-15 21:50:37 +08:00
[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:
@@ -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;
|
||||
|
@@ -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
|
||||
|
1794
mpp/hal/rkenc/h264e/hal_h264e_vepu540c.c
Normal file
1794
mpp/hal/rkenc/h264e/hal_h264e_vepu540c.c
Normal file
File diff suppressed because it is too large
Load Diff
24
mpp/hal/rkenc/h264e/hal_h264e_vepu540c.h
Normal file
24
mpp/hal/rkenc/h264e/hal_h264e_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_H264E_VEPU540C_H__
|
||||
#define __HAL_H264E_VEPU540C_H__
|
||||
|
||||
#include "mpp_enc_hal.h"
|
||||
|
||||
extern const MppEncHalApi hal_h264e_vepu540c;
|
||||
|
||||
#endif /* __HAL_H264E_VEPU540C_H__ */
|
1145
mpp/hal/rkenc/h264e/hal_h264e_vepu540c_reg.h
Normal file
1145
mpp/hal/rkenc/h264e/hal_h264e_vepu540c_reg.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user