1 /* SPDX-License-Identifier: Apache-2.0 OR MIT */ 2 /* 3 * Copyright (c) 2015 Rockchip Electronics Co., Ltd. 4 */ 5 6 #ifndef __MPP_RUNTIME__ 7 #define __MPP_RUNTIME__ 8 9 #include "mpp_buffer.h" 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif 14 15 /* 16 * Runtime function detection is to support different binary on different 17 * runtime environment. This is usefull on product environemnt. 18 */ 19 rk_u32 mpp_rt_allcator_is_valid(MppBufferType type); 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 #endif /*__MPP_RUNTIME__*/ 26 27