blob: 61db2dcf8a0fe623411b07e844438da04e6e4c7d [file] [log] [blame]
Tom Finegan249366b2013-11-25 12:05:19 -08001/*
Yaowu Xu9c01aa12016-09-01 14:32:49 -07002 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
Tom Finegan249366b2013-11-25 12:05:19 -08003 *
Yaowu Xu9c01aa12016-09-01 14:32:49 -07004 * 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.
Tom Finegan249366b2013-11-25 12:05:19 -080010 */
11#ifndef WARNINGS_H_
12#define WARNINGS_H_
13
James Zern25cfd8e2014-01-18 12:16:11 -080014#ifdef __cplusplus
15extern "C" {
16#endif
17
Yaowu Xuf883b422016-08-30 14:01:10 -070018struct aom_codec_enc_cfg;
19struct AvxEncoderConfig;
Tom Finegan249366b2013-11-25 12:05:19 -080020
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 */
26void check_encoder_config(int disable_prompt,
Yaowu Xuf883b422016-08-30 14:01:10 -070027 const struct AvxEncoderConfig *global_config,
28 const struct aom_codec_enc_cfg *stream_config);
Tom Finegan249366b2013-11-25 12:05:19 -080029
James Zern25cfd8e2014-01-18 12:16:11 -080030#ifdef __cplusplus
31} // extern "C"
32#endif
33
Tom Finegan249366b2013-11-25 12:05:19 -080034#endif // WARNINGS_H_