xref: /aosp_15_r20/external/libvpx/test/clear_system_state.h (revision fb1b10ab9aebc7c7068eedab379b749d7e3900be)
1*fb1b10abSAndroid Build Coastguard Worker /*
2*fb1b10abSAndroid Build Coastguard Worker  *  Copyright (c) 2013 The WebM project authors. All Rights Reserved.
3*fb1b10abSAndroid Build Coastguard Worker  *
4*fb1b10abSAndroid Build Coastguard Worker  *  Use of this source code is governed by a BSD-style license
5*fb1b10abSAndroid Build Coastguard Worker  *  that can be found in the LICENSE file in the root of the source
6*fb1b10abSAndroid Build Coastguard Worker  *  tree. An additional intellectual property rights grant can be found
7*fb1b10abSAndroid Build Coastguard Worker  *  in the file PATENTS.  All contributing project authors may
8*fb1b10abSAndroid Build Coastguard Worker  *  be found in the AUTHORS file in the root of the source tree.
9*fb1b10abSAndroid Build Coastguard Worker  */
10*fb1b10abSAndroid Build Coastguard Worker #ifndef VPX_TEST_CLEAR_SYSTEM_STATE_H_
11*fb1b10abSAndroid Build Coastguard Worker #define VPX_TEST_CLEAR_SYSTEM_STATE_H_
12*fb1b10abSAndroid Build Coastguard Worker 
13*fb1b10abSAndroid Build Coastguard Worker #include "./vpx_config.h"
14*fb1b10abSAndroid Build Coastguard Worker #include "vpx_ports/system_state.h"
15*fb1b10abSAndroid Build Coastguard Worker 
16*fb1b10abSAndroid Build Coastguard Worker namespace libvpx_test {
17*fb1b10abSAndroid Build Coastguard Worker 
18*fb1b10abSAndroid Build Coastguard Worker // Reset system to a known state. This function should be used for all non-API
19*fb1b10abSAndroid Build Coastguard Worker // test cases.
ClearSystemState()20*fb1b10abSAndroid Build Coastguard Worker inline void ClearSystemState() { vpx_clear_system_state(); }
21*fb1b10abSAndroid Build Coastguard Worker 
22*fb1b10abSAndroid Build Coastguard Worker }  // namespace libvpx_test
23*fb1b10abSAndroid Build Coastguard Worker #endif  // VPX_TEST_CLEAR_SYSTEM_STATE_H_
24