13d0407baSopenharmony_ci/*
23d0407baSopenharmony_ci * Copyright 2015 Rockchip Electronics Co. LTD
33d0407baSopenharmony_ci *
43d0407baSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
53d0407baSopenharmony_ci * you may not use this file except in compliance with the License.
63d0407baSopenharmony_ci * You may obtain a copy of the License at
73d0407baSopenharmony_ci *
83d0407baSopenharmony_ci *      http://www.apache.org/licenses/LICENSE-2.0
93d0407baSopenharmony_ci *
103d0407baSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
113d0407baSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
123d0407baSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
133d0407baSopenharmony_ci * See the License for the specific language governing permissions and
143d0407baSopenharmony_ci * limitations under the License.
153d0407baSopenharmony_ci */
163d0407baSopenharmony_ci
173d0407baSopenharmony_ci#ifndef __MPP_RUNTIME__
183d0407baSopenharmony_ci#define __MPP_RUNTIME__
193d0407baSopenharmony_ci
203d0407baSopenharmony_ci#include "mpp_buffer.h"
213d0407baSopenharmony_ci
223d0407baSopenharmony_ci#ifdef __cplusplus
233d0407baSopenharmony_ciextern "C" {
243d0407baSopenharmony_ci#endif
253d0407baSopenharmony_ci
263d0407baSopenharmony_ci/*
273d0407baSopenharmony_ci * Runtime function detection is to support different binary on different
283d0407baSopenharmony_ci * runtime environment. This is usefull on product environemnt.
293d0407baSopenharmony_ci */
303d0407baSopenharmony_ciRK_U32 mpp_rt_allcator_is_valid(MppBufferType type);
313d0407baSopenharmony_ci
323d0407baSopenharmony_ci#ifdef __cplusplus
333d0407baSopenharmony_ci}
343d0407baSopenharmony_ci#endif
353d0407baSopenharmony_ci
363d0407baSopenharmony_ci#endif /*__MPP_RUNTIME__*/
373d0407baSopenharmony_ci
38