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