blob: 6623687e8444061081a8393c578b3c794f1b7426 [file] [log] [blame]
Tom Finegan00a35aa2013-11-14 12:37:42 -08001/*
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 IVFENC_H_
11#define IVFENC_H_
12
13#include "./tools_common.h"
14
15struct vpx_codec_enc_cfg;
16struct vpx_codec_cx_pkt;
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22void ivf_write_file_header(FILE *outfile,
23 const struct vpx_codec_enc_cfg *cfg,
24 uint32_t fourcc,
25 int frame_cnt);
Dmitry Kovalev373b0f92014-01-29 17:57:21 -080026
27void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size);
28
29void ivf_write_frame_size(FILE *outfile, size_t frame_size);
Tom Finegan00a35aa2013-11-14 12:37:42 -080030
31#ifdef __cplusplus
32} /* extern "C" */
33#endif
34
James Zern0f512782013-12-15 18:40:23 -080035#endif // IVFENC_H_