Tom Finegan | 249366b | 2013-11-25 12:05:19 -0800 | [diff] [blame] | 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 WARNINGS_H_ |
| 11 | #define WARNINGS_H_ |
| 12 | |
James Zern | 25cfd8e | 2014-01-18 12:16:11 -0800 | [diff] [blame] | 13 | #ifdef __cplusplus |
| 14 | extern "C" { |
| 15 | #endif |
| 16 | |
Tom Finegan | 249366b | 2013-11-25 12:05:19 -0800 | [diff] [blame] | 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, |
Tom Finegan | 150fbfc | 2014-01-14 18:04:35 -0800 | [diff] [blame] | 27 | const struct vpx_codec_enc_cfg *stream_config); |
Tom Finegan | 249366b | 2013-11-25 12:05:19 -0800 | [diff] [blame] | 28 | |
James Zern | 25cfd8e | 2014-01-18 12:16:11 -0800 | [diff] [blame] | 29 | #ifdef __cplusplus |
| 30 | } // extern "C" |
| 31 | #endif |
| 32 | |
Tom Finegan | 249366b | 2013-11-25 12:05:19 -0800 | [diff] [blame] | 33 | #endif // WARNINGS_H_ |