Bump up to v1.10.0
[platform/upstream/libvpx.git] / warnings.h
1 /*
2  *  Copyright (c) 2013 The WebM project authors. All Rights Reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license
5  *  that can be found in the LICENSE file in the root of the source
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10 #ifndef VPX_WARNINGS_H_
11 #define VPX_WARNINGS_H_
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 struct vpx_codec_enc_cfg;
18 struct VpxEncoderConfig;
19
20 /*
21  * Checks config for improperly used settings. Warns user upon encountering
22  * settings that will lead to poor output quality. Prompts user to continue
23  * when warnings are issued.
24  */
25 void check_encoder_config(int disable_prompt,
26                           const struct VpxEncoderConfig *global_config,
27                           const struct vpx_codec_enc_cfg *stream_config);
28
29 #ifdef __cplusplus
30 }  // extern "C"
31 #endif
32
33 #endif  // VPX_WARNINGS_H_