rawenc.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) 2016, Alliance for Open Media. All rights reserved
  3. *
  4. * 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.
  10. */
  11. #ifndef AOM_COMMON_RAWENC_H_
  12. #define AOM_COMMON_RAWENC_H_
  13. #include "aom/aom_decoder.h"
  14. #include "common/md5_utils.h"
  15. #include "common/tools_common.h"
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. void raw_write_image_file(const aom_image_t *img, const int *planes,
  20. const int num_planes, FILE *file);
  21. void raw_update_image_md5(const aom_image_t *img, const int *planes,
  22. const int num_planes, MD5Context *md5);
  23. #ifdef __cplusplus
  24. } // extern "C"
  25. #endif
  26. #endif // AOM_COMMON_RAWENC_H_