2
0

warnings.h 992 B

123456789101112131415161718192021222324252627282930313233
  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. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. struct vpx_codec_enc_cfg;
  16. struct VpxEncoderConfig;
  17. /*
  18. * Checks config for improperly used settings. Warns user upon encountering
  19. * settings that will lead to poor output quality. Prompts user to continue
  20. * when warnings are issued.
  21. */
  22. void check_encoder_config(int disable_prompt,
  23. const struct VpxEncoderConfig *global_config,
  24. const struct vpx_codec_enc_cfg *stream_config);
  25. #ifdef __cplusplus
  26. } // extern "C"
  27. #endif
  28. #endif // WARNINGS_H_