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 | |
| 21 | int ivf_read_frame(struct VpxInputContext *input, |
| 22 | uint8_t **buffer, |
| 23 | size_t *bytes_read, |
| 24 | size_t *buffer_size); |
| 25 | |
| 26 | #ifdef __cplusplus |
| 27 | } /* extern "C" */ |
| 28 | #endif |
| 29 | |
| 30 | #endif /* IVFDEC_H_ */ |