Tom Finegan | 00a35aa | 2013-11-14 12:37:42 -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 IVFDEC_H_ |
| 11 | #define IVFDEC_H_ |
| 12 | |
| 13 | #include "./tools_common.h" |
| 14 | |
| 15 | #ifdef __cplusplus |
| 16 | extern "C" { |
| 17 | #endif |
| 18 | |
| 19 | int file_is_ivf(struct VpxInputContext *input); |
| 20 | |
Dmitry Kovalev | 0eac753 | 2014-01-13 11:57:55 -0800 | [diff] [blame] | 21 | int ivf_read_frame(FILE *infile, uint8_t **buffer, |
| 22 | size_t *bytes_read, size_t *buffer_size); |
Tom Finegan | 00a35aa | 2013-11-14 12:37:42 -0800 | [diff] [blame] | 23 | |
| 24 | #ifdef __cplusplus |
| 25 | } /* extern "C" */ |
| 26 | #endif |
| 27 | |
James Zern | 0f51278 | 2013-12-15 18:40:23 -0800 | [diff] [blame] | 28 | #endif // IVFDEC_H_ |