xref: /rockchip-linux_mpp/test/mpp_info_test.c (revision 437bfbeb9567cca9cd9080e3f6954aa9d6a94f18)
1 /* SPDX-License-Identifier: Apache-2.0 OR MIT */
2 /*
3  * Copyright (c) 2015 Rockchip Electronics Co., Ltd.
4  */
5 
6 #define MODULE_TAG "mpp_info_test"
7 
8 #include "mpp_log.h"
9 #include "mpp_env.h"
10 #include "mpp_info.h"
11 #include "mpp_compat.h"
12 
main()13 int main()
14 {
15     mpp_env_set_u32("mpp_show_history", 0);
16 
17     mpp_log("normal version log:\n");
18     show_mpp_version();
19 
20     mpp_env_set_u32("mpp_show_history", 1);
21     mpp_log("history version log:\n");
22 
23     show_mpp_version();
24     mpp_env_set_u32("mpp_show_history", 0);
25 
26     mpp_compat_show();
27 
28     return 0;
29 }
30 
31