2
0

ivfdec.h 746 B

12345678910111213141516171819202122232425262728
  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 IVFDEC_H_
  11. #define IVFDEC_H_
  12. #include "./tools_common.h"
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. int file_is_ivf(struct VpxInputContext *input);
  17. int ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read,
  18. size_t *buffer_size);
  19. #ifdef __cplusplus
  20. } /* extern "C" */
  21. #endif
  22. #endif // IVFDEC_H_