]> granicus.if.org Git - libvpx/blob - ivfdec.h
Merge "vp8_yv12_realloc_frame_buffer: move allocation check" into main
[libvpx] / ivfdec.h
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 VPX_IVFDEC_H_
11 #define VPX_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(FILE *infile, uint8_t **buffer, size_t *bytes_read,
22                    size_t *buffer_size);
23
24 #ifdef __cplusplus
25 } /* extern "C" */
26 #endif
27
28 #endif  // VPX_IVFDEC_H_