blob: 6b8ae6796f37cbc76904850f0e4cd9e1c99c1c41 [file] [log] [blame]
Tom Finegan249366b2013-11-25 12:05:19 -08001/*
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 WARNINGS_H_
11#define WARNINGS_H_
12
James Zern25cfd8e2014-01-18 12:16:11 -080013#ifdef __cplusplus
14extern "C" {
15#endif
16
Tom Finegan249366b2013-11-25 12:05:19 -080017struct vpx_codec_enc_cfg;
18struct 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 */
25void check_encoder_config(int disable_prompt,
26 const struct VpxEncoderConfig *global_config,
Tom Finegan150fbfc2014-01-14 18:04:35 -080027 const struct vpx_codec_enc_cfg *stream_config);
Tom Finegan249366b2013-11-25 12:05:19 -080028
James Zern25cfd8e2014-01-18 12:16:11 -080029#ifdef __cplusplus
30} // extern "C"
31#endif
32
Tom Finegan249366b2013-11-25 12:05:19 -080033#endif // WARNINGS_H_