1 /*
2  * Copyright (c) 2016, Alliance for Open Media. All rights reserved
3  *
4  * This source code is subject to the terms of the BSD 2 Clause License and
5  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6  * was not distributed with this source code in the LICENSE file, you can
7  * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8  * Media Patent License 1.0 was not distributed with this source code in the
9  * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10  */
11 #ifndef AOM_COMMON_WARNINGS_H_
12 #define AOM_COMMON_WARNINGS_H_
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 struct aom_codec_enc_cfg;
19 struct AvxEncoderConfig;
20 
21 /*
22  * Checks config for improperly used settings. Warns user upon encountering
23  * settings that will lead to poor output quality. Prompts user to continue
24  * when warnings are issued.
25  */
26 void check_encoder_config(int disable_prompt,
27                           const struct AvxEncoderConfig *global_config,
28                           const struct aom_codec_enc_cfg *stream_config);
29 
30 #ifdef __cplusplus
31 }  // extern "C"
32 #endif
33 
34 #endif  // AOM_COMMON_WARNINGS_H_
35