Backed out 3 changesets (bug 1790375) for causing wd failures on fetch_error.py....
[gecko.git] / third_party / aom / common / ivfenc.h
blob8f6d947d473534b46e34471408e8af8bfa11dd56
1 /*
2 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
4 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
11 #ifndef AOM_COMMON_IVFENC_H_
12 #define AOM_COMMON_IVFENC_H_
14 #include "common/tools_common.h"
16 struct aom_codec_enc_cfg;
17 struct aom_codec_cx_pkt;
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
23 void ivf_write_file_header(FILE *outfile, const struct aom_codec_enc_cfg *cfg,
24 uint32_t fourcc, int frame_cnt);
26 void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size);
28 void ivf_write_frame_size(FILE *outfile, size_t frame_size);
30 #ifdef __cplusplus
31 } /* extern "C" */
32 #endif
34 #endif // AOM_COMMON_IVFENC_H_