1 /* 2 * Copyright 2021 Rockchip Electronics Co. LTD 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef SRC_TESTS_RT_MPI_COMMON_TEST_COMM_VDEC_H_ 18 #define SRC_TESTS_RT_MPI_COMMON_TEST_COMM_VDEC_H_ 19 20 #include "rk_common.h" 21 #include "test_comm_ffm.h" 22 #include "rk_comm_vdec.h" 23 #include "rk_mpi_vdec.h" 24 25 #ifdef __cplusplus 26 #if __cplusplus 27 extern "C" { 28 #endif 29 #endif /* End of #ifdef __cplusplus */ 30 31 RK_S32 TEST_VDEC_Start(VDEC_CHN VdecChn, 32 VDEC_CHN_ATTR_S *pstVdecAttr, 33 VDEC_CHN_PARAM_S *pstVdecParam, 34 VIDEO_DISPLAY_MODE_E enDispMode); 35 RK_S32 TEST_VDEC_Stop(VDEC_CHN VdecChn); 36 RK_S32 TEST_VDEC_StartSendStream(VDEC_CHN VdecChn, STREAM_INFO_S *pstStreamInfo); 37 RK_S32 TEST_VENC_StopSendFrame(VDEC_CHN VdecChn); 38 39 #ifdef __cplusplus 40 #if __cplusplus 41 } 42 #endif 43 #endif /* End of #ifdef __cplusplus */ 44 45 #endif // SRC_TESTS_RT_MPI_COMMON_TEST_COMM_VDEC_H_ 46