1*437bfbebSnyanmisaka /* 2*437bfbebSnyanmisaka * Copyright 2017 Rockchip Electronics Co. LTD 3*437bfbebSnyanmisaka * 4*437bfbebSnyanmisaka * Licensed under the Apache License, Version 2.0 (the "License"); 5*437bfbebSnyanmisaka * you may not use this file except in compliance with the License. 6*437bfbebSnyanmisaka * You may obtain a copy of the License at 7*437bfbebSnyanmisaka * 8*437bfbebSnyanmisaka * http://www.apache.org/licenses/LICENSE-2.0 9*437bfbebSnyanmisaka * 10*437bfbebSnyanmisaka * Unless required by applicable law or agreed to in writing, software 11*437bfbebSnyanmisaka * distributed under the License is distributed on an "AS IS" BASIS, 12*437bfbebSnyanmisaka * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*437bfbebSnyanmisaka * See the License for the specific language governing permissions and 14*437bfbebSnyanmisaka * limitations under the License. 15*437bfbebSnyanmisaka */ 16*437bfbebSnyanmisaka 17*437bfbebSnyanmisaka #ifndef __HAL_MV2D_VPU1_H__ 18*437bfbebSnyanmisaka #define __HAL_MV2D_VPU1_H__ 19*437bfbebSnyanmisaka 20*437bfbebSnyanmisaka #include "mpp_hal.h" 21*437bfbebSnyanmisaka 22*437bfbebSnyanmisaka #ifdef __cplusplus 23*437bfbebSnyanmisaka extern "C" { 24*437bfbebSnyanmisaka #endif 25*437bfbebSnyanmisaka 26*437bfbebSnyanmisaka MPP_RET hal_m2vd_vdpu1_init (void *hal, MppHalCfg *cfg); 27*437bfbebSnyanmisaka MPP_RET hal_m2vd_vdpu1_deinit (void *hal); 28*437bfbebSnyanmisaka MPP_RET hal_m2vd_vdpu1_gen_regs(void *hal, HalTaskInfo *task); 29*437bfbebSnyanmisaka MPP_RET hal_m2vd_vdpu1_start (void *hal, HalTaskInfo *task); 30*437bfbebSnyanmisaka MPP_RET hal_m2vd_vdpu1_wait (void *hal, HalTaskInfo *task); 31*437bfbebSnyanmisaka 32*437bfbebSnyanmisaka #ifdef __cplusplus 33*437bfbebSnyanmisaka } 34*437bfbebSnyanmisaka #endif 35*437bfbebSnyanmisaka 36*437bfbebSnyanmisaka #endif /*__HAL_MV2D_VPU1_H__*/ 37